| 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: google/protobuf/descriptor.proto |
| 3 | |
| 4 | #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto |
| 5 | #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto |
| 6 | |
| 7 | #include <limits> |
| 8 | #include <string> |
| 9 | |
| 10 | #include <google/protobuf/port_def.inc> |
| 11 | #if PROTOBUF_VERSION < 3021000 |
| 12 | #error This file was generated by a newer version of protoc which is |
| 13 | #error incompatible with your Protocol Buffer headers. Please update |
| 14 | #error your headers. |
| 15 | #endif |
| 16 | #if 3021004 < PROTOBUF_MIN_PROTOC_VERSION |
| 17 | #error This file was generated by an older version of protoc which is |
| 18 | #error incompatible with your Protocol Buffer headers. Please |
| 19 | #error regenerate this file with a newer version of protoc. |
| 20 | #endif |
| 21 | |
| 22 | #include <google/protobuf/port_undef.inc> |
| 23 | #include <google/protobuf/io/coded_stream.h> |
| 24 | #include <google/protobuf/arena.h> |
| 25 | #include <google/protobuf/arenastring.h> |
| 26 | #include <google/protobuf/generated_message_util.h> |
| 27 | #include <google/protobuf/metadata_lite.h> |
| 28 | #include <google/protobuf/generated_message_reflection.h> |
| 29 | #include <google/protobuf/message.h> |
| 30 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
| 31 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
| 32 | #include <google/protobuf/generated_enum_reflection.h> |
| 33 | #include <google/protobuf/unknown_field_set.h> |
| 34 | // @@protoc_insertion_point(includes) |
| 35 | #include <google/protobuf/port_def.inc> |
| 36 | #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT |
| 37 | PROTOBUF_NAMESPACE_OPEN |
| 38 | namespace internal { |
| 39 | class AnyMetadata; |
| 40 | } // namespace internal |
| 41 | PROTOBUF_NAMESPACE_CLOSE |
| 42 | |
| 43 | // Internal implementation detail -- do not use these members. |
| 44 | struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto { |
| 45 | static const uint32_t offsets[]; |
| 46 | }; |
| 47 | PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto; |
| 48 | PROTOBUF_NAMESPACE_OPEN |
| 49 | class DescriptorProto; |
| 50 | struct DescriptorProtoDefaultTypeInternal; |
| 51 | PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_; |
| 52 | class DescriptorProto_ExtensionRange; |
| 53 | struct DescriptorProto_ExtensionRangeDefaultTypeInternal; |
| 54 | PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_; |
| 55 | class DescriptorProto_ReservedRange; |
| 56 | struct DescriptorProto_ReservedRangeDefaultTypeInternal; |
| 57 | PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_; |
| 58 | class EnumDescriptorProto; |
| 59 | struct EnumDescriptorProtoDefaultTypeInternal; |
| 60 | PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_; |
| 61 | class EnumDescriptorProto_EnumReservedRange; |
| 62 | struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal; |
| 63 | PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_; |
| 64 | class EnumOptions; |
| 65 | struct EnumOptionsDefaultTypeInternal; |
| 66 | PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_; |
| 67 | class EnumValueDescriptorProto; |
| 68 | struct EnumValueDescriptorProtoDefaultTypeInternal; |
| 69 | PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_; |
| 70 | class EnumValueOptions; |
| 71 | struct EnumValueOptionsDefaultTypeInternal; |
| 72 | PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_; |
| 73 | class ExtensionRangeOptions; |
| 74 | struct ExtensionRangeOptionsDefaultTypeInternal; |
| 75 | PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_; |
| 76 | class FieldDescriptorProto; |
| 77 | struct FieldDescriptorProtoDefaultTypeInternal; |
| 78 | PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; |
| 79 | class FieldOptions; |
| 80 | struct FieldOptionsDefaultTypeInternal; |
| 81 | PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; |
| 82 | class FileDescriptorProto; |
| 83 | struct FileDescriptorProtoDefaultTypeInternal; |
| 84 | PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; |
| 85 | class FileDescriptorSet; |
| 86 | struct FileDescriptorSetDefaultTypeInternal; |
| 87 | PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; |
| 88 | class FileOptions; |
| 89 | struct FileOptionsDefaultTypeInternal; |
| 90 | PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; |
| 91 | class GeneratedCodeInfo; |
| 92 | struct GeneratedCodeInfoDefaultTypeInternal; |
| 93 | PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; |
| 94 | class GeneratedCodeInfo_Annotation; |
| 95 | struct GeneratedCodeInfo_AnnotationDefaultTypeInternal; |
| 96 | PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; |
| 97 | class MessageOptions; |
| 98 | struct MessageOptionsDefaultTypeInternal; |
| 99 | PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; |
| 100 | class MethodDescriptorProto; |
| 101 | struct MethodDescriptorProtoDefaultTypeInternal; |
| 102 | PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; |
| 103 | class MethodOptions; |
| 104 | struct MethodOptionsDefaultTypeInternal; |
| 105 | PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; |
| 106 | class OneofDescriptorProto; |
| 107 | struct OneofDescriptorProtoDefaultTypeInternal; |
| 108 | PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; |
| 109 | class OneofOptions; |
| 110 | struct OneofOptionsDefaultTypeInternal; |
| 111 | PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; |
| 112 | class ServiceDescriptorProto; |
| 113 | struct ServiceDescriptorProtoDefaultTypeInternal; |
| 114 | PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; |
| 115 | class ServiceOptions; |
| 116 | struct ServiceOptionsDefaultTypeInternal; |
| 117 | PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; |
| 118 | class SourceCodeInfo; |
| 119 | struct SourceCodeInfoDefaultTypeInternal; |
| 120 | PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; |
| 121 | class SourceCodeInfo_Location; |
| 122 | struct SourceCodeInfo_LocationDefaultTypeInternal; |
| 123 | PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; |
| 124 | class UninterpretedOption; |
| 125 | struct UninterpretedOptionDefaultTypeInternal; |
| 126 | PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; |
| 127 | class UninterpretedOption_NamePart; |
| 128 | struct UninterpretedOption_NamePartDefaultTypeInternal; |
| 129 | PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; |
| 130 | PROTOBUF_NAMESPACE_CLOSE |
| 131 | PROTOBUF_NAMESPACE_OPEN |
| 132 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto>(Arena*); |
| 133 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange>(Arena*); |
| 134 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange>(Arena*); |
| 135 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto>(Arena*); |
| 136 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange>(Arena*); |
| 137 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumOptions>(Arena*); |
| 138 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto>(Arena*); |
| 139 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>(Arena*); |
| 140 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(Arena*); |
| 141 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto>(Arena*); |
| 142 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldOptions>(Arena*); |
| 143 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileDescriptorProto>(Arena*); |
| 144 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileDescriptorSet* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileDescriptorSet>(Arena*); |
| 145 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FileOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileOptions>(Arena*); |
| 146 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo>(Arena*); |
| 147 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation>(Arena*); |
| 148 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MessageOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MessageOptions>(Arena*); |
| 149 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto>(Arena*); |
| 150 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::MethodOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodOptions>(Arena*); |
| 151 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto>(Arena*); |
| 152 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::OneofOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofOptions>(Arena*); |
| 153 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto>(Arena*); |
| 154 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ServiceOptions* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceOptions>(Arena*); |
| 155 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(Arena*); |
| 156 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location>(Arena*); |
| 157 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UninterpretedOption>(Arena*); |
| 158 | template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart>(Arena*); |
| 159 | PROTOBUF_NAMESPACE_CLOSE |
| 160 | PROTOBUF_NAMESPACE_OPEN |
| 161 | |
| 162 | enum FieldDescriptorProto_Type : int { |
| 163 | FieldDescriptorProto_Type_TYPE_DOUBLE = 1, |
| 164 | FieldDescriptorProto_Type_TYPE_FLOAT = 2, |
| 165 | FieldDescriptorProto_Type_TYPE_INT64 = 3, |
| 166 | FieldDescriptorProto_Type_TYPE_UINT64 = 4, |
| 167 | FieldDescriptorProto_Type_TYPE_INT32 = 5, |
| 168 | FieldDescriptorProto_Type_TYPE_FIXED64 = 6, |
| 169 | FieldDescriptorProto_Type_TYPE_FIXED32 = 7, |
| 170 | FieldDescriptorProto_Type_TYPE_BOOL = 8, |
| 171 | FieldDescriptorProto_Type_TYPE_STRING = 9, |
| 172 | FieldDescriptorProto_Type_TYPE_GROUP = 10, |
| 173 | FieldDescriptorProto_Type_TYPE_MESSAGE = 11, |
| 174 | FieldDescriptorProto_Type_TYPE_BYTES = 12, |
| 175 | FieldDescriptorProto_Type_TYPE_UINT32 = 13, |
| 176 | FieldDescriptorProto_Type_TYPE_ENUM = 14, |
| 177 | FieldDescriptorProto_Type_TYPE_SFIXED32 = 15, |
| 178 | FieldDescriptorProto_Type_TYPE_SFIXED64 = 16, |
| 179 | FieldDescriptorProto_Type_TYPE_SINT32 = 17, |
| 180 | FieldDescriptorProto_Type_TYPE_SINT64 = 18 |
| 181 | }; |
| 182 | PROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value); |
| 183 | constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE; |
| 184 | constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64; |
| 185 | constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1; |
| 186 | |
| 187 | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Type_descriptor(); |
| 188 | template<typename T> |
| 189 | inline const std::string& FieldDescriptorProto_Type_Name(T enum_t_value) { |
| 190 | static_assert(::std::is_same<T, FieldDescriptorProto_Type>::value || |
| 191 | ::std::is_integral<T>::value, |
| 192 | "Incorrect type passed to function FieldDescriptorProto_Type_Name." ); |
| 193 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
| 194 | descriptor: FieldDescriptorProto_Type_descriptor(), value: enum_t_value); |
| 195 | } |
| 196 | inline bool FieldDescriptorProto_Type_Parse( |
| 197 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Type* value) { |
| 198 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Type>( |
| 199 | descriptor: FieldDescriptorProto_Type_descriptor(), name, value); |
| 200 | } |
| 201 | enum FieldDescriptorProto_Label : int { |
| 202 | FieldDescriptorProto_Label_LABEL_OPTIONAL = 1, |
| 203 | FieldDescriptorProto_Label_LABEL_REQUIRED = 2, |
| 204 | FieldDescriptorProto_Label_LABEL_REPEATED = 3 |
| 205 | }; |
| 206 | PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value); |
| 207 | constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL; |
| 208 | constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED; |
| 209 | constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1; |
| 210 | |
| 211 | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldDescriptorProto_Label_descriptor(); |
| 212 | template<typename T> |
| 213 | inline const std::string& FieldDescriptorProto_Label_Name(T enum_t_value) { |
| 214 | static_assert(::std::is_same<T, FieldDescriptorProto_Label>::value || |
| 215 | ::std::is_integral<T>::value, |
| 216 | "Incorrect type passed to function FieldDescriptorProto_Label_Name." ); |
| 217 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
| 218 | descriptor: FieldDescriptorProto_Label_descriptor(), value: enum_t_value); |
| 219 | } |
| 220 | inline bool FieldDescriptorProto_Label_Parse( |
| 221 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldDescriptorProto_Label* value) { |
| 222 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldDescriptorProto_Label>( |
| 223 | descriptor: FieldDescriptorProto_Label_descriptor(), name, value); |
| 224 | } |
| 225 | enum FileOptions_OptimizeMode : int { |
| 226 | FileOptions_OptimizeMode_SPEED = 1, |
| 227 | FileOptions_OptimizeMode_CODE_SIZE = 2, |
| 228 | FileOptions_OptimizeMode_LITE_RUNTIME = 3 |
| 229 | }; |
| 230 | PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value); |
| 231 | constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED; |
| 232 | constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME; |
| 233 | constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1; |
| 234 | |
| 235 | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileOptions_OptimizeMode_descriptor(); |
| 236 | template<typename T> |
| 237 | inline const std::string& FileOptions_OptimizeMode_Name(T enum_t_value) { |
| 238 | static_assert(::std::is_same<T, FileOptions_OptimizeMode>::value || |
| 239 | ::std::is_integral<T>::value, |
| 240 | "Incorrect type passed to function FileOptions_OptimizeMode_Name." ); |
| 241 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
| 242 | descriptor: FileOptions_OptimizeMode_descriptor(), value: enum_t_value); |
| 243 | } |
| 244 | inline bool FileOptions_OptimizeMode_Parse( |
| 245 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileOptions_OptimizeMode* value) { |
| 246 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileOptions_OptimizeMode>( |
| 247 | descriptor: FileOptions_OptimizeMode_descriptor(), name, value); |
| 248 | } |
| 249 | enum FieldOptions_CType : int { |
| 250 | FieldOptions_CType_STRING = 0, |
| 251 | FieldOptions_CType_CORD = 1, |
| 252 | FieldOptions_CType_STRING_PIECE = 2 |
| 253 | }; |
| 254 | PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value); |
| 255 | constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING; |
| 256 | constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE; |
| 257 | constexpr int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1; |
| 258 | |
| 259 | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_CType_descriptor(); |
| 260 | template<typename T> |
| 261 | inline const std::string& FieldOptions_CType_Name(T enum_t_value) { |
| 262 | static_assert(::std::is_same<T, FieldOptions_CType>::value || |
| 263 | ::std::is_integral<T>::value, |
| 264 | "Incorrect type passed to function FieldOptions_CType_Name." ); |
| 265 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
| 266 | descriptor: FieldOptions_CType_descriptor(), value: enum_t_value); |
| 267 | } |
| 268 | inline bool FieldOptions_CType_Parse( |
| 269 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_CType* value) { |
| 270 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_CType>( |
| 271 | descriptor: FieldOptions_CType_descriptor(), name, value); |
| 272 | } |
| 273 | enum FieldOptions_JSType : int { |
| 274 | FieldOptions_JSType_JS_NORMAL = 0, |
| 275 | FieldOptions_JSType_JS_STRING = 1, |
| 276 | FieldOptions_JSType_JS_NUMBER = 2 |
| 277 | }; |
| 278 | PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value); |
| 279 | constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = FieldOptions_JSType_JS_NORMAL; |
| 280 | constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = FieldOptions_JSType_JS_NUMBER; |
| 281 | constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = FieldOptions_JSType_JSType_MAX + 1; |
| 282 | |
| 283 | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FieldOptions_JSType_descriptor(); |
| 284 | template<typename T> |
| 285 | inline const std::string& FieldOptions_JSType_Name(T enum_t_value) { |
| 286 | static_assert(::std::is_same<T, FieldOptions_JSType>::value || |
| 287 | ::std::is_integral<T>::value, |
| 288 | "Incorrect type passed to function FieldOptions_JSType_Name." ); |
| 289 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
| 290 | descriptor: FieldOptions_JSType_descriptor(), value: enum_t_value); |
| 291 | } |
| 292 | inline bool FieldOptions_JSType_Parse( |
| 293 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FieldOptions_JSType* value) { |
| 294 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FieldOptions_JSType>( |
| 295 | descriptor: FieldOptions_JSType_descriptor(), name, value); |
| 296 | } |
| 297 | enum MethodOptions_IdempotencyLevel : int { |
| 298 | MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0, |
| 299 | MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1, |
| 300 | MethodOptions_IdempotencyLevel_IDEMPOTENT = 2 |
| 301 | }; |
| 302 | PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value); |
| 303 | constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; |
| 304 | constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IDEMPOTENT; |
| 305 | constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX + 1; |
| 306 | |
| 307 | PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MethodOptions_IdempotencyLevel_descriptor(); |
| 308 | template<typename T> |
| 309 | inline const std::string& MethodOptions_IdempotencyLevel_Name(T enum_t_value) { |
| 310 | static_assert(::std::is_same<T, MethodOptions_IdempotencyLevel>::value || |
| 311 | ::std::is_integral<T>::value, |
| 312 | "Incorrect type passed to function MethodOptions_IdempotencyLevel_Name." ); |
| 313 | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
| 314 | descriptor: MethodOptions_IdempotencyLevel_descriptor(), value: enum_t_value); |
| 315 | } |
| 316 | inline bool MethodOptions_IdempotencyLevel_Parse( |
| 317 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, MethodOptions_IdempotencyLevel* value) { |
| 318 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>( |
| 319 | descriptor: MethodOptions_IdempotencyLevel_descriptor(), name, value); |
| 320 | } |
| 321 | // =================================================================== |
| 322 | |
| 323 | class PROTOBUF_EXPORT FileDescriptorSet final : |
| 324 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorSet) */ { |
| 325 | public: |
| 326 | inline FileDescriptorSet() : FileDescriptorSet(nullptr) {} |
| 327 | ~FileDescriptorSet() override; |
| 328 | explicit PROTOBUF_CONSTEXPR FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 329 | |
| 330 | FileDescriptorSet(const FileDescriptorSet& from); |
| 331 | FileDescriptorSet(FileDescriptorSet&& from) noexcept |
| 332 | : FileDescriptorSet() { |
| 333 | *this = ::std::move(from); |
| 334 | } |
| 335 | |
| 336 | inline FileDescriptorSet& operator=(const FileDescriptorSet& from) { |
| 337 | CopyFrom(from); |
| 338 | return *this; |
| 339 | } |
| 340 | inline FileDescriptorSet& operator=(FileDescriptorSet&& from) noexcept { |
| 341 | if (this == &from) return *this; |
| 342 | if (GetOwningArena() == from.GetOwningArena() |
| 343 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 344 | && GetOwningArena() != nullptr |
| 345 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 346 | ) { |
| 347 | InternalSwap(other: &from); |
| 348 | } else { |
| 349 | CopyFrom(from); |
| 350 | } |
| 351 | return *this; |
| 352 | } |
| 353 | |
| 354 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 355 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 356 | } |
| 357 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 358 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 359 | } |
| 360 | |
| 361 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 362 | return GetDescriptor(); |
| 363 | } |
| 364 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 365 | return default_instance().GetMetadata().descriptor; |
| 366 | } |
| 367 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 368 | return default_instance().GetMetadata().reflection; |
| 369 | } |
| 370 | static const FileDescriptorSet& default_instance() { |
| 371 | return *internal_default_instance(); |
| 372 | } |
| 373 | static inline const FileDescriptorSet* internal_default_instance() { |
| 374 | return reinterpret_cast<const FileDescriptorSet*>( |
| 375 | &_FileDescriptorSet_default_instance_); |
| 376 | } |
| 377 | static constexpr int kIndexInFileMessages = |
| 378 | 0; |
| 379 | |
| 380 | friend void swap(FileDescriptorSet& a, FileDescriptorSet& b) { |
| 381 | a.Swap(other: &b); |
| 382 | } |
| 383 | inline void Swap(FileDescriptorSet* other) { |
| 384 | if (other == this) return; |
| 385 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 386 | if (GetOwningArena() != nullptr && |
| 387 | GetOwningArena() == other->GetOwningArena()) { |
| 388 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 389 | if (GetOwningArena() == other->GetOwningArena()) { |
| 390 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 391 | InternalSwap(other); |
| 392 | } else { |
| 393 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 394 | } |
| 395 | } |
| 396 | void UnsafeArenaSwap(FileDescriptorSet* other) { |
| 397 | if (other == this) return; |
| 398 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 399 | InternalSwap(other); |
| 400 | } |
| 401 | |
| 402 | // implements Message ---------------------------------------------- |
| 403 | |
| 404 | FileDescriptorSet* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 405 | return CreateMaybeMessage<FileDescriptorSet>(arena); |
| 406 | } |
| 407 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 408 | void CopyFrom(const FileDescriptorSet& from); |
| 409 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 410 | void MergeFrom( const FileDescriptorSet& from) { |
| 411 | FileDescriptorSet::MergeImpl(to_msg&: *this, from_msg: from); |
| 412 | } |
| 413 | private: |
| 414 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 415 | public: |
| 416 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 417 | bool IsInitialized() const final; |
| 418 | |
| 419 | size_t ByteSizeLong() const final; |
| 420 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 421 | uint8_t* _InternalSerialize( |
| 422 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 423 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 424 | |
| 425 | private: |
| 426 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 427 | void SharedDtor(); |
| 428 | void SetCachedSize(int size) const final; |
| 429 | void InternalSwap(FileDescriptorSet* other); |
| 430 | |
| 431 | private: |
| 432 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 433 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 434 | return "google.protobuf.FileDescriptorSet" ; |
| 435 | } |
| 436 | protected: |
| 437 | explicit FileDescriptorSet(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 438 | bool is_message_owned = false); |
| 439 | public: |
| 440 | |
| 441 | static const ClassData _class_data_; |
| 442 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 443 | |
| 444 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 445 | |
| 446 | // nested types ---------------------------------------------------- |
| 447 | |
| 448 | // accessors ------------------------------------------------------- |
| 449 | |
| 450 | enum : int { |
| 451 | kFileFieldNumber = 1, |
| 452 | }; |
| 453 | // repeated .google.protobuf.FileDescriptorProto file = 1; |
| 454 | int file_size() const; |
| 455 | private: |
| 456 | int _internal_file_size() const; |
| 457 | public: |
| 458 | void clear_file(); |
| 459 | ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* mutable_file(int index); |
| 460 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >* |
| 461 | mutable_file(); |
| 462 | private: |
| 463 | const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& _internal_file(int index) const; |
| 464 | ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _internal_add_file(); |
| 465 | public: |
| 466 | const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& file(int index) const; |
| 467 | ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* add_file(); |
| 468 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >& |
| 469 | file() const; |
| 470 | |
| 471 | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet) |
| 472 | private: |
| 473 | class _Internal; |
| 474 | |
| 475 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 476 | typedef void InternalArenaConstructable_; |
| 477 | typedef void DestructorSkippable_; |
| 478 | struct Impl_ { |
| 479 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_; |
| 480 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 481 | }; |
| 482 | union { Impl_ _impl_; }; |
| 483 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 484 | }; |
| 485 | // ------------------------------------------------------------------- |
| 486 | |
| 487 | class PROTOBUF_EXPORT FileDescriptorProto final : |
| 488 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ { |
| 489 | public: |
| 490 | inline FileDescriptorProto() : FileDescriptorProto(nullptr) {} |
| 491 | ~FileDescriptorProto() override; |
| 492 | explicit PROTOBUF_CONSTEXPR FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 493 | |
| 494 | FileDescriptorProto(const FileDescriptorProto& from); |
| 495 | FileDescriptorProto(FileDescriptorProto&& from) noexcept |
| 496 | : FileDescriptorProto() { |
| 497 | *this = ::std::move(from); |
| 498 | } |
| 499 | |
| 500 | inline FileDescriptorProto& operator=(const FileDescriptorProto& from) { |
| 501 | CopyFrom(from); |
| 502 | return *this; |
| 503 | } |
| 504 | inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept { |
| 505 | if (this == &from) return *this; |
| 506 | if (GetOwningArena() == from.GetOwningArena() |
| 507 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 508 | && GetOwningArena() != nullptr |
| 509 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 510 | ) { |
| 511 | InternalSwap(other: &from); |
| 512 | } else { |
| 513 | CopyFrom(from); |
| 514 | } |
| 515 | return *this; |
| 516 | } |
| 517 | |
| 518 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 519 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 520 | } |
| 521 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 522 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 523 | } |
| 524 | |
| 525 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 526 | return GetDescriptor(); |
| 527 | } |
| 528 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 529 | return default_instance().GetMetadata().descriptor; |
| 530 | } |
| 531 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 532 | return default_instance().GetMetadata().reflection; |
| 533 | } |
| 534 | static const FileDescriptorProto& default_instance() { |
| 535 | return *internal_default_instance(); |
| 536 | } |
| 537 | static inline const FileDescriptorProto* internal_default_instance() { |
| 538 | return reinterpret_cast<const FileDescriptorProto*>( |
| 539 | &_FileDescriptorProto_default_instance_); |
| 540 | } |
| 541 | static constexpr int kIndexInFileMessages = |
| 542 | 1; |
| 543 | |
| 544 | friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) { |
| 545 | a.Swap(other: &b); |
| 546 | } |
| 547 | inline void Swap(FileDescriptorProto* other) { |
| 548 | if (other == this) return; |
| 549 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 550 | if (GetOwningArena() != nullptr && |
| 551 | GetOwningArena() == other->GetOwningArena()) { |
| 552 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 553 | if (GetOwningArena() == other->GetOwningArena()) { |
| 554 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 555 | InternalSwap(other); |
| 556 | } else { |
| 557 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 558 | } |
| 559 | } |
| 560 | void UnsafeArenaSwap(FileDescriptorProto* other) { |
| 561 | if (other == this) return; |
| 562 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 563 | InternalSwap(other); |
| 564 | } |
| 565 | |
| 566 | // implements Message ---------------------------------------------- |
| 567 | |
| 568 | FileDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 569 | return CreateMaybeMessage<FileDescriptorProto>(arena); |
| 570 | } |
| 571 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 572 | void CopyFrom(const FileDescriptorProto& from); |
| 573 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 574 | void MergeFrom( const FileDescriptorProto& from) { |
| 575 | FileDescriptorProto::MergeImpl(to_msg&: *this, from_msg: from); |
| 576 | } |
| 577 | private: |
| 578 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 579 | public: |
| 580 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 581 | bool IsInitialized() const final; |
| 582 | |
| 583 | size_t ByteSizeLong() const final; |
| 584 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 585 | uint8_t* _InternalSerialize( |
| 586 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 587 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 588 | |
| 589 | private: |
| 590 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 591 | void SharedDtor(); |
| 592 | void SetCachedSize(int size) const final; |
| 593 | void InternalSwap(FileDescriptorProto* other); |
| 594 | |
| 595 | private: |
| 596 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 597 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 598 | return "google.protobuf.FileDescriptorProto" ; |
| 599 | } |
| 600 | protected: |
| 601 | explicit FileDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 602 | bool is_message_owned = false); |
| 603 | public: |
| 604 | |
| 605 | static const ClassData _class_data_; |
| 606 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 607 | |
| 608 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 609 | |
| 610 | // nested types ---------------------------------------------------- |
| 611 | |
| 612 | // accessors ------------------------------------------------------- |
| 613 | |
| 614 | enum : int { |
| 615 | kDependencyFieldNumber = 3, |
| 616 | kMessageTypeFieldNumber = 4, |
| 617 | kEnumTypeFieldNumber = 5, |
| 618 | kServiceFieldNumber = 6, |
| 619 | kExtensionFieldNumber = 7, |
| 620 | kPublicDependencyFieldNumber = 10, |
| 621 | kWeakDependencyFieldNumber = 11, |
| 622 | kNameFieldNumber = 1, |
| 623 | kPackageFieldNumber = 2, |
| 624 | kSyntaxFieldNumber = 12, |
| 625 | kOptionsFieldNumber = 8, |
| 626 | kSourceCodeInfoFieldNumber = 9, |
| 627 | }; |
| 628 | // repeated string dependency = 3; |
| 629 | int dependency_size() const; |
| 630 | private: |
| 631 | int _internal_dependency_size() const; |
| 632 | public: |
| 633 | void clear_dependency(); |
| 634 | const std::string& dependency(int index) const; |
| 635 | std::string* mutable_dependency(int index); |
| 636 | void set_dependency(int index, const std::string& value); |
| 637 | void set_dependency(int index, std::string&& value); |
| 638 | void set_dependency(int index, const char* value); |
| 639 | void set_dependency(int index, const char* value, size_t size); |
| 640 | std::string* add_dependency(); |
| 641 | void add_dependency(const std::string& value); |
| 642 | void add_dependency(std::string&& value); |
| 643 | void add_dependency(const char* value); |
| 644 | void add_dependency(const char* value, size_t size); |
| 645 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dependency() const; |
| 646 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dependency(); |
| 647 | private: |
| 648 | const std::string& _internal_dependency(int index) const; |
| 649 | std::string* _internal_add_dependency(); |
| 650 | public: |
| 651 | |
| 652 | // repeated .google.protobuf.DescriptorProto message_type = 4; |
| 653 | int message_type_size() const; |
| 654 | private: |
| 655 | int _internal_message_type_size() const; |
| 656 | public: |
| 657 | void clear_message_type(); |
| 658 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_message_type(int index); |
| 659 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
| 660 | mutable_message_type(); |
| 661 | private: |
| 662 | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_message_type(int index) const; |
| 663 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_message_type(); |
| 664 | public: |
| 665 | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& message_type(int index) const; |
| 666 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_message_type(); |
| 667 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
| 668 | message_type() const; |
| 669 | |
| 670 | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
| 671 | int enum_type_size() const; |
| 672 | private: |
| 673 | int _internal_enum_type_size() const; |
| 674 | public: |
| 675 | void clear_enum_type(); |
| 676 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index); |
| 677 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
| 678 | mutable_enum_type(); |
| 679 | private: |
| 680 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const; |
| 681 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type(); |
| 682 | public: |
| 683 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const; |
| 684 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type(); |
| 685 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
| 686 | enum_type() const; |
| 687 | |
| 688 | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
| 689 | int service_size() const; |
| 690 | private: |
| 691 | int _internal_service_size() const; |
| 692 | public: |
| 693 | void clear_service(); |
| 694 | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* mutable_service(int index); |
| 695 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >* |
| 696 | mutable_service(); |
| 697 | private: |
| 698 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& _internal_service(int index) const; |
| 699 | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _internal_add_service(); |
| 700 | public: |
| 701 | const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& service(int index) const; |
| 702 | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* add_service(); |
| 703 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >& |
| 704 | service() const; |
| 705 | |
| 706 | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
| 707 | int extension_size() const; |
| 708 | private: |
| 709 | int _internal_extension_size() const; |
| 710 | public: |
| 711 | void clear_extension(); |
| 712 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index); |
| 713 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
| 714 | mutable_extension(); |
| 715 | private: |
| 716 | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const; |
| 717 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension(); |
| 718 | public: |
| 719 | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const; |
| 720 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension(); |
| 721 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
| 722 | extension() const; |
| 723 | |
| 724 | // repeated int32 public_dependency = 10; |
| 725 | int public_dependency_size() const; |
| 726 | private: |
| 727 | int _internal_public_dependency_size() const; |
| 728 | public: |
| 729 | void clear_public_dependency(); |
| 730 | private: |
| 731 | int32_t _internal_public_dependency(int index) const; |
| 732 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 733 | _internal_public_dependency() const; |
| 734 | void _internal_add_public_dependency(int32_t value); |
| 735 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 736 | _internal_mutable_public_dependency(); |
| 737 | public: |
| 738 | int32_t public_dependency(int index) const; |
| 739 | void set_public_dependency(int index, int32_t value); |
| 740 | void add_public_dependency(int32_t value); |
| 741 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 742 | public_dependency() const; |
| 743 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 744 | mutable_public_dependency(); |
| 745 | |
| 746 | // repeated int32 weak_dependency = 11; |
| 747 | int weak_dependency_size() const; |
| 748 | private: |
| 749 | int _internal_weak_dependency_size() const; |
| 750 | public: |
| 751 | void clear_weak_dependency(); |
| 752 | private: |
| 753 | int32_t _internal_weak_dependency(int index) const; |
| 754 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 755 | _internal_weak_dependency() const; |
| 756 | void _internal_add_weak_dependency(int32_t value); |
| 757 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 758 | _internal_mutable_weak_dependency(); |
| 759 | public: |
| 760 | int32_t weak_dependency(int index) const; |
| 761 | void set_weak_dependency(int index, int32_t value); |
| 762 | void add_weak_dependency(int32_t value); |
| 763 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 764 | weak_dependency() const; |
| 765 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 766 | mutable_weak_dependency(); |
| 767 | |
| 768 | // optional string name = 1; |
| 769 | bool has_name() const; |
| 770 | private: |
| 771 | bool _internal_has_name() const; |
| 772 | public: |
| 773 | void clear_name(); |
| 774 | const std::string& name() const; |
| 775 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 776 | void set_name(ArgT0&& arg0, ArgT... args); |
| 777 | std::string* mutable_name(); |
| 778 | PROTOBUF_NODISCARD std::string* release_name(); |
| 779 | void set_allocated_name(std::string* name); |
| 780 | private: |
| 781 | const std::string& _internal_name() const; |
| 782 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 783 | std::string* _internal_mutable_name(); |
| 784 | public: |
| 785 | |
| 786 | // optional string package = 2; |
| 787 | bool has_package() const; |
| 788 | private: |
| 789 | bool _internal_has_package() const; |
| 790 | public: |
| 791 | void clear_package(); |
| 792 | const std::string& package() const; |
| 793 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 794 | void set_package(ArgT0&& arg0, ArgT... args); |
| 795 | std::string* mutable_package(); |
| 796 | PROTOBUF_NODISCARD std::string* release_package(); |
| 797 | void set_allocated_package(std::string* package); |
| 798 | private: |
| 799 | const std::string& _internal_package() const; |
| 800 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_package(const std::string& value); |
| 801 | std::string* _internal_mutable_package(); |
| 802 | public: |
| 803 | |
| 804 | // optional string syntax = 12; |
| 805 | bool has_syntax() const; |
| 806 | private: |
| 807 | bool _internal_has_syntax() const; |
| 808 | public: |
| 809 | void clear_syntax(); |
| 810 | const std::string& syntax() const; |
| 811 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 812 | void set_syntax(ArgT0&& arg0, ArgT... args); |
| 813 | std::string* mutable_syntax(); |
| 814 | PROTOBUF_NODISCARD std::string* release_syntax(); |
| 815 | void set_allocated_syntax(std::string* syntax); |
| 816 | private: |
| 817 | const std::string& _internal_syntax() const; |
| 818 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_syntax(const std::string& value); |
| 819 | std::string* _internal_mutable_syntax(); |
| 820 | public: |
| 821 | |
| 822 | // optional .google.protobuf.FileOptions options = 8; |
| 823 | bool has_options() const; |
| 824 | private: |
| 825 | bool _internal_has_options() const; |
| 826 | public: |
| 827 | void clear_options(); |
| 828 | const ::PROTOBUF_NAMESPACE_ID::FileOptions& options() const; |
| 829 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FileOptions* release_options(); |
| 830 | ::PROTOBUF_NAMESPACE_ID::FileOptions* mutable_options(); |
| 831 | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options); |
| 832 | private: |
| 833 | const ::PROTOBUF_NAMESPACE_ID::FileOptions& _internal_options() const; |
| 834 | ::PROTOBUF_NAMESPACE_ID::FileOptions* _internal_mutable_options(); |
| 835 | public: |
| 836 | void unsafe_arena_set_allocated_options( |
| 837 | ::PROTOBUF_NAMESPACE_ID::FileOptions* options); |
| 838 | ::PROTOBUF_NAMESPACE_ID::FileOptions* unsafe_arena_release_options(); |
| 839 | |
| 840 | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
| 841 | bool has_source_code_info() const; |
| 842 | private: |
| 843 | bool _internal_has_source_code_info() const; |
| 844 | public: |
| 845 | void clear_source_code_info(); |
| 846 | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& source_code_info() const; |
| 847 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* release_source_code_info(); |
| 848 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* mutable_source_code_info(); |
| 849 | void set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info); |
| 850 | private: |
| 851 | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& _internal_source_code_info() const; |
| 852 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _internal_mutable_source_code_info(); |
| 853 | public: |
| 854 | void unsafe_arena_set_allocated_source_code_info( |
| 855 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info); |
| 856 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* unsafe_arena_release_source_code_info(); |
| 857 | |
| 858 | // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto) |
| 859 | private: |
| 860 | class _Internal; |
| 861 | |
| 862 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 863 | typedef void InternalArenaConstructable_; |
| 864 | typedef void DestructorSkippable_; |
| 865 | struct Impl_ { |
| 866 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 867 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 868 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> dependency_; |
| 869 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > message_type_; |
| 870 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_; |
| 871 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto > service_; |
| 872 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_; |
| 873 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > public_dependency_; |
| 874 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > weak_dependency_; |
| 875 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 876 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_; |
| 877 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr syntax_; |
| 878 | ::PROTOBUF_NAMESPACE_ID::FileOptions* options_; |
| 879 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info_; |
| 880 | }; |
| 881 | union { Impl_ _impl_; }; |
| 882 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 883 | }; |
| 884 | // ------------------------------------------------------------------- |
| 885 | |
| 886 | class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final : |
| 887 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ { |
| 888 | public: |
| 889 | inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {} |
| 890 | ~DescriptorProto_ExtensionRange() override; |
| 891 | explicit PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 892 | |
| 893 | DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from); |
| 894 | DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept |
| 895 | : DescriptorProto_ExtensionRange() { |
| 896 | *this = ::std::move(from); |
| 897 | } |
| 898 | |
| 899 | inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) { |
| 900 | CopyFrom(from); |
| 901 | return *this; |
| 902 | } |
| 903 | inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept { |
| 904 | if (this == &from) return *this; |
| 905 | if (GetOwningArena() == from.GetOwningArena() |
| 906 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 907 | && GetOwningArena() != nullptr |
| 908 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 909 | ) { |
| 910 | InternalSwap(other: &from); |
| 911 | } else { |
| 912 | CopyFrom(from); |
| 913 | } |
| 914 | return *this; |
| 915 | } |
| 916 | |
| 917 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 918 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 919 | } |
| 920 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 921 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 922 | } |
| 923 | |
| 924 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 925 | return GetDescriptor(); |
| 926 | } |
| 927 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 928 | return default_instance().GetMetadata().descriptor; |
| 929 | } |
| 930 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 931 | return default_instance().GetMetadata().reflection; |
| 932 | } |
| 933 | static const DescriptorProto_ExtensionRange& default_instance() { |
| 934 | return *internal_default_instance(); |
| 935 | } |
| 936 | static inline const DescriptorProto_ExtensionRange* internal_default_instance() { |
| 937 | return reinterpret_cast<const DescriptorProto_ExtensionRange*>( |
| 938 | &_DescriptorProto_ExtensionRange_default_instance_); |
| 939 | } |
| 940 | static constexpr int kIndexInFileMessages = |
| 941 | 2; |
| 942 | |
| 943 | friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) { |
| 944 | a.Swap(other: &b); |
| 945 | } |
| 946 | inline void Swap(DescriptorProto_ExtensionRange* other) { |
| 947 | if (other == this) return; |
| 948 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 949 | if (GetOwningArena() != nullptr && |
| 950 | GetOwningArena() == other->GetOwningArena()) { |
| 951 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 952 | if (GetOwningArena() == other->GetOwningArena()) { |
| 953 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 954 | InternalSwap(other); |
| 955 | } else { |
| 956 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 957 | } |
| 958 | } |
| 959 | void UnsafeArenaSwap(DescriptorProto_ExtensionRange* other) { |
| 960 | if (other == this) return; |
| 961 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 962 | InternalSwap(other); |
| 963 | } |
| 964 | |
| 965 | // implements Message ---------------------------------------------- |
| 966 | |
| 967 | DescriptorProto_ExtensionRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 968 | return CreateMaybeMessage<DescriptorProto_ExtensionRange>(arena); |
| 969 | } |
| 970 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 971 | void CopyFrom(const DescriptorProto_ExtensionRange& from); |
| 972 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 973 | void MergeFrom( const DescriptorProto_ExtensionRange& from) { |
| 974 | DescriptorProto_ExtensionRange::MergeImpl(to_msg&: *this, from_msg: from); |
| 975 | } |
| 976 | private: |
| 977 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 978 | public: |
| 979 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 980 | bool IsInitialized() const final; |
| 981 | |
| 982 | size_t ByteSizeLong() const final; |
| 983 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 984 | uint8_t* _InternalSerialize( |
| 985 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 986 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 987 | |
| 988 | private: |
| 989 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 990 | void SharedDtor(); |
| 991 | void SetCachedSize(int size) const final; |
| 992 | void InternalSwap(DescriptorProto_ExtensionRange* other); |
| 993 | |
| 994 | private: |
| 995 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 996 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 997 | return "google.protobuf.DescriptorProto.ExtensionRange" ; |
| 998 | } |
| 999 | protected: |
| 1000 | explicit DescriptorProto_ExtensionRange(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 1001 | bool is_message_owned = false); |
| 1002 | public: |
| 1003 | |
| 1004 | static const ClassData _class_data_; |
| 1005 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 1006 | |
| 1007 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 1008 | |
| 1009 | // nested types ---------------------------------------------------- |
| 1010 | |
| 1011 | // accessors ------------------------------------------------------- |
| 1012 | |
| 1013 | enum : int { |
| 1014 | kOptionsFieldNumber = 3, |
| 1015 | kStartFieldNumber = 1, |
| 1016 | kEndFieldNumber = 2, |
| 1017 | }; |
| 1018 | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
| 1019 | bool has_options() const; |
| 1020 | private: |
| 1021 | bool _internal_has_options() const; |
| 1022 | public: |
| 1023 | void clear_options(); |
| 1024 | const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& options() const; |
| 1025 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* release_options(); |
| 1026 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* mutable_options(); |
| 1027 | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options); |
| 1028 | private: |
| 1029 | const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& _internal_options() const; |
| 1030 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _internal_mutable_options(); |
| 1031 | public: |
| 1032 | void unsafe_arena_set_allocated_options( |
| 1033 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options); |
| 1034 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* unsafe_arena_release_options(); |
| 1035 | |
| 1036 | // optional int32 start = 1; |
| 1037 | bool has_start() const; |
| 1038 | private: |
| 1039 | bool _internal_has_start() const; |
| 1040 | public: |
| 1041 | void clear_start(); |
| 1042 | int32_t start() const; |
| 1043 | void set_start(int32_t value); |
| 1044 | private: |
| 1045 | int32_t _internal_start() const; |
| 1046 | void _internal_set_start(int32_t value); |
| 1047 | public: |
| 1048 | |
| 1049 | // optional int32 end = 2; |
| 1050 | bool has_end() const; |
| 1051 | private: |
| 1052 | bool _internal_has_end() const; |
| 1053 | public: |
| 1054 | void clear_end(); |
| 1055 | int32_t end() const; |
| 1056 | void set_end(int32_t value); |
| 1057 | private: |
| 1058 | int32_t _internal_end() const; |
| 1059 | void _internal_set_end(int32_t value); |
| 1060 | public: |
| 1061 | |
| 1062 | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange) |
| 1063 | private: |
| 1064 | class _Internal; |
| 1065 | |
| 1066 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 1067 | typedef void InternalArenaConstructable_; |
| 1068 | typedef void DestructorSkippable_; |
| 1069 | struct Impl_ { |
| 1070 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 1071 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 1072 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options_; |
| 1073 | int32_t start_; |
| 1074 | int32_t end_; |
| 1075 | }; |
| 1076 | union { Impl_ _impl_; }; |
| 1077 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 1078 | }; |
| 1079 | // ------------------------------------------------------------------- |
| 1080 | |
| 1081 | class PROTOBUF_EXPORT DescriptorProto_ReservedRange final : |
| 1082 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ { |
| 1083 | public: |
| 1084 | inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {} |
| 1085 | ~DescriptorProto_ReservedRange() override; |
| 1086 | explicit PROTOBUF_CONSTEXPR DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 1087 | |
| 1088 | DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from); |
| 1089 | DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept |
| 1090 | : DescriptorProto_ReservedRange() { |
| 1091 | *this = ::std::move(from); |
| 1092 | } |
| 1093 | |
| 1094 | inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) { |
| 1095 | CopyFrom(from); |
| 1096 | return *this; |
| 1097 | } |
| 1098 | inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept { |
| 1099 | if (this == &from) return *this; |
| 1100 | if (GetOwningArena() == from.GetOwningArena() |
| 1101 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 1102 | && GetOwningArena() != nullptr |
| 1103 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 1104 | ) { |
| 1105 | InternalSwap(other: &from); |
| 1106 | } else { |
| 1107 | CopyFrom(from); |
| 1108 | } |
| 1109 | return *this; |
| 1110 | } |
| 1111 | |
| 1112 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 1113 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 1114 | } |
| 1115 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 1116 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 1117 | } |
| 1118 | |
| 1119 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 1120 | return GetDescriptor(); |
| 1121 | } |
| 1122 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 1123 | return default_instance().GetMetadata().descriptor; |
| 1124 | } |
| 1125 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 1126 | return default_instance().GetMetadata().reflection; |
| 1127 | } |
| 1128 | static const DescriptorProto_ReservedRange& default_instance() { |
| 1129 | return *internal_default_instance(); |
| 1130 | } |
| 1131 | static inline const DescriptorProto_ReservedRange* internal_default_instance() { |
| 1132 | return reinterpret_cast<const DescriptorProto_ReservedRange*>( |
| 1133 | &_DescriptorProto_ReservedRange_default_instance_); |
| 1134 | } |
| 1135 | static constexpr int kIndexInFileMessages = |
| 1136 | 3; |
| 1137 | |
| 1138 | friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) { |
| 1139 | a.Swap(other: &b); |
| 1140 | } |
| 1141 | inline void Swap(DescriptorProto_ReservedRange* other) { |
| 1142 | if (other == this) return; |
| 1143 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 1144 | if (GetOwningArena() != nullptr && |
| 1145 | GetOwningArena() == other->GetOwningArena()) { |
| 1146 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 1147 | if (GetOwningArena() == other->GetOwningArena()) { |
| 1148 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 1149 | InternalSwap(other); |
| 1150 | } else { |
| 1151 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 1152 | } |
| 1153 | } |
| 1154 | void UnsafeArenaSwap(DescriptorProto_ReservedRange* other) { |
| 1155 | if (other == this) return; |
| 1156 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 1157 | InternalSwap(other); |
| 1158 | } |
| 1159 | |
| 1160 | // implements Message ---------------------------------------------- |
| 1161 | |
| 1162 | DescriptorProto_ReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 1163 | return CreateMaybeMessage<DescriptorProto_ReservedRange>(arena); |
| 1164 | } |
| 1165 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 1166 | void CopyFrom(const DescriptorProto_ReservedRange& from); |
| 1167 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 1168 | void MergeFrom( const DescriptorProto_ReservedRange& from) { |
| 1169 | DescriptorProto_ReservedRange::MergeImpl(to_msg&: *this, from_msg: from); |
| 1170 | } |
| 1171 | private: |
| 1172 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 1173 | public: |
| 1174 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1175 | bool IsInitialized() const final; |
| 1176 | |
| 1177 | size_t ByteSizeLong() const final; |
| 1178 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 1179 | uint8_t* _InternalSerialize( |
| 1180 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 1181 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 1182 | |
| 1183 | private: |
| 1184 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 1185 | void SharedDtor(); |
| 1186 | void SetCachedSize(int size) const final; |
| 1187 | void InternalSwap(DescriptorProto_ReservedRange* other); |
| 1188 | |
| 1189 | private: |
| 1190 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 1191 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 1192 | return "google.protobuf.DescriptorProto.ReservedRange" ; |
| 1193 | } |
| 1194 | protected: |
| 1195 | explicit DescriptorProto_ReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 1196 | bool is_message_owned = false); |
| 1197 | public: |
| 1198 | |
| 1199 | static const ClassData _class_data_; |
| 1200 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 1201 | |
| 1202 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 1203 | |
| 1204 | // nested types ---------------------------------------------------- |
| 1205 | |
| 1206 | // accessors ------------------------------------------------------- |
| 1207 | |
| 1208 | enum : int { |
| 1209 | kStartFieldNumber = 1, |
| 1210 | kEndFieldNumber = 2, |
| 1211 | }; |
| 1212 | // optional int32 start = 1; |
| 1213 | bool has_start() const; |
| 1214 | private: |
| 1215 | bool _internal_has_start() const; |
| 1216 | public: |
| 1217 | void clear_start(); |
| 1218 | int32_t start() const; |
| 1219 | void set_start(int32_t value); |
| 1220 | private: |
| 1221 | int32_t _internal_start() const; |
| 1222 | void _internal_set_start(int32_t value); |
| 1223 | public: |
| 1224 | |
| 1225 | // optional int32 end = 2; |
| 1226 | bool has_end() const; |
| 1227 | private: |
| 1228 | bool _internal_has_end() const; |
| 1229 | public: |
| 1230 | void clear_end(); |
| 1231 | int32_t end() const; |
| 1232 | void set_end(int32_t value); |
| 1233 | private: |
| 1234 | int32_t _internal_end() const; |
| 1235 | void _internal_set_end(int32_t value); |
| 1236 | public: |
| 1237 | |
| 1238 | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange) |
| 1239 | private: |
| 1240 | class _Internal; |
| 1241 | |
| 1242 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 1243 | typedef void InternalArenaConstructable_; |
| 1244 | typedef void DestructorSkippable_; |
| 1245 | struct Impl_ { |
| 1246 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 1247 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 1248 | int32_t start_; |
| 1249 | int32_t end_; |
| 1250 | }; |
| 1251 | union { Impl_ _impl_; }; |
| 1252 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 1253 | }; |
| 1254 | // ------------------------------------------------------------------- |
| 1255 | |
| 1256 | class PROTOBUF_EXPORT DescriptorProto final : |
| 1257 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ { |
| 1258 | public: |
| 1259 | inline DescriptorProto() : DescriptorProto(nullptr) {} |
| 1260 | ~DescriptorProto() override; |
| 1261 | explicit PROTOBUF_CONSTEXPR DescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 1262 | |
| 1263 | DescriptorProto(const DescriptorProto& from); |
| 1264 | DescriptorProto(DescriptorProto&& from) noexcept |
| 1265 | : DescriptorProto() { |
| 1266 | *this = ::std::move(from); |
| 1267 | } |
| 1268 | |
| 1269 | inline DescriptorProto& operator=(const DescriptorProto& from) { |
| 1270 | CopyFrom(from); |
| 1271 | return *this; |
| 1272 | } |
| 1273 | inline DescriptorProto& operator=(DescriptorProto&& from) noexcept { |
| 1274 | if (this == &from) return *this; |
| 1275 | if (GetOwningArena() == from.GetOwningArena() |
| 1276 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 1277 | && GetOwningArena() != nullptr |
| 1278 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 1279 | ) { |
| 1280 | InternalSwap(other: &from); |
| 1281 | } else { |
| 1282 | CopyFrom(from); |
| 1283 | } |
| 1284 | return *this; |
| 1285 | } |
| 1286 | |
| 1287 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 1288 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 1289 | } |
| 1290 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 1291 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 1292 | } |
| 1293 | |
| 1294 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 1295 | return GetDescriptor(); |
| 1296 | } |
| 1297 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 1298 | return default_instance().GetMetadata().descriptor; |
| 1299 | } |
| 1300 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 1301 | return default_instance().GetMetadata().reflection; |
| 1302 | } |
| 1303 | static const DescriptorProto& default_instance() { |
| 1304 | return *internal_default_instance(); |
| 1305 | } |
| 1306 | static inline const DescriptorProto* internal_default_instance() { |
| 1307 | return reinterpret_cast<const DescriptorProto*>( |
| 1308 | &_DescriptorProto_default_instance_); |
| 1309 | } |
| 1310 | static constexpr int kIndexInFileMessages = |
| 1311 | 4; |
| 1312 | |
| 1313 | friend void swap(DescriptorProto& a, DescriptorProto& b) { |
| 1314 | a.Swap(other: &b); |
| 1315 | } |
| 1316 | inline void Swap(DescriptorProto* other) { |
| 1317 | if (other == this) return; |
| 1318 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 1319 | if (GetOwningArena() != nullptr && |
| 1320 | GetOwningArena() == other->GetOwningArena()) { |
| 1321 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 1322 | if (GetOwningArena() == other->GetOwningArena()) { |
| 1323 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 1324 | InternalSwap(other); |
| 1325 | } else { |
| 1326 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 1327 | } |
| 1328 | } |
| 1329 | void UnsafeArenaSwap(DescriptorProto* other) { |
| 1330 | if (other == this) return; |
| 1331 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 1332 | InternalSwap(other); |
| 1333 | } |
| 1334 | |
| 1335 | // implements Message ---------------------------------------------- |
| 1336 | |
| 1337 | DescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 1338 | return CreateMaybeMessage<DescriptorProto>(arena); |
| 1339 | } |
| 1340 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 1341 | void CopyFrom(const DescriptorProto& from); |
| 1342 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 1343 | void MergeFrom( const DescriptorProto& from) { |
| 1344 | DescriptorProto::MergeImpl(to_msg&: *this, from_msg: from); |
| 1345 | } |
| 1346 | private: |
| 1347 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 1348 | public: |
| 1349 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1350 | bool IsInitialized() const final; |
| 1351 | |
| 1352 | size_t ByteSizeLong() const final; |
| 1353 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 1354 | uint8_t* _InternalSerialize( |
| 1355 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 1356 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 1357 | |
| 1358 | private: |
| 1359 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 1360 | void SharedDtor(); |
| 1361 | void SetCachedSize(int size) const final; |
| 1362 | void InternalSwap(DescriptorProto* other); |
| 1363 | |
| 1364 | private: |
| 1365 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 1366 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 1367 | return "google.protobuf.DescriptorProto" ; |
| 1368 | } |
| 1369 | protected: |
| 1370 | explicit DescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 1371 | bool is_message_owned = false); |
| 1372 | public: |
| 1373 | |
| 1374 | static const ClassData _class_data_; |
| 1375 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 1376 | |
| 1377 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 1378 | |
| 1379 | // nested types ---------------------------------------------------- |
| 1380 | |
| 1381 | typedef DescriptorProto_ExtensionRange ExtensionRange; |
| 1382 | typedef DescriptorProto_ReservedRange ReservedRange; |
| 1383 | |
| 1384 | // accessors ------------------------------------------------------- |
| 1385 | |
| 1386 | enum : int { |
| 1387 | kFieldFieldNumber = 2, |
| 1388 | kNestedTypeFieldNumber = 3, |
| 1389 | kEnumTypeFieldNumber = 4, |
| 1390 | kExtensionRangeFieldNumber = 5, |
| 1391 | kExtensionFieldNumber = 6, |
| 1392 | kOneofDeclFieldNumber = 8, |
| 1393 | kReservedRangeFieldNumber = 9, |
| 1394 | kReservedNameFieldNumber = 10, |
| 1395 | kNameFieldNumber = 1, |
| 1396 | kOptionsFieldNumber = 7, |
| 1397 | }; |
| 1398 | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
| 1399 | int field_size() const; |
| 1400 | private: |
| 1401 | int _internal_field_size() const; |
| 1402 | public: |
| 1403 | void clear_field(); |
| 1404 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index); |
| 1405 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
| 1406 | mutable_field(); |
| 1407 | private: |
| 1408 | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_field(int index) const; |
| 1409 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_field(); |
| 1410 | public: |
| 1411 | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& field(int index) const; |
| 1412 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_field(); |
| 1413 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
| 1414 | field() const; |
| 1415 | |
| 1416 | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
| 1417 | int nested_type_size() const; |
| 1418 | private: |
| 1419 | int _internal_nested_type_size() const; |
| 1420 | public: |
| 1421 | void clear_nested_type(); |
| 1422 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* mutable_nested_type(int index); |
| 1423 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
| 1424 | mutable_nested_type(); |
| 1425 | private: |
| 1426 | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& _internal_nested_type(int index) const; |
| 1427 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _internal_add_nested_type(); |
| 1428 | public: |
| 1429 | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& nested_type(int index) const; |
| 1430 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* add_nested_type(); |
| 1431 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
| 1432 | nested_type() const; |
| 1433 | |
| 1434 | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
| 1435 | int enum_type_size() const; |
| 1436 | private: |
| 1437 | int _internal_enum_type_size() const; |
| 1438 | public: |
| 1439 | void clear_enum_type(); |
| 1440 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* mutable_enum_type(int index); |
| 1441 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
| 1442 | mutable_enum_type(); |
| 1443 | private: |
| 1444 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& _internal_enum_type(int index) const; |
| 1445 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _internal_add_enum_type(); |
| 1446 | public: |
| 1447 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& enum_type(int index) const; |
| 1448 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* add_enum_type(); |
| 1449 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
| 1450 | enum_type() const; |
| 1451 | |
| 1452 | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
| 1453 | int extension_range_size() const; |
| 1454 | private: |
| 1455 | int _internal_extension_range_size() const; |
| 1456 | public: |
| 1457 | void clear_extension_range(); |
| 1458 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* mutable_extension_range(int index); |
| 1459 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >* |
| 1460 | mutable_extension_range(); |
| 1461 | private: |
| 1462 | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& _internal_extension_range(int index) const; |
| 1463 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _internal_add_extension_range(); |
| 1464 | public: |
| 1465 | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& extension_range(int index) const; |
| 1466 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* add_extension_range(); |
| 1467 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >& |
| 1468 | extension_range() const; |
| 1469 | |
| 1470 | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
| 1471 | int extension_size() const; |
| 1472 | private: |
| 1473 | int _internal_extension_size() const; |
| 1474 | public: |
| 1475 | void clear_extension(); |
| 1476 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_extension(int index); |
| 1477 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
| 1478 | mutable_extension(); |
| 1479 | private: |
| 1480 | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& _internal_extension(int index) const; |
| 1481 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _internal_add_extension(); |
| 1482 | public: |
| 1483 | const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& extension(int index) const; |
| 1484 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* add_extension(); |
| 1485 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
| 1486 | extension() const; |
| 1487 | |
| 1488 | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
| 1489 | int oneof_decl_size() const; |
| 1490 | private: |
| 1491 | int _internal_oneof_decl_size() const; |
| 1492 | public: |
| 1493 | void clear_oneof_decl(); |
| 1494 | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* mutable_oneof_decl(int index); |
| 1495 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >* |
| 1496 | mutable_oneof_decl(); |
| 1497 | private: |
| 1498 | const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& _internal_oneof_decl(int index) const; |
| 1499 | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _internal_add_oneof_decl(); |
| 1500 | public: |
| 1501 | const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& oneof_decl(int index) const; |
| 1502 | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* add_oneof_decl(); |
| 1503 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >& |
| 1504 | oneof_decl() const; |
| 1505 | |
| 1506 | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
| 1507 | int reserved_range_size() const; |
| 1508 | private: |
| 1509 | int _internal_reserved_range_size() const; |
| 1510 | public: |
| 1511 | void clear_reserved_range(); |
| 1512 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* mutable_reserved_range(int index); |
| 1513 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >* |
| 1514 | mutable_reserved_range(); |
| 1515 | private: |
| 1516 | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& _internal_reserved_range(int index) const; |
| 1517 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _internal_add_reserved_range(); |
| 1518 | public: |
| 1519 | const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& reserved_range(int index) const; |
| 1520 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* add_reserved_range(); |
| 1521 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >& |
| 1522 | reserved_range() const; |
| 1523 | |
| 1524 | // repeated string reserved_name = 10; |
| 1525 | int reserved_name_size() const; |
| 1526 | private: |
| 1527 | int _internal_reserved_name_size() const; |
| 1528 | public: |
| 1529 | void clear_reserved_name(); |
| 1530 | const std::string& reserved_name(int index) const; |
| 1531 | std::string* mutable_reserved_name(int index); |
| 1532 | void set_reserved_name(int index, const std::string& value); |
| 1533 | void set_reserved_name(int index, std::string&& value); |
| 1534 | void set_reserved_name(int index, const char* value); |
| 1535 | void set_reserved_name(int index, const char* value, size_t size); |
| 1536 | std::string* add_reserved_name(); |
| 1537 | void add_reserved_name(const std::string& value); |
| 1538 | void add_reserved_name(std::string&& value); |
| 1539 | void add_reserved_name(const char* value); |
| 1540 | void add_reserved_name(const char* value, size_t size); |
| 1541 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const; |
| 1542 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name(); |
| 1543 | private: |
| 1544 | const std::string& _internal_reserved_name(int index) const; |
| 1545 | std::string* _internal_add_reserved_name(); |
| 1546 | public: |
| 1547 | |
| 1548 | // optional string name = 1; |
| 1549 | bool has_name() const; |
| 1550 | private: |
| 1551 | bool _internal_has_name() const; |
| 1552 | public: |
| 1553 | void clear_name(); |
| 1554 | const std::string& name() const; |
| 1555 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 1556 | void set_name(ArgT0&& arg0, ArgT... args); |
| 1557 | std::string* mutable_name(); |
| 1558 | PROTOBUF_NODISCARD std::string* release_name(); |
| 1559 | void set_allocated_name(std::string* name); |
| 1560 | private: |
| 1561 | const std::string& _internal_name() const; |
| 1562 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 1563 | std::string* _internal_mutable_name(); |
| 1564 | public: |
| 1565 | |
| 1566 | // optional .google.protobuf.MessageOptions options = 7; |
| 1567 | bool has_options() const; |
| 1568 | private: |
| 1569 | bool _internal_has_options() const; |
| 1570 | public: |
| 1571 | void clear_options(); |
| 1572 | const ::PROTOBUF_NAMESPACE_ID::MessageOptions& options() const; |
| 1573 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::MessageOptions* release_options(); |
| 1574 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* mutable_options(); |
| 1575 | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options); |
| 1576 | private: |
| 1577 | const ::PROTOBUF_NAMESPACE_ID::MessageOptions& _internal_options() const; |
| 1578 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* _internal_mutable_options(); |
| 1579 | public: |
| 1580 | void unsafe_arena_set_allocated_options( |
| 1581 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* options); |
| 1582 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* unsafe_arena_release_options(); |
| 1583 | |
| 1584 | // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto) |
| 1585 | private: |
| 1586 | class _Internal; |
| 1587 | |
| 1588 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 1589 | typedef void InternalArenaConstructable_; |
| 1590 | typedef void DestructorSkippable_; |
| 1591 | struct Impl_ { |
| 1592 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 1593 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 1594 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > field_; |
| 1595 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto > nested_type_; |
| 1596 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto > enum_type_; |
| 1597 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange > extension_range_; |
| 1598 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto > extension_; |
| 1599 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto > oneof_decl_; |
| 1600 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange > reserved_range_; |
| 1601 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_; |
| 1602 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 1603 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* options_; |
| 1604 | }; |
| 1605 | union { Impl_ _impl_; }; |
| 1606 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 1607 | }; |
| 1608 | // ------------------------------------------------------------------- |
| 1609 | |
| 1610 | class PROTOBUF_EXPORT ExtensionRangeOptions final : |
| 1611 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ { |
| 1612 | public: |
| 1613 | inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {} |
| 1614 | ~ExtensionRangeOptions() override; |
| 1615 | explicit PROTOBUF_CONSTEXPR ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 1616 | |
| 1617 | ExtensionRangeOptions(const ExtensionRangeOptions& from); |
| 1618 | ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept |
| 1619 | : ExtensionRangeOptions() { |
| 1620 | *this = ::std::move(from); |
| 1621 | } |
| 1622 | |
| 1623 | inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) { |
| 1624 | CopyFrom(from); |
| 1625 | return *this; |
| 1626 | } |
| 1627 | inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept { |
| 1628 | if (this == &from) return *this; |
| 1629 | if (GetOwningArena() == from.GetOwningArena() |
| 1630 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 1631 | && GetOwningArena() != nullptr |
| 1632 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 1633 | ) { |
| 1634 | InternalSwap(other: &from); |
| 1635 | } else { |
| 1636 | CopyFrom(from); |
| 1637 | } |
| 1638 | return *this; |
| 1639 | } |
| 1640 | |
| 1641 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 1642 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 1643 | } |
| 1644 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 1645 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 1646 | } |
| 1647 | |
| 1648 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 1649 | return GetDescriptor(); |
| 1650 | } |
| 1651 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 1652 | return default_instance().GetMetadata().descriptor; |
| 1653 | } |
| 1654 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 1655 | return default_instance().GetMetadata().reflection; |
| 1656 | } |
| 1657 | static const ExtensionRangeOptions& default_instance() { |
| 1658 | return *internal_default_instance(); |
| 1659 | } |
| 1660 | static inline const ExtensionRangeOptions* internal_default_instance() { |
| 1661 | return reinterpret_cast<const ExtensionRangeOptions*>( |
| 1662 | &_ExtensionRangeOptions_default_instance_); |
| 1663 | } |
| 1664 | static constexpr int kIndexInFileMessages = |
| 1665 | 5; |
| 1666 | |
| 1667 | friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) { |
| 1668 | a.Swap(other: &b); |
| 1669 | } |
| 1670 | inline void Swap(ExtensionRangeOptions* other) { |
| 1671 | if (other == this) return; |
| 1672 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 1673 | if (GetOwningArena() != nullptr && |
| 1674 | GetOwningArena() == other->GetOwningArena()) { |
| 1675 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 1676 | if (GetOwningArena() == other->GetOwningArena()) { |
| 1677 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 1678 | InternalSwap(other); |
| 1679 | } else { |
| 1680 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 1681 | } |
| 1682 | } |
| 1683 | void UnsafeArenaSwap(ExtensionRangeOptions* other) { |
| 1684 | if (other == this) return; |
| 1685 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 1686 | InternalSwap(other); |
| 1687 | } |
| 1688 | |
| 1689 | // implements Message ---------------------------------------------- |
| 1690 | |
| 1691 | ExtensionRangeOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 1692 | return CreateMaybeMessage<ExtensionRangeOptions>(arena); |
| 1693 | } |
| 1694 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 1695 | void CopyFrom(const ExtensionRangeOptions& from); |
| 1696 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 1697 | void MergeFrom( const ExtensionRangeOptions& from) { |
| 1698 | ExtensionRangeOptions::MergeImpl(to_msg&: *this, from_msg: from); |
| 1699 | } |
| 1700 | private: |
| 1701 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 1702 | public: |
| 1703 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 1704 | bool IsInitialized() const final; |
| 1705 | |
| 1706 | size_t ByteSizeLong() const final; |
| 1707 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 1708 | uint8_t* _InternalSerialize( |
| 1709 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 1710 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 1711 | |
| 1712 | private: |
| 1713 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 1714 | void SharedDtor(); |
| 1715 | void SetCachedSize(int size) const final; |
| 1716 | void InternalSwap(ExtensionRangeOptions* other); |
| 1717 | |
| 1718 | private: |
| 1719 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 1720 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 1721 | return "google.protobuf.ExtensionRangeOptions" ; |
| 1722 | } |
| 1723 | protected: |
| 1724 | explicit ExtensionRangeOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 1725 | bool is_message_owned = false); |
| 1726 | public: |
| 1727 | |
| 1728 | static const ClassData _class_data_; |
| 1729 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 1730 | |
| 1731 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 1732 | |
| 1733 | // nested types ---------------------------------------------------- |
| 1734 | |
| 1735 | // accessors ------------------------------------------------------- |
| 1736 | |
| 1737 | enum : int { |
| 1738 | kUninterpretedOptionFieldNumber = 999, |
| 1739 | }; |
| 1740 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 1741 | int uninterpreted_option_size() const; |
| 1742 | private: |
| 1743 | int _internal_uninterpreted_option_size() const; |
| 1744 | public: |
| 1745 | void clear_uninterpreted_option(); |
| 1746 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 1747 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 1748 | mutable_uninterpreted_option(); |
| 1749 | private: |
| 1750 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
| 1751 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
| 1752 | public: |
| 1753 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
| 1754 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
| 1755 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 1756 | uninterpreted_option() const; |
| 1757 | |
| 1758 | |
| 1759 | template <typename _proto_TypeTraits, |
| 1760 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1761 | bool _is_packed> |
| 1762 | inline bool HasExtension( |
| 1763 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1764 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 1765 | |
| 1766 | return _impl_._extensions_.Has(number: id.number()); |
| 1767 | } |
| 1768 | |
| 1769 | template <typename _proto_TypeTraits, |
| 1770 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1771 | bool _is_packed> |
| 1772 | inline void ClearExtension( |
| 1773 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1774 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 1775 | _impl_._extensions_.ClearExtension(number: id.number()); |
| 1776 | |
| 1777 | } |
| 1778 | |
| 1779 | template <typename _proto_TypeTraits, |
| 1780 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1781 | bool _is_packed> |
| 1782 | inline int ExtensionSize( |
| 1783 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1784 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 1785 | |
| 1786 | return _impl_._extensions_.ExtensionSize(number: id.number()); |
| 1787 | } |
| 1788 | |
| 1789 | template <typename _proto_TypeTraits, |
| 1790 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1791 | bool _is_packed> |
| 1792 | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| 1793 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1794 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 1795 | |
| 1796 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
| 1797 | id.default_value()); |
| 1798 | } |
| 1799 | |
| 1800 | template <typename _proto_TypeTraits, |
| 1801 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1802 | bool _is_packed> |
| 1803 | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| 1804 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1805 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 1806 | |
| 1807 | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
| 1808 | &_impl_._extensions_); |
| 1809 | } |
| 1810 | |
| 1811 | template <typename _proto_TypeTraits, |
| 1812 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1813 | bool _is_packed> |
| 1814 | inline void SetExtension( |
| 1815 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1816 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 1817 | typename _proto_TypeTraits::Singular::ConstType value) { |
| 1818 | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| 1819 | |
| 1820 | } |
| 1821 | |
| 1822 | template <typename _proto_TypeTraits, |
| 1823 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1824 | bool _is_packed> |
| 1825 | inline void SetAllocatedExtension( |
| 1826 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1827 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 1828 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 1829 | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| 1830 | &_impl_._extensions_); |
| 1831 | |
| 1832 | } |
| 1833 | template <typename _proto_TypeTraits, |
| 1834 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1835 | bool _is_packed> |
| 1836 | inline void UnsafeArenaSetAllocatedExtension( |
| 1837 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1838 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 1839 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 1840 | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| 1841 | value, &_impl_._extensions_); |
| 1842 | |
| 1843 | } |
| 1844 | template <typename _proto_TypeTraits, |
| 1845 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1846 | bool _is_packed> |
| 1847 | PROTOBUF_NODISCARD inline |
| 1848 | typename _proto_TypeTraits::Singular::MutableType |
| 1849 | ReleaseExtension( |
| 1850 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1851 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 1852 | |
| 1853 | return _proto_TypeTraits::Release(id.number(), _field_type, |
| 1854 | &_impl_._extensions_); |
| 1855 | } |
| 1856 | template <typename _proto_TypeTraits, |
| 1857 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1858 | bool _is_packed> |
| 1859 | inline typename _proto_TypeTraits::Singular::MutableType |
| 1860 | UnsafeArenaReleaseExtension( |
| 1861 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1862 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 1863 | |
| 1864 | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| 1865 | &_impl_._extensions_); |
| 1866 | } |
| 1867 | |
| 1868 | template <typename _proto_TypeTraits, |
| 1869 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1870 | bool _is_packed> |
| 1871 | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| 1872 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1873 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 1874 | int index) const { |
| 1875 | |
| 1876 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| 1877 | } |
| 1878 | |
| 1879 | template <typename _proto_TypeTraits, |
| 1880 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1881 | bool _is_packed> |
| 1882 | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| 1883 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1884 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 1885 | int index) { |
| 1886 | |
| 1887 | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| 1888 | } |
| 1889 | |
| 1890 | template <typename _proto_TypeTraits, |
| 1891 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1892 | bool _is_packed> |
| 1893 | inline void SetExtension( |
| 1894 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1895 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 1896 | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| 1897 | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| 1898 | |
| 1899 | } |
| 1900 | |
| 1901 | template <typename _proto_TypeTraits, |
| 1902 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1903 | bool _is_packed> |
| 1904 | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| 1905 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1906 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 1907 | typename _proto_TypeTraits::Repeated::MutableType to_add = |
| 1908 | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| 1909 | |
| 1910 | return to_add; |
| 1911 | } |
| 1912 | |
| 1913 | template <typename _proto_TypeTraits, |
| 1914 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1915 | bool _is_packed> |
| 1916 | inline void AddExtension( |
| 1917 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1918 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 1919 | typename _proto_TypeTraits::Repeated::ConstType value) { |
| 1920 | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| 1921 | &_impl_._extensions_); |
| 1922 | |
| 1923 | } |
| 1924 | |
| 1925 | template <typename _proto_TypeTraits, |
| 1926 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1927 | bool _is_packed> |
| 1928 | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| 1929 | GetRepeatedExtension( |
| 1930 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1931 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 1932 | |
| 1933 | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| 1934 | } |
| 1935 | |
| 1936 | template <typename _proto_TypeTraits, |
| 1937 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 1938 | bool _is_packed> |
| 1939 | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| 1940 | MutableRepeatedExtension( |
| 1941 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 1942 | ExtensionRangeOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 1943 | |
| 1944 | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| 1945 | _is_packed, &_impl_._extensions_); |
| 1946 | } |
| 1947 | |
| 1948 | // @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions) |
| 1949 | private: |
| 1950 | class _Internal; |
| 1951 | |
| 1952 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 1953 | typedef void InternalArenaConstructable_; |
| 1954 | typedef void DestructorSkippable_; |
| 1955 | struct Impl_ { |
| 1956 | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
| 1957 | |
| 1958 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
| 1959 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 1960 | }; |
| 1961 | union { Impl_ _impl_; }; |
| 1962 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 1963 | }; |
| 1964 | // ------------------------------------------------------------------- |
| 1965 | |
| 1966 | class PROTOBUF_EXPORT FieldDescriptorProto final : |
| 1967 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ { |
| 1968 | public: |
| 1969 | inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {} |
| 1970 | ~FieldDescriptorProto() override; |
| 1971 | explicit PROTOBUF_CONSTEXPR FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 1972 | |
| 1973 | FieldDescriptorProto(const FieldDescriptorProto& from); |
| 1974 | FieldDescriptorProto(FieldDescriptorProto&& from) noexcept |
| 1975 | : FieldDescriptorProto() { |
| 1976 | *this = ::std::move(from); |
| 1977 | } |
| 1978 | |
| 1979 | inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) { |
| 1980 | CopyFrom(from); |
| 1981 | return *this; |
| 1982 | } |
| 1983 | inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept { |
| 1984 | if (this == &from) return *this; |
| 1985 | if (GetOwningArena() == from.GetOwningArena() |
| 1986 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 1987 | && GetOwningArena() != nullptr |
| 1988 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 1989 | ) { |
| 1990 | InternalSwap(other: &from); |
| 1991 | } else { |
| 1992 | CopyFrom(from); |
| 1993 | } |
| 1994 | return *this; |
| 1995 | } |
| 1996 | |
| 1997 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 1998 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 1999 | } |
| 2000 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 2001 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 2002 | } |
| 2003 | |
| 2004 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 2005 | return GetDescriptor(); |
| 2006 | } |
| 2007 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 2008 | return default_instance().GetMetadata().descriptor; |
| 2009 | } |
| 2010 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 2011 | return default_instance().GetMetadata().reflection; |
| 2012 | } |
| 2013 | static const FieldDescriptorProto& default_instance() { |
| 2014 | return *internal_default_instance(); |
| 2015 | } |
| 2016 | static inline const FieldDescriptorProto* internal_default_instance() { |
| 2017 | return reinterpret_cast<const FieldDescriptorProto*>( |
| 2018 | &_FieldDescriptorProto_default_instance_); |
| 2019 | } |
| 2020 | static constexpr int kIndexInFileMessages = |
| 2021 | 6; |
| 2022 | |
| 2023 | friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) { |
| 2024 | a.Swap(other: &b); |
| 2025 | } |
| 2026 | inline void Swap(FieldDescriptorProto* other) { |
| 2027 | if (other == this) return; |
| 2028 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 2029 | if (GetOwningArena() != nullptr && |
| 2030 | GetOwningArena() == other->GetOwningArena()) { |
| 2031 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 2032 | if (GetOwningArena() == other->GetOwningArena()) { |
| 2033 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 2034 | InternalSwap(other); |
| 2035 | } else { |
| 2036 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 2037 | } |
| 2038 | } |
| 2039 | void UnsafeArenaSwap(FieldDescriptorProto* other) { |
| 2040 | if (other == this) return; |
| 2041 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 2042 | InternalSwap(other); |
| 2043 | } |
| 2044 | |
| 2045 | // implements Message ---------------------------------------------- |
| 2046 | |
| 2047 | FieldDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 2048 | return CreateMaybeMessage<FieldDescriptorProto>(arena); |
| 2049 | } |
| 2050 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 2051 | void CopyFrom(const FieldDescriptorProto& from); |
| 2052 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 2053 | void MergeFrom( const FieldDescriptorProto& from) { |
| 2054 | FieldDescriptorProto::MergeImpl(to_msg&: *this, from_msg: from); |
| 2055 | } |
| 2056 | private: |
| 2057 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 2058 | public: |
| 2059 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2060 | bool IsInitialized() const final; |
| 2061 | |
| 2062 | size_t ByteSizeLong() const final; |
| 2063 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 2064 | uint8_t* _InternalSerialize( |
| 2065 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 2066 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 2067 | |
| 2068 | private: |
| 2069 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 2070 | void SharedDtor(); |
| 2071 | void SetCachedSize(int size) const final; |
| 2072 | void InternalSwap(FieldDescriptorProto* other); |
| 2073 | |
| 2074 | private: |
| 2075 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 2076 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 2077 | return "google.protobuf.FieldDescriptorProto" ; |
| 2078 | } |
| 2079 | protected: |
| 2080 | explicit FieldDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 2081 | bool is_message_owned = false); |
| 2082 | public: |
| 2083 | |
| 2084 | static const ClassData _class_data_; |
| 2085 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 2086 | |
| 2087 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 2088 | |
| 2089 | // nested types ---------------------------------------------------- |
| 2090 | |
| 2091 | typedef FieldDescriptorProto_Type Type; |
| 2092 | static constexpr Type TYPE_DOUBLE = |
| 2093 | FieldDescriptorProto_Type_TYPE_DOUBLE; |
| 2094 | static constexpr Type TYPE_FLOAT = |
| 2095 | FieldDescriptorProto_Type_TYPE_FLOAT; |
| 2096 | static constexpr Type TYPE_INT64 = |
| 2097 | FieldDescriptorProto_Type_TYPE_INT64; |
| 2098 | static constexpr Type TYPE_UINT64 = |
| 2099 | FieldDescriptorProto_Type_TYPE_UINT64; |
| 2100 | static constexpr Type TYPE_INT32 = |
| 2101 | FieldDescriptorProto_Type_TYPE_INT32; |
| 2102 | static constexpr Type TYPE_FIXED64 = |
| 2103 | FieldDescriptorProto_Type_TYPE_FIXED64; |
| 2104 | static constexpr Type TYPE_FIXED32 = |
| 2105 | FieldDescriptorProto_Type_TYPE_FIXED32; |
| 2106 | static constexpr Type TYPE_BOOL = |
| 2107 | FieldDescriptorProto_Type_TYPE_BOOL; |
| 2108 | static constexpr Type TYPE_STRING = |
| 2109 | FieldDescriptorProto_Type_TYPE_STRING; |
| 2110 | static constexpr Type TYPE_GROUP = |
| 2111 | FieldDescriptorProto_Type_TYPE_GROUP; |
| 2112 | static constexpr Type TYPE_MESSAGE = |
| 2113 | FieldDescriptorProto_Type_TYPE_MESSAGE; |
| 2114 | static constexpr Type TYPE_BYTES = |
| 2115 | FieldDescriptorProto_Type_TYPE_BYTES; |
| 2116 | static constexpr Type TYPE_UINT32 = |
| 2117 | FieldDescriptorProto_Type_TYPE_UINT32; |
| 2118 | static constexpr Type TYPE_ENUM = |
| 2119 | FieldDescriptorProto_Type_TYPE_ENUM; |
| 2120 | static constexpr Type TYPE_SFIXED32 = |
| 2121 | FieldDescriptorProto_Type_TYPE_SFIXED32; |
| 2122 | static constexpr Type TYPE_SFIXED64 = |
| 2123 | FieldDescriptorProto_Type_TYPE_SFIXED64; |
| 2124 | static constexpr Type TYPE_SINT32 = |
| 2125 | FieldDescriptorProto_Type_TYPE_SINT32; |
| 2126 | static constexpr Type TYPE_SINT64 = |
| 2127 | FieldDescriptorProto_Type_TYPE_SINT64; |
| 2128 | static inline bool Type_IsValid(int value) { |
| 2129 | return FieldDescriptorProto_Type_IsValid(value); |
| 2130 | } |
| 2131 | static constexpr Type Type_MIN = |
| 2132 | FieldDescriptorProto_Type_Type_MIN; |
| 2133 | static constexpr Type Type_MAX = |
| 2134 | FieldDescriptorProto_Type_Type_MAX; |
| 2135 | static constexpr int Type_ARRAYSIZE = |
| 2136 | FieldDescriptorProto_Type_Type_ARRAYSIZE; |
| 2137 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
| 2138 | Type_descriptor() { |
| 2139 | return FieldDescriptorProto_Type_descriptor(); |
| 2140 | } |
| 2141 | template<typename T> |
| 2142 | static inline const std::string& Type_Name(T enum_t_value) { |
| 2143 | static_assert(::std::is_same<T, Type>::value || |
| 2144 | ::std::is_integral<T>::value, |
| 2145 | "Incorrect type passed to function Type_Name." ); |
| 2146 | return FieldDescriptorProto_Type_Name(enum_t_value); |
| 2147 | } |
| 2148 | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
| 2149 | Type* value) { |
| 2150 | return FieldDescriptorProto_Type_Parse(name, value); |
| 2151 | } |
| 2152 | |
| 2153 | typedef FieldDescriptorProto_Label Label; |
| 2154 | static constexpr Label LABEL_OPTIONAL = |
| 2155 | FieldDescriptorProto_Label_LABEL_OPTIONAL; |
| 2156 | static constexpr Label LABEL_REQUIRED = |
| 2157 | FieldDescriptorProto_Label_LABEL_REQUIRED; |
| 2158 | static constexpr Label LABEL_REPEATED = |
| 2159 | FieldDescriptorProto_Label_LABEL_REPEATED; |
| 2160 | static inline bool Label_IsValid(int value) { |
| 2161 | return FieldDescriptorProto_Label_IsValid(value); |
| 2162 | } |
| 2163 | static constexpr Label Label_MIN = |
| 2164 | FieldDescriptorProto_Label_Label_MIN; |
| 2165 | static constexpr Label Label_MAX = |
| 2166 | FieldDescriptorProto_Label_Label_MAX; |
| 2167 | static constexpr int Label_ARRAYSIZE = |
| 2168 | FieldDescriptorProto_Label_Label_ARRAYSIZE; |
| 2169 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
| 2170 | Label_descriptor() { |
| 2171 | return FieldDescriptorProto_Label_descriptor(); |
| 2172 | } |
| 2173 | template<typename T> |
| 2174 | static inline const std::string& Label_Name(T enum_t_value) { |
| 2175 | static_assert(::std::is_same<T, Label>::value || |
| 2176 | ::std::is_integral<T>::value, |
| 2177 | "Incorrect type passed to function Label_Name." ); |
| 2178 | return FieldDescriptorProto_Label_Name(enum_t_value); |
| 2179 | } |
| 2180 | static inline bool Label_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
| 2181 | Label* value) { |
| 2182 | return FieldDescriptorProto_Label_Parse(name, value); |
| 2183 | } |
| 2184 | |
| 2185 | // accessors ------------------------------------------------------- |
| 2186 | |
| 2187 | enum : int { |
| 2188 | kNameFieldNumber = 1, |
| 2189 | kExtendeeFieldNumber = 2, |
| 2190 | kTypeNameFieldNumber = 6, |
| 2191 | kDefaultValueFieldNumber = 7, |
| 2192 | kJsonNameFieldNumber = 10, |
| 2193 | kOptionsFieldNumber = 8, |
| 2194 | kNumberFieldNumber = 3, |
| 2195 | kOneofIndexFieldNumber = 9, |
| 2196 | kProto3OptionalFieldNumber = 17, |
| 2197 | kLabelFieldNumber = 4, |
| 2198 | kTypeFieldNumber = 5, |
| 2199 | }; |
| 2200 | // optional string name = 1; |
| 2201 | bool has_name() const; |
| 2202 | private: |
| 2203 | bool _internal_has_name() const; |
| 2204 | public: |
| 2205 | void clear_name(); |
| 2206 | const std::string& name() const; |
| 2207 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 2208 | void set_name(ArgT0&& arg0, ArgT... args); |
| 2209 | std::string* mutable_name(); |
| 2210 | PROTOBUF_NODISCARD std::string* release_name(); |
| 2211 | void set_allocated_name(std::string* name); |
| 2212 | private: |
| 2213 | const std::string& _internal_name() const; |
| 2214 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 2215 | std::string* _internal_mutable_name(); |
| 2216 | public: |
| 2217 | |
| 2218 | // optional string extendee = 2; |
| 2219 | bool has_extendee() const; |
| 2220 | private: |
| 2221 | bool _internal_has_extendee() const; |
| 2222 | public: |
| 2223 | void clear_extendee(); |
| 2224 | const std::string& extendee() const; |
| 2225 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 2226 | void set_extendee(ArgT0&& arg0, ArgT... args); |
| 2227 | std::string* mutable_extendee(); |
| 2228 | PROTOBUF_NODISCARD std::string* release_extendee(); |
| 2229 | void set_allocated_extendee(std::string* extendee); |
| 2230 | private: |
| 2231 | const std::string& _internal_extendee() const; |
| 2232 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_extendee(const std::string& value); |
| 2233 | std::string* _internal_mutable_extendee(); |
| 2234 | public: |
| 2235 | |
| 2236 | // optional string type_name = 6; |
| 2237 | bool has_type_name() const; |
| 2238 | private: |
| 2239 | bool _internal_has_type_name() const; |
| 2240 | public: |
| 2241 | void clear_type_name(); |
| 2242 | const std::string& type_name() const; |
| 2243 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 2244 | void set_type_name(ArgT0&& arg0, ArgT... args); |
| 2245 | std::string* mutable_type_name(); |
| 2246 | PROTOBUF_NODISCARD std::string* release_type_name(); |
| 2247 | void set_allocated_type_name(std::string* type_name); |
| 2248 | private: |
| 2249 | const std::string& _internal_type_name() const; |
| 2250 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name(const std::string& value); |
| 2251 | std::string* _internal_mutable_type_name(); |
| 2252 | public: |
| 2253 | |
| 2254 | // optional string default_value = 7; |
| 2255 | bool has_default_value() const; |
| 2256 | private: |
| 2257 | bool _internal_has_default_value() const; |
| 2258 | public: |
| 2259 | void clear_default_value(); |
| 2260 | const std::string& default_value() const; |
| 2261 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 2262 | void set_default_value(ArgT0&& arg0, ArgT... args); |
| 2263 | std::string* mutable_default_value(); |
| 2264 | PROTOBUF_NODISCARD std::string* release_default_value(); |
| 2265 | void set_allocated_default_value(std::string* default_value); |
| 2266 | private: |
| 2267 | const std::string& _internal_default_value() const; |
| 2268 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const std::string& value); |
| 2269 | std::string* _internal_mutable_default_value(); |
| 2270 | public: |
| 2271 | |
| 2272 | // optional string json_name = 10; |
| 2273 | bool has_json_name() const; |
| 2274 | private: |
| 2275 | bool _internal_has_json_name() const; |
| 2276 | public: |
| 2277 | void clear_json_name(); |
| 2278 | const std::string& json_name() const; |
| 2279 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 2280 | void set_json_name(ArgT0&& arg0, ArgT... args); |
| 2281 | std::string* mutable_json_name(); |
| 2282 | PROTOBUF_NODISCARD std::string* release_json_name(); |
| 2283 | void set_allocated_json_name(std::string* json_name); |
| 2284 | private: |
| 2285 | const std::string& _internal_json_name() const; |
| 2286 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const std::string& value); |
| 2287 | std::string* _internal_mutable_json_name(); |
| 2288 | public: |
| 2289 | |
| 2290 | // optional .google.protobuf.FieldOptions options = 8; |
| 2291 | bool has_options() const; |
| 2292 | private: |
| 2293 | bool _internal_has_options() const; |
| 2294 | public: |
| 2295 | void clear_options(); |
| 2296 | const ::PROTOBUF_NAMESPACE_ID::FieldOptions& options() const; |
| 2297 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FieldOptions* release_options(); |
| 2298 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* mutable_options(); |
| 2299 | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options); |
| 2300 | private: |
| 2301 | const ::PROTOBUF_NAMESPACE_ID::FieldOptions& _internal_options() const; |
| 2302 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* _internal_mutable_options(); |
| 2303 | public: |
| 2304 | void unsafe_arena_set_allocated_options( |
| 2305 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* options); |
| 2306 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* unsafe_arena_release_options(); |
| 2307 | |
| 2308 | // optional int32 number = 3; |
| 2309 | bool has_number() const; |
| 2310 | private: |
| 2311 | bool _internal_has_number() const; |
| 2312 | public: |
| 2313 | void clear_number(); |
| 2314 | int32_t number() const; |
| 2315 | void set_number(int32_t value); |
| 2316 | private: |
| 2317 | int32_t _internal_number() const; |
| 2318 | void _internal_set_number(int32_t value); |
| 2319 | public: |
| 2320 | |
| 2321 | // optional int32 oneof_index = 9; |
| 2322 | bool has_oneof_index() const; |
| 2323 | private: |
| 2324 | bool _internal_has_oneof_index() const; |
| 2325 | public: |
| 2326 | void clear_oneof_index(); |
| 2327 | int32_t oneof_index() const; |
| 2328 | void set_oneof_index(int32_t value); |
| 2329 | private: |
| 2330 | int32_t _internal_oneof_index() const; |
| 2331 | void _internal_set_oneof_index(int32_t value); |
| 2332 | public: |
| 2333 | |
| 2334 | // optional bool proto3_optional = 17; |
| 2335 | bool has_proto3_optional() const; |
| 2336 | private: |
| 2337 | bool _internal_has_proto3_optional() const; |
| 2338 | public: |
| 2339 | void clear_proto3_optional(); |
| 2340 | bool proto3_optional() const; |
| 2341 | void set_proto3_optional(bool value); |
| 2342 | private: |
| 2343 | bool _internal_proto3_optional() const; |
| 2344 | void _internal_set_proto3_optional(bool value); |
| 2345 | public: |
| 2346 | |
| 2347 | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
| 2348 | bool has_label() const; |
| 2349 | private: |
| 2350 | bool _internal_has_label() const; |
| 2351 | public: |
| 2352 | void clear_label(); |
| 2353 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label label() const; |
| 2354 | void set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value); |
| 2355 | private: |
| 2356 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label _internal_label() const; |
| 2357 | void _internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value); |
| 2358 | public: |
| 2359 | |
| 2360 | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
| 2361 | bool has_type() const; |
| 2362 | private: |
| 2363 | bool _internal_has_type() const; |
| 2364 | public: |
| 2365 | void clear_type(); |
| 2366 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type type() const; |
| 2367 | void set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value); |
| 2368 | private: |
| 2369 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type _internal_type() const; |
| 2370 | void _internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value); |
| 2371 | public: |
| 2372 | |
| 2373 | // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto) |
| 2374 | private: |
| 2375 | class _Internal; |
| 2376 | |
| 2377 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 2378 | typedef void InternalArenaConstructable_; |
| 2379 | typedef void DestructorSkippable_; |
| 2380 | struct Impl_ { |
| 2381 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 2382 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 2383 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 2384 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr extendee_; |
| 2385 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_; |
| 2386 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_; |
| 2387 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_; |
| 2388 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* options_; |
| 2389 | int32_t number_; |
| 2390 | int32_t oneof_index_; |
| 2391 | bool proto3_optional_; |
| 2392 | int label_; |
| 2393 | int type_; |
| 2394 | }; |
| 2395 | union { Impl_ _impl_; }; |
| 2396 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 2397 | }; |
| 2398 | // ------------------------------------------------------------------- |
| 2399 | |
| 2400 | class PROTOBUF_EXPORT OneofDescriptorProto final : |
| 2401 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ { |
| 2402 | public: |
| 2403 | inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {} |
| 2404 | ~OneofDescriptorProto() override; |
| 2405 | explicit PROTOBUF_CONSTEXPR OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 2406 | |
| 2407 | OneofDescriptorProto(const OneofDescriptorProto& from); |
| 2408 | OneofDescriptorProto(OneofDescriptorProto&& from) noexcept |
| 2409 | : OneofDescriptorProto() { |
| 2410 | *this = ::std::move(from); |
| 2411 | } |
| 2412 | |
| 2413 | inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) { |
| 2414 | CopyFrom(from); |
| 2415 | return *this; |
| 2416 | } |
| 2417 | inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept { |
| 2418 | if (this == &from) return *this; |
| 2419 | if (GetOwningArena() == from.GetOwningArena() |
| 2420 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 2421 | && GetOwningArena() != nullptr |
| 2422 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 2423 | ) { |
| 2424 | InternalSwap(other: &from); |
| 2425 | } else { |
| 2426 | CopyFrom(from); |
| 2427 | } |
| 2428 | return *this; |
| 2429 | } |
| 2430 | |
| 2431 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 2432 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 2433 | } |
| 2434 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 2435 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 2436 | } |
| 2437 | |
| 2438 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 2439 | return GetDescriptor(); |
| 2440 | } |
| 2441 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 2442 | return default_instance().GetMetadata().descriptor; |
| 2443 | } |
| 2444 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 2445 | return default_instance().GetMetadata().reflection; |
| 2446 | } |
| 2447 | static const OneofDescriptorProto& default_instance() { |
| 2448 | return *internal_default_instance(); |
| 2449 | } |
| 2450 | static inline const OneofDescriptorProto* internal_default_instance() { |
| 2451 | return reinterpret_cast<const OneofDescriptorProto*>( |
| 2452 | &_OneofDescriptorProto_default_instance_); |
| 2453 | } |
| 2454 | static constexpr int kIndexInFileMessages = |
| 2455 | 7; |
| 2456 | |
| 2457 | friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) { |
| 2458 | a.Swap(other: &b); |
| 2459 | } |
| 2460 | inline void Swap(OneofDescriptorProto* other) { |
| 2461 | if (other == this) return; |
| 2462 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 2463 | if (GetOwningArena() != nullptr && |
| 2464 | GetOwningArena() == other->GetOwningArena()) { |
| 2465 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 2466 | if (GetOwningArena() == other->GetOwningArena()) { |
| 2467 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 2468 | InternalSwap(other); |
| 2469 | } else { |
| 2470 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 2471 | } |
| 2472 | } |
| 2473 | void UnsafeArenaSwap(OneofDescriptorProto* other) { |
| 2474 | if (other == this) return; |
| 2475 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 2476 | InternalSwap(other); |
| 2477 | } |
| 2478 | |
| 2479 | // implements Message ---------------------------------------------- |
| 2480 | |
| 2481 | OneofDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 2482 | return CreateMaybeMessage<OneofDescriptorProto>(arena); |
| 2483 | } |
| 2484 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 2485 | void CopyFrom(const OneofDescriptorProto& from); |
| 2486 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 2487 | void MergeFrom( const OneofDescriptorProto& from) { |
| 2488 | OneofDescriptorProto::MergeImpl(to_msg&: *this, from_msg: from); |
| 2489 | } |
| 2490 | private: |
| 2491 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 2492 | public: |
| 2493 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2494 | bool IsInitialized() const final; |
| 2495 | |
| 2496 | size_t ByteSizeLong() const final; |
| 2497 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 2498 | uint8_t* _InternalSerialize( |
| 2499 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 2500 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 2501 | |
| 2502 | private: |
| 2503 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 2504 | void SharedDtor(); |
| 2505 | void SetCachedSize(int size) const final; |
| 2506 | void InternalSwap(OneofDescriptorProto* other); |
| 2507 | |
| 2508 | private: |
| 2509 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 2510 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 2511 | return "google.protobuf.OneofDescriptorProto" ; |
| 2512 | } |
| 2513 | protected: |
| 2514 | explicit OneofDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 2515 | bool is_message_owned = false); |
| 2516 | public: |
| 2517 | |
| 2518 | static const ClassData _class_data_; |
| 2519 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 2520 | |
| 2521 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 2522 | |
| 2523 | // nested types ---------------------------------------------------- |
| 2524 | |
| 2525 | // accessors ------------------------------------------------------- |
| 2526 | |
| 2527 | enum : int { |
| 2528 | kNameFieldNumber = 1, |
| 2529 | kOptionsFieldNumber = 2, |
| 2530 | }; |
| 2531 | // optional string name = 1; |
| 2532 | bool has_name() const; |
| 2533 | private: |
| 2534 | bool _internal_has_name() const; |
| 2535 | public: |
| 2536 | void clear_name(); |
| 2537 | const std::string& name() const; |
| 2538 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 2539 | void set_name(ArgT0&& arg0, ArgT... args); |
| 2540 | std::string* mutable_name(); |
| 2541 | PROTOBUF_NODISCARD std::string* release_name(); |
| 2542 | void set_allocated_name(std::string* name); |
| 2543 | private: |
| 2544 | const std::string& _internal_name() const; |
| 2545 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 2546 | std::string* _internal_mutable_name(); |
| 2547 | public: |
| 2548 | |
| 2549 | // optional .google.protobuf.OneofOptions options = 2; |
| 2550 | bool has_options() const; |
| 2551 | private: |
| 2552 | bool _internal_has_options() const; |
| 2553 | public: |
| 2554 | void clear_options(); |
| 2555 | const ::PROTOBUF_NAMESPACE_ID::OneofOptions& options() const; |
| 2556 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::OneofOptions* release_options(); |
| 2557 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* mutable_options(); |
| 2558 | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options); |
| 2559 | private: |
| 2560 | const ::PROTOBUF_NAMESPACE_ID::OneofOptions& _internal_options() const; |
| 2561 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* _internal_mutable_options(); |
| 2562 | public: |
| 2563 | void unsafe_arena_set_allocated_options( |
| 2564 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* options); |
| 2565 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* unsafe_arena_release_options(); |
| 2566 | |
| 2567 | // @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto) |
| 2568 | private: |
| 2569 | class _Internal; |
| 2570 | |
| 2571 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 2572 | typedef void InternalArenaConstructable_; |
| 2573 | typedef void DestructorSkippable_; |
| 2574 | struct Impl_ { |
| 2575 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 2576 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 2577 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 2578 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* options_; |
| 2579 | }; |
| 2580 | union { Impl_ _impl_; }; |
| 2581 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 2582 | }; |
| 2583 | // ------------------------------------------------------------------- |
| 2584 | |
| 2585 | class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final : |
| 2586 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ { |
| 2587 | public: |
| 2588 | inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {} |
| 2589 | ~EnumDescriptorProto_EnumReservedRange() override; |
| 2590 | explicit PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 2591 | |
| 2592 | EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from); |
| 2593 | EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept |
| 2594 | : EnumDescriptorProto_EnumReservedRange() { |
| 2595 | *this = ::std::move(from); |
| 2596 | } |
| 2597 | |
| 2598 | inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) { |
| 2599 | CopyFrom(from); |
| 2600 | return *this; |
| 2601 | } |
| 2602 | inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept { |
| 2603 | if (this == &from) return *this; |
| 2604 | if (GetOwningArena() == from.GetOwningArena() |
| 2605 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 2606 | && GetOwningArena() != nullptr |
| 2607 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 2608 | ) { |
| 2609 | InternalSwap(other: &from); |
| 2610 | } else { |
| 2611 | CopyFrom(from); |
| 2612 | } |
| 2613 | return *this; |
| 2614 | } |
| 2615 | |
| 2616 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 2617 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 2618 | } |
| 2619 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 2620 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 2621 | } |
| 2622 | |
| 2623 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 2624 | return GetDescriptor(); |
| 2625 | } |
| 2626 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 2627 | return default_instance().GetMetadata().descriptor; |
| 2628 | } |
| 2629 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 2630 | return default_instance().GetMetadata().reflection; |
| 2631 | } |
| 2632 | static const EnumDescriptorProto_EnumReservedRange& default_instance() { |
| 2633 | return *internal_default_instance(); |
| 2634 | } |
| 2635 | static inline const EnumDescriptorProto_EnumReservedRange* internal_default_instance() { |
| 2636 | return reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>( |
| 2637 | &_EnumDescriptorProto_EnumReservedRange_default_instance_); |
| 2638 | } |
| 2639 | static constexpr int kIndexInFileMessages = |
| 2640 | 8; |
| 2641 | |
| 2642 | friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) { |
| 2643 | a.Swap(other: &b); |
| 2644 | } |
| 2645 | inline void Swap(EnumDescriptorProto_EnumReservedRange* other) { |
| 2646 | if (other == this) return; |
| 2647 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 2648 | if (GetOwningArena() != nullptr && |
| 2649 | GetOwningArena() == other->GetOwningArena()) { |
| 2650 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 2651 | if (GetOwningArena() == other->GetOwningArena()) { |
| 2652 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 2653 | InternalSwap(other); |
| 2654 | } else { |
| 2655 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 2656 | } |
| 2657 | } |
| 2658 | void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* other) { |
| 2659 | if (other == this) return; |
| 2660 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 2661 | InternalSwap(other); |
| 2662 | } |
| 2663 | |
| 2664 | // implements Message ---------------------------------------------- |
| 2665 | |
| 2666 | EnumDescriptorProto_EnumReservedRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 2667 | return CreateMaybeMessage<EnumDescriptorProto_EnumReservedRange>(arena); |
| 2668 | } |
| 2669 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 2670 | void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from); |
| 2671 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 2672 | void MergeFrom( const EnumDescriptorProto_EnumReservedRange& from) { |
| 2673 | EnumDescriptorProto_EnumReservedRange::MergeImpl(to_msg&: *this, from_msg: from); |
| 2674 | } |
| 2675 | private: |
| 2676 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 2677 | public: |
| 2678 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2679 | bool IsInitialized() const final; |
| 2680 | |
| 2681 | size_t ByteSizeLong() const final; |
| 2682 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 2683 | uint8_t* _InternalSerialize( |
| 2684 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 2685 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 2686 | |
| 2687 | private: |
| 2688 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 2689 | void SharedDtor(); |
| 2690 | void SetCachedSize(int size) const final; |
| 2691 | void InternalSwap(EnumDescriptorProto_EnumReservedRange* other); |
| 2692 | |
| 2693 | private: |
| 2694 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 2695 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 2696 | return "google.protobuf.EnumDescriptorProto.EnumReservedRange" ; |
| 2697 | } |
| 2698 | protected: |
| 2699 | explicit EnumDescriptorProto_EnumReservedRange(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 2700 | bool is_message_owned = false); |
| 2701 | public: |
| 2702 | |
| 2703 | static const ClassData _class_data_; |
| 2704 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 2705 | |
| 2706 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 2707 | |
| 2708 | // nested types ---------------------------------------------------- |
| 2709 | |
| 2710 | // accessors ------------------------------------------------------- |
| 2711 | |
| 2712 | enum : int { |
| 2713 | kStartFieldNumber = 1, |
| 2714 | kEndFieldNumber = 2, |
| 2715 | }; |
| 2716 | // optional int32 start = 1; |
| 2717 | bool has_start() const; |
| 2718 | private: |
| 2719 | bool _internal_has_start() const; |
| 2720 | public: |
| 2721 | void clear_start(); |
| 2722 | int32_t start() const; |
| 2723 | void set_start(int32_t value); |
| 2724 | private: |
| 2725 | int32_t _internal_start() const; |
| 2726 | void _internal_set_start(int32_t value); |
| 2727 | public: |
| 2728 | |
| 2729 | // optional int32 end = 2; |
| 2730 | bool has_end() const; |
| 2731 | private: |
| 2732 | bool _internal_has_end() const; |
| 2733 | public: |
| 2734 | void clear_end(); |
| 2735 | int32_t end() const; |
| 2736 | void set_end(int32_t value); |
| 2737 | private: |
| 2738 | int32_t _internal_end() const; |
| 2739 | void _internal_set_end(int32_t value); |
| 2740 | public: |
| 2741 | |
| 2742 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange) |
| 2743 | private: |
| 2744 | class _Internal; |
| 2745 | |
| 2746 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 2747 | typedef void InternalArenaConstructable_; |
| 2748 | typedef void DestructorSkippable_; |
| 2749 | struct Impl_ { |
| 2750 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 2751 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 2752 | int32_t start_; |
| 2753 | int32_t end_; |
| 2754 | }; |
| 2755 | union { Impl_ _impl_; }; |
| 2756 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 2757 | }; |
| 2758 | // ------------------------------------------------------------------- |
| 2759 | |
| 2760 | class PROTOBUF_EXPORT EnumDescriptorProto final : |
| 2761 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ { |
| 2762 | public: |
| 2763 | inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {} |
| 2764 | ~EnumDescriptorProto() override; |
| 2765 | explicit PROTOBUF_CONSTEXPR EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 2766 | |
| 2767 | EnumDescriptorProto(const EnumDescriptorProto& from); |
| 2768 | EnumDescriptorProto(EnumDescriptorProto&& from) noexcept |
| 2769 | : EnumDescriptorProto() { |
| 2770 | *this = ::std::move(from); |
| 2771 | } |
| 2772 | |
| 2773 | inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) { |
| 2774 | CopyFrom(from); |
| 2775 | return *this; |
| 2776 | } |
| 2777 | inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept { |
| 2778 | if (this == &from) return *this; |
| 2779 | if (GetOwningArena() == from.GetOwningArena() |
| 2780 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 2781 | && GetOwningArena() != nullptr |
| 2782 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 2783 | ) { |
| 2784 | InternalSwap(other: &from); |
| 2785 | } else { |
| 2786 | CopyFrom(from); |
| 2787 | } |
| 2788 | return *this; |
| 2789 | } |
| 2790 | |
| 2791 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 2792 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 2793 | } |
| 2794 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 2795 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 2796 | } |
| 2797 | |
| 2798 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 2799 | return GetDescriptor(); |
| 2800 | } |
| 2801 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 2802 | return default_instance().GetMetadata().descriptor; |
| 2803 | } |
| 2804 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 2805 | return default_instance().GetMetadata().reflection; |
| 2806 | } |
| 2807 | static const EnumDescriptorProto& default_instance() { |
| 2808 | return *internal_default_instance(); |
| 2809 | } |
| 2810 | static inline const EnumDescriptorProto* internal_default_instance() { |
| 2811 | return reinterpret_cast<const EnumDescriptorProto*>( |
| 2812 | &_EnumDescriptorProto_default_instance_); |
| 2813 | } |
| 2814 | static constexpr int kIndexInFileMessages = |
| 2815 | 9; |
| 2816 | |
| 2817 | friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) { |
| 2818 | a.Swap(other: &b); |
| 2819 | } |
| 2820 | inline void Swap(EnumDescriptorProto* other) { |
| 2821 | if (other == this) return; |
| 2822 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 2823 | if (GetOwningArena() != nullptr && |
| 2824 | GetOwningArena() == other->GetOwningArena()) { |
| 2825 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 2826 | if (GetOwningArena() == other->GetOwningArena()) { |
| 2827 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 2828 | InternalSwap(other); |
| 2829 | } else { |
| 2830 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 2831 | } |
| 2832 | } |
| 2833 | void UnsafeArenaSwap(EnumDescriptorProto* other) { |
| 2834 | if (other == this) return; |
| 2835 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 2836 | InternalSwap(other); |
| 2837 | } |
| 2838 | |
| 2839 | // implements Message ---------------------------------------------- |
| 2840 | |
| 2841 | EnumDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 2842 | return CreateMaybeMessage<EnumDescriptorProto>(arena); |
| 2843 | } |
| 2844 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 2845 | void CopyFrom(const EnumDescriptorProto& from); |
| 2846 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 2847 | void MergeFrom( const EnumDescriptorProto& from) { |
| 2848 | EnumDescriptorProto::MergeImpl(to_msg&: *this, from_msg: from); |
| 2849 | } |
| 2850 | private: |
| 2851 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 2852 | public: |
| 2853 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 2854 | bool IsInitialized() const final; |
| 2855 | |
| 2856 | size_t ByteSizeLong() const final; |
| 2857 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 2858 | uint8_t* _InternalSerialize( |
| 2859 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 2860 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 2861 | |
| 2862 | private: |
| 2863 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 2864 | void SharedDtor(); |
| 2865 | void SetCachedSize(int size) const final; |
| 2866 | void InternalSwap(EnumDescriptorProto* other); |
| 2867 | |
| 2868 | private: |
| 2869 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 2870 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 2871 | return "google.protobuf.EnumDescriptorProto" ; |
| 2872 | } |
| 2873 | protected: |
| 2874 | explicit EnumDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 2875 | bool is_message_owned = false); |
| 2876 | public: |
| 2877 | |
| 2878 | static const ClassData _class_data_; |
| 2879 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 2880 | |
| 2881 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 2882 | |
| 2883 | // nested types ---------------------------------------------------- |
| 2884 | |
| 2885 | typedef EnumDescriptorProto_EnumReservedRange EnumReservedRange; |
| 2886 | |
| 2887 | // accessors ------------------------------------------------------- |
| 2888 | |
| 2889 | enum : int { |
| 2890 | kValueFieldNumber = 2, |
| 2891 | kReservedRangeFieldNumber = 4, |
| 2892 | kReservedNameFieldNumber = 5, |
| 2893 | kNameFieldNumber = 1, |
| 2894 | kOptionsFieldNumber = 3, |
| 2895 | }; |
| 2896 | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
| 2897 | int value_size() const; |
| 2898 | private: |
| 2899 | int _internal_value_size() const; |
| 2900 | public: |
| 2901 | void clear_value(); |
| 2902 | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* mutable_value(int index); |
| 2903 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >* |
| 2904 | mutable_value(); |
| 2905 | private: |
| 2906 | const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& _internal_value(int index) const; |
| 2907 | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _internal_add_value(); |
| 2908 | public: |
| 2909 | const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& value(int index) const; |
| 2910 | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* add_value(); |
| 2911 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >& |
| 2912 | value() const; |
| 2913 | |
| 2914 | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
| 2915 | int reserved_range_size() const; |
| 2916 | private: |
| 2917 | int _internal_reserved_range_size() const; |
| 2918 | public: |
| 2919 | void clear_reserved_range(); |
| 2920 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* mutable_reserved_range(int index); |
| 2921 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >* |
| 2922 | mutable_reserved_range(); |
| 2923 | private: |
| 2924 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& _internal_reserved_range(int index) const; |
| 2925 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _internal_add_reserved_range(); |
| 2926 | public: |
| 2927 | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const; |
| 2928 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* add_reserved_range(); |
| 2929 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >& |
| 2930 | reserved_range() const; |
| 2931 | |
| 2932 | // repeated string reserved_name = 5; |
| 2933 | int reserved_name_size() const; |
| 2934 | private: |
| 2935 | int _internal_reserved_name_size() const; |
| 2936 | public: |
| 2937 | void clear_reserved_name(); |
| 2938 | const std::string& reserved_name(int index) const; |
| 2939 | std::string* mutable_reserved_name(int index); |
| 2940 | void set_reserved_name(int index, const std::string& value); |
| 2941 | void set_reserved_name(int index, std::string&& value); |
| 2942 | void set_reserved_name(int index, const char* value); |
| 2943 | void set_reserved_name(int index, const char* value, size_t size); |
| 2944 | std::string* add_reserved_name(); |
| 2945 | void add_reserved_name(const std::string& value); |
| 2946 | void add_reserved_name(std::string&& value); |
| 2947 | void add_reserved_name(const char* value); |
| 2948 | void add_reserved_name(const char* value, size_t size); |
| 2949 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reserved_name() const; |
| 2950 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reserved_name(); |
| 2951 | private: |
| 2952 | const std::string& _internal_reserved_name(int index) const; |
| 2953 | std::string* _internal_add_reserved_name(); |
| 2954 | public: |
| 2955 | |
| 2956 | // optional string name = 1; |
| 2957 | bool has_name() const; |
| 2958 | private: |
| 2959 | bool _internal_has_name() const; |
| 2960 | public: |
| 2961 | void clear_name(); |
| 2962 | const std::string& name() const; |
| 2963 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 2964 | void set_name(ArgT0&& arg0, ArgT... args); |
| 2965 | std::string* mutable_name(); |
| 2966 | PROTOBUF_NODISCARD std::string* release_name(); |
| 2967 | void set_allocated_name(std::string* name); |
| 2968 | private: |
| 2969 | const std::string& _internal_name() const; |
| 2970 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 2971 | std::string* _internal_mutable_name(); |
| 2972 | public: |
| 2973 | |
| 2974 | // optional .google.protobuf.EnumOptions options = 3; |
| 2975 | bool has_options() const; |
| 2976 | private: |
| 2977 | bool _internal_has_options() const; |
| 2978 | public: |
| 2979 | void clear_options(); |
| 2980 | const ::PROTOBUF_NAMESPACE_ID::EnumOptions& options() const; |
| 2981 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::EnumOptions* release_options(); |
| 2982 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* mutable_options(); |
| 2983 | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options); |
| 2984 | private: |
| 2985 | const ::PROTOBUF_NAMESPACE_ID::EnumOptions& _internal_options() const; |
| 2986 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* _internal_mutable_options(); |
| 2987 | public: |
| 2988 | void unsafe_arena_set_allocated_options( |
| 2989 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* options); |
| 2990 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* unsafe_arena_release_options(); |
| 2991 | |
| 2992 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto) |
| 2993 | private: |
| 2994 | class _Internal; |
| 2995 | |
| 2996 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 2997 | typedef void InternalArenaConstructable_; |
| 2998 | typedef void DestructorSkippable_; |
| 2999 | struct Impl_ { |
| 3000 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 3001 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 3002 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto > value_; |
| 3003 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange > reserved_range_; |
| 3004 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reserved_name_; |
| 3005 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 3006 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* options_; |
| 3007 | }; |
| 3008 | union { Impl_ _impl_; }; |
| 3009 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 3010 | }; |
| 3011 | // ------------------------------------------------------------------- |
| 3012 | |
| 3013 | class PROTOBUF_EXPORT EnumValueDescriptorProto final : |
| 3014 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ { |
| 3015 | public: |
| 3016 | inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {} |
| 3017 | ~EnumValueDescriptorProto() override; |
| 3018 | explicit PROTOBUF_CONSTEXPR EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 3019 | |
| 3020 | EnumValueDescriptorProto(const EnumValueDescriptorProto& from); |
| 3021 | EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept |
| 3022 | : EnumValueDescriptorProto() { |
| 3023 | *this = ::std::move(from); |
| 3024 | } |
| 3025 | |
| 3026 | inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) { |
| 3027 | CopyFrom(from); |
| 3028 | return *this; |
| 3029 | } |
| 3030 | inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept { |
| 3031 | if (this == &from) return *this; |
| 3032 | if (GetOwningArena() == from.GetOwningArena() |
| 3033 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 3034 | && GetOwningArena() != nullptr |
| 3035 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 3036 | ) { |
| 3037 | InternalSwap(other: &from); |
| 3038 | } else { |
| 3039 | CopyFrom(from); |
| 3040 | } |
| 3041 | return *this; |
| 3042 | } |
| 3043 | |
| 3044 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 3045 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 3046 | } |
| 3047 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 3048 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 3049 | } |
| 3050 | |
| 3051 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 3052 | return GetDescriptor(); |
| 3053 | } |
| 3054 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 3055 | return default_instance().GetMetadata().descriptor; |
| 3056 | } |
| 3057 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 3058 | return default_instance().GetMetadata().reflection; |
| 3059 | } |
| 3060 | static const EnumValueDescriptorProto& default_instance() { |
| 3061 | return *internal_default_instance(); |
| 3062 | } |
| 3063 | static inline const EnumValueDescriptorProto* internal_default_instance() { |
| 3064 | return reinterpret_cast<const EnumValueDescriptorProto*>( |
| 3065 | &_EnumValueDescriptorProto_default_instance_); |
| 3066 | } |
| 3067 | static constexpr int kIndexInFileMessages = |
| 3068 | 10; |
| 3069 | |
| 3070 | friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) { |
| 3071 | a.Swap(other: &b); |
| 3072 | } |
| 3073 | inline void Swap(EnumValueDescriptorProto* other) { |
| 3074 | if (other == this) return; |
| 3075 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 3076 | if (GetOwningArena() != nullptr && |
| 3077 | GetOwningArena() == other->GetOwningArena()) { |
| 3078 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 3079 | if (GetOwningArena() == other->GetOwningArena()) { |
| 3080 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 3081 | InternalSwap(other); |
| 3082 | } else { |
| 3083 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 3084 | } |
| 3085 | } |
| 3086 | void UnsafeArenaSwap(EnumValueDescriptorProto* other) { |
| 3087 | if (other == this) return; |
| 3088 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 3089 | InternalSwap(other); |
| 3090 | } |
| 3091 | |
| 3092 | // implements Message ---------------------------------------------- |
| 3093 | |
| 3094 | EnumValueDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 3095 | return CreateMaybeMessage<EnumValueDescriptorProto>(arena); |
| 3096 | } |
| 3097 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 3098 | void CopyFrom(const EnumValueDescriptorProto& from); |
| 3099 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 3100 | void MergeFrom( const EnumValueDescriptorProto& from) { |
| 3101 | EnumValueDescriptorProto::MergeImpl(to_msg&: *this, from_msg: from); |
| 3102 | } |
| 3103 | private: |
| 3104 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 3105 | public: |
| 3106 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3107 | bool IsInitialized() const final; |
| 3108 | |
| 3109 | size_t ByteSizeLong() const final; |
| 3110 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 3111 | uint8_t* _InternalSerialize( |
| 3112 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 3113 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 3114 | |
| 3115 | private: |
| 3116 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 3117 | void SharedDtor(); |
| 3118 | void SetCachedSize(int size) const final; |
| 3119 | void InternalSwap(EnumValueDescriptorProto* other); |
| 3120 | |
| 3121 | private: |
| 3122 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 3123 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 3124 | return "google.protobuf.EnumValueDescriptorProto" ; |
| 3125 | } |
| 3126 | protected: |
| 3127 | explicit EnumValueDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 3128 | bool is_message_owned = false); |
| 3129 | public: |
| 3130 | |
| 3131 | static const ClassData _class_data_; |
| 3132 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 3133 | |
| 3134 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 3135 | |
| 3136 | // nested types ---------------------------------------------------- |
| 3137 | |
| 3138 | // accessors ------------------------------------------------------- |
| 3139 | |
| 3140 | enum : int { |
| 3141 | kNameFieldNumber = 1, |
| 3142 | kOptionsFieldNumber = 3, |
| 3143 | kNumberFieldNumber = 2, |
| 3144 | }; |
| 3145 | // optional string name = 1; |
| 3146 | bool has_name() const; |
| 3147 | private: |
| 3148 | bool _internal_has_name() const; |
| 3149 | public: |
| 3150 | void clear_name(); |
| 3151 | const std::string& name() const; |
| 3152 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3153 | void set_name(ArgT0&& arg0, ArgT... args); |
| 3154 | std::string* mutable_name(); |
| 3155 | PROTOBUF_NODISCARD std::string* release_name(); |
| 3156 | void set_allocated_name(std::string* name); |
| 3157 | private: |
| 3158 | const std::string& _internal_name() const; |
| 3159 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 3160 | std::string* _internal_mutable_name(); |
| 3161 | public: |
| 3162 | |
| 3163 | // optional .google.protobuf.EnumValueOptions options = 3; |
| 3164 | bool has_options() const; |
| 3165 | private: |
| 3166 | bool _internal_has_options() const; |
| 3167 | public: |
| 3168 | void clear_options(); |
| 3169 | const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& options() const; |
| 3170 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* release_options(); |
| 3171 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* mutable_options(); |
| 3172 | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options); |
| 3173 | private: |
| 3174 | const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& _internal_options() const; |
| 3175 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _internal_mutable_options(); |
| 3176 | public: |
| 3177 | void unsafe_arena_set_allocated_options( |
| 3178 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options); |
| 3179 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* unsafe_arena_release_options(); |
| 3180 | |
| 3181 | // optional int32 number = 2; |
| 3182 | bool has_number() const; |
| 3183 | private: |
| 3184 | bool _internal_has_number() const; |
| 3185 | public: |
| 3186 | void clear_number(); |
| 3187 | int32_t number() const; |
| 3188 | void set_number(int32_t value); |
| 3189 | private: |
| 3190 | int32_t _internal_number() const; |
| 3191 | void _internal_set_number(int32_t value); |
| 3192 | public: |
| 3193 | |
| 3194 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto) |
| 3195 | private: |
| 3196 | class _Internal; |
| 3197 | |
| 3198 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 3199 | typedef void InternalArenaConstructable_; |
| 3200 | typedef void DestructorSkippable_; |
| 3201 | struct Impl_ { |
| 3202 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 3203 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 3204 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 3205 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options_; |
| 3206 | int32_t number_; |
| 3207 | }; |
| 3208 | union { Impl_ _impl_; }; |
| 3209 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 3210 | }; |
| 3211 | // ------------------------------------------------------------------- |
| 3212 | |
| 3213 | class PROTOBUF_EXPORT ServiceDescriptorProto final : |
| 3214 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ { |
| 3215 | public: |
| 3216 | inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {} |
| 3217 | ~ServiceDescriptorProto() override; |
| 3218 | explicit PROTOBUF_CONSTEXPR ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 3219 | |
| 3220 | ServiceDescriptorProto(const ServiceDescriptorProto& from); |
| 3221 | ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept |
| 3222 | : ServiceDescriptorProto() { |
| 3223 | *this = ::std::move(from); |
| 3224 | } |
| 3225 | |
| 3226 | inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) { |
| 3227 | CopyFrom(from); |
| 3228 | return *this; |
| 3229 | } |
| 3230 | inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept { |
| 3231 | if (this == &from) return *this; |
| 3232 | if (GetOwningArena() == from.GetOwningArena() |
| 3233 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 3234 | && GetOwningArena() != nullptr |
| 3235 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 3236 | ) { |
| 3237 | InternalSwap(other: &from); |
| 3238 | } else { |
| 3239 | CopyFrom(from); |
| 3240 | } |
| 3241 | return *this; |
| 3242 | } |
| 3243 | |
| 3244 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 3245 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 3246 | } |
| 3247 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 3248 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 3249 | } |
| 3250 | |
| 3251 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 3252 | return GetDescriptor(); |
| 3253 | } |
| 3254 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 3255 | return default_instance().GetMetadata().descriptor; |
| 3256 | } |
| 3257 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 3258 | return default_instance().GetMetadata().reflection; |
| 3259 | } |
| 3260 | static const ServiceDescriptorProto& default_instance() { |
| 3261 | return *internal_default_instance(); |
| 3262 | } |
| 3263 | static inline const ServiceDescriptorProto* internal_default_instance() { |
| 3264 | return reinterpret_cast<const ServiceDescriptorProto*>( |
| 3265 | &_ServiceDescriptorProto_default_instance_); |
| 3266 | } |
| 3267 | static constexpr int kIndexInFileMessages = |
| 3268 | 11; |
| 3269 | |
| 3270 | friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) { |
| 3271 | a.Swap(other: &b); |
| 3272 | } |
| 3273 | inline void Swap(ServiceDescriptorProto* other) { |
| 3274 | if (other == this) return; |
| 3275 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 3276 | if (GetOwningArena() != nullptr && |
| 3277 | GetOwningArena() == other->GetOwningArena()) { |
| 3278 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 3279 | if (GetOwningArena() == other->GetOwningArena()) { |
| 3280 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 3281 | InternalSwap(other); |
| 3282 | } else { |
| 3283 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 3284 | } |
| 3285 | } |
| 3286 | void UnsafeArenaSwap(ServiceDescriptorProto* other) { |
| 3287 | if (other == this) return; |
| 3288 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 3289 | InternalSwap(other); |
| 3290 | } |
| 3291 | |
| 3292 | // implements Message ---------------------------------------------- |
| 3293 | |
| 3294 | ServiceDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 3295 | return CreateMaybeMessage<ServiceDescriptorProto>(arena); |
| 3296 | } |
| 3297 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 3298 | void CopyFrom(const ServiceDescriptorProto& from); |
| 3299 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 3300 | void MergeFrom( const ServiceDescriptorProto& from) { |
| 3301 | ServiceDescriptorProto::MergeImpl(to_msg&: *this, from_msg: from); |
| 3302 | } |
| 3303 | private: |
| 3304 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 3305 | public: |
| 3306 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3307 | bool IsInitialized() const final; |
| 3308 | |
| 3309 | size_t ByteSizeLong() const final; |
| 3310 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 3311 | uint8_t* _InternalSerialize( |
| 3312 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 3313 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 3314 | |
| 3315 | private: |
| 3316 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 3317 | void SharedDtor(); |
| 3318 | void SetCachedSize(int size) const final; |
| 3319 | void InternalSwap(ServiceDescriptorProto* other); |
| 3320 | |
| 3321 | private: |
| 3322 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 3323 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 3324 | return "google.protobuf.ServiceDescriptorProto" ; |
| 3325 | } |
| 3326 | protected: |
| 3327 | explicit ServiceDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 3328 | bool is_message_owned = false); |
| 3329 | public: |
| 3330 | |
| 3331 | static const ClassData _class_data_; |
| 3332 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 3333 | |
| 3334 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 3335 | |
| 3336 | // nested types ---------------------------------------------------- |
| 3337 | |
| 3338 | // accessors ------------------------------------------------------- |
| 3339 | |
| 3340 | enum : int { |
| 3341 | kMethodFieldNumber = 2, |
| 3342 | kNameFieldNumber = 1, |
| 3343 | kOptionsFieldNumber = 3, |
| 3344 | }; |
| 3345 | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
| 3346 | int method_size() const; |
| 3347 | private: |
| 3348 | int _internal_method_size() const; |
| 3349 | public: |
| 3350 | void clear_method(); |
| 3351 | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* mutable_method(int index); |
| 3352 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >* |
| 3353 | mutable_method(); |
| 3354 | private: |
| 3355 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& _internal_method(int index) const; |
| 3356 | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _internal_add_method(); |
| 3357 | public: |
| 3358 | const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& method(int index) const; |
| 3359 | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* add_method(); |
| 3360 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >& |
| 3361 | method() const; |
| 3362 | |
| 3363 | // optional string name = 1; |
| 3364 | bool has_name() const; |
| 3365 | private: |
| 3366 | bool _internal_has_name() const; |
| 3367 | public: |
| 3368 | void clear_name(); |
| 3369 | const std::string& name() const; |
| 3370 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3371 | void set_name(ArgT0&& arg0, ArgT... args); |
| 3372 | std::string* mutable_name(); |
| 3373 | PROTOBUF_NODISCARD std::string* release_name(); |
| 3374 | void set_allocated_name(std::string* name); |
| 3375 | private: |
| 3376 | const std::string& _internal_name() const; |
| 3377 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 3378 | std::string* _internal_mutable_name(); |
| 3379 | public: |
| 3380 | |
| 3381 | // optional .google.protobuf.ServiceOptions options = 3; |
| 3382 | bool has_options() const; |
| 3383 | private: |
| 3384 | bool _internal_has_options() const; |
| 3385 | public: |
| 3386 | void clear_options(); |
| 3387 | const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& options() const; |
| 3388 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::ServiceOptions* release_options(); |
| 3389 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* mutable_options(); |
| 3390 | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options); |
| 3391 | private: |
| 3392 | const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& _internal_options() const; |
| 3393 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _internal_mutable_options(); |
| 3394 | public: |
| 3395 | void unsafe_arena_set_allocated_options( |
| 3396 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options); |
| 3397 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* unsafe_arena_release_options(); |
| 3398 | |
| 3399 | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto) |
| 3400 | private: |
| 3401 | class _Internal; |
| 3402 | |
| 3403 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 3404 | typedef void InternalArenaConstructable_; |
| 3405 | typedef void DestructorSkippable_; |
| 3406 | struct Impl_ { |
| 3407 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 3408 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 3409 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto > method_; |
| 3410 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 3411 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options_; |
| 3412 | }; |
| 3413 | union { Impl_ _impl_; }; |
| 3414 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 3415 | }; |
| 3416 | // ------------------------------------------------------------------- |
| 3417 | |
| 3418 | class PROTOBUF_EXPORT MethodDescriptorProto final : |
| 3419 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ { |
| 3420 | public: |
| 3421 | inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {} |
| 3422 | ~MethodDescriptorProto() override; |
| 3423 | explicit PROTOBUF_CONSTEXPR MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 3424 | |
| 3425 | MethodDescriptorProto(const MethodDescriptorProto& from); |
| 3426 | MethodDescriptorProto(MethodDescriptorProto&& from) noexcept |
| 3427 | : MethodDescriptorProto() { |
| 3428 | *this = ::std::move(from); |
| 3429 | } |
| 3430 | |
| 3431 | inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) { |
| 3432 | CopyFrom(from); |
| 3433 | return *this; |
| 3434 | } |
| 3435 | inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept { |
| 3436 | if (this == &from) return *this; |
| 3437 | if (GetOwningArena() == from.GetOwningArena() |
| 3438 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 3439 | && GetOwningArena() != nullptr |
| 3440 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 3441 | ) { |
| 3442 | InternalSwap(other: &from); |
| 3443 | } else { |
| 3444 | CopyFrom(from); |
| 3445 | } |
| 3446 | return *this; |
| 3447 | } |
| 3448 | |
| 3449 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 3450 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 3451 | } |
| 3452 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 3453 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 3454 | } |
| 3455 | |
| 3456 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 3457 | return GetDescriptor(); |
| 3458 | } |
| 3459 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 3460 | return default_instance().GetMetadata().descriptor; |
| 3461 | } |
| 3462 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 3463 | return default_instance().GetMetadata().reflection; |
| 3464 | } |
| 3465 | static const MethodDescriptorProto& default_instance() { |
| 3466 | return *internal_default_instance(); |
| 3467 | } |
| 3468 | static inline const MethodDescriptorProto* internal_default_instance() { |
| 3469 | return reinterpret_cast<const MethodDescriptorProto*>( |
| 3470 | &_MethodDescriptorProto_default_instance_); |
| 3471 | } |
| 3472 | static constexpr int kIndexInFileMessages = |
| 3473 | 12; |
| 3474 | |
| 3475 | friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) { |
| 3476 | a.Swap(other: &b); |
| 3477 | } |
| 3478 | inline void Swap(MethodDescriptorProto* other) { |
| 3479 | if (other == this) return; |
| 3480 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 3481 | if (GetOwningArena() != nullptr && |
| 3482 | GetOwningArena() == other->GetOwningArena()) { |
| 3483 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 3484 | if (GetOwningArena() == other->GetOwningArena()) { |
| 3485 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 3486 | InternalSwap(other); |
| 3487 | } else { |
| 3488 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 3489 | } |
| 3490 | } |
| 3491 | void UnsafeArenaSwap(MethodDescriptorProto* other) { |
| 3492 | if (other == this) return; |
| 3493 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 3494 | InternalSwap(other); |
| 3495 | } |
| 3496 | |
| 3497 | // implements Message ---------------------------------------------- |
| 3498 | |
| 3499 | MethodDescriptorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 3500 | return CreateMaybeMessage<MethodDescriptorProto>(arena); |
| 3501 | } |
| 3502 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 3503 | void CopyFrom(const MethodDescriptorProto& from); |
| 3504 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 3505 | void MergeFrom( const MethodDescriptorProto& from) { |
| 3506 | MethodDescriptorProto::MergeImpl(to_msg&: *this, from_msg: from); |
| 3507 | } |
| 3508 | private: |
| 3509 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 3510 | public: |
| 3511 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3512 | bool IsInitialized() const final; |
| 3513 | |
| 3514 | size_t ByteSizeLong() const final; |
| 3515 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 3516 | uint8_t* _InternalSerialize( |
| 3517 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 3518 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 3519 | |
| 3520 | private: |
| 3521 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 3522 | void SharedDtor(); |
| 3523 | void SetCachedSize(int size) const final; |
| 3524 | void InternalSwap(MethodDescriptorProto* other); |
| 3525 | |
| 3526 | private: |
| 3527 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 3528 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 3529 | return "google.protobuf.MethodDescriptorProto" ; |
| 3530 | } |
| 3531 | protected: |
| 3532 | explicit MethodDescriptorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 3533 | bool is_message_owned = false); |
| 3534 | public: |
| 3535 | |
| 3536 | static const ClassData _class_data_; |
| 3537 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 3538 | |
| 3539 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 3540 | |
| 3541 | // nested types ---------------------------------------------------- |
| 3542 | |
| 3543 | // accessors ------------------------------------------------------- |
| 3544 | |
| 3545 | enum : int { |
| 3546 | kNameFieldNumber = 1, |
| 3547 | kInputTypeFieldNumber = 2, |
| 3548 | kOutputTypeFieldNumber = 3, |
| 3549 | kOptionsFieldNumber = 4, |
| 3550 | kClientStreamingFieldNumber = 5, |
| 3551 | kServerStreamingFieldNumber = 6, |
| 3552 | }; |
| 3553 | // optional string name = 1; |
| 3554 | bool has_name() const; |
| 3555 | private: |
| 3556 | bool _internal_has_name() const; |
| 3557 | public: |
| 3558 | void clear_name(); |
| 3559 | const std::string& name() const; |
| 3560 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3561 | void set_name(ArgT0&& arg0, ArgT... args); |
| 3562 | std::string* mutable_name(); |
| 3563 | PROTOBUF_NODISCARD std::string* release_name(); |
| 3564 | void set_allocated_name(std::string* name); |
| 3565 | private: |
| 3566 | const std::string& _internal_name() const; |
| 3567 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
| 3568 | std::string* _internal_mutable_name(); |
| 3569 | public: |
| 3570 | |
| 3571 | // optional string input_type = 2; |
| 3572 | bool has_input_type() const; |
| 3573 | private: |
| 3574 | bool _internal_has_input_type() const; |
| 3575 | public: |
| 3576 | void clear_input_type(); |
| 3577 | const std::string& input_type() const; |
| 3578 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3579 | void set_input_type(ArgT0&& arg0, ArgT... args); |
| 3580 | std::string* mutable_input_type(); |
| 3581 | PROTOBUF_NODISCARD std::string* release_input_type(); |
| 3582 | void set_allocated_input_type(std::string* input_type); |
| 3583 | private: |
| 3584 | const std::string& _internal_input_type() const; |
| 3585 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_input_type(const std::string& value); |
| 3586 | std::string* _internal_mutable_input_type(); |
| 3587 | public: |
| 3588 | |
| 3589 | // optional string output_type = 3; |
| 3590 | bool has_output_type() const; |
| 3591 | private: |
| 3592 | bool _internal_has_output_type() const; |
| 3593 | public: |
| 3594 | void clear_output_type(); |
| 3595 | const std::string& output_type() const; |
| 3596 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3597 | void set_output_type(ArgT0&& arg0, ArgT... args); |
| 3598 | std::string* mutable_output_type(); |
| 3599 | PROTOBUF_NODISCARD std::string* release_output_type(); |
| 3600 | void set_allocated_output_type(std::string* output_type); |
| 3601 | private: |
| 3602 | const std::string& _internal_output_type() const; |
| 3603 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_output_type(const std::string& value); |
| 3604 | std::string* _internal_mutable_output_type(); |
| 3605 | public: |
| 3606 | |
| 3607 | // optional .google.protobuf.MethodOptions options = 4; |
| 3608 | bool has_options() const; |
| 3609 | private: |
| 3610 | bool _internal_has_options() const; |
| 3611 | public: |
| 3612 | void clear_options(); |
| 3613 | const ::PROTOBUF_NAMESPACE_ID::MethodOptions& options() const; |
| 3614 | PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::MethodOptions* release_options(); |
| 3615 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* mutable_options(); |
| 3616 | void set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options); |
| 3617 | private: |
| 3618 | const ::PROTOBUF_NAMESPACE_ID::MethodOptions& _internal_options() const; |
| 3619 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* _internal_mutable_options(); |
| 3620 | public: |
| 3621 | void unsafe_arena_set_allocated_options( |
| 3622 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* options); |
| 3623 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* unsafe_arena_release_options(); |
| 3624 | |
| 3625 | // optional bool client_streaming = 5 [default = false]; |
| 3626 | bool has_client_streaming() const; |
| 3627 | private: |
| 3628 | bool _internal_has_client_streaming() const; |
| 3629 | public: |
| 3630 | void clear_client_streaming(); |
| 3631 | bool client_streaming() const; |
| 3632 | void set_client_streaming(bool value); |
| 3633 | private: |
| 3634 | bool _internal_client_streaming() const; |
| 3635 | void _internal_set_client_streaming(bool value); |
| 3636 | public: |
| 3637 | |
| 3638 | // optional bool server_streaming = 6 [default = false]; |
| 3639 | bool has_server_streaming() const; |
| 3640 | private: |
| 3641 | bool _internal_has_server_streaming() const; |
| 3642 | public: |
| 3643 | void clear_server_streaming(); |
| 3644 | bool server_streaming() const; |
| 3645 | void set_server_streaming(bool value); |
| 3646 | private: |
| 3647 | bool _internal_server_streaming() const; |
| 3648 | void _internal_set_server_streaming(bool value); |
| 3649 | public: |
| 3650 | |
| 3651 | // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto) |
| 3652 | private: |
| 3653 | class _Internal; |
| 3654 | |
| 3655 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 3656 | typedef void InternalArenaConstructable_; |
| 3657 | typedef void DestructorSkippable_; |
| 3658 | struct Impl_ { |
| 3659 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 3660 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 3661 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
| 3662 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr input_type_; |
| 3663 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_type_; |
| 3664 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* options_; |
| 3665 | bool client_streaming_; |
| 3666 | bool server_streaming_; |
| 3667 | }; |
| 3668 | union { Impl_ _impl_; }; |
| 3669 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 3670 | }; |
| 3671 | // ------------------------------------------------------------------- |
| 3672 | |
| 3673 | class PROTOBUF_EXPORT FileOptions final : |
| 3674 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ { |
| 3675 | public: |
| 3676 | inline FileOptions() : FileOptions(nullptr) {} |
| 3677 | ~FileOptions() override; |
| 3678 | explicit PROTOBUF_CONSTEXPR FileOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 3679 | |
| 3680 | FileOptions(const FileOptions& from); |
| 3681 | FileOptions(FileOptions&& from) noexcept |
| 3682 | : FileOptions() { |
| 3683 | *this = ::std::move(from); |
| 3684 | } |
| 3685 | |
| 3686 | inline FileOptions& operator=(const FileOptions& from) { |
| 3687 | CopyFrom(from); |
| 3688 | return *this; |
| 3689 | } |
| 3690 | inline FileOptions& operator=(FileOptions&& from) noexcept { |
| 3691 | if (this == &from) return *this; |
| 3692 | if (GetOwningArena() == from.GetOwningArena() |
| 3693 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 3694 | && GetOwningArena() != nullptr |
| 3695 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 3696 | ) { |
| 3697 | InternalSwap(other: &from); |
| 3698 | } else { |
| 3699 | CopyFrom(from); |
| 3700 | } |
| 3701 | return *this; |
| 3702 | } |
| 3703 | |
| 3704 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 3705 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 3706 | } |
| 3707 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 3708 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 3709 | } |
| 3710 | |
| 3711 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 3712 | return GetDescriptor(); |
| 3713 | } |
| 3714 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 3715 | return default_instance().GetMetadata().descriptor; |
| 3716 | } |
| 3717 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 3718 | return default_instance().GetMetadata().reflection; |
| 3719 | } |
| 3720 | static const FileOptions& default_instance() { |
| 3721 | return *internal_default_instance(); |
| 3722 | } |
| 3723 | static inline const FileOptions* internal_default_instance() { |
| 3724 | return reinterpret_cast<const FileOptions*>( |
| 3725 | &_FileOptions_default_instance_); |
| 3726 | } |
| 3727 | static constexpr int kIndexInFileMessages = |
| 3728 | 13; |
| 3729 | |
| 3730 | friend void swap(FileOptions& a, FileOptions& b) { |
| 3731 | a.Swap(other: &b); |
| 3732 | } |
| 3733 | inline void Swap(FileOptions* other) { |
| 3734 | if (other == this) return; |
| 3735 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 3736 | if (GetOwningArena() != nullptr && |
| 3737 | GetOwningArena() == other->GetOwningArena()) { |
| 3738 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 3739 | if (GetOwningArena() == other->GetOwningArena()) { |
| 3740 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 3741 | InternalSwap(other); |
| 3742 | } else { |
| 3743 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 3744 | } |
| 3745 | } |
| 3746 | void UnsafeArenaSwap(FileOptions* other) { |
| 3747 | if (other == this) return; |
| 3748 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 3749 | InternalSwap(other); |
| 3750 | } |
| 3751 | |
| 3752 | // implements Message ---------------------------------------------- |
| 3753 | |
| 3754 | FileOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 3755 | return CreateMaybeMessage<FileOptions>(arena); |
| 3756 | } |
| 3757 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 3758 | void CopyFrom(const FileOptions& from); |
| 3759 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 3760 | void MergeFrom( const FileOptions& from) { |
| 3761 | FileOptions::MergeImpl(to_msg&: *this, from_msg: from); |
| 3762 | } |
| 3763 | private: |
| 3764 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 3765 | public: |
| 3766 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 3767 | bool IsInitialized() const final; |
| 3768 | |
| 3769 | size_t ByteSizeLong() const final; |
| 3770 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 3771 | uint8_t* _InternalSerialize( |
| 3772 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 3773 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 3774 | |
| 3775 | private: |
| 3776 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 3777 | void SharedDtor(); |
| 3778 | void SetCachedSize(int size) const final; |
| 3779 | void InternalSwap(FileOptions* other); |
| 3780 | |
| 3781 | private: |
| 3782 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 3783 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 3784 | return "google.protobuf.FileOptions" ; |
| 3785 | } |
| 3786 | protected: |
| 3787 | explicit FileOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 3788 | bool is_message_owned = false); |
| 3789 | public: |
| 3790 | |
| 3791 | static const ClassData _class_data_; |
| 3792 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 3793 | |
| 3794 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 3795 | |
| 3796 | // nested types ---------------------------------------------------- |
| 3797 | |
| 3798 | typedef FileOptions_OptimizeMode OptimizeMode; |
| 3799 | static constexpr OptimizeMode SPEED = |
| 3800 | FileOptions_OptimizeMode_SPEED; |
| 3801 | static constexpr OptimizeMode CODE_SIZE = |
| 3802 | FileOptions_OptimizeMode_CODE_SIZE; |
| 3803 | static constexpr OptimizeMode LITE_RUNTIME = |
| 3804 | FileOptions_OptimizeMode_LITE_RUNTIME; |
| 3805 | static inline bool OptimizeMode_IsValid(int value) { |
| 3806 | return FileOptions_OptimizeMode_IsValid(value); |
| 3807 | } |
| 3808 | static constexpr OptimizeMode OptimizeMode_MIN = |
| 3809 | FileOptions_OptimizeMode_OptimizeMode_MIN; |
| 3810 | static constexpr OptimizeMode OptimizeMode_MAX = |
| 3811 | FileOptions_OptimizeMode_OptimizeMode_MAX; |
| 3812 | static constexpr int OptimizeMode_ARRAYSIZE = |
| 3813 | FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE; |
| 3814 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
| 3815 | OptimizeMode_descriptor() { |
| 3816 | return FileOptions_OptimizeMode_descriptor(); |
| 3817 | } |
| 3818 | template<typename T> |
| 3819 | static inline const std::string& OptimizeMode_Name(T enum_t_value) { |
| 3820 | static_assert(::std::is_same<T, OptimizeMode>::value || |
| 3821 | ::std::is_integral<T>::value, |
| 3822 | "Incorrect type passed to function OptimizeMode_Name." ); |
| 3823 | return FileOptions_OptimizeMode_Name(enum_t_value); |
| 3824 | } |
| 3825 | static inline bool OptimizeMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
| 3826 | OptimizeMode* value) { |
| 3827 | return FileOptions_OptimizeMode_Parse(name, value); |
| 3828 | } |
| 3829 | |
| 3830 | // accessors ------------------------------------------------------- |
| 3831 | |
| 3832 | enum : int { |
| 3833 | kUninterpretedOptionFieldNumber = 999, |
| 3834 | kJavaPackageFieldNumber = 1, |
| 3835 | kJavaOuterClassnameFieldNumber = 8, |
| 3836 | kGoPackageFieldNumber = 11, |
| 3837 | kObjcClassPrefixFieldNumber = 36, |
| 3838 | kCsharpNamespaceFieldNumber = 37, |
| 3839 | kSwiftPrefixFieldNumber = 39, |
| 3840 | kPhpClassPrefixFieldNumber = 40, |
| 3841 | kPhpNamespaceFieldNumber = 41, |
| 3842 | kPhpMetadataNamespaceFieldNumber = 44, |
| 3843 | kRubyPackageFieldNumber = 45, |
| 3844 | kJavaMultipleFilesFieldNumber = 10, |
| 3845 | kJavaGenerateEqualsAndHashFieldNumber = 20, |
| 3846 | kJavaStringCheckUtf8FieldNumber = 27, |
| 3847 | kCcGenericServicesFieldNumber = 16, |
| 3848 | kJavaGenericServicesFieldNumber = 17, |
| 3849 | kPyGenericServicesFieldNumber = 18, |
| 3850 | kPhpGenericServicesFieldNumber = 42, |
| 3851 | kDeprecatedFieldNumber = 23, |
| 3852 | kOptimizeForFieldNumber = 9, |
| 3853 | kCcEnableArenasFieldNumber = 31, |
| 3854 | }; |
| 3855 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 3856 | int uninterpreted_option_size() const; |
| 3857 | private: |
| 3858 | int _internal_uninterpreted_option_size() const; |
| 3859 | public: |
| 3860 | void clear_uninterpreted_option(); |
| 3861 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 3862 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 3863 | mutable_uninterpreted_option(); |
| 3864 | private: |
| 3865 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
| 3866 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
| 3867 | public: |
| 3868 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
| 3869 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
| 3870 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 3871 | uninterpreted_option() const; |
| 3872 | |
| 3873 | // optional string java_package = 1; |
| 3874 | bool has_java_package() const; |
| 3875 | private: |
| 3876 | bool _internal_has_java_package() const; |
| 3877 | public: |
| 3878 | void clear_java_package(); |
| 3879 | const std::string& java_package() const; |
| 3880 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3881 | void set_java_package(ArgT0&& arg0, ArgT... args); |
| 3882 | std::string* mutable_java_package(); |
| 3883 | PROTOBUF_NODISCARD std::string* release_java_package(); |
| 3884 | void set_allocated_java_package(std::string* java_package); |
| 3885 | private: |
| 3886 | const std::string& _internal_java_package() const; |
| 3887 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_package(const std::string& value); |
| 3888 | std::string* _internal_mutable_java_package(); |
| 3889 | public: |
| 3890 | |
| 3891 | // optional string java_outer_classname = 8; |
| 3892 | bool has_java_outer_classname() const; |
| 3893 | private: |
| 3894 | bool _internal_has_java_outer_classname() const; |
| 3895 | public: |
| 3896 | void clear_java_outer_classname(); |
| 3897 | const std::string& java_outer_classname() const; |
| 3898 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3899 | void set_java_outer_classname(ArgT0&& arg0, ArgT... args); |
| 3900 | std::string* mutable_java_outer_classname(); |
| 3901 | PROTOBUF_NODISCARD std::string* release_java_outer_classname(); |
| 3902 | void set_allocated_java_outer_classname(std::string* java_outer_classname); |
| 3903 | private: |
| 3904 | const std::string& _internal_java_outer_classname() const; |
| 3905 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_java_outer_classname(const std::string& value); |
| 3906 | std::string* _internal_mutable_java_outer_classname(); |
| 3907 | public: |
| 3908 | |
| 3909 | // optional string go_package = 11; |
| 3910 | bool has_go_package() const; |
| 3911 | private: |
| 3912 | bool _internal_has_go_package() const; |
| 3913 | public: |
| 3914 | void clear_go_package(); |
| 3915 | const std::string& go_package() const; |
| 3916 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3917 | void set_go_package(ArgT0&& arg0, ArgT... args); |
| 3918 | std::string* mutable_go_package(); |
| 3919 | PROTOBUF_NODISCARD std::string* release_go_package(); |
| 3920 | void set_allocated_go_package(std::string* go_package); |
| 3921 | private: |
| 3922 | const std::string& _internal_go_package() const; |
| 3923 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_go_package(const std::string& value); |
| 3924 | std::string* _internal_mutable_go_package(); |
| 3925 | public: |
| 3926 | |
| 3927 | // optional string objc_class_prefix = 36; |
| 3928 | bool has_objc_class_prefix() const; |
| 3929 | private: |
| 3930 | bool _internal_has_objc_class_prefix() const; |
| 3931 | public: |
| 3932 | void clear_objc_class_prefix(); |
| 3933 | const std::string& objc_class_prefix() const; |
| 3934 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3935 | void set_objc_class_prefix(ArgT0&& arg0, ArgT... args); |
| 3936 | std::string* mutable_objc_class_prefix(); |
| 3937 | PROTOBUF_NODISCARD std::string* release_objc_class_prefix(); |
| 3938 | void set_allocated_objc_class_prefix(std::string* objc_class_prefix); |
| 3939 | private: |
| 3940 | const std::string& _internal_objc_class_prefix() const; |
| 3941 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_objc_class_prefix(const std::string& value); |
| 3942 | std::string* _internal_mutable_objc_class_prefix(); |
| 3943 | public: |
| 3944 | |
| 3945 | // optional string csharp_namespace = 37; |
| 3946 | bool has_csharp_namespace() const; |
| 3947 | private: |
| 3948 | bool _internal_has_csharp_namespace() const; |
| 3949 | public: |
| 3950 | void clear_csharp_namespace(); |
| 3951 | const std::string& csharp_namespace() const; |
| 3952 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3953 | void set_csharp_namespace(ArgT0&& arg0, ArgT... args); |
| 3954 | std::string* mutable_csharp_namespace(); |
| 3955 | PROTOBUF_NODISCARD std::string* release_csharp_namespace(); |
| 3956 | void set_allocated_csharp_namespace(std::string* csharp_namespace); |
| 3957 | private: |
| 3958 | const std::string& _internal_csharp_namespace() const; |
| 3959 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_csharp_namespace(const std::string& value); |
| 3960 | std::string* _internal_mutable_csharp_namespace(); |
| 3961 | public: |
| 3962 | |
| 3963 | // optional string swift_prefix = 39; |
| 3964 | bool has_swift_prefix() const; |
| 3965 | private: |
| 3966 | bool _internal_has_swift_prefix() const; |
| 3967 | public: |
| 3968 | void clear_swift_prefix(); |
| 3969 | const std::string& swift_prefix() const; |
| 3970 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3971 | void set_swift_prefix(ArgT0&& arg0, ArgT... args); |
| 3972 | std::string* mutable_swift_prefix(); |
| 3973 | PROTOBUF_NODISCARD std::string* release_swift_prefix(); |
| 3974 | void set_allocated_swift_prefix(std::string* swift_prefix); |
| 3975 | private: |
| 3976 | const std::string& _internal_swift_prefix() const; |
| 3977 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_swift_prefix(const std::string& value); |
| 3978 | std::string* _internal_mutable_swift_prefix(); |
| 3979 | public: |
| 3980 | |
| 3981 | // optional string php_class_prefix = 40; |
| 3982 | bool has_php_class_prefix() const; |
| 3983 | private: |
| 3984 | bool _internal_has_php_class_prefix() const; |
| 3985 | public: |
| 3986 | void clear_php_class_prefix(); |
| 3987 | const std::string& php_class_prefix() const; |
| 3988 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 3989 | void set_php_class_prefix(ArgT0&& arg0, ArgT... args); |
| 3990 | std::string* mutable_php_class_prefix(); |
| 3991 | PROTOBUF_NODISCARD std::string* release_php_class_prefix(); |
| 3992 | void set_allocated_php_class_prefix(std::string* php_class_prefix); |
| 3993 | private: |
| 3994 | const std::string& _internal_php_class_prefix() const; |
| 3995 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_class_prefix(const std::string& value); |
| 3996 | std::string* _internal_mutable_php_class_prefix(); |
| 3997 | public: |
| 3998 | |
| 3999 | // optional string php_namespace = 41; |
| 4000 | bool has_php_namespace() const; |
| 4001 | private: |
| 4002 | bool _internal_has_php_namespace() const; |
| 4003 | public: |
| 4004 | void clear_php_namespace(); |
| 4005 | const std::string& php_namespace() const; |
| 4006 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 4007 | void set_php_namespace(ArgT0&& arg0, ArgT... args); |
| 4008 | std::string* mutable_php_namespace(); |
| 4009 | PROTOBUF_NODISCARD std::string* release_php_namespace(); |
| 4010 | void set_allocated_php_namespace(std::string* php_namespace); |
| 4011 | private: |
| 4012 | const std::string& _internal_php_namespace() const; |
| 4013 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_namespace(const std::string& value); |
| 4014 | std::string* _internal_mutable_php_namespace(); |
| 4015 | public: |
| 4016 | |
| 4017 | // optional string php_metadata_namespace = 44; |
| 4018 | bool has_php_metadata_namespace() const; |
| 4019 | private: |
| 4020 | bool _internal_has_php_metadata_namespace() const; |
| 4021 | public: |
| 4022 | void clear_php_metadata_namespace(); |
| 4023 | const std::string& php_metadata_namespace() const; |
| 4024 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 4025 | void set_php_metadata_namespace(ArgT0&& arg0, ArgT... args); |
| 4026 | std::string* mutable_php_metadata_namespace(); |
| 4027 | PROTOBUF_NODISCARD std::string* release_php_metadata_namespace(); |
| 4028 | void set_allocated_php_metadata_namespace(std::string* php_metadata_namespace); |
| 4029 | private: |
| 4030 | const std::string& _internal_php_metadata_namespace() const; |
| 4031 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_php_metadata_namespace(const std::string& value); |
| 4032 | std::string* _internal_mutable_php_metadata_namespace(); |
| 4033 | public: |
| 4034 | |
| 4035 | // optional string ruby_package = 45; |
| 4036 | bool has_ruby_package() const; |
| 4037 | private: |
| 4038 | bool _internal_has_ruby_package() const; |
| 4039 | public: |
| 4040 | void clear_ruby_package(); |
| 4041 | const std::string& ruby_package() const; |
| 4042 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 4043 | void set_ruby_package(ArgT0&& arg0, ArgT... args); |
| 4044 | std::string* mutable_ruby_package(); |
| 4045 | PROTOBUF_NODISCARD std::string* release_ruby_package(); |
| 4046 | void set_allocated_ruby_package(std::string* ruby_package); |
| 4047 | private: |
| 4048 | const std::string& _internal_ruby_package() const; |
| 4049 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_ruby_package(const std::string& value); |
| 4050 | std::string* _internal_mutable_ruby_package(); |
| 4051 | public: |
| 4052 | |
| 4053 | // optional bool java_multiple_files = 10 [default = false]; |
| 4054 | bool has_java_multiple_files() const; |
| 4055 | private: |
| 4056 | bool _internal_has_java_multiple_files() const; |
| 4057 | public: |
| 4058 | void clear_java_multiple_files(); |
| 4059 | bool java_multiple_files() const; |
| 4060 | void set_java_multiple_files(bool value); |
| 4061 | private: |
| 4062 | bool _internal_java_multiple_files() const; |
| 4063 | void _internal_set_java_multiple_files(bool value); |
| 4064 | public: |
| 4065 | |
| 4066 | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
| 4067 | PROTOBUF_DEPRECATED bool has_java_generate_equals_and_hash() const; |
| 4068 | private: |
| 4069 | bool _internal_has_java_generate_equals_and_hash() const; |
| 4070 | public: |
| 4071 | PROTOBUF_DEPRECATED void clear_java_generate_equals_and_hash(); |
| 4072 | PROTOBUF_DEPRECATED bool java_generate_equals_and_hash() const; |
| 4073 | PROTOBUF_DEPRECATED void set_java_generate_equals_and_hash(bool value); |
| 4074 | private: |
| 4075 | bool _internal_java_generate_equals_and_hash() const; |
| 4076 | void _internal_set_java_generate_equals_and_hash(bool value); |
| 4077 | public: |
| 4078 | |
| 4079 | // optional bool java_string_check_utf8 = 27 [default = false]; |
| 4080 | bool has_java_string_check_utf8() const; |
| 4081 | private: |
| 4082 | bool _internal_has_java_string_check_utf8() const; |
| 4083 | public: |
| 4084 | void clear_java_string_check_utf8(); |
| 4085 | bool java_string_check_utf8() const; |
| 4086 | void set_java_string_check_utf8(bool value); |
| 4087 | private: |
| 4088 | bool _internal_java_string_check_utf8() const; |
| 4089 | void _internal_set_java_string_check_utf8(bool value); |
| 4090 | public: |
| 4091 | |
| 4092 | // optional bool cc_generic_services = 16 [default = false]; |
| 4093 | bool has_cc_generic_services() const; |
| 4094 | private: |
| 4095 | bool _internal_has_cc_generic_services() const; |
| 4096 | public: |
| 4097 | void clear_cc_generic_services(); |
| 4098 | bool cc_generic_services() const; |
| 4099 | void set_cc_generic_services(bool value); |
| 4100 | private: |
| 4101 | bool _internal_cc_generic_services() const; |
| 4102 | void _internal_set_cc_generic_services(bool value); |
| 4103 | public: |
| 4104 | |
| 4105 | // optional bool java_generic_services = 17 [default = false]; |
| 4106 | bool has_java_generic_services() const; |
| 4107 | private: |
| 4108 | bool _internal_has_java_generic_services() const; |
| 4109 | public: |
| 4110 | void clear_java_generic_services(); |
| 4111 | bool java_generic_services() const; |
| 4112 | void set_java_generic_services(bool value); |
| 4113 | private: |
| 4114 | bool _internal_java_generic_services() const; |
| 4115 | void _internal_set_java_generic_services(bool value); |
| 4116 | public: |
| 4117 | |
| 4118 | // optional bool py_generic_services = 18 [default = false]; |
| 4119 | bool has_py_generic_services() const; |
| 4120 | private: |
| 4121 | bool _internal_has_py_generic_services() const; |
| 4122 | public: |
| 4123 | void clear_py_generic_services(); |
| 4124 | bool py_generic_services() const; |
| 4125 | void set_py_generic_services(bool value); |
| 4126 | private: |
| 4127 | bool _internal_py_generic_services() const; |
| 4128 | void _internal_set_py_generic_services(bool value); |
| 4129 | public: |
| 4130 | |
| 4131 | // optional bool php_generic_services = 42 [default = false]; |
| 4132 | bool has_php_generic_services() const; |
| 4133 | private: |
| 4134 | bool _internal_has_php_generic_services() const; |
| 4135 | public: |
| 4136 | void clear_php_generic_services(); |
| 4137 | bool php_generic_services() const; |
| 4138 | void set_php_generic_services(bool value); |
| 4139 | private: |
| 4140 | bool _internal_php_generic_services() const; |
| 4141 | void _internal_set_php_generic_services(bool value); |
| 4142 | public: |
| 4143 | |
| 4144 | // optional bool deprecated = 23 [default = false]; |
| 4145 | bool has_deprecated() const; |
| 4146 | private: |
| 4147 | bool _internal_has_deprecated() const; |
| 4148 | public: |
| 4149 | void clear_deprecated(); |
| 4150 | bool deprecated() const; |
| 4151 | void set_deprecated(bool value); |
| 4152 | private: |
| 4153 | bool _internal_deprecated() const; |
| 4154 | void _internal_set_deprecated(bool value); |
| 4155 | public: |
| 4156 | |
| 4157 | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
| 4158 | bool has_optimize_for() const; |
| 4159 | private: |
| 4160 | bool _internal_has_optimize_for() const; |
| 4161 | public: |
| 4162 | void clear_optimize_for(); |
| 4163 | ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode optimize_for() const; |
| 4164 | void set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value); |
| 4165 | private: |
| 4166 | ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode _internal_optimize_for() const; |
| 4167 | void _internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value); |
| 4168 | public: |
| 4169 | |
| 4170 | // optional bool cc_enable_arenas = 31 [default = true]; |
| 4171 | bool has_cc_enable_arenas() const; |
| 4172 | private: |
| 4173 | bool _internal_has_cc_enable_arenas() const; |
| 4174 | public: |
| 4175 | void clear_cc_enable_arenas(); |
| 4176 | bool cc_enable_arenas() const; |
| 4177 | void set_cc_enable_arenas(bool value); |
| 4178 | private: |
| 4179 | bool _internal_cc_enable_arenas() const; |
| 4180 | void _internal_set_cc_enable_arenas(bool value); |
| 4181 | public: |
| 4182 | |
| 4183 | |
| 4184 | template <typename _proto_TypeTraits, |
| 4185 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4186 | bool _is_packed> |
| 4187 | inline bool HasExtension( |
| 4188 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4189 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 4190 | |
| 4191 | return _impl_._extensions_.Has(number: id.number()); |
| 4192 | } |
| 4193 | |
| 4194 | template <typename _proto_TypeTraits, |
| 4195 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4196 | bool _is_packed> |
| 4197 | inline void ClearExtension( |
| 4198 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4199 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4200 | _impl_._extensions_.ClearExtension(number: id.number()); |
| 4201 | |
| 4202 | } |
| 4203 | |
| 4204 | template <typename _proto_TypeTraits, |
| 4205 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4206 | bool _is_packed> |
| 4207 | inline int ExtensionSize( |
| 4208 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4209 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 4210 | |
| 4211 | return _impl_._extensions_.ExtensionSize(number: id.number()); |
| 4212 | } |
| 4213 | |
| 4214 | template <typename _proto_TypeTraits, |
| 4215 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4216 | bool _is_packed> |
| 4217 | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| 4218 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4219 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 4220 | |
| 4221 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
| 4222 | id.default_value()); |
| 4223 | } |
| 4224 | |
| 4225 | template <typename _proto_TypeTraits, |
| 4226 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4227 | bool _is_packed> |
| 4228 | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| 4229 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4230 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4231 | |
| 4232 | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
| 4233 | &_impl_._extensions_); |
| 4234 | } |
| 4235 | |
| 4236 | template <typename _proto_TypeTraits, |
| 4237 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4238 | bool _is_packed> |
| 4239 | inline void SetExtension( |
| 4240 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4241 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4242 | typename _proto_TypeTraits::Singular::ConstType value) { |
| 4243 | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| 4244 | |
| 4245 | } |
| 4246 | |
| 4247 | template <typename _proto_TypeTraits, |
| 4248 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4249 | bool _is_packed> |
| 4250 | inline void SetAllocatedExtension( |
| 4251 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4252 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4253 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 4254 | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| 4255 | &_impl_._extensions_); |
| 4256 | |
| 4257 | } |
| 4258 | template <typename _proto_TypeTraits, |
| 4259 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4260 | bool _is_packed> |
| 4261 | inline void UnsafeArenaSetAllocatedExtension( |
| 4262 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4263 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4264 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 4265 | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| 4266 | value, &_impl_._extensions_); |
| 4267 | |
| 4268 | } |
| 4269 | template <typename _proto_TypeTraits, |
| 4270 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4271 | bool _is_packed> |
| 4272 | PROTOBUF_NODISCARD inline |
| 4273 | typename _proto_TypeTraits::Singular::MutableType |
| 4274 | ReleaseExtension( |
| 4275 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4276 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4277 | |
| 4278 | return _proto_TypeTraits::Release(id.number(), _field_type, |
| 4279 | &_impl_._extensions_); |
| 4280 | } |
| 4281 | template <typename _proto_TypeTraits, |
| 4282 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4283 | bool _is_packed> |
| 4284 | inline typename _proto_TypeTraits::Singular::MutableType |
| 4285 | UnsafeArenaReleaseExtension( |
| 4286 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4287 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4288 | |
| 4289 | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| 4290 | &_impl_._extensions_); |
| 4291 | } |
| 4292 | |
| 4293 | template <typename _proto_TypeTraits, |
| 4294 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4295 | bool _is_packed> |
| 4296 | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| 4297 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4298 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4299 | int index) const { |
| 4300 | |
| 4301 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| 4302 | } |
| 4303 | |
| 4304 | template <typename _proto_TypeTraits, |
| 4305 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4306 | bool _is_packed> |
| 4307 | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| 4308 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4309 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4310 | int index) { |
| 4311 | |
| 4312 | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| 4313 | } |
| 4314 | |
| 4315 | template <typename _proto_TypeTraits, |
| 4316 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4317 | bool _is_packed> |
| 4318 | inline void SetExtension( |
| 4319 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4320 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4321 | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| 4322 | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| 4323 | |
| 4324 | } |
| 4325 | |
| 4326 | template <typename _proto_TypeTraits, |
| 4327 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4328 | bool _is_packed> |
| 4329 | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| 4330 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4331 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4332 | typename _proto_TypeTraits::Repeated::MutableType to_add = |
| 4333 | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| 4334 | |
| 4335 | return to_add; |
| 4336 | } |
| 4337 | |
| 4338 | template <typename _proto_TypeTraits, |
| 4339 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4340 | bool _is_packed> |
| 4341 | inline void AddExtension( |
| 4342 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4343 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4344 | typename _proto_TypeTraits::Repeated::ConstType value) { |
| 4345 | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| 4346 | &_impl_._extensions_); |
| 4347 | |
| 4348 | } |
| 4349 | |
| 4350 | template <typename _proto_TypeTraits, |
| 4351 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4352 | bool _is_packed> |
| 4353 | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| 4354 | GetRepeatedExtension( |
| 4355 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4356 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 4357 | |
| 4358 | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| 4359 | } |
| 4360 | |
| 4361 | template <typename _proto_TypeTraits, |
| 4362 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4363 | bool _is_packed> |
| 4364 | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| 4365 | MutableRepeatedExtension( |
| 4366 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4367 | FileOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4368 | |
| 4369 | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| 4370 | _is_packed, &_impl_._extensions_); |
| 4371 | } |
| 4372 | |
| 4373 | // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions) |
| 4374 | private: |
| 4375 | class _Internal; |
| 4376 | |
| 4377 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 4378 | typedef void InternalArenaConstructable_; |
| 4379 | typedef void DestructorSkippable_; |
| 4380 | struct Impl_ { |
| 4381 | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
| 4382 | |
| 4383 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 4384 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 4385 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
| 4386 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_package_; |
| 4387 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr java_outer_classname_; |
| 4388 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr go_package_; |
| 4389 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr objc_class_prefix_; |
| 4390 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr csharp_namespace_; |
| 4391 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr swift_prefix_; |
| 4392 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_class_prefix_; |
| 4393 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_namespace_; |
| 4394 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr php_metadata_namespace_; |
| 4395 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ruby_package_; |
| 4396 | bool java_multiple_files_; |
| 4397 | bool java_generate_equals_and_hash_; |
| 4398 | bool java_string_check_utf8_; |
| 4399 | bool cc_generic_services_; |
| 4400 | bool java_generic_services_; |
| 4401 | bool py_generic_services_; |
| 4402 | bool php_generic_services_; |
| 4403 | bool deprecated_; |
| 4404 | int optimize_for_; |
| 4405 | bool cc_enable_arenas_; |
| 4406 | }; |
| 4407 | union { Impl_ _impl_; }; |
| 4408 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 4409 | }; |
| 4410 | // ------------------------------------------------------------------- |
| 4411 | |
| 4412 | class PROTOBUF_EXPORT MessageOptions final : |
| 4413 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ { |
| 4414 | public: |
| 4415 | inline MessageOptions() : MessageOptions(nullptr) {} |
| 4416 | ~MessageOptions() override; |
| 4417 | explicit PROTOBUF_CONSTEXPR MessageOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 4418 | |
| 4419 | MessageOptions(const MessageOptions& from); |
| 4420 | MessageOptions(MessageOptions&& from) noexcept |
| 4421 | : MessageOptions() { |
| 4422 | *this = ::std::move(from); |
| 4423 | } |
| 4424 | |
| 4425 | inline MessageOptions& operator=(const MessageOptions& from) { |
| 4426 | CopyFrom(from); |
| 4427 | return *this; |
| 4428 | } |
| 4429 | inline MessageOptions& operator=(MessageOptions&& from) noexcept { |
| 4430 | if (this == &from) return *this; |
| 4431 | if (GetOwningArena() == from.GetOwningArena() |
| 4432 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 4433 | && GetOwningArena() != nullptr |
| 4434 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 4435 | ) { |
| 4436 | InternalSwap(other: &from); |
| 4437 | } else { |
| 4438 | CopyFrom(from); |
| 4439 | } |
| 4440 | return *this; |
| 4441 | } |
| 4442 | |
| 4443 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 4444 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 4445 | } |
| 4446 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 4447 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 4448 | } |
| 4449 | |
| 4450 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 4451 | return GetDescriptor(); |
| 4452 | } |
| 4453 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 4454 | return default_instance().GetMetadata().descriptor; |
| 4455 | } |
| 4456 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 4457 | return default_instance().GetMetadata().reflection; |
| 4458 | } |
| 4459 | static const MessageOptions& default_instance() { |
| 4460 | return *internal_default_instance(); |
| 4461 | } |
| 4462 | static inline const MessageOptions* internal_default_instance() { |
| 4463 | return reinterpret_cast<const MessageOptions*>( |
| 4464 | &_MessageOptions_default_instance_); |
| 4465 | } |
| 4466 | static constexpr int kIndexInFileMessages = |
| 4467 | 14; |
| 4468 | |
| 4469 | friend void swap(MessageOptions& a, MessageOptions& b) { |
| 4470 | a.Swap(other: &b); |
| 4471 | } |
| 4472 | inline void Swap(MessageOptions* other) { |
| 4473 | if (other == this) return; |
| 4474 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 4475 | if (GetOwningArena() != nullptr && |
| 4476 | GetOwningArena() == other->GetOwningArena()) { |
| 4477 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 4478 | if (GetOwningArena() == other->GetOwningArena()) { |
| 4479 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 4480 | InternalSwap(other); |
| 4481 | } else { |
| 4482 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 4483 | } |
| 4484 | } |
| 4485 | void UnsafeArenaSwap(MessageOptions* other) { |
| 4486 | if (other == this) return; |
| 4487 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 4488 | InternalSwap(other); |
| 4489 | } |
| 4490 | |
| 4491 | // implements Message ---------------------------------------------- |
| 4492 | |
| 4493 | MessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 4494 | return CreateMaybeMessage<MessageOptions>(arena); |
| 4495 | } |
| 4496 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 4497 | void CopyFrom(const MessageOptions& from); |
| 4498 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 4499 | void MergeFrom( const MessageOptions& from) { |
| 4500 | MessageOptions::MergeImpl(to_msg&: *this, from_msg: from); |
| 4501 | } |
| 4502 | private: |
| 4503 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 4504 | public: |
| 4505 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4506 | bool IsInitialized() const final; |
| 4507 | |
| 4508 | size_t ByteSizeLong() const final; |
| 4509 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 4510 | uint8_t* _InternalSerialize( |
| 4511 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 4512 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 4513 | |
| 4514 | private: |
| 4515 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 4516 | void SharedDtor(); |
| 4517 | void SetCachedSize(int size) const final; |
| 4518 | void InternalSwap(MessageOptions* other); |
| 4519 | |
| 4520 | private: |
| 4521 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 4522 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 4523 | return "google.protobuf.MessageOptions" ; |
| 4524 | } |
| 4525 | protected: |
| 4526 | explicit MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 4527 | bool is_message_owned = false); |
| 4528 | public: |
| 4529 | |
| 4530 | static const ClassData _class_data_; |
| 4531 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 4532 | |
| 4533 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 4534 | |
| 4535 | // nested types ---------------------------------------------------- |
| 4536 | |
| 4537 | // accessors ------------------------------------------------------- |
| 4538 | |
| 4539 | enum : int { |
| 4540 | kUninterpretedOptionFieldNumber = 999, |
| 4541 | kMessageSetWireFormatFieldNumber = 1, |
| 4542 | kNoStandardDescriptorAccessorFieldNumber = 2, |
| 4543 | kDeprecatedFieldNumber = 3, |
| 4544 | kMapEntryFieldNumber = 7, |
| 4545 | }; |
| 4546 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 4547 | int uninterpreted_option_size() const; |
| 4548 | private: |
| 4549 | int _internal_uninterpreted_option_size() const; |
| 4550 | public: |
| 4551 | void clear_uninterpreted_option(); |
| 4552 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 4553 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 4554 | mutable_uninterpreted_option(); |
| 4555 | private: |
| 4556 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
| 4557 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
| 4558 | public: |
| 4559 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
| 4560 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
| 4561 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 4562 | uninterpreted_option() const; |
| 4563 | |
| 4564 | // optional bool message_set_wire_format = 1 [default = false]; |
| 4565 | bool has_message_set_wire_format() const; |
| 4566 | private: |
| 4567 | bool _internal_has_message_set_wire_format() const; |
| 4568 | public: |
| 4569 | void clear_message_set_wire_format(); |
| 4570 | bool message_set_wire_format() const; |
| 4571 | void set_message_set_wire_format(bool value); |
| 4572 | private: |
| 4573 | bool _internal_message_set_wire_format() const; |
| 4574 | void _internal_set_message_set_wire_format(bool value); |
| 4575 | public: |
| 4576 | |
| 4577 | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
| 4578 | bool has_no_standard_descriptor_accessor() const; |
| 4579 | private: |
| 4580 | bool _internal_has_no_standard_descriptor_accessor() const; |
| 4581 | public: |
| 4582 | void clear_no_standard_descriptor_accessor(); |
| 4583 | bool no_standard_descriptor_accessor() const; |
| 4584 | void set_no_standard_descriptor_accessor(bool value); |
| 4585 | private: |
| 4586 | bool _internal_no_standard_descriptor_accessor() const; |
| 4587 | void _internal_set_no_standard_descriptor_accessor(bool value); |
| 4588 | public: |
| 4589 | |
| 4590 | // optional bool deprecated = 3 [default = false]; |
| 4591 | bool has_deprecated() const; |
| 4592 | private: |
| 4593 | bool _internal_has_deprecated() const; |
| 4594 | public: |
| 4595 | void clear_deprecated(); |
| 4596 | bool deprecated() const; |
| 4597 | void set_deprecated(bool value); |
| 4598 | private: |
| 4599 | bool _internal_deprecated() const; |
| 4600 | void _internal_set_deprecated(bool value); |
| 4601 | public: |
| 4602 | |
| 4603 | // optional bool map_entry = 7; |
| 4604 | bool has_map_entry() const; |
| 4605 | private: |
| 4606 | bool _internal_has_map_entry() const; |
| 4607 | public: |
| 4608 | void clear_map_entry(); |
| 4609 | bool map_entry() const; |
| 4610 | void set_map_entry(bool value); |
| 4611 | private: |
| 4612 | bool _internal_map_entry() const; |
| 4613 | void _internal_set_map_entry(bool value); |
| 4614 | public: |
| 4615 | |
| 4616 | |
| 4617 | template <typename _proto_TypeTraits, |
| 4618 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4619 | bool _is_packed> |
| 4620 | inline bool HasExtension( |
| 4621 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4622 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 4623 | |
| 4624 | return _impl_._extensions_.Has(number: id.number()); |
| 4625 | } |
| 4626 | |
| 4627 | template <typename _proto_TypeTraits, |
| 4628 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4629 | bool _is_packed> |
| 4630 | inline void ClearExtension( |
| 4631 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4632 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4633 | _impl_._extensions_.ClearExtension(number: id.number()); |
| 4634 | |
| 4635 | } |
| 4636 | |
| 4637 | template <typename _proto_TypeTraits, |
| 4638 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4639 | bool _is_packed> |
| 4640 | inline int ExtensionSize( |
| 4641 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4642 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 4643 | |
| 4644 | return _impl_._extensions_.ExtensionSize(number: id.number()); |
| 4645 | } |
| 4646 | |
| 4647 | template <typename _proto_TypeTraits, |
| 4648 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4649 | bool _is_packed> |
| 4650 | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| 4651 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4652 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 4653 | |
| 4654 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
| 4655 | id.default_value()); |
| 4656 | } |
| 4657 | |
| 4658 | template <typename _proto_TypeTraits, |
| 4659 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4660 | bool _is_packed> |
| 4661 | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| 4662 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4663 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4664 | |
| 4665 | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
| 4666 | &_impl_._extensions_); |
| 4667 | } |
| 4668 | |
| 4669 | template <typename _proto_TypeTraits, |
| 4670 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4671 | bool _is_packed> |
| 4672 | inline void SetExtension( |
| 4673 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4674 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4675 | typename _proto_TypeTraits::Singular::ConstType value) { |
| 4676 | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| 4677 | |
| 4678 | } |
| 4679 | |
| 4680 | template <typename _proto_TypeTraits, |
| 4681 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4682 | bool _is_packed> |
| 4683 | inline void SetAllocatedExtension( |
| 4684 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4685 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4686 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 4687 | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| 4688 | &_impl_._extensions_); |
| 4689 | |
| 4690 | } |
| 4691 | template <typename _proto_TypeTraits, |
| 4692 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4693 | bool _is_packed> |
| 4694 | inline void UnsafeArenaSetAllocatedExtension( |
| 4695 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4696 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4697 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 4698 | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| 4699 | value, &_impl_._extensions_); |
| 4700 | |
| 4701 | } |
| 4702 | template <typename _proto_TypeTraits, |
| 4703 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4704 | bool _is_packed> |
| 4705 | PROTOBUF_NODISCARD inline |
| 4706 | typename _proto_TypeTraits::Singular::MutableType |
| 4707 | ReleaseExtension( |
| 4708 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4709 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4710 | |
| 4711 | return _proto_TypeTraits::Release(id.number(), _field_type, |
| 4712 | &_impl_._extensions_); |
| 4713 | } |
| 4714 | template <typename _proto_TypeTraits, |
| 4715 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4716 | bool _is_packed> |
| 4717 | inline typename _proto_TypeTraits::Singular::MutableType |
| 4718 | UnsafeArenaReleaseExtension( |
| 4719 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4720 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4721 | |
| 4722 | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| 4723 | &_impl_._extensions_); |
| 4724 | } |
| 4725 | |
| 4726 | template <typename _proto_TypeTraits, |
| 4727 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4728 | bool _is_packed> |
| 4729 | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| 4730 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4731 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4732 | int index) const { |
| 4733 | |
| 4734 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| 4735 | } |
| 4736 | |
| 4737 | template <typename _proto_TypeTraits, |
| 4738 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4739 | bool _is_packed> |
| 4740 | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| 4741 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4742 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4743 | int index) { |
| 4744 | |
| 4745 | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| 4746 | } |
| 4747 | |
| 4748 | template <typename _proto_TypeTraits, |
| 4749 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4750 | bool _is_packed> |
| 4751 | inline void SetExtension( |
| 4752 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4753 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4754 | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| 4755 | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| 4756 | |
| 4757 | } |
| 4758 | |
| 4759 | template <typename _proto_TypeTraits, |
| 4760 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4761 | bool _is_packed> |
| 4762 | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| 4763 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4764 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4765 | typename _proto_TypeTraits::Repeated::MutableType to_add = |
| 4766 | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| 4767 | |
| 4768 | return to_add; |
| 4769 | } |
| 4770 | |
| 4771 | template <typename _proto_TypeTraits, |
| 4772 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4773 | bool _is_packed> |
| 4774 | inline void AddExtension( |
| 4775 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4776 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 4777 | typename _proto_TypeTraits::Repeated::ConstType value) { |
| 4778 | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| 4779 | &_impl_._extensions_); |
| 4780 | |
| 4781 | } |
| 4782 | |
| 4783 | template <typename _proto_TypeTraits, |
| 4784 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4785 | bool _is_packed> |
| 4786 | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| 4787 | GetRepeatedExtension( |
| 4788 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4789 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 4790 | |
| 4791 | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| 4792 | } |
| 4793 | |
| 4794 | template <typename _proto_TypeTraits, |
| 4795 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 4796 | bool _is_packed> |
| 4797 | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| 4798 | MutableRepeatedExtension( |
| 4799 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 4800 | MessageOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 4801 | |
| 4802 | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| 4803 | _is_packed, &_impl_._extensions_); |
| 4804 | } |
| 4805 | |
| 4806 | // @@protoc_insertion_point(class_scope:google.protobuf.MessageOptions) |
| 4807 | private: |
| 4808 | class _Internal; |
| 4809 | |
| 4810 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 4811 | typedef void InternalArenaConstructable_; |
| 4812 | typedef void DestructorSkippable_; |
| 4813 | struct Impl_ { |
| 4814 | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
| 4815 | |
| 4816 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 4817 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 4818 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
| 4819 | bool message_set_wire_format_; |
| 4820 | bool no_standard_descriptor_accessor_; |
| 4821 | bool deprecated_; |
| 4822 | bool map_entry_; |
| 4823 | }; |
| 4824 | union { Impl_ _impl_; }; |
| 4825 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 4826 | }; |
| 4827 | // ------------------------------------------------------------------- |
| 4828 | |
| 4829 | class PROTOBUF_EXPORT FieldOptions final : |
| 4830 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ { |
| 4831 | public: |
| 4832 | inline FieldOptions() : FieldOptions(nullptr) {} |
| 4833 | ~FieldOptions() override; |
| 4834 | explicit PROTOBUF_CONSTEXPR FieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 4835 | |
| 4836 | FieldOptions(const FieldOptions& from); |
| 4837 | FieldOptions(FieldOptions&& from) noexcept |
| 4838 | : FieldOptions() { |
| 4839 | *this = ::std::move(from); |
| 4840 | } |
| 4841 | |
| 4842 | inline FieldOptions& operator=(const FieldOptions& from) { |
| 4843 | CopyFrom(from); |
| 4844 | return *this; |
| 4845 | } |
| 4846 | inline FieldOptions& operator=(FieldOptions&& from) noexcept { |
| 4847 | if (this == &from) return *this; |
| 4848 | if (GetOwningArena() == from.GetOwningArena() |
| 4849 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 4850 | && GetOwningArena() != nullptr |
| 4851 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 4852 | ) { |
| 4853 | InternalSwap(other: &from); |
| 4854 | } else { |
| 4855 | CopyFrom(from); |
| 4856 | } |
| 4857 | return *this; |
| 4858 | } |
| 4859 | |
| 4860 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 4861 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 4862 | } |
| 4863 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 4864 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 4865 | } |
| 4866 | |
| 4867 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 4868 | return GetDescriptor(); |
| 4869 | } |
| 4870 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 4871 | return default_instance().GetMetadata().descriptor; |
| 4872 | } |
| 4873 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 4874 | return default_instance().GetMetadata().reflection; |
| 4875 | } |
| 4876 | static const FieldOptions& default_instance() { |
| 4877 | return *internal_default_instance(); |
| 4878 | } |
| 4879 | static inline const FieldOptions* internal_default_instance() { |
| 4880 | return reinterpret_cast<const FieldOptions*>( |
| 4881 | &_FieldOptions_default_instance_); |
| 4882 | } |
| 4883 | static constexpr int kIndexInFileMessages = |
| 4884 | 15; |
| 4885 | |
| 4886 | friend void swap(FieldOptions& a, FieldOptions& b) { |
| 4887 | a.Swap(other: &b); |
| 4888 | } |
| 4889 | inline void Swap(FieldOptions* other) { |
| 4890 | if (other == this) return; |
| 4891 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 4892 | if (GetOwningArena() != nullptr && |
| 4893 | GetOwningArena() == other->GetOwningArena()) { |
| 4894 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 4895 | if (GetOwningArena() == other->GetOwningArena()) { |
| 4896 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 4897 | InternalSwap(other); |
| 4898 | } else { |
| 4899 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 4900 | } |
| 4901 | } |
| 4902 | void UnsafeArenaSwap(FieldOptions* other) { |
| 4903 | if (other == this) return; |
| 4904 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 4905 | InternalSwap(other); |
| 4906 | } |
| 4907 | |
| 4908 | // implements Message ---------------------------------------------- |
| 4909 | |
| 4910 | FieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 4911 | return CreateMaybeMessage<FieldOptions>(arena); |
| 4912 | } |
| 4913 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 4914 | void CopyFrom(const FieldOptions& from); |
| 4915 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 4916 | void MergeFrom( const FieldOptions& from) { |
| 4917 | FieldOptions::MergeImpl(to_msg&: *this, from_msg: from); |
| 4918 | } |
| 4919 | private: |
| 4920 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 4921 | public: |
| 4922 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 4923 | bool IsInitialized() const final; |
| 4924 | |
| 4925 | size_t ByteSizeLong() const final; |
| 4926 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 4927 | uint8_t* _InternalSerialize( |
| 4928 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 4929 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 4930 | |
| 4931 | private: |
| 4932 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 4933 | void SharedDtor(); |
| 4934 | void SetCachedSize(int size) const final; |
| 4935 | void InternalSwap(FieldOptions* other); |
| 4936 | |
| 4937 | private: |
| 4938 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 4939 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 4940 | return "google.protobuf.FieldOptions" ; |
| 4941 | } |
| 4942 | protected: |
| 4943 | explicit FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 4944 | bool is_message_owned = false); |
| 4945 | public: |
| 4946 | |
| 4947 | static const ClassData _class_data_; |
| 4948 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 4949 | |
| 4950 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 4951 | |
| 4952 | // nested types ---------------------------------------------------- |
| 4953 | |
| 4954 | typedef FieldOptions_CType CType; |
| 4955 | static constexpr CType STRING = |
| 4956 | FieldOptions_CType_STRING; |
| 4957 | static constexpr CType CORD = |
| 4958 | FieldOptions_CType_CORD; |
| 4959 | static constexpr CType STRING_PIECE = |
| 4960 | FieldOptions_CType_STRING_PIECE; |
| 4961 | static inline bool CType_IsValid(int value) { |
| 4962 | return FieldOptions_CType_IsValid(value); |
| 4963 | } |
| 4964 | static constexpr CType CType_MIN = |
| 4965 | FieldOptions_CType_CType_MIN; |
| 4966 | static constexpr CType CType_MAX = |
| 4967 | FieldOptions_CType_CType_MAX; |
| 4968 | static constexpr int CType_ARRAYSIZE = |
| 4969 | FieldOptions_CType_CType_ARRAYSIZE; |
| 4970 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
| 4971 | CType_descriptor() { |
| 4972 | return FieldOptions_CType_descriptor(); |
| 4973 | } |
| 4974 | template<typename T> |
| 4975 | static inline const std::string& CType_Name(T enum_t_value) { |
| 4976 | static_assert(::std::is_same<T, CType>::value || |
| 4977 | ::std::is_integral<T>::value, |
| 4978 | "Incorrect type passed to function CType_Name." ); |
| 4979 | return FieldOptions_CType_Name(enum_t_value); |
| 4980 | } |
| 4981 | static inline bool CType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
| 4982 | CType* value) { |
| 4983 | return FieldOptions_CType_Parse(name, value); |
| 4984 | } |
| 4985 | |
| 4986 | typedef FieldOptions_JSType JSType; |
| 4987 | static constexpr JSType JS_NORMAL = |
| 4988 | FieldOptions_JSType_JS_NORMAL; |
| 4989 | static constexpr JSType JS_STRING = |
| 4990 | FieldOptions_JSType_JS_STRING; |
| 4991 | static constexpr JSType JS_NUMBER = |
| 4992 | FieldOptions_JSType_JS_NUMBER; |
| 4993 | static inline bool JSType_IsValid(int value) { |
| 4994 | return FieldOptions_JSType_IsValid(value); |
| 4995 | } |
| 4996 | static constexpr JSType JSType_MIN = |
| 4997 | FieldOptions_JSType_JSType_MIN; |
| 4998 | static constexpr JSType JSType_MAX = |
| 4999 | FieldOptions_JSType_JSType_MAX; |
| 5000 | static constexpr int JSType_ARRAYSIZE = |
| 5001 | FieldOptions_JSType_JSType_ARRAYSIZE; |
| 5002 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
| 5003 | JSType_descriptor() { |
| 5004 | return FieldOptions_JSType_descriptor(); |
| 5005 | } |
| 5006 | template<typename T> |
| 5007 | static inline const std::string& JSType_Name(T enum_t_value) { |
| 5008 | static_assert(::std::is_same<T, JSType>::value || |
| 5009 | ::std::is_integral<T>::value, |
| 5010 | "Incorrect type passed to function JSType_Name." ); |
| 5011 | return FieldOptions_JSType_Name(enum_t_value); |
| 5012 | } |
| 5013 | static inline bool JSType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
| 5014 | JSType* value) { |
| 5015 | return FieldOptions_JSType_Parse(name, value); |
| 5016 | } |
| 5017 | |
| 5018 | // accessors ------------------------------------------------------- |
| 5019 | |
| 5020 | enum : int { |
| 5021 | kUninterpretedOptionFieldNumber = 999, |
| 5022 | kCtypeFieldNumber = 1, |
| 5023 | kJstypeFieldNumber = 6, |
| 5024 | kPackedFieldNumber = 2, |
| 5025 | kLazyFieldNumber = 5, |
| 5026 | kUnverifiedLazyFieldNumber = 15, |
| 5027 | kDeprecatedFieldNumber = 3, |
| 5028 | kWeakFieldNumber = 10, |
| 5029 | }; |
| 5030 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 5031 | int uninterpreted_option_size() const; |
| 5032 | private: |
| 5033 | int _internal_uninterpreted_option_size() const; |
| 5034 | public: |
| 5035 | void clear_uninterpreted_option(); |
| 5036 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 5037 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 5038 | mutable_uninterpreted_option(); |
| 5039 | private: |
| 5040 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
| 5041 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
| 5042 | public: |
| 5043 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
| 5044 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
| 5045 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 5046 | uninterpreted_option() const; |
| 5047 | |
| 5048 | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
| 5049 | bool has_ctype() const; |
| 5050 | private: |
| 5051 | bool _internal_has_ctype() const; |
| 5052 | public: |
| 5053 | void clear_ctype(); |
| 5054 | ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType ctype() const; |
| 5055 | void set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value); |
| 5056 | private: |
| 5057 | ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType _internal_ctype() const; |
| 5058 | void _internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value); |
| 5059 | public: |
| 5060 | |
| 5061 | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
| 5062 | bool has_jstype() const; |
| 5063 | private: |
| 5064 | bool _internal_has_jstype() const; |
| 5065 | public: |
| 5066 | void clear_jstype(); |
| 5067 | ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType jstype() const; |
| 5068 | void set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value); |
| 5069 | private: |
| 5070 | ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType _internal_jstype() const; |
| 5071 | void _internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value); |
| 5072 | public: |
| 5073 | |
| 5074 | // optional bool packed = 2; |
| 5075 | bool has_packed() const; |
| 5076 | private: |
| 5077 | bool _internal_has_packed() const; |
| 5078 | public: |
| 5079 | void clear_packed(); |
| 5080 | bool packed() const; |
| 5081 | void set_packed(bool value); |
| 5082 | private: |
| 5083 | bool _internal_packed() const; |
| 5084 | void _internal_set_packed(bool value); |
| 5085 | public: |
| 5086 | |
| 5087 | // optional bool lazy = 5 [default = false]; |
| 5088 | bool has_lazy() const; |
| 5089 | private: |
| 5090 | bool _internal_has_lazy() const; |
| 5091 | public: |
| 5092 | void clear_lazy(); |
| 5093 | bool lazy() const; |
| 5094 | void set_lazy(bool value); |
| 5095 | private: |
| 5096 | bool _internal_lazy() const; |
| 5097 | void _internal_set_lazy(bool value); |
| 5098 | public: |
| 5099 | |
| 5100 | // optional bool unverified_lazy = 15 [default = false]; |
| 5101 | bool has_unverified_lazy() const; |
| 5102 | private: |
| 5103 | bool _internal_has_unverified_lazy() const; |
| 5104 | public: |
| 5105 | void clear_unverified_lazy(); |
| 5106 | bool unverified_lazy() const; |
| 5107 | void set_unverified_lazy(bool value); |
| 5108 | private: |
| 5109 | bool _internal_unverified_lazy() const; |
| 5110 | void _internal_set_unverified_lazy(bool value); |
| 5111 | public: |
| 5112 | |
| 5113 | // optional bool deprecated = 3 [default = false]; |
| 5114 | bool has_deprecated() const; |
| 5115 | private: |
| 5116 | bool _internal_has_deprecated() const; |
| 5117 | public: |
| 5118 | void clear_deprecated(); |
| 5119 | bool deprecated() const; |
| 5120 | void set_deprecated(bool value); |
| 5121 | private: |
| 5122 | bool _internal_deprecated() const; |
| 5123 | void _internal_set_deprecated(bool value); |
| 5124 | public: |
| 5125 | |
| 5126 | // optional bool weak = 10 [default = false]; |
| 5127 | bool has_weak() const; |
| 5128 | private: |
| 5129 | bool _internal_has_weak() const; |
| 5130 | public: |
| 5131 | void clear_weak(); |
| 5132 | bool weak() const; |
| 5133 | void set_weak(bool value); |
| 5134 | private: |
| 5135 | bool _internal_weak() const; |
| 5136 | void _internal_set_weak(bool value); |
| 5137 | public: |
| 5138 | |
| 5139 | |
| 5140 | template <typename _proto_TypeTraits, |
| 5141 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5142 | bool _is_packed> |
| 5143 | inline bool HasExtension( |
| 5144 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5145 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5146 | |
| 5147 | return _impl_._extensions_.Has(number: id.number()); |
| 5148 | } |
| 5149 | |
| 5150 | template <typename _proto_TypeTraits, |
| 5151 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5152 | bool _is_packed> |
| 5153 | inline void ClearExtension( |
| 5154 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5155 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5156 | _impl_._extensions_.ClearExtension(number: id.number()); |
| 5157 | |
| 5158 | } |
| 5159 | |
| 5160 | template <typename _proto_TypeTraits, |
| 5161 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5162 | bool _is_packed> |
| 5163 | inline int ExtensionSize( |
| 5164 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5165 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5166 | |
| 5167 | return _impl_._extensions_.ExtensionSize(number: id.number()); |
| 5168 | } |
| 5169 | |
| 5170 | template <typename _proto_TypeTraits, |
| 5171 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5172 | bool _is_packed> |
| 5173 | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| 5174 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5175 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5176 | |
| 5177 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
| 5178 | id.default_value()); |
| 5179 | } |
| 5180 | |
| 5181 | template <typename _proto_TypeTraits, |
| 5182 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5183 | bool _is_packed> |
| 5184 | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| 5185 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5186 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5187 | |
| 5188 | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
| 5189 | &_impl_._extensions_); |
| 5190 | } |
| 5191 | |
| 5192 | template <typename _proto_TypeTraits, |
| 5193 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5194 | bool _is_packed> |
| 5195 | inline void SetExtension( |
| 5196 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5197 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5198 | typename _proto_TypeTraits::Singular::ConstType value) { |
| 5199 | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| 5200 | |
| 5201 | } |
| 5202 | |
| 5203 | template <typename _proto_TypeTraits, |
| 5204 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5205 | bool _is_packed> |
| 5206 | inline void SetAllocatedExtension( |
| 5207 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5208 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5209 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 5210 | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| 5211 | &_impl_._extensions_); |
| 5212 | |
| 5213 | } |
| 5214 | template <typename _proto_TypeTraits, |
| 5215 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5216 | bool _is_packed> |
| 5217 | inline void UnsafeArenaSetAllocatedExtension( |
| 5218 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5219 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5220 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 5221 | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| 5222 | value, &_impl_._extensions_); |
| 5223 | |
| 5224 | } |
| 5225 | template <typename _proto_TypeTraits, |
| 5226 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5227 | bool _is_packed> |
| 5228 | PROTOBUF_NODISCARD inline |
| 5229 | typename _proto_TypeTraits::Singular::MutableType |
| 5230 | ReleaseExtension( |
| 5231 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5232 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5233 | |
| 5234 | return _proto_TypeTraits::Release(id.number(), _field_type, |
| 5235 | &_impl_._extensions_); |
| 5236 | } |
| 5237 | template <typename _proto_TypeTraits, |
| 5238 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5239 | bool _is_packed> |
| 5240 | inline typename _proto_TypeTraits::Singular::MutableType |
| 5241 | UnsafeArenaReleaseExtension( |
| 5242 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5243 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5244 | |
| 5245 | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| 5246 | &_impl_._extensions_); |
| 5247 | } |
| 5248 | |
| 5249 | template <typename _proto_TypeTraits, |
| 5250 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5251 | bool _is_packed> |
| 5252 | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| 5253 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5254 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5255 | int index) const { |
| 5256 | |
| 5257 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| 5258 | } |
| 5259 | |
| 5260 | template <typename _proto_TypeTraits, |
| 5261 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5262 | bool _is_packed> |
| 5263 | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| 5264 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5265 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5266 | int index) { |
| 5267 | |
| 5268 | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| 5269 | } |
| 5270 | |
| 5271 | template <typename _proto_TypeTraits, |
| 5272 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5273 | bool _is_packed> |
| 5274 | inline void SetExtension( |
| 5275 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5276 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5277 | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| 5278 | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| 5279 | |
| 5280 | } |
| 5281 | |
| 5282 | template <typename _proto_TypeTraits, |
| 5283 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5284 | bool _is_packed> |
| 5285 | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| 5286 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5287 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5288 | typename _proto_TypeTraits::Repeated::MutableType to_add = |
| 5289 | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| 5290 | |
| 5291 | return to_add; |
| 5292 | } |
| 5293 | |
| 5294 | template <typename _proto_TypeTraits, |
| 5295 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5296 | bool _is_packed> |
| 5297 | inline void AddExtension( |
| 5298 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5299 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5300 | typename _proto_TypeTraits::Repeated::ConstType value) { |
| 5301 | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| 5302 | &_impl_._extensions_); |
| 5303 | |
| 5304 | } |
| 5305 | |
| 5306 | template <typename _proto_TypeTraits, |
| 5307 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5308 | bool _is_packed> |
| 5309 | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| 5310 | GetRepeatedExtension( |
| 5311 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5312 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5313 | |
| 5314 | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| 5315 | } |
| 5316 | |
| 5317 | template <typename _proto_TypeTraits, |
| 5318 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5319 | bool _is_packed> |
| 5320 | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| 5321 | MutableRepeatedExtension( |
| 5322 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5323 | FieldOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5324 | |
| 5325 | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| 5326 | _is_packed, &_impl_._extensions_); |
| 5327 | } |
| 5328 | |
| 5329 | // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions) |
| 5330 | private: |
| 5331 | class _Internal; |
| 5332 | |
| 5333 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 5334 | typedef void InternalArenaConstructable_; |
| 5335 | typedef void DestructorSkippable_; |
| 5336 | struct Impl_ { |
| 5337 | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
| 5338 | |
| 5339 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 5340 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 5341 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
| 5342 | int ctype_; |
| 5343 | int jstype_; |
| 5344 | bool packed_; |
| 5345 | bool lazy_; |
| 5346 | bool unverified_lazy_; |
| 5347 | bool deprecated_; |
| 5348 | bool weak_; |
| 5349 | }; |
| 5350 | union { Impl_ _impl_; }; |
| 5351 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 5352 | }; |
| 5353 | // ------------------------------------------------------------------- |
| 5354 | |
| 5355 | class PROTOBUF_EXPORT OneofOptions final : |
| 5356 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ { |
| 5357 | public: |
| 5358 | inline OneofOptions() : OneofOptions(nullptr) {} |
| 5359 | ~OneofOptions() override; |
| 5360 | explicit PROTOBUF_CONSTEXPR OneofOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 5361 | |
| 5362 | OneofOptions(const OneofOptions& from); |
| 5363 | OneofOptions(OneofOptions&& from) noexcept |
| 5364 | : OneofOptions() { |
| 5365 | *this = ::std::move(from); |
| 5366 | } |
| 5367 | |
| 5368 | inline OneofOptions& operator=(const OneofOptions& from) { |
| 5369 | CopyFrom(from); |
| 5370 | return *this; |
| 5371 | } |
| 5372 | inline OneofOptions& operator=(OneofOptions&& from) noexcept { |
| 5373 | if (this == &from) return *this; |
| 5374 | if (GetOwningArena() == from.GetOwningArena() |
| 5375 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 5376 | && GetOwningArena() != nullptr |
| 5377 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 5378 | ) { |
| 5379 | InternalSwap(other: &from); |
| 5380 | } else { |
| 5381 | CopyFrom(from); |
| 5382 | } |
| 5383 | return *this; |
| 5384 | } |
| 5385 | |
| 5386 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 5387 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 5388 | } |
| 5389 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 5390 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 5391 | } |
| 5392 | |
| 5393 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 5394 | return GetDescriptor(); |
| 5395 | } |
| 5396 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 5397 | return default_instance().GetMetadata().descriptor; |
| 5398 | } |
| 5399 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 5400 | return default_instance().GetMetadata().reflection; |
| 5401 | } |
| 5402 | static const OneofOptions& default_instance() { |
| 5403 | return *internal_default_instance(); |
| 5404 | } |
| 5405 | static inline const OneofOptions* internal_default_instance() { |
| 5406 | return reinterpret_cast<const OneofOptions*>( |
| 5407 | &_OneofOptions_default_instance_); |
| 5408 | } |
| 5409 | static constexpr int kIndexInFileMessages = |
| 5410 | 16; |
| 5411 | |
| 5412 | friend void swap(OneofOptions& a, OneofOptions& b) { |
| 5413 | a.Swap(other: &b); |
| 5414 | } |
| 5415 | inline void Swap(OneofOptions* other) { |
| 5416 | if (other == this) return; |
| 5417 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 5418 | if (GetOwningArena() != nullptr && |
| 5419 | GetOwningArena() == other->GetOwningArena()) { |
| 5420 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 5421 | if (GetOwningArena() == other->GetOwningArena()) { |
| 5422 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 5423 | InternalSwap(other); |
| 5424 | } else { |
| 5425 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 5426 | } |
| 5427 | } |
| 5428 | void UnsafeArenaSwap(OneofOptions* other) { |
| 5429 | if (other == this) return; |
| 5430 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 5431 | InternalSwap(other); |
| 5432 | } |
| 5433 | |
| 5434 | // implements Message ---------------------------------------------- |
| 5435 | |
| 5436 | OneofOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 5437 | return CreateMaybeMessage<OneofOptions>(arena); |
| 5438 | } |
| 5439 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 5440 | void CopyFrom(const OneofOptions& from); |
| 5441 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 5442 | void MergeFrom( const OneofOptions& from) { |
| 5443 | OneofOptions::MergeImpl(to_msg&: *this, from_msg: from); |
| 5444 | } |
| 5445 | private: |
| 5446 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 5447 | public: |
| 5448 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 5449 | bool IsInitialized() const final; |
| 5450 | |
| 5451 | size_t ByteSizeLong() const final; |
| 5452 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 5453 | uint8_t* _InternalSerialize( |
| 5454 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 5455 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 5456 | |
| 5457 | private: |
| 5458 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 5459 | void SharedDtor(); |
| 5460 | void SetCachedSize(int size) const final; |
| 5461 | void InternalSwap(OneofOptions* other); |
| 5462 | |
| 5463 | private: |
| 5464 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 5465 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 5466 | return "google.protobuf.OneofOptions" ; |
| 5467 | } |
| 5468 | protected: |
| 5469 | explicit OneofOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 5470 | bool is_message_owned = false); |
| 5471 | public: |
| 5472 | |
| 5473 | static const ClassData _class_data_; |
| 5474 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 5475 | |
| 5476 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 5477 | |
| 5478 | // nested types ---------------------------------------------------- |
| 5479 | |
| 5480 | // accessors ------------------------------------------------------- |
| 5481 | |
| 5482 | enum : int { |
| 5483 | kUninterpretedOptionFieldNumber = 999, |
| 5484 | }; |
| 5485 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 5486 | int uninterpreted_option_size() const; |
| 5487 | private: |
| 5488 | int _internal_uninterpreted_option_size() const; |
| 5489 | public: |
| 5490 | void clear_uninterpreted_option(); |
| 5491 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 5492 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 5493 | mutable_uninterpreted_option(); |
| 5494 | private: |
| 5495 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
| 5496 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
| 5497 | public: |
| 5498 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
| 5499 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
| 5500 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 5501 | uninterpreted_option() const; |
| 5502 | |
| 5503 | |
| 5504 | template <typename _proto_TypeTraits, |
| 5505 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5506 | bool _is_packed> |
| 5507 | inline bool HasExtension( |
| 5508 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5509 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5510 | |
| 5511 | return _impl_._extensions_.Has(number: id.number()); |
| 5512 | } |
| 5513 | |
| 5514 | template <typename _proto_TypeTraits, |
| 5515 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5516 | bool _is_packed> |
| 5517 | inline void ClearExtension( |
| 5518 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5519 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5520 | _impl_._extensions_.ClearExtension(number: id.number()); |
| 5521 | |
| 5522 | } |
| 5523 | |
| 5524 | template <typename _proto_TypeTraits, |
| 5525 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5526 | bool _is_packed> |
| 5527 | inline int ExtensionSize( |
| 5528 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5529 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5530 | |
| 5531 | return _impl_._extensions_.ExtensionSize(number: id.number()); |
| 5532 | } |
| 5533 | |
| 5534 | template <typename _proto_TypeTraits, |
| 5535 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5536 | bool _is_packed> |
| 5537 | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| 5538 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5539 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5540 | |
| 5541 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
| 5542 | id.default_value()); |
| 5543 | } |
| 5544 | |
| 5545 | template <typename _proto_TypeTraits, |
| 5546 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5547 | bool _is_packed> |
| 5548 | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| 5549 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5550 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5551 | |
| 5552 | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
| 5553 | &_impl_._extensions_); |
| 5554 | } |
| 5555 | |
| 5556 | template <typename _proto_TypeTraits, |
| 5557 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5558 | bool _is_packed> |
| 5559 | inline void SetExtension( |
| 5560 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5561 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5562 | typename _proto_TypeTraits::Singular::ConstType value) { |
| 5563 | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| 5564 | |
| 5565 | } |
| 5566 | |
| 5567 | template <typename _proto_TypeTraits, |
| 5568 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5569 | bool _is_packed> |
| 5570 | inline void SetAllocatedExtension( |
| 5571 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5572 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5573 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 5574 | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| 5575 | &_impl_._extensions_); |
| 5576 | |
| 5577 | } |
| 5578 | template <typename _proto_TypeTraits, |
| 5579 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5580 | bool _is_packed> |
| 5581 | inline void UnsafeArenaSetAllocatedExtension( |
| 5582 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5583 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5584 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 5585 | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| 5586 | value, &_impl_._extensions_); |
| 5587 | |
| 5588 | } |
| 5589 | template <typename _proto_TypeTraits, |
| 5590 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5591 | bool _is_packed> |
| 5592 | PROTOBUF_NODISCARD inline |
| 5593 | typename _proto_TypeTraits::Singular::MutableType |
| 5594 | ReleaseExtension( |
| 5595 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5596 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5597 | |
| 5598 | return _proto_TypeTraits::Release(id.number(), _field_type, |
| 5599 | &_impl_._extensions_); |
| 5600 | } |
| 5601 | template <typename _proto_TypeTraits, |
| 5602 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5603 | bool _is_packed> |
| 5604 | inline typename _proto_TypeTraits::Singular::MutableType |
| 5605 | UnsafeArenaReleaseExtension( |
| 5606 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5607 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5608 | |
| 5609 | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| 5610 | &_impl_._extensions_); |
| 5611 | } |
| 5612 | |
| 5613 | template <typename _proto_TypeTraits, |
| 5614 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5615 | bool _is_packed> |
| 5616 | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| 5617 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5618 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5619 | int index) const { |
| 5620 | |
| 5621 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| 5622 | } |
| 5623 | |
| 5624 | template <typename _proto_TypeTraits, |
| 5625 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5626 | bool _is_packed> |
| 5627 | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| 5628 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5629 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5630 | int index) { |
| 5631 | |
| 5632 | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| 5633 | } |
| 5634 | |
| 5635 | template <typename _proto_TypeTraits, |
| 5636 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5637 | bool _is_packed> |
| 5638 | inline void SetExtension( |
| 5639 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5640 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5641 | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| 5642 | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| 5643 | |
| 5644 | } |
| 5645 | |
| 5646 | template <typename _proto_TypeTraits, |
| 5647 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5648 | bool _is_packed> |
| 5649 | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| 5650 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5651 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5652 | typename _proto_TypeTraits::Repeated::MutableType to_add = |
| 5653 | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| 5654 | |
| 5655 | return to_add; |
| 5656 | } |
| 5657 | |
| 5658 | template <typename _proto_TypeTraits, |
| 5659 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5660 | bool _is_packed> |
| 5661 | inline void AddExtension( |
| 5662 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5663 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5664 | typename _proto_TypeTraits::Repeated::ConstType value) { |
| 5665 | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| 5666 | &_impl_._extensions_); |
| 5667 | |
| 5668 | } |
| 5669 | |
| 5670 | template <typename _proto_TypeTraits, |
| 5671 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5672 | bool _is_packed> |
| 5673 | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| 5674 | GetRepeatedExtension( |
| 5675 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5676 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5677 | |
| 5678 | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| 5679 | } |
| 5680 | |
| 5681 | template <typename _proto_TypeTraits, |
| 5682 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5683 | bool _is_packed> |
| 5684 | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| 5685 | MutableRepeatedExtension( |
| 5686 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5687 | OneofOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5688 | |
| 5689 | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| 5690 | _is_packed, &_impl_._extensions_); |
| 5691 | } |
| 5692 | |
| 5693 | // @@protoc_insertion_point(class_scope:google.protobuf.OneofOptions) |
| 5694 | private: |
| 5695 | class _Internal; |
| 5696 | |
| 5697 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 5698 | typedef void InternalArenaConstructable_; |
| 5699 | typedef void DestructorSkippable_; |
| 5700 | struct Impl_ { |
| 5701 | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
| 5702 | |
| 5703 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
| 5704 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 5705 | }; |
| 5706 | union { Impl_ _impl_; }; |
| 5707 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 5708 | }; |
| 5709 | // ------------------------------------------------------------------- |
| 5710 | |
| 5711 | class PROTOBUF_EXPORT EnumOptions final : |
| 5712 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ { |
| 5713 | public: |
| 5714 | inline EnumOptions() : EnumOptions(nullptr) {} |
| 5715 | ~EnumOptions() override; |
| 5716 | explicit PROTOBUF_CONSTEXPR EnumOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 5717 | |
| 5718 | EnumOptions(const EnumOptions& from); |
| 5719 | EnumOptions(EnumOptions&& from) noexcept |
| 5720 | : EnumOptions() { |
| 5721 | *this = ::std::move(from); |
| 5722 | } |
| 5723 | |
| 5724 | inline EnumOptions& operator=(const EnumOptions& from) { |
| 5725 | CopyFrom(from); |
| 5726 | return *this; |
| 5727 | } |
| 5728 | inline EnumOptions& operator=(EnumOptions&& from) noexcept { |
| 5729 | if (this == &from) return *this; |
| 5730 | if (GetOwningArena() == from.GetOwningArena() |
| 5731 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 5732 | && GetOwningArena() != nullptr |
| 5733 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 5734 | ) { |
| 5735 | InternalSwap(other: &from); |
| 5736 | } else { |
| 5737 | CopyFrom(from); |
| 5738 | } |
| 5739 | return *this; |
| 5740 | } |
| 5741 | |
| 5742 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 5743 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 5744 | } |
| 5745 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 5746 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 5747 | } |
| 5748 | |
| 5749 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 5750 | return GetDescriptor(); |
| 5751 | } |
| 5752 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 5753 | return default_instance().GetMetadata().descriptor; |
| 5754 | } |
| 5755 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 5756 | return default_instance().GetMetadata().reflection; |
| 5757 | } |
| 5758 | static const EnumOptions& default_instance() { |
| 5759 | return *internal_default_instance(); |
| 5760 | } |
| 5761 | static inline const EnumOptions* internal_default_instance() { |
| 5762 | return reinterpret_cast<const EnumOptions*>( |
| 5763 | &_EnumOptions_default_instance_); |
| 5764 | } |
| 5765 | static constexpr int kIndexInFileMessages = |
| 5766 | 17; |
| 5767 | |
| 5768 | friend void swap(EnumOptions& a, EnumOptions& b) { |
| 5769 | a.Swap(other: &b); |
| 5770 | } |
| 5771 | inline void Swap(EnumOptions* other) { |
| 5772 | if (other == this) return; |
| 5773 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 5774 | if (GetOwningArena() != nullptr && |
| 5775 | GetOwningArena() == other->GetOwningArena()) { |
| 5776 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 5777 | if (GetOwningArena() == other->GetOwningArena()) { |
| 5778 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 5779 | InternalSwap(other); |
| 5780 | } else { |
| 5781 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 5782 | } |
| 5783 | } |
| 5784 | void UnsafeArenaSwap(EnumOptions* other) { |
| 5785 | if (other == this) return; |
| 5786 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 5787 | InternalSwap(other); |
| 5788 | } |
| 5789 | |
| 5790 | // implements Message ---------------------------------------------- |
| 5791 | |
| 5792 | EnumOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 5793 | return CreateMaybeMessage<EnumOptions>(arena); |
| 5794 | } |
| 5795 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 5796 | void CopyFrom(const EnumOptions& from); |
| 5797 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 5798 | void MergeFrom( const EnumOptions& from) { |
| 5799 | EnumOptions::MergeImpl(to_msg&: *this, from_msg: from); |
| 5800 | } |
| 5801 | private: |
| 5802 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 5803 | public: |
| 5804 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 5805 | bool IsInitialized() const final; |
| 5806 | |
| 5807 | size_t ByteSizeLong() const final; |
| 5808 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 5809 | uint8_t* _InternalSerialize( |
| 5810 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 5811 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 5812 | |
| 5813 | private: |
| 5814 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 5815 | void SharedDtor(); |
| 5816 | void SetCachedSize(int size) const final; |
| 5817 | void InternalSwap(EnumOptions* other); |
| 5818 | |
| 5819 | private: |
| 5820 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 5821 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 5822 | return "google.protobuf.EnumOptions" ; |
| 5823 | } |
| 5824 | protected: |
| 5825 | explicit EnumOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 5826 | bool is_message_owned = false); |
| 5827 | public: |
| 5828 | |
| 5829 | static const ClassData _class_data_; |
| 5830 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 5831 | |
| 5832 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 5833 | |
| 5834 | // nested types ---------------------------------------------------- |
| 5835 | |
| 5836 | // accessors ------------------------------------------------------- |
| 5837 | |
| 5838 | enum : int { |
| 5839 | kUninterpretedOptionFieldNumber = 999, |
| 5840 | kAllowAliasFieldNumber = 2, |
| 5841 | kDeprecatedFieldNumber = 3, |
| 5842 | }; |
| 5843 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 5844 | int uninterpreted_option_size() const; |
| 5845 | private: |
| 5846 | int _internal_uninterpreted_option_size() const; |
| 5847 | public: |
| 5848 | void clear_uninterpreted_option(); |
| 5849 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 5850 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 5851 | mutable_uninterpreted_option(); |
| 5852 | private: |
| 5853 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
| 5854 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
| 5855 | public: |
| 5856 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
| 5857 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
| 5858 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 5859 | uninterpreted_option() const; |
| 5860 | |
| 5861 | // optional bool allow_alias = 2; |
| 5862 | bool has_allow_alias() const; |
| 5863 | private: |
| 5864 | bool _internal_has_allow_alias() const; |
| 5865 | public: |
| 5866 | void clear_allow_alias(); |
| 5867 | bool allow_alias() const; |
| 5868 | void set_allow_alias(bool value); |
| 5869 | private: |
| 5870 | bool _internal_allow_alias() const; |
| 5871 | void _internal_set_allow_alias(bool value); |
| 5872 | public: |
| 5873 | |
| 5874 | // optional bool deprecated = 3 [default = false]; |
| 5875 | bool has_deprecated() const; |
| 5876 | private: |
| 5877 | bool _internal_has_deprecated() const; |
| 5878 | public: |
| 5879 | void clear_deprecated(); |
| 5880 | bool deprecated() const; |
| 5881 | void set_deprecated(bool value); |
| 5882 | private: |
| 5883 | bool _internal_deprecated() const; |
| 5884 | void _internal_set_deprecated(bool value); |
| 5885 | public: |
| 5886 | |
| 5887 | |
| 5888 | template <typename _proto_TypeTraits, |
| 5889 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5890 | bool _is_packed> |
| 5891 | inline bool HasExtension( |
| 5892 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5893 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5894 | |
| 5895 | return _impl_._extensions_.Has(number: id.number()); |
| 5896 | } |
| 5897 | |
| 5898 | template <typename _proto_TypeTraits, |
| 5899 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5900 | bool _is_packed> |
| 5901 | inline void ClearExtension( |
| 5902 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5903 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5904 | _impl_._extensions_.ClearExtension(number: id.number()); |
| 5905 | |
| 5906 | } |
| 5907 | |
| 5908 | template <typename _proto_TypeTraits, |
| 5909 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5910 | bool _is_packed> |
| 5911 | inline int ExtensionSize( |
| 5912 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5913 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5914 | |
| 5915 | return _impl_._extensions_.ExtensionSize(number: id.number()); |
| 5916 | } |
| 5917 | |
| 5918 | template <typename _proto_TypeTraits, |
| 5919 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5920 | bool _is_packed> |
| 5921 | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| 5922 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5923 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 5924 | |
| 5925 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
| 5926 | id.default_value()); |
| 5927 | } |
| 5928 | |
| 5929 | template <typename _proto_TypeTraits, |
| 5930 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5931 | bool _is_packed> |
| 5932 | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| 5933 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5934 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5935 | |
| 5936 | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
| 5937 | &_impl_._extensions_); |
| 5938 | } |
| 5939 | |
| 5940 | template <typename _proto_TypeTraits, |
| 5941 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5942 | bool _is_packed> |
| 5943 | inline void SetExtension( |
| 5944 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5945 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5946 | typename _proto_TypeTraits::Singular::ConstType value) { |
| 5947 | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| 5948 | |
| 5949 | } |
| 5950 | |
| 5951 | template <typename _proto_TypeTraits, |
| 5952 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5953 | bool _is_packed> |
| 5954 | inline void SetAllocatedExtension( |
| 5955 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5956 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5957 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 5958 | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| 5959 | &_impl_._extensions_); |
| 5960 | |
| 5961 | } |
| 5962 | template <typename _proto_TypeTraits, |
| 5963 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5964 | bool _is_packed> |
| 5965 | inline void UnsafeArenaSetAllocatedExtension( |
| 5966 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5967 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 5968 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 5969 | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| 5970 | value, &_impl_._extensions_); |
| 5971 | |
| 5972 | } |
| 5973 | template <typename _proto_TypeTraits, |
| 5974 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5975 | bool _is_packed> |
| 5976 | PROTOBUF_NODISCARD inline |
| 5977 | typename _proto_TypeTraits::Singular::MutableType |
| 5978 | ReleaseExtension( |
| 5979 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5980 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5981 | |
| 5982 | return _proto_TypeTraits::Release(id.number(), _field_type, |
| 5983 | &_impl_._extensions_); |
| 5984 | } |
| 5985 | template <typename _proto_TypeTraits, |
| 5986 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5987 | bool _is_packed> |
| 5988 | inline typename _proto_TypeTraits::Singular::MutableType |
| 5989 | UnsafeArenaReleaseExtension( |
| 5990 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 5991 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 5992 | |
| 5993 | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| 5994 | &_impl_._extensions_); |
| 5995 | } |
| 5996 | |
| 5997 | template <typename _proto_TypeTraits, |
| 5998 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 5999 | bool _is_packed> |
| 6000 | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| 6001 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6002 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6003 | int index) const { |
| 6004 | |
| 6005 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| 6006 | } |
| 6007 | |
| 6008 | template <typename _proto_TypeTraits, |
| 6009 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6010 | bool _is_packed> |
| 6011 | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| 6012 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6013 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6014 | int index) { |
| 6015 | |
| 6016 | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| 6017 | } |
| 6018 | |
| 6019 | template <typename _proto_TypeTraits, |
| 6020 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6021 | bool _is_packed> |
| 6022 | inline void SetExtension( |
| 6023 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6024 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6025 | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| 6026 | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| 6027 | |
| 6028 | } |
| 6029 | |
| 6030 | template <typename _proto_TypeTraits, |
| 6031 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6032 | bool _is_packed> |
| 6033 | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| 6034 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6035 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6036 | typename _proto_TypeTraits::Repeated::MutableType to_add = |
| 6037 | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| 6038 | |
| 6039 | return to_add; |
| 6040 | } |
| 6041 | |
| 6042 | template <typename _proto_TypeTraits, |
| 6043 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6044 | bool _is_packed> |
| 6045 | inline void AddExtension( |
| 6046 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6047 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6048 | typename _proto_TypeTraits::Repeated::ConstType value) { |
| 6049 | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| 6050 | &_impl_._extensions_); |
| 6051 | |
| 6052 | } |
| 6053 | |
| 6054 | template <typename _proto_TypeTraits, |
| 6055 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6056 | bool _is_packed> |
| 6057 | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| 6058 | GetRepeatedExtension( |
| 6059 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6060 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 6061 | |
| 6062 | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| 6063 | } |
| 6064 | |
| 6065 | template <typename _proto_TypeTraits, |
| 6066 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6067 | bool _is_packed> |
| 6068 | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| 6069 | MutableRepeatedExtension( |
| 6070 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6071 | EnumOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6072 | |
| 6073 | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| 6074 | _is_packed, &_impl_._extensions_); |
| 6075 | } |
| 6076 | |
| 6077 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumOptions) |
| 6078 | private: |
| 6079 | class _Internal; |
| 6080 | |
| 6081 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 6082 | typedef void InternalArenaConstructable_; |
| 6083 | typedef void DestructorSkippable_; |
| 6084 | struct Impl_ { |
| 6085 | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
| 6086 | |
| 6087 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 6088 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 6089 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
| 6090 | bool allow_alias_; |
| 6091 | bool deprecated_; |
| 6092 | }; |
| 6093 | union { Impl_ _impl_; }; |
| 6094 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 6095 | }; |
| 6096 | // ------------------------------------------------------------------- |
| 6097 | |
| 6098 | class PROTOBUF_EXPORT EnumValueOptions final : |
| 6099 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ { |
| 6100 | public: |
| 6101 | inline EnumValueOptions() : EnumValueOptions(nullptr) {} |
| 6102 | ~EnumValueOptions() override; |
| 6103 | explicit PROTOBUF_CONSTEXPR EnumValueOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 6104 | |
| 6105 | EnumValueOptions(const EnumValueOptions& from); |
| 6106 | EnumValueOptions(EnumValueOptions&& from) noexcept |
| 6107 | : EnumValueOptions() { |
| 6108 | *this = ::std::move(from); |
| 6109 | } |
| 6110 | |
| 6111 | inline EnumValueOptions& operator=(const EnumValueOptions& from) { |
| 6112 | CopyFrom(from); |
| 6113 | return *this; |
| 6114 | } |
| 6115 | inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept { |
| 6116 | if (this == &from) return *this; |
| 6117 | if (GetOwningArena() == from.GetOwningArena() |
| 6118 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 6119 | && GetOwningArena() != nullptr |
| 6120 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 6121 | ) { |
| 6122 | InternalSwap(other: &from); |
| 6123 | } else { |
| 6124 | CopyFrom(from); |
| 6125 | } |
| 6126 | return *this; |
| 6127 | } |
| 6128 | |
| 6129 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 6130 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 6131 | } |
| 6132 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 6133 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 6134 | } |
| 6135 | |
| 6136 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 6137 | return GetDescriptor(); |
| 6138 | } |
| 6139 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 6140 | return default_instance().GetMetadata().descriptor; |
| 6141 | } |
| 6142 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 6143 | return default_instance().GetMetadata().reflection; |
| 6144 | } |
| 6145 | static const EnumValueOptions& default_instance() { |
| 6146 | return *internal_default_instance(); |
| 6147 | } |
| 6148 | static inline const EnumValueOptions* internal_default_instance() { |
| 6149 | return reinterpret_cast<const EnumValueOptions*>( |
| 6150 | &_EnumValueOptions_default_instance_); |
| 6151 | } |
| 6152 | static constexpr int kIndexInFileMessages = |
| 6153 | 18; |
| 6154 | |
| 6155 | friend void swap(EnumValueOptions& a, EnumValueOptions& b) { |
| 6156 | a.Swap(other: &b); |
| 6157 | } |
| 6158 | inline void Swap(EnumValueOptions* other) { |
| 6159 | if (other == this) return; |
| 6160 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 6161 | if (GetOwningArena() != nullptr && |
| 6162 | GetOwningArena() == other->GetOwningArena()) { |
| 6163 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 6164 | if (GetOwningArena() == other->GetOwningArena()) { |
| 6165 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 6166 | InternalSwap(other); |
| 6167 | } else { |
| 6168 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 6169 | } |
| 6170 | } |
| 6171 | void UnsafeArenaSwap(EnumValueOptions* other) { |
| 6172 | if (other == this) return; |
| 6173 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 6174 | InternalSwap(other); |
| 6175 | } |
| 6176 | |
| 6177 | // implements Message ---------------------------------------------- |
| 6178 | |
| 6179 | EnumValueOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 6180 | return CreateMaybeMessage<EnumValueOptions>(arena); |
| 6181 | } |
| 6182 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 6183 | void CopyFrom(const EnumValueOptions& from); |
| 6184 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 6185 | void MergeFrom( const EnumValueOptions& from) { |
| 6186 | EnumValueOptions::MergeImpl(to_msg&: *this, from_msg: from); |
| 6187 | } |
| 6188 | private: |
| 6189 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 6190 | public: |
| 6191 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 6192 | bool IsInitialized() const final; |
| 6193 | |
| 6194 | size_t ByteSizeLong() const final; |
| 6195 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 6196 | uint8_t* _InternalSerialize( |
| 6197 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 6198 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 6199 | |
| 6200 | private: |
| 6201 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 6202 | void SharedDtor(); |
| 6203 | void SetCachedSize(int size) const final; |
| 6204 | void InternalSwap(EnumValueOptions* other); |
| 6205 | |
| 6206 | private: |
| 6207 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 6208 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 6209 | return "google.protobuf.EnumValueOptions" ; |
| 6210 | } |
| 6211 | protected: |
| 6212 | explicit EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 6213 | bool is_message_owned = false); |
| 6214 | public: |
| 6215 | |
| 6216 | static const ClassData _class_data_; |
| 6217 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 6218 | |
| 6219 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 6220 | |
| 6221 | // nested types ---------------------------------------------------- |
| 6222 | |
| 6223 | // accessors ------------------------------------------------------- |
| 6224 | |
| 6225 | enum : int { |
| 6226 | kUninterpretedOptionFieldNumber = 999, |
| 6227 | kDeprecatedFieldNumber = 1, |
| 6228 | }; |
| 6229 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 6230 | int uninterpreted_option_size() const; |
| 6231 | private: |
| 6232 | int _internal_uninterpreted_option_size() const; |
| 6233 | public: |
| 6234 | void clear_uninterpreted_option(); |
| 6235 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 6236 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 6237 | mutable_uninterpreted_option(); |
| 6238 | private: |
| 6239 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
| 6240 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
| 6241 | public: |
| 6242 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
| 6243 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
| 6244 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 6245 | uninterpreted_option() const; |
| 6246 | |
| 6247 | // optional bool deprecated = 1 [default = false]; |
| 6248 | bool has_deprecated() const; |
| 6249 | private: |
| 6250 | bool _internal_has_deprecated() const; |
| 6251 | public: |
| 6252 | void clear_deprecated(); |
| 6253 | bool deprecated() const; |
| 6254 | void set_deprecated(bool value); |
| 6255 | private: |
| 6256 | bool _internal_deprecated() const; |
| 6257 | void _internal_set_deprecated(bool value); |
| 6258 | public: |
| 6259 | |
| 6260 | |
| 6261 | template <typename _proto_TypeTraits, |
| 6262 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6263 | bool _is_packed> |
| 6264 | inline bool HasExtension( |
| 6265 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6266 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 6267 | |
| 6268 | return _impl_._extensions_.Has(number: id.number()); |
| 6269 | } |
| 6270 | |
| 6271 | template <typename _proto_TypeTraits, |
| 6272 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6273 | bool _is_packed> |
| 6274 | inline void ClearExtension( |
| 6275 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6276 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6277 | _impl_._extensions_.ClearExtension(number: id.number()); |
| 6278 | |
| 6279 | } |
| 6280 | |
| 6281 | template <typename _proto_TypeTraits, |
| 6282 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6283 | bool _is_packed> |
| 6284 | inline int ExtensionSize( |
| 6285 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6286 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 6287 | |
| 6288 | return _impl_._extensions_.ExtensionSize(number: id.number()); |
| 6289 | } |
| 6290 | |
| 6291 | template <typename _proto_TypeTraits, |
| 6292 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6293 | bool _is_packed> |
| 6294 | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| 6295 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6296 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 6297 | |
| 6298 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
| 6299 | id.default_value()); |
| 6300 | } |
| 6301 | |
| 6302 | template <typename _proto_TypeTraits, |
| 6303 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6304 | bool _is_packed> |
| 6305 | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| 6306 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6307 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6308 | |
| 6309 | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
| 6310 | &_impl_._extensions_); |
| 6311 | } |
| 6312 | |
| 6313 | template <typename _proto_TypeTraits, |
| 6314 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6315 | bool _is_packed> |
| 6316 | inline void SetExtension( |
| 6317 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6318 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6319 | typename _proto_TypeTraits::Singular::ConstType value) { |
| 6320 | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| 6321 | |
| 6322 | } |
| 6323 | |
| 6324 | template <typename _proto_TypeTraits, |
| 6325 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6326 | bool _is_packed> |
| 6327 | inline void SetAllocatedExtension( |
| 6328 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6329 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6330 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 6331 | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| 6332 | &_impl_._extensions_); |
| 6333 | |
| 6334 | } |
| 6335 | template <typename _proto_TypeTraits, |
| 6336 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6337 | bool _is_packed> |
| 6338 | inline void UnsafeArenaSetAllocatedExtension( |
| 6339 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6340 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6341 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 6342 | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| 6343 | value, &_impl_._extensions_); |
| 6344 | |
| 6345 | } |
| 6346 | template <typename _proto_TypeTraits, |
| 6347 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6348 | bool _is_packed> |
| 6349 | PROTOBUF_NODISCARD inline |
| 6350 | typename _proto_TypeTraits::Singular::MutableType |
| 6351 | ReleaseExtension( |
| 6352 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6353 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6354 | |
| 6355 | return _proto_TypeTraits::Release(id.number(), _field_type, |
| 6356 | &_impl_._extensions_); |
| 6357 | } |
| 6358 | template <typename _proto_TypeTraits, |
| 6359 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6360 | bool _is_packed> |
| 6361 | inline typename _proto_TypeTraits::Singular::MutableType |
| 6362 | UnsafeArenaReleaseExtension( |
| 6363 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6364 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6365 | |
| 6366 | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| 6367 | &_impl_._extensions_); |
| 6368 | } |
| 6369 | |
| 6370 | template <typename _proto_TypeTraits, |
| 6371 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6372 | bool _is_packed> |
| 6373 | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| 6374 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6375 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6376 | int index) const { |
| 6377 | |
| 6378 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| 6379 | } |
| 6380 | |
| 6381 | template <typename _proto_TypeTraits, |
| 6382 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6383 | bool _is_packed> |
| 6384 | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| 6385 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6386 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6387 | int index) { |
| 6388 | |
| 6389 | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| 6390 | } |
| 6391 | |
| 6392 | template <typename _proto_TypeTraits, |
| 6393 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6394 | bool _is_packed> |
| 6395 | inline void SetExtension( |
| 6396 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6397 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6398 | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| 6399 | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| 6400 | |
| 6401 | } |
| 6402 | |
| 6403 | template <typename _proto_TypeTraits, |
| 6404 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6405 | bool _is_packed> |
| 6406 | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| 6407 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6408 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6409 | typename _proto_TypeTraits::Repeated::MutableType to_add = |
| 6410 | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| 6411 | |
| 6412 | return to_add; |
| 6413 | } |
| 6414 | |
| 6415 | template <typename _proto_TypeTraits, |
| 6416 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6417 | bool _is_packed> |
| 6418 | inline void AddExtension( |
| 6419 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6420 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6421 | typename _proto_TypeTraits::Repeated::ConstType value) { |
| 6422 | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| 6423 | &_impl_._extensions_); |
| 6424 | |
| 6425 | } |
| 6426 | |
| 6427 | template <typename _proto_TypeTraits, |
| 6428 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6429 | bool _is_packed> |
| 6430 | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| 6431 | GetRepeatedExtension( |
| 6432 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6433 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 6434 | |
| 6435 | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| 6436 | } |
| 6437 | |
| 6438 | template <typename _proto_TypeTraits, |
| 6439 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6440 | bool _is_packed> |
| 6441 | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| 6442 | MutableRepeatedExtension( |
| 6443 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6444 | EnumValueOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6445 | |
| 6446 | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| 6447 | _is_packed, &_impl_._extensions_); |
| 6448 | } |
| 6449 | |
| 6450 | // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueOptions) |
| 6451 | private: |
| 6452 | class _Internal; |
| 6453 | |
| 6454 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 6455 | typedef void InternalArenaConstructable_; |
| 6456 | typedef void DestructorSkippable_; |
| 6457 | struct Impl_ { |
| 6458 | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
| 6459 | |
| 6460 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 6461 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 6462 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
| 6463 | bool deprecated_; |
| 6464 | }; |
| 6465 | union { Impl_ _impl_; }; |
| 6466 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 6467 | }; |
| 6468 | // ------------------------------------------------------------------- |
| 6469 | |
| 6470 | class PROTOBUF_EXPORT ServiceOptions final : |
| 6471 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ { |
| 6472 | public: |
| 6473 | inline ServiceOptions() : ServiceOptions(nullptr) {} |
| 6474 | ~ServiceOptions() override; |
| 6475 | explicit PROTOBUF_CONSTEXPR ServiceOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 6476 | |
| 6477 | ServiceOptions(const ServiceOptions& from); |
| 6478 | ServiceOptions(ServiceOptions&& from) noexcept |
| 6479 | : ServiceOptions() { |
| 6480 | *this = ::std::move(from); |
| 6481 | } |
| 6482 | |
| 6483 | inline ServiceOptions& operator=(const ServiceOptions& from) { |
| 6484 | CopyFrom(from); |
| 6485 | return *this; |
| 6486 | } |
| 6487 | inline ServiceOptions& operator=(ServiceOptions&& from) noexcept { |
| 6488 | if (this == &from) return *this; |
| 6489 | if (GetOwningArena() == from.GetOwningArena() |
| 6490 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 6491 | && GetOwningArena() != nullptr |
| 6492 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 6493 | ) { |
| 6494 | InternalSwap(other: &from); |
| 6495 | } else { |
| 6496 | CopyFrom(from); |
| 6497 | } |
| 6498 | return *this; |
| 6499 | } |
| 6500 | |
| 6501 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 6502 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 6503 | } |
| 6504 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 6505 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 6506 | } |
| 6507 | |
| 6508 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 6509 | return GetDescriptor(); |
| 6510 | } |
| 6511 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 6512 | return default_instance().GetMetadata().descriptor; |
| 6513 | } |
| 6514 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 6515 | return default_instance().GetMetadata().reflection; |
| 6516 | } |
| 6517 | static const ServiceOptions& default_instance() { |
| 6518 | return *internal_default_instance(); |
| 6519 | } |
| 6520 | static inline const ServiceOptions* internal_default_instance() { |
| 6521 | return reinterpret_cast<const ServiceOptions*>( |
| 6522 | &_ServiceOptions_default_instance_); |
| 6523 | } |
| 6524 | static constexpr int kIndexInFileMessages = |
| 6525 | 19; |
| 6526 | |
| 6527 | friend void swap(ServiceOptions& a, ServiceOptions& b) { |
| 6528 | a.Swap(other: &b); |
| 6529 | } |
| 6530 | inline void Swap(ServiceOptions* other) { |
| 6531 | if (other == this) return; |
| 6532 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 6533 | if (GetOwningArena() != nullptr && |
| 6534 | GetOwningArena() == other->GetOwningArena()) { |
| 6535 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 6536 | if (GetOwningArena() == other->GetOwningArena()) { |
| 6537 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 6538 | InternalSwap(other); |
| 6539 | } else { |
| 6540 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 6541 | } |
| 6542 | } |
| 6543 | void UnsafeArenaSwap(ServiceOptions* other) { |
| 6544 | if (other == this) return; |
| 6545 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 6546 | InternalSwap(other); |
| 6547 | } |
| 6548 | |
| 6549 | // implements Message ---------------------------------------------- |
| 6550 | |
| 6551 | ServiceOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 6552 | return CreateMaybeMessage<ServiceOptions>(arena); |
| 6553 | } |
| 6554 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 6555 | void CopyFrom(const ServiceOptions& from); |
| 6556 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 6557 | void MergeFrom( const ServiceOptions& from) { |
| 6558 | ServiceOptions::MergeImpl(to_msg&: *this, from_msg: from); |
| 6559 | } |
| 6560 | private: |
| 6561 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 6562 | public: |
| 6563 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 6564 | bool IsInitialized() const final; |
| 6565 | |
| 6566 | size_t ByteSizeLong() const final; |
| 6567 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 6568 | uint8_t* _InternalSerialize( |
| 6569 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 6570 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 6571 | |
| 6572 | private: |
| 6573 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 6574 | void SharedDtor(); |
| 6575 | void SetCachedSize(int size) const final; |
| 6576 | void InternalSwap(ServiceOptions* other); |
| 6577 | |
| 6578 | private: |
| 6579 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 6580 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 6581 | return "google.protobuf.ServiceOptions" ; |
| 6582 | } |
| 6583 | protected: |
| 6584 | explicit ServiceOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 6585 | bool is_message_owned = false); |
| 6586 | public: |
| 6587 | |
| 6588 | static const ClassData _class_data_; |
| 6589 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 6590 | |
| 6591 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 6592 | |
| 6593 | // nested types ---------------------------------------------------- |
| 6594 | |
| 6595 | // accessors ------------------------------------------------------- |
| 6596 | |
| 6597 | enum : int { |
| 6598 | kUninterpretedOptionFieldNumber = 999, |
| 6599 | kDeprecatedFieldNumber = 33, |
| 6600 | }; |
| 6601 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 6602 | int uninterpreted_option_size() const; |
| 6603 | private: |
| 6604 | int _internal_uninterpreted_option_size() const; |
| 6605 | public: |
| 6606 | void clear_uninterpreted_option(); |
| 6607 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 6608 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 6609 | mutable_uninterpreted_option(); |
| 6610 | private: |
| 6611 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
| 6612 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
| 6613 | public: |
| 6614 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
| 6615 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
| 6616 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 6617 | uninterpreted_option() const; |
| 6618 | |
| 6619 | // optional bool deprecated = 33 [default = false]; |
| 6620 | bool has_deprecated() const; |
| 6621 | private: |
| 6622 | bool _internal_has_deprecated() const; |
| 6623 | public: |
| 6624 | void clear_deprecated(); |
| 6625 | bool deprecated() const; |
| 6626 | void set_deprecated(bool value); |
| 6627 | private: |
| 6628 | bool _internal_deprecated() const; |
| 6629 | void _internal_set_deprecated(bool value); |
| 6630 | public: |
| 6631 | |
| 6632 | |
| 6633 | template <typename _proto_TypeTraits, |
| 6634 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6635 | bool _is_packed> |
| 6636 | inline bool HasExtension( |
| 6637 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6638 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 6639 | |
| 6640 | return _impl_._extensions_.Has(number: id.number()); |
| 6641 | } |
| 6642 | |
| 6643 | template <typename _proto_TypeTraits, |
| 6644 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6645 | bool _is_packed> |
| 6646 | inline void ClearExtension( |
| 6647 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6648 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6649 | _impl_._extensions_.ClearExtension(number: id.number()); |
| 6650 | |
| 6651 | } |
| 6652 | |
| 6653 | template <typename _proto_TypeTraits, |
| 6654 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6655 | bool _is_packed> |
| 6656 | inline int ExtensionSize( |
| 6657 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6658 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 6659 | |
| 6660 | return _impl_._extensions_.ExtensionSize(number: id.number()); |
| 6661 | } |
| 6662 | |
| 6663 | template <typename _proto_TypeTraits, |
| 6664 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6665 | bool _is_packed> |
| 6666 | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| 6667 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6668 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 6669 | |
| 6670 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
| 6671 | id.default_value()); |
| 6672 | } |
| 6673 | |
| 6674 | template <typename _proto_TypeTraits, |
| 6675 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6676 | bool _is_packed> |
| 6677 | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| 6678 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6679 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6680 | |
| 6681 | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
| 6682 | &_impl_._extensions_); |
| 6683 | } |
| 6684 | |
| 6685 | template <typename _proto_TypeTraits, |
| 6686 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6687 | bool _is_packed> |
| 6688 | inline void SetExtension( |
| 6689 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6690 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6691 | typename _proto_TypeTraits::Singular::ConstType value) { |
| 6692 | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| 6693 | |
| 6694 | } |
| 6695 | |
| 6696 | template <typename _proto_TypeTraits, |
| 6697 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6698 | bool _is_packed> |
| 6699 | inline void SetAllocatedExtension( |
| 6700 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6701 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6702 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 6703 | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| 6704 | &_impl_._extensions_); |
| 6705 | |
| 6706 | } |
| 6707 | template <typename _proto_TypeTraits, |
| 6708 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6709 | bool _is_packed> |
| 6710 | inline void UnsafeArenaSetAllocatedExtension( |
| 6711 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6712 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6713 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 6714 | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| 6715 | value, &_impl_._extensions_); |
| 6716 | |
| 6717 | } |
| 6718 | template <typename _proto_TypeTraits, |
| 6719 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6720 | bool _is_packed> |
| 6721 | PROTOBUF_NODISCARD inline |
| 6722 | typename _proto_TypeTraits::Singular::MutableType |
| 6723 | ReleaseExtension( |
| 6724 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6725 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6726 | |
| 6727 | return _proto_TypeTraits::Release(id.number(), _field_type, |
| 6728 | &_impl_._extensions_); |
| 6729 | } |
| 6730 | template <typename _proto_TypeTraits, |
| 6731 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6732 | bool _is_packed> |
| 6733 | inline typename _proto_TypeTraits::Singular::MutableType |
| 6734 | UnsafeArenaReleaseExtension( |
| 6735 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6736 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6737 | |
| 6738 | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| 6739 | &_impl_._extensions_); |
| 6740 | } |
| 6741 | |
| 6742 | template <typename _proto_TypeTraits, |
| 6743 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6744 | bool _is_packed> |
| 6745 | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| 6746 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6747 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6748 | int index) const { |
| 6749 | |
| 6750 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| 6751 | } |
| 6752 | |
| 6753 | template <typename _proto_TypeTraits, |
| 6754 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6755 | bool _is_packed> |
| 6756 | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| 6757 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6758 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6759 | int index) { |
| 6760 | |
| 6761 | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| 6762 | } |
| 6763 | |
| 6764 | template <typename _proto_TypeTraits, |
| 6765 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6766 | bool _is_packed> |
| 6767 | inline void SetExtension( |
| 6768 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6769 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6770 | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| 6771 | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| 6772 | |
| 6773 | } |
| 6774 | |
| 6775 | template <typename _proto_TypeTraits, |
| 6776 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6777 | bool _is_packed> |
| 6778 | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| 6779 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6780 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6781 | typename _proto_TypeTraits::Repeated::MutableType to_add = |
| 6782 | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| 6783 | |
| 6784 | return to_add; |
| 6785 | } |
| 6786 | |
| 6787 | template <typename _proto_TypeTraits, |
| 6788 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6789 | bool _is_packed> |
| 6790 | inline void AddExtension( |
| 6791 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6792 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 6793 | typename _proto_TypeTraits::Repeated::ConstType value) { |
| 6794 | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| 6795 | &_impl_._extensions_); |
| 6796 | |
| 6797 | } |
| 6798 | |
| 6799 | template <typename _proto_TypeTraits, |
| 6800 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6801 | bool _is_packed> |
| 6802 | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| 6803 | GetRepeatedExtension( |
| 6804 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6805 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 6806 | |
| 6807 | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| 6808 | } |
| 6809 | |
| 6810 | template <typename _proto_TypeTraits, |
| 6811 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 6812 | bool _is_packed> |
| 6813 | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| 6814 | MutableRepeatedExtension( |
| 6815 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 6816 | ServiceOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 6817 | |
| 6818 | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| 6819 | _is_packed, &_impl_._extensions_); |
| 6820 | } |
| 6821 | |
| 6822 | // @@protoc_insertion_point(class_scope:google.protobuf.ServiceOptions) |
| 6823 | private: |
| 6824 | class _Internal; |
| 6825 | |
| 6826 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 6827 | typedef void InternalArenaConstructable_; |
| 6828 | typedef void DestructorSkippable_; |
| 6829 | struct Impl_ { |
| 6830 | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
| 6831 | |
| 6832 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 6833 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 6834 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
| 6835 | bool deprecated_; |
| 6836 | }; |
| 6837 | union { Impl_ _impl_; }; |
| 6838 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 6839 | }; |
| 6840 | // ------------------------------------------------------------------- |
| 6841 | |
| 6842 | class PROTOBUF_EXPORT MethodOptions final : |
| 6843 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ { |
| 6844 | public: |
| 6845 | inline MethodOptions() : MethodOptions(nullptr) {} |
| 6846 | ~MethodOptions() override; |
| 6847 | explicit PROTOBUF_CONSTEXPR MethodOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 6848 | |
| 6849 | MethodOptions(const MethodOptions& from); |
| 6850 | MethodOptions(MethodOptions&& from) noexcept |
| 6851 | : MethodOptions() { |
| 6852 | *this = ::std::move(from); |
| 6853 | } |
| 6854 | |
| 6855 | inline MethodOptions& operator=(const MethodOptions& from) { |
| 6856 | CopyFrom(from); |
| 6857 | return *this; |
| 6858 | } |
| 6859 | inline MethodOptions& operator=(MethodOptions&& from) noexcept { |
| 6860 | if (this == &from) return *this; |
| 6861 | if (GetOwningArena() == from.GetOwningArena() |
| 6862 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 6863 | && GetOwningArena() != nullptr |
| 6864 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 6865 | ) { |
| 6866 | InternalSwap(other: &from); |
| 6867 | } else { |
| 6868 | CopyFrom(from); |
| 6869 | } |
| 6870 | return *this; |
| 6871 | } |
| 6872 | |
| 6873 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 6874 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 6875 | } |
| 6876 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 6877 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 6878 | } |
| 6879 | |
| 6880 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 6881 | return GetDescriptor(); |
| 6882 | } |
| 6883 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 6884 | return default_instance().GetMetadata().descriptor; |
| 6885 | } |
| 6886 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 6887 | return default_instance().GetMetadata().reflection; |
| 6888 | } |
| 6889 | static const MethodOptions& default_instance() { |
| 6890 | return *internal_default_instance(); |
| 6891 | } |
| 6892 | static inline const MethodOptions* internal_default_instance() { |
| 6893 | return reinterpret_cast<const MethodOptions*>( |
| 6894 | &_MethodOptions_default_instance_); |
| 6895 | } |
| 6896 | static constexpr int kIndexInFileMessages = |
| 6897 | 20; |
| 6898 | |
| 6899 | friend void swap(MethodOptions& a, MethodOptions& b) { |
| 6900 | a.Swap(other: &b); |
| 6901 | } |
| 6902 | inline void Swap(MethodOptions* other) { |
| 6903 | if (other == this) return; |
| 6904 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 6905 | if (GetOwningArena() != nullptr && |
| 6906 | GetOwningArena() == other->GetOwningArena()) { |
| 6907 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 6908 | if (GetOwningArena() == other->GetOwningArena()) { |
| 6909 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 6910 | InternalSwap(other); |
| 6911 | } else { |
| 6912 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 6913 | } |
| 6914 | } |
| 6915 | void UnsafeArenaSwap(MethodOptions* other) { |
| 6916 | if (other == this) return; |
| 6917 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 6918 | InternalSwap(other); |
| 6919 | } |
| 6920 | |
| 6921 | // implements Message ---------------------------------------------- |
| 6922 | |
| 6923 | MethodOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 6924 | return CreateMaybeMessage<MethodOptions>(arena); |
| 6925 | } |
| 6926 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 6927 | void CopyFrom(const MethodOptions& from); |
| 6928 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 6929 | void MergeFrom( const MethodOptions& from) { |
| 6930 | MethodOptions::MergeImpl(to_msg&: *this, from_msg: from); |
| 6931 | } |
| 6932 | private: |
| 6933 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 6934 | public: |
| 6935 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 6936 | bool IsInitialized() const final; |
| 6937 | |
| 6938 | size_t ByteSizeLong() const final; |
| 6939 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 6940 | uint8_t* _InternalSerialize( |
| 6941 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 6942 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 6943 | |
| 6944 | private: |
| 6945 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 6946 | void SharedDtor(); |
| 6947 | void SetCachedSize(int size) const final; |
| 6948 | void InternalSwap(MethodOptions* other); |
| 6949 | |
| 6950 | private: |
| 6951 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 6952 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 6953 | return "google.protobuf.MethodOptions" ; |
| 6954 | } |
| 6955 | protected: |
| 6956 | explicit MethodOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 6957 | bool is_message_owned = false); |
| 6958 | public: |
| 6959 | |
| 6960 | static const ClassData _class_data_; |
| 6961 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 6962 | |
| 6963 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 6964 | |
| 6965 | // nested types ---------------------------------------------------- |
| 6966 | |
| 6967 | typedef MethodOptions_IdempotencyLevel IdempotencyLevel; |
| 6968 | static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN = |
| 6969 | MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN; |
| 6970 | static constexpr IdempotencyLevel NO_SIDE_EFFECTS = |
| 6971 | MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS; |
| 6972 | static constexpr IdempotencyLevel IDEMPOTENT = |
| 6973 | MethodOptions_IdempotencyLevel_IDEMPOTENT; |
| 6974 | static inline bool IdempotencyLevel_IsValid(int value) { |
| 6975 | return MethodOptions_IdempotencyLevel_IsValid(value); |
| 6976 | } |
| 6977 | static constexpr IdempotencyLevel IdempotencyLevel_MIN = |
| 6978 | MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN; |
| 6979 | static constexpr IdempotencyLevel IdempotencyLevel_MAX = |
| 6980 | MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX; |
| 6981 | static constexpr int IdempotencyLevel_ARRAYSIZE = |
| 6982 | MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE; |
| 6983 | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
| 6984 | IdempotencyLevel_descriptor() { |
| 6985 | return MethodOptions_IdempotencyLevel_descriptor(); |
| 6986 | } |
| 6987 | template<typename T> |
| 6988 | static inline const std::string& IdempotencyLevel_Name(T enum_t_value) { |
| 6989 | static_assert(::std::is_same<T, IdempotencyLevel>::value || |
| 6990 | ::std::is_integral<T>::value, |
| 6991 | "Incorrect type passed to function IdempotencyLevel_Name." ); |
| 6992 | return MethodOptions_IdempotencyLevel_Name(enum_t_value); |
| 6993 | } |
| 6994 | static inline bool IdempotencyLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
| 6995 | IdempotencyLevel* value) { |
| 6996 | return MethodOptions_IdempotencyLevel_Parse(name, value); |
| 6997 | } |
| 6998 | |
| 6999 | // accessors ------------------------------------------------------- |
| 7000 | |
| 7001 | enum : int { |
| 7002 | kUninterpretedOptionFieldNumber = 999, |
| 7003 | kDeprecatedFieldNumber = 33, |
| 7004 | kIdempotencyLevelFieldNumber = 34, |
| 7005 | }; |
| 7006 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 7007 | int uninterpreted_option_size() const; |
| 7008 | private: |
| 7009 | int _internal_uninterpreted_option_size() const; |
| 7010 | public: |
| 7011 | void clear_uninterpreted_option(); |
| 7012 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* mutable_uninterpreted_option(int index); |
| 7013 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 7014 | mutable_uninterpreted_option(); |
| 7015 | private: |
| 7016 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& _internal_uninterpreted_option(int index) const; |
| 7017 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _internal_add_uninterpreted_option(); |
| 7018 | public: |
| 7019 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& uninterpreted_option(int index) const; |
| 7020 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* add_uninterpreted_option(); |
| 7021 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 7022 | uninterpreted_option() const; |
| 7023 | |
| 7024 | // optional bool deprecated = 33 [default = false]; |
| 7025 | bool has_deprecated() const; |
| 7026 | private: |
| 7027 | bool _internal_has_deprecated() const; |
| 7028 | public: |
| 7029 | void clear_deprecated(); |
| 7030 | bool deprecated() const; |
| 7031 | void set_deprecated(bool value); |
| 7032 | private: |
| 7033 | bool _internal_deprecated() const; |
| 7034 | void _internal_set_deprecated(bool value); |
| 7035 | public: |
| 7036 | |
| 7037 | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
| 7038 | bool has_idempotency_level() const; |
| 7039 | private: |
| 7040 | bool _internal_has_idempotency_level() const; |
| 7041 | public: |
| 7042 | void clear_idempotency_level(); |
| 7043 | ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel idempotency_level() const; |
| 7044 | void set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value); |
| 7045 | private: |
| 7046 | ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel _internal_idempotency_level() const; |
| 7047 | void _internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value); |
| 7048 | public: |
| 7049 | |
| 7050 | |
| 7051 | template <typename _proto_TypeTraits, |
| 7052 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7053 | bool _is_packed> |
| 7054 | inline bool HasExtension( |
| 7055 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7056 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 7057 | |
| 7058 | return _impl_._extensions_.Has(number: id.number()); |
| 7059 | } |
| 7060 | |
| 7061 | template <typename _proto_TypeTraits, |
| 7062 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7063 | bool _is_packed> |
| 7064 | inline void ClearExtension( |
| 7065 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7066 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 7067 | _impl_._extensions_.ClearExtension(number: id.number()); |
| 7068 | |
| 7069 | } |
| 7070 | |
| 7071 | template <typename _proto_TypeTraits, |
| 7072 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7073 | bool _is_packed> |
| 7074 | inline int ExtensionSize( |
| 7075 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7076 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 7077 | |
| 7078 | return _impl_._extensions_.ExtensionSize(number: id.number()); |
| 7079 | } |
| 7080 | |
| 7081 | template <typename _proto_TypeTraits, |
| 7082 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7083 | bool _is_packed> |
| 7084 | inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| 7085 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7086 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 7087 | |
| 7088 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, |
| 7089 | id.default_value()); |
| 7090 | } |
| 7091 | |
| 7092 | template <typename _proto_TypeTraits, |
| 7093 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7094 | bool _is_packed> |
| 7095 | inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| 7096 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7097 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 7098 | |
| 7099 | return _proto_TypeTraits::Mutable(id.number(), _field_type, |
| 7100 | &_impl_._extensions_); |
| 7101 | } |
| 7102 | |
| 7103 | template <typename _proto_TypeTraits, |
| 7104 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7105 | bool _is_packed> |
| 7106 | inline void SetExtension( |
| 7107 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7108 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 7109 | typename _proto_TypeTraits::Singular::ConstType value) { |
| 7110 | _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| 7111 | |
| 7112 | } |
| 7113 | |
| 7114 | template <typename _proto_TypeTraits, |
| 7115 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7116 | bool _is_packed> |
| 7117 | inline void SetAllocatedExtension( |
| 7118 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7119 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 7120 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 7121 | _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| 7122 | &_impl_._extensions_); |
| 7123 | |
| 7124 | } |
| 7125 | template <typename _proto_TypeTraits, |
| 7126 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7127 | bool _is_packed> |
| 7128 | inline void UnsafeArenaSetAllocatedExtension( |
| 7129 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7130 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 7131 | typename _proto_TypeTraits::Singular::MutableType value) { |
| 7132 | _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| 7133 | value, &_impl_._extensions_); |
| 7134 | |
| 7135 | } |
| 7136 | template <typename _proto_TypeTraits, |
| 7137 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7138 | bool _is_packed> |
| 7139 | PROTOBUF_NODISCARD inline |
| 7140 | typename _proto_TypeTraits::Singular::MutableType |
| 7141 | ReleaseExtension( |
| 7142 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7143 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 7144 | |
| 7145 | return _proto_TypeTraits::Release(id.number(), _field_type, |
| 7146 | &_impl_._extensions_); |
| 7147 | } |
| 7148 | template <typename _proto_TypeTraits, |
| 7149 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7150 | bool _is_packed> |
| 7151 | inline typename _proto_TypeTraits::Singular::MutableType |
| 7152 | UnsafeArenaReleaseExtension( |
| 7153 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7154 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 7155 | |
| 7156 | return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| 7157 | &_impl_._extensions_); |
| 7158 | } |
| 7159 | |
| 7160 | template <typename _proto_TypeTraits, |
| 7161 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7162 | bool _is_packed> |
| 7163 | inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| 7164 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7165 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 7166 | int index) const { |
| 7167 | |
| 7168 | return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| 7169 | } |
| 7170 | |
| 7171 | template <typename _proto_TypeTraits, |
| 7172 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7173 | bool _is_packed> |
| 7174 | inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| 7175 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7176 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 7177 | int index) { |
| 7178 | |
| 7179 | return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| 7180 | } |
| 7181 | |
| 7182 | template <typename _proto_TypeTraits, |
| 7183 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7184 | bool _is_packed> |
| 7185 | inline void SetExtension( |
| 7186 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7187 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 7188 | int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| 7189 | _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| 7190 | |
| 7191 | } |
| 7192 | |
| 7193 | template <typename _proto_TypeTraits, |
| 7194 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7195 | bool _is_packed> |
| 7196 | inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| 7197 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7198 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 7199 | typename _proto_TypeTraits::Repeated::MutableType to_add = |
| 7200 | _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| 7201 | |
| 7202 | return to_add; |
| 7203 | } |
| 7204 | |
| 7205 | template <typename _proto_TypeTraits, |
| 7206 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7207 | bool _is_packed> |
| 7208 | inline void AddExtension( |
| 7209 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7210 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id, |
| 7211 | typename _proto_TypeTraits::Repeated::ConstType value) { |
| 7212 | _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| 7213 | &_impl_._extensions_); |
| 7214 | |
| 7215 | } |
| 7216 | |
| 7217 | template <typename _proto_TypeTraits, |
| 7218 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7219 | bool _is_packed> |
| 7220 | inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| 7221 | GetRepeatedExtension( |
| 7222 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7223 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) const { |
| 7224 | |
| 7225 | return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| 7226 | } |
| 7227 | |
| 7228 | template <typename _proto_TypeTraits, |
| 7229 | ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type, |
| 7230 | bool _is_packed> |
| 7231 | inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| 7232 | MutableRepeatedExtension( |
| 7233 | const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< |
| 7234 | MethodOptions, _proto_TypeTraits, _field_type, _is_packed>& id) { |
| 7235 | |
| 7236 | return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| 7237 | _is_packed, &_impl_._extensions_); |
| 7238 | } |
| 7239 | |
| 7240 | // @@protoc_insertion_point(class_scope:google.protobuf.MethodOptions) |
| 7241 | private: |
| 7242 | class _Internal; |
| 7243 | |
| 7244 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 7245 | typedef void InternalArenaConstructable_; |
| 7246 | typedef void DestructorSkippable_; |
| 7247 | struct Impl_ { |
| 7248 | ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_; |
| 7249 | |
| 7250 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 7251 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 7252 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption > uninterpreted_option_; |
| 7253 | bool deprecated_; |
| 7254 | int idempotency_level_; |
| 7255 | }; |
| 7256 | union { Impl_ _impl_; }; |
| 7257 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 7258 | }; |
| 7259 | // ------------------------------------------------------------------- |
| 7260 | |
| 7261 | class PROTOBUF_EXPORT UninterpretedOption_NamePart final : |
| 7262 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ { |
| 7263 | public: |
| 7264 | inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {} |
| 7265 | ~UninterpretedOption_NamePart() override; |
| 7266 | explicit PROTOBUF_CONSTEXPR UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 7267 | |
| 7268 | UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from); |
| 7269 | UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept |
| 7270 | : UninterpretedOption_NamePart() { |
| 7271 | *this = ::std::move(from); |
| 7272 | } |
| 7273 | |
| 7274 | inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) { |
| 7275 | CopyFrom(from); |
| 7276 | return *this; |
| 7277 | } |
| 7278 | inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept { |
| 7279 | if (this == &from) return *this; |
| 7280 | if (GetOwningArena() == from.GetOwningArena() |
| 7281 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 7282 | && GetOwningArena() != nullptr |
| 7283 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 7284 | ) { |
| 7285 | InternalSwap(other: &from); |
| 7286 | } else { |
| 7287 | CopyFrom(from); |
| 7288 | } |
| 7289 | return *this; |
| 7290 | } |
| 7291 | |
| 7292 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 7293 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 7294 | } |
| 7295 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 7296 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 7297 | } |
| 7298 | |
| 7299 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 7300 | return GetDescriptor(); |
| 7301 | } |
| 7302 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 7303 | return default_instance().GetMetadata().descriptor; |
| 7304 | } |
| 7305 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 7306 | return default_instance().GetMetadata().reflection; |
| 7307 | } |
| 7308 | static const UninterpretedOption_NamePart& default_instance() { |
| 7309 | return *internal_default_instance(); |
| 7310 | } |
| 7311 | static inline const UninterpretedOption_NamePart* internal_default_instance() { |
| 7312 | return reinterpret_cast<const UninterpretedOption_NamePart*>( |
| 7313 | &_UninterpretedOption_NamePart_default_instance_); |
| 7314 | } |
| 7315 | static constexpr int kIndexInFileMessages = |
| 7316 | 21; |
| 7317 | |
| 7318 | friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) { |
| 7319 | a.Swap(other: &b); |
| 7320 | } |
| 7321 | inline void Swap(UninterpretedOption_NamePart* other) { |
| 7322 | if (other == this) return; |
| 7323 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 7324 | if (GetOwningArena() != nullptr && |
| 7325 | GetOwningArena() == other->GetOwningArena()) { |
| 7326 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 7327 | if (GetOwningArena() == other->GetOwningArena()) { |
| 7328 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 7329 | InternalSwap(other); |
| 7330 | } else { |
| 7331 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 7332 | } |
| 7333 | } |
| 7334 | void UnsafeArenaSwap(UninterpretedOption_NamePart* other) { |
| 7335 | if (other == this) return; |
| 7336 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 7337 | InternalSwap(other); |
| 7338 | } |
| 7339 | |
| 7340 | // implements Message ---------------------------------------------- |
| 7341 | |
| 7342 | UninterpretedOption_NamePart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 7343 | return CreateMaybeMessage<UninterpretedOption_NamePart>(arena); |
| 7344 | } |
| 7345 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 7346 | void CopyFrom(const UninterpretedOption_NamePart& from); |
| 7347 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 7348 | void MergeFrom( const UninterpretedOption_NamePart& from) { |
| 7349 | UninterpretedOption_NamePart::MergeImpl(to_msg&: *this, from_msg: from); |
| 7350 | } |
| 7351 | private: |
| 7352 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 7353 | public: |
| 7354 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 7355 | bool IsInitialized() const final; |
| 7356 | |
| 7357 | size_t ByteSizeLong() const final; |
| 7358 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 7359 | uint8_t* _InternalSerialize( |
| 7360 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 7361 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 7362 | |
| 7363 | private: |
| 7364 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 7365 | void SharedDtor(); |
| 7366 | void SetCachedSize(int size) const final; |
| 7367 | void InternalSwap(UninterpretedOption_NamePart* other); |
| 7368 | |
| 7369 | private: |
| 7370 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 7371 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 7372 | return "google.protobuf.UninterpretedOption.NamePart" ; |
| 7373 | } |
| 7374 | protected: |
| 7375 | explicit UninterpretedOption_NamePart(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 7376 | bool is_message_owned = false); |
| 7377 | public: |
| 7378 | |
| 7379 | static const ClassData _class_data_; |
| 7380 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 7381 | |
| 7382 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 7383 | |
| 7384 | // nested types ---------------------------------------------------- |
| 7385 | |
| 7386 | // accessors ------------------------------------------------------- |
| 7387 | |
| 7388 | enum : int { |
| 7389 | kNamePartFieldNumber = 1, |
| 7390 | kIsExtensionFieldNumber = 2, |
| 7391 | }; |
| 7392 | // required string name_part = 1; |
| 7393 | bool has_name_part() const; |
| 7394 | private: |
| 7395 | bool _internal_has_name_part() const; |
| 7396 | public: |
| 7397 | void clear_name_part(); |
| 7398 | const std::string& name_part() const; |
| 7399 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 7400 | void set_name_part(ArgT0&& arg0, ArgT... args); |
| 7401 | std::string* mutable_name_part(); |
| 7402 | PROTOBUF_NODISCARD std::string* release_name_part(); |
| 7403 | void set_allocated_name_part(std::string* name_part); |
| 7404 | private: |
| 7405 | const std::string& _internal_name_part() const; |
| 7406 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name_part(const std::string& value); |
| 7407 | std::string* _internal_mutable_name_part(); |
| 7408 | public: |
| 7409 | |
| 7410 | // required bool is_extension = 2; |
| 7411 | bool has_is_extension() const; |
| 7412 | private: |
| 7413 | bool _internal_has_is_extension() const; |
| 7414 | public: |
| 7415 | void clear_is_extension(); |
| 7416 | bool is_extension() const; |
| 7417 | void set_is_extension(bool value); |
| 7418 | private: |
| 7419 | bool _internal_is_extension() const; |
| 7420 | void _internal_set_is_extension(bool value); |
| 7421 | public: |
| 7422 | |
| 7423 | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) |
| 7424 | private: |
| 7425 | class _Internal; |
| 7426 | |
| 7427 | // helper for ByteSizeLong() |
| 7428 | size_t RequiredFieldsByteSizeFallback() const; |
| 7429 | |
| 7430 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 7431 | typedef void InternalArenaConstructable_; |
| 7432 | typedef void DestructorSkippable_; |
| 7433 | struct Impl_ { |
| 7434 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 7435 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 7436 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_part_; |
| 7437 | bool is_extension_; |
| 7438 | }; |
| 7439 | union { Impl_ _impl_; }; |
| 7440 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 7441 | }; |
| 7442 | // ------------------------------------------------------------------- |
| 7443 | |
| 7444 | class PROTOBUF_EXPORT UninterpretedOption final : |
| 7445 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ { |
| 7446 | public: |
| 7447 | inline UninterpretedOption() : UninterpretedOption(nullptr) {} |
| 7448 | ~UninterpretedOption() override; |
| 7449 | explicit PROTOBUF_CONSTEXPR UninterpretedOption(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 7450 | |
| 7451 | UninterpretedOption(const UninterpretedOption& from); |
| 7452 | UninterpretedOption(UninterpretedOption&& from) noexcept |
| 7453 | : UninterpretedOption() { |
| 7454 | *this = ::std::move(from); |
| 7455 | } |
| 7456 | |
| 7457 | inline UninterpretedOption& operator=(const UninterpretedOption& from) { |
| 7458 | CopyFrom(from); |
| 7459 | return *this; |
| 7460 | } |
| 7461 | inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept { |
| 7462 | if (this == &from) return *this; |
| 7463 | if (GetOwningArena() == from.GetOwningArena() |
| 7464 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 7465 | && GetOwningArena() != nullptr |
| 7466 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 7467 | ) { |
| 7468 | InternalSwap(other: &from); |
| 7469 | } else { |
| 7470 | CopyFrom(from); |
| 7471 | } |
| 7472 | return *this; |
| 7473 | } |
| 7474 | |
| 7475 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 7476 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 7477 | } |
| 7478 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 7479 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 7480 | } |
| 7481 | |
| 7482 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 7483 | return GetDescriptor(); |
| 7484 | } |
| 7485 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 7486 | return default_instance().GetMetadata().descriptor; |
| 7487 | } |
| 7488 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 7489 | return default_instance().GetMetadata().reflection; |
| 7490 | } |
| 7491 | static const UninterpretedOption& default_instance() { |
| 7492 | return *internal_default_instance(); |
| 7493 | } |
| 7494 | static inline const UninterpretedOption* internal_default_instance() { |
| 7495 | return reinterpret_cast<const UninterpretedOption*>( |
| 7496 | &_UninterpretedOption_default_instance_); |
| 7497 | } |
| 7498 | static constexpr int kIndexInFileMessages = |
| 7499 | 22; |
| 7500 | |
| 7501 | friend void swap(UninterpretedOption& a, UninterpretedOption& b) { |
| 7502 | a.Swap(other: &b); |
| 7503 | } |
| 7504 | inline void Swap(UninterpretedOption* other) { |
| 7505 | if (other == this) return; |
| 7506 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 7507 | if (GetOwningArena() != nullptr && |
| 7508 | GetOwningArena() == other->GetOwningArena()) { |
| 7509 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 7510 | if (GetOwningArena() == other->GetOwningArena()) { |
| 7511 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 7512 | InternalSwap(other); |
| 7513 | } else { |
| 7514 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 7515 | } |
| 7516 | } |
| 7517 | void UnsafeArenaSwap(UninterpretedOption* other) { |
| 7518 | if (other == this) return; |
| 7519 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 7520 | InternalSwap(other); |
| 7521 | } |
| 7522 | |
| 7523 | // implements Message ---------------------------------------------- |
| 7524 | |
| 7525 | UninterpretedOption* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 7526 | return CreateMaybeMessage<UninterpretedOption>(arena); |
| 7527 | } |
| 7528 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 7529 | void CopyFrom(const UninterpretedOption& from); |
| 7530 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 7531 | void MergeFrom( const UninterpretedOption& from) { |
| 7532 | UninterpretedOption::MergeImpl(to_msg&: *this, from_msg: from); |
| 7533 | } |
| 7534 | private: |
| 7535 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 7536 | public: |
| 7537 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 7538 | bool IsInitialized() const final; |
| 7539 | |
| 7540 | size_t ByteSizeLong() const final; |
| 7541 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 7542 | uint8_t* _InternalSerialize( |
| 7543 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 7544 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 7545 | |
| 7546 | private: |
| 7547 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 7548 | void SharedDtor(); |
| 7549 | void SetCachedSize(int size) const final; |
| 7550 | void InternalSwap(UninterpretedOption* other); |
| 7551 | |
| 7552 | private: |
| 7553 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 7554 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 7555 | return "google.protobuf.UninterpretedOption" ; |
| 7556 | } |
| 7557 | protected: |
| 7558 | explicit UninterpretedOption(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 7559 | bool is_message_owned = false); |
| 7560 | public: |
| 7561 | |
| 7562 | static const ClassData _class_data_; |
| 7563 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 7564 | |
| 7565 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 7566 | |
| 7567 | // nested types ---------------------------------------------------- |
| 7568 | |
| 7569 | typedef UninterpretedOption_NamePart NamePart; |
| 7570 | |
| 7571 | // accessors ------------------------------------------------------- |
| 7572 | |
| 7573 | enum : int { |
| 7574 | kNameFieldNumber = 2, |
| 7575 | kIdentifierValueFieldNumber = 3, |
| 7576 | kStringValueFieldNumber = 7, |
| 7577 | kAggregateValueFieldNumber = 8, |
| 7578 | kPositiveIntValueFieldNumber = 4, |
| 7579 | kNegativeIntValueFieldNumber = 5, |
| 7580 | kDoubleValueFieldNumber = 6, |
| 7581 | }; |
| 7582 | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
| 7583 | int name_size() const; |
| 7584 | private: |
| 7585 | int _internal_name_size() const; |
| 7586 | public: |
| 7587 | void clear_name(); |
| 7588 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* mutable_name(int index); |
| 7589 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >* |
| 7590 | mutable_name(); |
| 7591 | private: |
| 7592 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& _internal_name(int index) const; |
| 7593 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _internal_add_name(); |
| 7594 | public: |
| 7595 | const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& name(int index) const; |
| 7596 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* add_name(); |
| 7597 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >& |
| 7598 | name() const; |
| 7599 | |
| 7600 | // optional string identifier_value = 3; |
| 7601 | bool has_identifier_value() const; |
| 7602 | private: |
| 7603 | bool _internal_has_identifier_value() const; |
| 7604 | public: |
| 7605 | void clear_identifier_value(); |
| 7606 | const std::string& identifier_value() const; |
| 7607 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 7608 | void set_identifier_value(ArgT0&& arg0, ArgT... args); |
| 7609 | std::string* mutable_identifier_value(); |
| 7610 | PROTOBUF_NODISCARD std::string* release_identifier_value(); |
| 7611 | void set_allocated_identifier_value(std::string* identifier_value); |
| 7612 | private: |
| 7613 | const std::string& _internal_identifier_value() const; |
| 7614 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_identifier_value(const std::string& value); |
| 7615 | std::string* _internal_mutable_identifier_value(); |
| 7616 | public: |
| 7617 | |
| 7618 | // optional bytes string_value = 7; |
| 7619 | bool has_string_value() const; |
| 7620 | private: |
| 7621 | bool _internal_has_string_value() const; |
| 7622 | public: |
| 7623 | void clear_string_value(); |
| 7624 | const std::string& string_value() const; |
| 7625 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 7626 | void set_string_value(ArgT0&& arg0, ArgT... args); |
| 7627 | std::string* mutable_string_value(); |
| 7628 | PROTOBUF_NODISCARD std::string* release_string_value(); |
| 7629 | void set_allocated_string_value(std::string* string_value); |
| 7630 | private: |
| 7631 | const std::string& _internal_string_value() const; |
| 7632 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value); |
| 7633 | std::string* _internal_mutable_string_value(); |
| 7634 | public: |
| 7635 | |
| 7636 | // optional string aggregate_value = 8; |
| 7637 | bool has_aggregate_value() const; |
| 7638 | private: |
| 7639 | bool _internal_has_aggregate_value() const; |
| 7640 | public: |
| 7641 | void clear_aggregate_value(); |
| 7642 | const std::string& aggregate_value() const; |
| 7643 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 7644 | void set_aggregate_value(ArgT0&& arg0, ArgT... args); |
| 7645 | std::string* mutable_aggregate_value(); |
| 7646 | PROTOBUF_NODISCARD std::string* release_aggregate_value(); |
| 7647 | void set_allocated_aggregate_value(std::string* aggregate_value); |
| 7648 | private: |
| 7649 | const std::string& _internal_aggregate_value() const; |
| 7650 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_aggregate_value(const std::string& value); |
| 7651 | std::string* _internal_mutable_aggregate_value(); |
| 7652 | public: |
| 7653 | |
| 7654 | // optional uint64 positive_int_value = 4; |
| 7655 | bool has_positive_int_value() const; |
| 7656 | private: |
| 7657 | bool _internal_has_positive_int_value() const; |
| 7658 | public: |
| 7659 | void clear_positive_int_value(); |
| 7660 | uint64_t positive_int_value() const; |
| 7661 | void set_positive_int_value(uint64_t value); |
| 7662 | private: |
| 7663 | uint64_t _internal_positive_int_value() const; |
| 7664 | void _internal_set_positive_int_value(uint64_t value); |
| 7665 | public: |
| 7666 | |
| 7667 | // optional int64 negative_int_value = 5; |
| 7668 | bool has_negative_int_value() const; |
| 7669 | private: |
| 7670 | bool _internal_has_negative_int_value() const; |
| 7671 | public: |
| 7672 | void clear_negative_int_value(); |
| 7673 | int64_t negative_int_value() const; |
| 7674 | void set_negative_int_value(int64_t value); |
| 7675 | private: |
| 7676 | int64_t _internal_negative_int_value() const; |
| 7677 | void _internal_set_negative_int_value(int64_t value); |
| 7678 | public: |
| 7679 | |
| 7680 | // optional double double_value = 6; |
| 7681 | bool has_double_value() const; |
| 7682 | private: |
| 7683 | bool _internal_has_double_value() const; |
| 7684 | public: |
| 7685 | void clear_double_value(); |
| 7686 | double double_value() const; |
| 7687 | void set_double_value(double value); |
| 7688 | private: |
| 7689 | double _internal_double_value() const; |
| 7690 | void _internal_set_double_value(double value); |
| 7691 | public: |
| 7692 | |
| 7693 | // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption) |
| 7694 | private: |
| 7695 | class _Internal; |
| 7696 | |
| 7697 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 7698 | typedef void InternalArenaConstructable_; |
| 7699 | typedef void DestructorSkippable_; |
| 7700 | struct Impl_ { |
| 7701 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 7702 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 7703 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart > name_; |
| 7704 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr identifier_value_; |
| 7705 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_; |
| 7706 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr aggregate_value_; |
| 7707 | uint64_t positive_int_value_; |
| 7708 | int64_t negative_int_value_; |
| 7709 | double double_value_; |
| 7710 | }; |
| 7711 | union { Impl_ _impl_; }; |
| 7712 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 7713 | }; |
| 7714 | // ------------------------------------------------------------------- |
| 7715 | |
| 7716 | class PROTOBUF_EXPORT SourceCodeInfo_Location final : |
| 7717 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ { |
| 7718 | public: |
| 7719 | inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {} |
| 7720 | ~SourceCodeInfo_Location() override; |
| 7721 | explicit PROTOBUF_CONSTEXPR SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 7722 | |
| 7723 | SourceCodeInfo_Location(const SourceCodeInfo_Location& from); |
| 7724 | SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept |
| 7725 | : SourceCodeInfo_Location() { |
| 7726 | *this = ::std::move(from); |
| 7727 | } |
| 7728 | |
| 7729 | inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { |
| 7730 | CopyFrom(from); |
| 7731 | return *this; |
| 7732 | } |
| 7733 | inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept { |
| 7734 | if (this == &from) return *this; |
| 7735 | if (GetOwningArena() == from.GetOwningArena() |
| 7736 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 7737 | && GetOwningArena() != nullptr |
| 7738 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 7739 | ) { |
| 7740 | InternalSwap(other: &from); |
| 7741 | } else { |
| 7742 | CopyFrom(from); |
| 7743 | } |
| 7744 | return *this; |
| 7745 | } |
| 7746 | |
| 7747 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 7748 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 7749 | } |
| 7750 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 7751 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 7752 | } |
| 7753 | |
| 7754 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 7755 | return GetDescriptor(); |
| 7756 | } |
| 7757 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 7758 | return default_instance().GetMetadata().descriptor; |
| 7759 | } |
| 7760 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 7761 | return default_instance().GetMetadata().reflection; |
| 7762 | } |
| 7763 | static const SourceCodeInfo_Location& default_instance() { |
| 7764 | return *internal_default_instance(); |
| 7765 | } |
| 7766 | static inline const SourceCodeInfo_Location* internal_default_instance() { |
| 7767 | return reinterpret_cast<const SourceCodeInfo_Location*>( |
| 7768 | &_SourceCodeInfo_Location_default_instance_); |
| 7769 | } |
| 7770 | static constexpr int kIndexInFileMessages = |
| 7771 | 23; |
| 7772 | |
| 7773 | friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { |
| 7774 | a.Swap(other: &b); |
| 7775 | } |
| 7776 | inline void Swap(SourceCodeInfo_Location* other) { |
| 7777 | if (other == this) return; |
| 7778 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 7779 | if (GetOwningArena() != nullptr && |
| 7780 | GetOwningArena() == other->GetOwningArena()) { |
| 7781 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 7782 | if (GetOwningArena() == other->GetOwningArena()) { |
| 7783 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 7784 | InternalSwap(other); |
| 7785 | } else { |
| 7786 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 7787 | } |
| 7788 | } |
| 7789 | void UnsafeArenaSwap(SourceCodeInfo_Location* other) { |
| 7790 | if (other == this) return; |
| 7791 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 7792 | InternalSwap(other); |
| 7793 | } |
| 7794 | |
| 7795 | // implements Message ---------------------------------------------- |
| 7796 | |
| 7797 | SourceCodeInfo_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 7798 | return CreateMaybeMessage<SourceCodeInfo_Location>(arena); |
| 7799 | } |
| 7800 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 7801 | void CopyFrom(const SourceCodeInfo_Location& from); |
| 7802 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 7803 | void MergeFrom( const SourceCodeInfo_Location& from) { |
| 7804 | SourceCodeInfo_Location::MergeImpl(to_msg&: *this, from_msg: from); |
| 7805 | } |
| 7806 | private: |
| 7807 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 7808 | public: |
| 7809 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 7810 | bool IsInitialized() const final; |
| 7811 | |
| 7812 | size_t ByteSizeLong() const final; |
| 7813 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 7814 | uint8_t* _InternalSerialize( |
| 7815 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 7816 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 7817 | |
| 7818 | private: |
| 7819 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 7820 | void SharedDtor(); |
| 7821 | void SetCachedSize(int size) const final; |
| 7822 | void InternalSwap(SourceCodeInfo_Location* other); |
| 7823 | |
| 7824 | private: |
| 7825 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 7826 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 7827 | return "google.protobuf.SourceCodeInfo.Location" ; |
| 7828 | } |
| 7829 | protected: |
| 7830 | explicit SourceCodeInfo_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 7831 | bool is_message_owned = false); |
| 7832 | public: |
| 7833 | |
| 7834 | static const ClassData _class_data_; |
| 7835 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 7836 | |
| 7837 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 7838 | |
| 7839 | // nested types ---------------------------------------------------- |
| 7840 | |
| 7841 | // accessors ------------------------------------------------------- |
| 7842 | |
| 7843 | enum : int { |
| 7844 | kPathFieldNumber = 1, |
| 7845 | kSpanFieldNumber = 2, |
| 7846 | = 6, |
| 7847 | = 3, |
| 7848 | = 4, |
| 7849 | }; |
| 7850 | // repeated int32 path = 1 [packed = true]; |
| 7851 | int path_size() const; |
| 7852 | private: |
| 7853 | int _internal_path_size() const; |
| 7854 | public: |
| 7855 | void clear_path(); |
| 7856 | private: |
| 7857 | int32_t _internal_path(int index) const; |
| 7858 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 7859 | _internal_path() const; |
| 7860 | void _internal_add_path(int32_t value); |
| 7861 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 7862 | _internal_mutable_path(); |
| 7863 | public: |
| 7864 | int32_t path(int index) const; |
| 7865 | void set_path(int index, int32_t value); |
| 7866 | void add_path(int32_t value); |
| 7867 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 7868 | path() const; |
| 7869 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 7870 | mutable_path(); |
| 7871 | |
| 7872 | // repeated int32 span = 2 [packed = true]; |
| 7873 | int span_size() const; |
| 7874 | private: |
| 7875 | int _internal_span_size() const; |
| 7876 | public: |
| 7877 | void clear_span(); |
| 7878 | private: |
| 7879 | int32_t _internal_span(int index) const; |
| 7880 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 7881 | _internal_span() const; |
| 7882 | void _internal_add_span(int32_t value); |
| 7883 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 7884 | _internal_mutable_span(); |
| 7885 | public: |
| 7886 | int32_t span(int index) const; |
| 7887 | void set_span(int index, int32_t value); |
| 7888 | void add_span(int32_t value); |
| 7889 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 7890 | span() const; |
| 7891 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 7892 | mutable_span(); |
| 7893 | |
| 7894 | // repeated string leading_detached_comments = 6; |
| 7895 | int leading_detached_comments_size() const; |
| 7896 | private: |
| 7897 | int _internal_leading_detached_comments_size() const; |
| 7898 | public: |
| 7899 | void clear_leading_detached_comments(); |
| 7900 | const std::string& leading_detached_comments(int index) const; |
| 7901 | std::string* mutable_leading_detached_comments(int index); |
| 7902 | void set_leading_detached_comments(int index, const std::string& value); |
| 7903 | void set_leading_detached_comments(int index, std::string&& value); |
| 7904 | void set_leading_detached_comments(int index, const char* value); |
| 7905 | void set_leading_detached_comments(int index, const char* value, size_t size); |
| 7906 | std::string* add_leading_detached_comments(); |
| 7907 | void add_leading_detached_comments(const std::string& value); |
| 7908 | void add_leading_detached_comments(std::string&& value); |
| 7909 | void add_leading_detached_comments(const char* value); |
| 7910 | void add_leading_detached_comments(const char* value, size_t size); |
| 7911 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& leading_detached_comments() const; |
| 7912 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_leading_detached_comments(); |
| 7913 | private: |
| 7914 | const std::string& _internal_leading_detached_comments(int index) const; |
| 7915 | std::string* _internal_add_leading_detached_comments(); |
| 7916 | public: |
| 7917 | |
| 7918 | // optional string leading_comments = 3; |
| 7919 | bool has_leading_comments() const; |
| 7920 | private: |
| 7921 | bool _internal_has_leading_comments() const; |
| 7922 | public: |
| 7923 | void clear_leading_comments(); |
| 7924 | const std::string& leading_comments() const; |
| 7925 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 7926 | void set_leading_comments(ArgT0&& arg0, ArgT... args); |
| 7927 | std::string* mutable_leading_comments(); |
| 7928 | PROTOBUF_NODISCARD std::string* release_leading_comments(); |
| 7929 | void set_allocated_leading_comments(std::string* ); |
| 7930 | private: |
| 7931 | const std::string& _internal_leading_comments() const; |
| 7932 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments(const std::string& value); |
| 7933 | std::string* _internal_mutable_leading_comments(); |
| 7934 | public: |
| 7935 | |
| 7936 | // optional string trailing_comments = 4; |
| 7937 | bool has_trailing_comments() const; |
| 7938 | private: |
| 7939 | bool _internal_has_trailing_comments() const; |
| 7940 | public: |
| 7941 | void clear_trailing_comments(); |
| 7942 | const std::string& trailing_comments() const; |
| 7943 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 7944 | void set_trailing_comments(ArgT0&& arg0, ArgT... args); |
| 7945 | std::string* mutable_trailing_comments(); |
| 7946 | PROTOBUF_NODISCARD std::string* release_trailing_comments(); |
| 7947 | void set_allocated_trailing_comments(std::string* ); |
| 7948 | private: |
| 7949 | const std::string& _internal_trailing_comments() const; |
| 7950 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments(const std::string& value); |
| 7951 | std::string* _internal_mutable_trailing_comments(); |
| 7952 | public: |
| 7953 | |
| 7954 | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location) |
| 7955 | private: |
| 7956 | class _Internal; |
| 7957 | |
| 7958 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 7959 | typedef void InternalArenaConstructable_; |
| 7960 | typedef void DestructorSkippable_; |
| 7961 | struct Impl_ { |
| 7962 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 7963 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 7964 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > path_; |
| 7965 | mutable std::atomic<int> _path_cached_byte_size_; |
| 7966 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > span_; |
| 7967 | mutable std::atomic<int> _span_cached_byte_size_; |
| 7968 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> ; |
| 7969 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ; |
| 7970 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ; |
| 7971 | }; |
| 7972 | union { Impl_ _impl_; }; |
| 7973 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 7974 | }; |
| 7975 | // ------------------------------------------------------------------- |
| 7976 | |
| 7977 | class PROTOBUF_EXPORT SourceCodeInfo final : |
| 7978 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ { |
| 7979 | public: |
| 7980 | inline SourceCodeInfo() : SourceCodeInfo(nullptr) {} |
| 7981 | ~SourceCodeInfo() override; |
| 7982 | explicit PROTOBUF_CONSTEXPR SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 7983 | |
| 7984 | SourceCodeInfo(const SourceCodeInfo& from); |
| 7985 | SourceCodeInfo(SourceCodeInfo&& from) noexcept |
| 7986 | : SourceCodeInfo() { |
| 7987 | *this = ::std::move(from); |
| 7988 | } |
| 7989 | |
| 7990 | inline SourceCodeInfo& operator=(const SourceCodeInfo& from) { |
| 7991 | CopyFrom(from); |
| 7992 | return *this; |
| 7993 | } |
| 7994 | inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept { |
| 7995 | if (this == &from) return *this; |
| 7996 | if (GetOwningArena() == from.GetOwningArena() |
| 7997 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 7998 | && GetOwningArena() != nullptr |
| 7999 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 8000 | ) { |
| 8001 | InternalSwap(other: &from); |
| 8002 | } else { |
| 8003 | CopyFrom(from); |
| 8004 | } |
| 8005 | return *this; |
| 8006 | } |
| 8007 | |
| 8008 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 8009 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 8010 | } |
| 8011 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 8012 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 8013 | } |
| 8014 | |
| 8015 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 8016 | return GetDescriptor(); |
| 8017 | } |
| 8018 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 8019 | return default_instance().GetMetadata().descriptor; |
| 8020 | } |
| 8021 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 8022 | return default_instance().GetMetadata().reflection; |
| 8023 | } |
| 8024 | static const SourceCodeInfo& default_instance() { |
| 8025 | return *internal_default_instance(); |
| 8026 | } |
| 8027 | static inline const SourceCodeInfo* internal_default_instance() { |
| 8028 | return reinterpret_cast<const SourceCodeInfo*>( |
| 8029 | &_SourceCodeInfo_default_instance_); |
| 8030 | } |
| 8031 | static constexpr int kIndexInFileMessages = |
| 8032 | 24; |
| 8033 | |
| 8034 | friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) { |
| 8035 | a.Swap(other: &b); |
| 8036 | } |
| 8037 | inline void Swap(SourceCodeInfo* other) { |
| 8038 | if (other == this) return; |
| 8039 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 8040 | if (GetOwningArena() != nullptr && |
| 8041 | GetOwningArena() == other->GetOwningArena()) { |
| 8042 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 8043 | if (GetOwningArena() == other->GetOwningArena()) { |
| 8044 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 8045 | InternalSwap(other); |
| 8046 | } else { |
| 8047 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 8048 | } |
| 8049 | } |
| 8050 | void UnsafeArenaSwap(SourceCodeInfo* other) { |
| 8051 | if (other == this) return; |
| 8052 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 8053 | InternalSwap(other); |
| 8054 | } |
| 8055 | |
| 8056 | // implements Message ---------------------------------------------- |
| 8057 | |
| 8058 | SourceCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 8059 | return CreateMaybeMessage<SourceCodeInfo>(arena); |
| 8060 | } |
| 8061 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 8062 | void CopyFrom(const SourceCodeInfo& from); |
| 8063 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 8064 | void MergeFrom( const SourceCodeInfo& from) { |
| 8065 | SourceCodeInfo::MergeImpl(to_msg&: *this, from_msg: from); |
| 8066 | } |
| 8067 | private: |
| 8068 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 8069 | public: |
| 8070 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 8071 | bool IsInitialized() const final; |
| 8072 | |
| 8073 | size_t ByteSizeLong() const final; |
| 8074 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 8075 | uint8_t* _InternalSerialize( |
| 8076 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 8077 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 8078 | |
| 8079 | private: |
| 8080 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 8081 | void SharedDtor(); |
| 8082 | void SetCachedSize(int size) const final; |
| 8083 | void InternalSwap(SourceCodeInfo* other); |
| 8084 | |
| 8085 | private: |
| 8086 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 8087 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 8088 | return "google.protobuf.SourceCodeInfo" ; |
| 8089 | } |
| 8090 | protected: |
| 8091 | explicit SourceCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 8092 | bool is_message_owned = false); |
| 8093 | public: |
| 8094 | |
| 8095 | static const ClassData _class_data_; |
| 8096 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 8097 | |
| 8098 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 8099 | |
| 8100 | // nested types ---------------------------------------------------- |
| 8101 | |
| 8102 | typedef SourceCodeInfo_Location Location; |
| 8103 | |
| 8104 | // accessors ------------------------------------------------------- |
| 8105 | |
| 8106 | enum : int { |
| 8107 | kLocationFieldNumber = 1, |
| 8108 | }; |
| 8109 | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
| 8110 | int location_size() const; |
| 8111 | private: |
| 8112 | int _internal_location_size() const; |
| 8113 | public: |
| 8114 | void clear_location(); |
| 8115 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* mutable_location(int index); |
| 8116 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >* |
| 8117 | mutable_location(); |
| 8118 | private: |
| 8119 | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& _internal_location(int index) const; |
| 8120 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _internal_add_location(); |
| 8121 | public: |
| 8122 | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& location(int index) const; |
| 8123 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* add_location(); |
| 8124 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >& |
| 8125 | location() const; |
| 8126 | |
| 8127 | // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo) |
| 8128 | private: |
| 8129 | class _Internal; |
| 8130 | |
| 8131 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 8132 | typedef void InternalArenaConstructable_; |
| 8133 | typedef void DestructorSkippable_; |
| 8134 | struct Impl_ { |
| 8135 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location > location_; |
| 8136 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 8137 | }; |
| 8138 | union { Impl_ _impl_; }; |
| 8139 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 8140 | }; |
| 8141 | // ------------------------------------------------------------------- |
| 8142 | |
| 8143 | class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final : |
| 8144 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ { |
| 8145 | public: |
| 8146 | inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {} |
| 8147 | ~GeneratedCodeInfo_Annotation() override; |
| 8148 | explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 8149 | |
| 8150 | GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from); |
| 8151 | GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept |
| 8152 | : GeneratedCodeInfo_Annotation() { |
| 8153 | *this = ::std::move(from); |
| 8154 | } |
| 8155 | |
| 8156 | inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) { |
| 8157 | CopyFrom(from); |
| 8158 | return *this; |
| 8159 | } |
| 8160 | inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept { |
| 8161 | if (this == &from) return *this; |
| 8162 | if (GetOwningArena() == from.GetOwningArena() |
| 8163 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 8164 | && GetOwningArena() != nullptr |
| 8165 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 8166 | ) { |
| 8167 | InternalSwap(other: &from); |
| 8168 | } else { |
| 8169 | CopyFrom(from); |
| 8170 | } |
| 8171 | return *this; |
| 8172 | } |
| 8173 | |
| 8174 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 8175 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 8176 | } |
| 8177 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 8178 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 8179 | } |
| 8180 | |
| 8181 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 8182 | return GetDescriptor(); |
| 8183 | } |
| 8184 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 8185 | return default_instance().GetMetadata().descriptor; |
| 8186 | } |
| 8187 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 8188 | return default_instance().GetMetadata().reflection; |
| 8189 | } |
| 8190 | static const GeneratedCodeInfo_Annotation& default_instance() { |
| 8191 | return *internal_default_instance(); |
| 8192 | } |
| 8193 | static inline const GeneratedCodeInfo_Annotation* internal_default_instance() { |
| 8194 | return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( |
| 8195 | &_GeneratedCodeInfo_Annotation_default_instance_); |
| 8196 | } |
| 8197 | static constexpr int kIndexInFileMessages = |
| 8198 | 25; |
| 8199 | |
| 8200 | friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { |
| 8201 | a.Swap(other: &b); |
| 8202 | } |
| 8203 | inline void Swap(GeneratedCodeInfo_Annotation* other) { |
| 8204 | if (other == this) return; |
| 8205 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 8206 | if (GetOwningArena() != nullptr && |
| 8207 | GetOwningArena() == other->GetOwningArena()) { |
| 8208 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 8209 | if (GetOwningArena() == other->GetOwningArena()) { |
| 8210 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 8211 | InternalSwap(other); |
| 8212 | } else { |
| 8213 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 8214 | } |
| 8215 | } |
| 8216 | void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) { |
| 8217 | if (other == this) return; |
| 8218 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 8219 | InternalSwap(other); |
| 8220 | } |
| 8221 | |
| 8222 | // implements Message ---------------------------------------------- |
| 8223 | |
| 8224 | GeneratedCodeInfo_Annotation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 8225 | return CreateMaybeMessage<GeneratedCodeInfo_Annotation>(arena); |
| 8226 | } |
| 8227 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 8228 | void CopyFrom(const GeneratedCodeInfo_Annotation& from); |
| 8229 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 8230 | void MergeFrom( const GeneratedCodeInfo_Annotation& from) { |
| 8231 | GeneratedCodeInfo_Annotation::MergeImpl(to_msg&: *this, from_msg: from); |
| 8232 | } |
| 8233 | private: |
| 8234 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 8235 | public: |
| 8236 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 8237 | bool IsInitialized() const final; |
| 8238 | |
| 8239 | size_t ByteSizeLong() const final; |
| 8240 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 8241 | uint8_t* _InternalSerialize( |
| 8242 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 8243 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 8244 | |
| 8245 | private: |
| 8246 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 8247 | void SharedDtor(); |
| 8248 | void SetCachedSize(int size) const final; |
| 8249 | void InternalSwap(GeneratedCodeInfo_Annotation* other); |
| 8250 | |
| 8251 | private: |
| 8252 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 8253 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 8254 | return "google.protobuf.GeneratedCodeInfo.Annotation" ; |
| 8255 | } |
| 8256 | protected: |
| 8257 | explicit GeneratedCodeInfo_Annotation(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 8258 | bool is_message_owned = false); |
| 8259 | public: |
| 8260 | |
| 8261 | static const ClassData _class_data_; |
| 8262 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 8263 | |
| 8264 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 8265 | |
| 8266 | // nested types ---------------------------------------------------- |
| 8267 | |
| 8268 | // accessors ------------------------------------------------------- |
| 8269 | |
| 8270 | enum : int { |
| 8271 | kPathFieldNumber = 1, |
| 8272 | kSourceFileFieldNumber = 2, |
| 8273 | kBeginFieldNumber = 3, |
| 8274 | kEndFieldNumber = 4, |
| 8275 | }; |
| 8276 | // repeated int32 path = 1 [packed = true]; |
| 8277 | int path_size() const; |
| 8278 | private: |
| 8279 | int _internal_path_size() const; |
| 8280 | public: |
| 8281 | void clear_path(); |
| 8282 | private: |
| 8283 | int32_t _internal_path(int index) const; |
| 8284 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 8285 | _internal_path() const; |
| 8286 | void _internal_add_path(int32_t value); |
| 8287 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 8288 | _internal_mutable_path(); |
| 8289 | public: |
| 8290 | int32_t path(int index) const; |
| 8291 | void set_path(int index, int32_t value); |
| 8292 | void add_path(int32_t value); |
| 8293 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 8294 | path() const; |
| 8295 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 8296 | mutable_path(); |
| 8297 | |
| 8298 | // optional string source_file = 2; |
| 8299 | bool has_source_file() const; |
| 8300 | private: |
| 8301 | bool _internal_has_source_file() const; |
| 8302 | public: |
| 8303 | void clear_source_file(); |
| 8304 | const std::string& source_file() const; |
| 8305 | template <typename ArgT0 = const std::string&, typename... ArgT> |
| 8306 | void set_source_file(ArgT0&& arg0, ArgT... args); |
| 8307 | std::string* mutable_source_file(); |
| 8308 | PROTOBUF_NODISCARD std::string* release_source_file(); |
| 8309 | void set_allocated_source_file(std::string* source_file); |
| 8310 | private: |
| 8311 | const std::string& _internal_source_file() const; |
| 8312 | inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_file(const std::string& value); |
| 8313 | std::string* _internal_mutable_source_file(); |
| 8314 | public: |
| 8315 | |
| 8316 | // optional int32 begin = 3; |
| 8317 | bool has_begin() const; |
| 8318 | private: |
| 8319 | bool _internal_has_begin() const; |
| 8320 | public: |
| 8321 | void clear_begin(); |
| 8322 | int32_t begin() const; |
| 8323 | void set_begin(int32_t value); |
| 8324 | private: |
| 8325 | int32_t _internal_begin() const; |
| 8326 | void _internal_set_begin(int32_t value); |
| 8327 | public: |
| 8328 | |
| 8329 | // optional int32 end = 4; |
| 8330 | bool has_end() const; |
| 8331 | private: |
| 8332 | bool _internal_has_end() const; |
| 8333 | public: |
| 8334 | void clear_end(); |
| 8335 | int32_t end() const; |
| 8336 | void set_end(int32_t value); |
| 8337 | private: |
| 8338 | int32_t _internal_end() const; |
| 8339 | void _internal_set_end(int32_t value); |
| 8340 | public: |
| 8341 | |
| 8342 | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation) |
| 8343 | private: |
| 8344 | class _Internal; |
| 8345 | |
| 8346 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 8347 | typedef void InternalArenaConstructable_; |
| 8348 | typedef void DestructorSkippable_; |
| 8349 | struct Impl_ { |
| 8350 | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
| 8351 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 8352 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > path_; |
| 8353 | mutable std::atomic<int> _path_cached_byte_size_; |
| 8354 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr source_file_; |
| 8355 | int32_t begin_; |
| 8356 | int32_t end_; |
| 8357 | }; |
| 8358 | union { Impl_ _impl_; }; |
| 8359 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 8360 | }; |
| 8361 | // ------------------------------------------------------------------- |
| 8362 | |
| 8363 | class PROTOBUF_EXPORT GeneratedCodeInfo final : |
| 8364 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ { |
| 8365 | public: |
| 8366 | inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {} |
| 8367 | ~GeneratedCodeInfo() override; |
| 8368 | explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
| 8369 | |
| 8370 | GeneratedCodeInfo(const GeneratedCodeInfo& from); |
| 8371 | GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept |
| 8372 | : GeneratedCodeInfo() { |
| 8373 | *this = ::std::move(from); |
| 8374 | } |
| 8375 | |
| 8376 | inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) { |
| 8377 | CopyFrom(from); |
| 8378 | return *this; |
| 8379 | } |
| 8380 | inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept { |
| 8381 | if (this == &from) return *this; |
| 8382 | if (GetOwningArena() == from.GetOwningArena() |
| 8383 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| 8384 | && GetOwningArena() != nullptr |
| 8385 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| 8386 | ) { |
| 8387 | InternalSwap(other: &from); |
| 8388 | } else { |
| 8389 | CopyFrom(from); |
| 8390 | } |
| 8391 | return *this; |
| 8392 | } |
| 8393 | |
| 8394 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
| 8395 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(default_instance: ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
| 8396 | } |
| 8397 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
| 8398 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
| 8399 | } |
| 8400 | |
| 8401 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
| 8402 | return GetDescriptor(); |
| 8403 | } |
| 8404 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
| 8405 | return default_instance().GetMetadata().descriptor; |
| 8406 | } |
| 8407 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
| 8408 | return default_instance().GetMetadata().reflection; |
| 8409 | } |
| 8410 | static const GeneratedCodeInfo& default_instance() { |
| 8411 | return *internal_default_instance(); |
| 8412 | } |
| 8413 | static inline const GeneratedCodeInfo* internal_default_instance() { |
| 8414 | return reinterpret_cast<const GeneratedCodeInfo*>( |
| 8415 | &_GeneratedCodeInfo_default_instance_); |
| 8416 | } |
| 8417 | static constexpr int kIndexInFileMessages = |
| 8418 | 26; |
| 8419 | |
| 8420 | friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) { |
| 8421 | a.Swap(other: &b); |
| 8422 | } |
| 8423 | inline void Swap(GeneratedCodeInfo* other) { |
| 8424 | if (other == this) return; |
| 8425 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| 8426 | if (GetOwningArena() != nullptr && |
| 8427 | GetOwningArena() == other->GetOwningArena()) { |
| 8428 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| 8429 | if (GetOwningArena() == other->GetOwningArena()) { |
| 8430 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| 8431 | InternalSwap(other); |
| 8432 | } else { |
| 8433 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(m1: this, m2: other); |
| 8434 | } |
| 8435 | } |
| 8436 | void UnsafeArenaSwap(GeneratedCodeInfo* other) { |
| 8437 | if (other == this) return; |
| 8438 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
| 8439 | InternalSwap(other); |
| 8440 | } |
| 8441 | |
| 8442 | // implements Message ---------------------------------------------- |
| 8443 | |
| 8444 | GeneratedCodeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
| 8445 | return CreateMaybeMessage<GeneratedCodeInfo>(arena); |
| 8446 | } |
| 8447 | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
| 8448 | void CopyFrom(const GeneratedCodeInfo& from); |
| 8449 | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
| 8450 | void MergeFrom( const GeneratedCodeInfo& from) { |
| 8451 | GeneratedCodeInfo::MergeImpl(to_msg&: *this, from_msg: from); |
| 8452 | } |
| 8453 | private: |
| 8454 | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
| 8455 | public: |
| 8456 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| 8457 | bool IsInitialized() const final; |
| 8458 | |
| 8459 | size_t ByteSizeLong() const final; |
| 8460 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| 8461 | uint8_t* _InternalSerialize( |
| 8462 | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| 8463 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
| 8464 | |
| 8465 | private: |
| 8466 | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
| 8467 | void SharedDtor(); |
| 8468 | void SetCachedSize(int size) const final; |
| 8469 | void InternalSwap(GeneratedCodeInfo* other); |
| 8470 | |
| 8471 | private: |
| 8472 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| 8473 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| 8474 | return "google.protobuf.GeneratedCodeInfo" ; |
| 8475 | } |
| 8476 | protected: |
| 8477 | explicit GeneratedCodeInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
| 8478 | bool is_message_owned = false); |
| 8479 | public: |
| 8480 | |
| 8481 | static const ClassData _class_data_; |
| 8482 | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
| 8483 | |
| 8484 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
| 8485 | |
| 8486 | // nested types ---------------------------------------------------- |
| 8487 | |
| 8488 | typedef GeneratedCodeInfo_Annotation Annotation; |
| 8489 | |
| 8490 | // accessors ------------------------------------------------------- |
| 8491 | |
| 8492 | enum : int { |
| 8493 | kAnnotationFieldNumber = 1, |
| 8494 | }; |
| 8495 | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
| 8496 | int annotation_size() const; |
| 8497 | private: |
| 8498 | int _internal_annotation_size() const; |
| 8499 | public: |
| 8500 | void clear_annotation(); |
| 8501 | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* mutable_annotation(int index); |
| 8502 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >* |
| 8503 | mutable_annotation(); |
| 8504 | private: |
| 8505 | const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& _internal_annotation(int index) const; |
| 8506 | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _internal_add_annotation(); |
| 8507 | public: |
| 8508 | const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& annotation(int index) const; |
| 8509 | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* add_annotation(); |
| 8510 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >& |
| 8511 | annotation() const; |
| 8512 | |
| 8513 | // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo) |
| 8514 | private: |
| 8515 | class _Internal; |
| 8516 | |
| 8517 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| 8518 | typedef void InternalArenaConstructable_; |
| 8519 | typedef void DestructorSkippable_; |
| 8520 | struct Impl_ { |
| 8521 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation > annotation_; |
| 8522 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| 8523 | }; |
| 8524 | union { Impl_ _impl_; }; |
| 8525 | friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| 8526 | }; |
| 8527 | // =================================================================== |
| 8528 | |
| 8529 | |
| 8530 | // =================================================================== |
| 8531 | |
| 8532 | #ifdef __GNUC__ |
| 8533 | #pragma GCC diagnostic push |
| 8534 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| 8535 | #endif // __GNUC__ |
| 8536 | // FileDescriptorSet |
| 8537 | |
| 8538 | // repeated .google.protobuf.FileDescriptorProto file = 1; |
| 8539 | inline int FileDescriptorSet::_internal_file_size() const { |
| 8540 | return _impl_.file_.size(); |
| 8541 | } |
| 8542 | inline int FileDescriptorSet::file_size() const { |
| 8543 | return _internal_file_size(); |
| 8544 | } |
| 8545 | inline void FileDescriptorSet::clear_file() { |
| 8546 | _impl_.file_.Clear(); |
| 8547 | } |
| 8548 | inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::mutable_file(int index) { |
| 8549 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorSet.file) |
| 8550 | return _impl_.file_.Mutable(index); |
| 8551 | } |
| 8552 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >* |
| 8553 | FileDescriptorSet::mutable_file() { |
| 8554 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorSet.file) |
| 8555 | return &_impl_.file_; |
| 8556 | } |
| 8557 | inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::_internal_file(int index) const { |
| 8558 | return _impl_.file_.Get(index); |
| 8559 | } |
| 8560 | inline const ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto& FileDescriptorSet::file(int index) const { |
| 8561 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorSet.file) |
| 8562 | return _internal_file(index); |
| 8563 | } |
| 8564 | inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::_internal_add_file() { |
| 8565 | return _impl_.file_.Add(); |
| 8566 | } |
| 8567 | inline ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* FileDescriptorSet::add_file() { |
| 8568 | ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto* _add = _internal_add_file(); |
| 8569 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorSet.file) |
| 8570 | return _add; |
| 8571 | } |
| 8572 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FileDescriptorProto >& |
| 8573 | FileDescriptorSet::file() const { |
| 8574 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorSet.file) |
| 8575 | return _impl_.file_; |
| 8576 | } |
| 8577 | |
| 8578 | // ------------------------------------------------------------------- |
| 8579 | |
| 8580 | // FileDescriptorProto |
| 8581 | |
| 8582 | // optional string name = 1; |
| 8583 | inline bool FileDescriptorProto::_internal_has_name() const { |
| 8584 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 8585 | return value; |
| 8586 | } |
| 8587 | inline bool FileDescriptorProto::has_name() const { |
| 8588 | return _internal_has_name(); |
| 8589 | } |
| 8590 | inline void FileDescriptorProto::clear_name() { |
| 8591 | _impl_.name_.ClearToEmpty(); |
| 8592 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 8593 | } |
| 8594 | inline const std::string& FileDescriptorProto::name() const { |
| 8595 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.name) |
| 8596 | return _internal_name(); |
| 8597 | } |
| 8598 | template <typename ArgT0, typename... ArgT> |
| 8599 | inline PROTOBUF_ALWAYS_INLINE |
| 8600 | void FileDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
| 8601 | _impl_._has_bits_[0] |= 0x00000001u; |
| 8602 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 8603 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.name) |
| 8604 | } |
| 8605 | inline std::string* FileDescriptorProto::mutable_name() { |
| 8606 | std::string* _s = _internal_mutable_name(); |
| 8607 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.name) |
| 8608 | return _s; |
| 8609 | } |
| 8610 | inline const std::string& FileDescriptorProto::_internal_name() const { |
| 8611 | return _impl_.name_.Get(); |
| 8612 | } |
| 8613 | inline void FileDescriptorProto::_internal_set_name(const std::string& value) { |
| 8614 | _impl_._has_bits_[0] |= 0x00000001u; |
| 8615 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 8616 | } |
| 8617 | inline std::string* FileDescriptorProto::_internal_mutable_name() { |
| 8618 | _impl_._has_bits_[0] |= 0x00000001u; |
| 8619 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 8620 | } |
| 8621 | inline std::string* FileDescriptorProto::release_name() { |
| 8622 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.name) |
| 8623 | if (!_internal_has_name()) { |
| 8624 | return nullptr; |
| 8625 | } |
| 8626 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 8627 | auto* p = _impl_.name_.Release(); |
| 8628 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 8629 | if (_impl_.name_.IsDefault()) { |
| 8630 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 8631 | } |
| 8632 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 8633 | return p; |
| 8634 | } |
| 8635 | inline void FileDescriptorProto::set_allocated_name(std::string* name) { |
| 8636 | if (name != nullptr) { |
| 8637 | _impl_._has_bits_[0] |= 0x00000001u; |
| 8638 | } else { |
| 8639 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 8640 | } |
| 8641 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 8642 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 8643 | if (_impl_.name_.IsDefault()) { |
| 8644 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 8645 | } |
| 8646 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 8647 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.name) |
| 8648 | } |
| 8649 | |
| 8650 | // optional string package = 2; |
| 8651 | inline bool FileDescriptorProto::_internal_has_package() const { |
| 8652 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 8653 | return value; |
| 8654 | } |
| 8655 | inline bool FileDescriptorProto::has_package() const { |
| 8656 | return _internal_has_package(); |
| 8657 | } |
| 8658 | inline void FileDescriptorProto::clear_package() { |
| 8659 | _impl_.package_.ClearToEmpty(); |
| 8660 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 8661 | } |
| 8662 | inline const std::string& FileDescriptorProto::package() const { |
| 8663 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.package) |
| 8664 | return _internal_package(); |
| 8665 | } |
| 8666 | template <typename ArgT0, typename... ArgT> |
| 8667 | inline PROTOBUF_ALWAYS_INLINE |
| 8668 | void FileDescriptorProto::set_package(ArgT0&& arg0, ArgT... args) { |
| 8669 | _impl_._has_bits_[0] |= 0x00000002u; |
| 8670 | _impl_.package_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 8671 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.package) |
| 8672 | } |
| 8673 | inline std::string* FileDescriptorProto::mutable_package() { |
| 8674 | std::string* _s = _internal_mutable_package(); |
| 8675 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.package) |
| 8676 | return _s; |
| 8677 | } |
| 8678 | inline const std::string& FileDescriptorProto::_internal_package() const { |
| 8679 | return _impl_.package_.Get(); |
| 8680 | } |
| 8681 | inline void FileDescriptorProto::_internal_set_package(const std::string& value) { |
| 8682 | _impl_._has_bits_[0] |= 0x00000002u; |
| 8683 | _impl_.package_.Set(value, arena: GetArenaForAllocation()); |
| 8684 | } |
| 8685 | inline std::string* FileDescriptorProto::_internal_mutable_package() { |
| 8686 | _impl_._has_bits_[0] |= 0x00000002u; |
| 8687 | return _impl_.package_.Mutable(arena: GetArenaForAllocation()); |
| 8688 | } |
| 8689 | inline std::string* FileDescriptorProto::release_package() { |
| 8690 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.package) |
| 8691 | if (!_internal_has_package()) { |
| 8692 | return nullptr; |
| 8693 | } |
| 8694 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 8695 | auto* p = _impl_.package_.Release(); |
| 8696 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 8697 | if (_impl_.package_.IsDefault()) { |
| 8698 | _impl_.package_.Set("" , GetArenaForAllocation()); |
| 8699 | } |
| 8700 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 8701 | return p; |
| 8702 | } |
| 8703 | inline void FileDescriptorProto::set_allocated_package(std::string* package) { |
| 8704 | if (package != nullptr) { |
| 8705 | _impl_._has_bits_[0] |= 0x00000002u; |
| 8706 | } else { |
| 8707 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 8708 | } |
| 8709 | _impl_.package_.SetAllocated(value: package, arena: GetArenaForAllocation()); |
| 8710 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 8711 | if (_impl_.package_.IsDefault()) { |
| 8712 | _impl_.package_.Set("" , GetArenaForAllocation()); |
| 8713 | } |
| 8714 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 8715 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.package) |
| 8716 | } |
| 8717 | |
| 8718 | // repeated string dependency = 3; |
| 8719 | inline int FileDescriptorProto::_internal_dependency_size() const { |
| 8720 | return _impl_.dependency_.size(); |
| 8721 | } |
| 8722 | inline int FileDescriptorProto::dependency_size() const { |
| 8723 | return _internal_dependency_size(); |
| 8724 | } |
| 8725 | inline void FileDescriptorProto::clear_dependency() { |
| 8726 | _impl_.dependency_.Clear(); |
| 8727 | } |
| 8728 | inline std::string* FileDescriptorProto::add_dependency() { |
| 8729 | std::string* _s = _internal_add_dependency(); |
| 8730 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.FileDescriptorProto.dependency) |
| 8731 | return _s; |
| 8732 | } |
| 8733 | inline const std::string& FileDescriptorProto::_internal_dependency(int index) const { |
| 8734 | return _impl_.dependency_.Get(index); |
| 8735 | } |
| 8736 | inline const std::string& FileDescriptorProto::dependency(int index) const { |
| 8737 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.dependency) |
| 8738 | return _internal_dependency(index); |
| 8739 | } |
| 8740 | inline std::string* FileDescriptorProto::mutable_dependency(int index) { |
| 8741 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.dependency) |
| 8742 | return _impl_.dependency_.Mutable(index); |
| 8743 | } |
| 8744 | inline void FileDescriptorProto::set_dependency(int index, const std::string& value) { |
| 8745 | _impl_.dependency_.Mutable(index)->assign(str: value); |
| 8746 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
| 8747 | } |
| 8748 | inline void FileDescriptorProto::set_dependency(int index, std::string&& value) { |
| 8749 | _impl_.dependency_.Mutable(index)->assign(str: std::move(value)); |
| 8750 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.dependency) |
| 8751 | } |
| 8752 | inline void FileDescriptorProto::set_dependency(int index, const char* value) { |
| 8753 | GOOGLE_DCHECK(value != nullptr); |
| 8754 | _impl_.dependency_.Mutable(index)->assign(s: value); |
| 8755 | // @@protoc_insertion_point(field_set_char:google.protobuf.FileDescriptorProto.dependency) |
| 8756 | } |
| 8757 | inline void FileDescriptorProto::set_dependency(int index, const char* value, size_t size) { |
| 8758 | _impl_.dependency_.Mutable(index)->assign( |
| 8759 | s: reinterpret_cast<const char*>(value), n: size); |
| 8760 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.FileDescriptorProto.dependency) |
| 8761 | } |
| 8762 | inline std::string* FileDescriptorProto::_internal_add_dependency() { |
| 8763 | return _impl_.dependency_.Add(); |
| 8764 | } |
| 8765 | inline void FileDescriptorProto::add_dependency(const std::string& value) { |
| 8766 | _impl_.dependency_.Add()->assign(str: value); |
| 8767 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
| 8768 | } |
| 8769 | inline void FileDescriptorProto::add_dependency(std::string&& value) { |
| 8770 | _impl_.dependency_.Add(value: std::move(value)); |
| 8771 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.dependency) |
| 8772 | } |
| 8773 | inline void FileDescriptorProto::add_dependency(const char* value) { |
| 8774 | GOOGLE_DCHECK(value != nullptr); |
| 8775 | _impl_.dependency_.Add()->assign(s: value); |
| 8776 | // @@protoc_insertion_point(field_add_char:google.protobuf.FileDescriptorProto.dependency) |
| 8777 | } |
| 8778 | inline void FileDescriptorProto::add_dependency(const char* value, size_t size) { |
| 8779 | _impl_.dependency_.Add()->assign(s: reinterpret_cast<const char*>(value), n: size); |
| 8780 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.FileDescriptorProto.dependency) |
| 8781 | } |
| 8782 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
| 8783 | FileDescriptorProto::dependency() const { |
| 8784 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.dependency) |
| 8785 | return _impl_.dependency_; |
| 8786 | } |
| 8787 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
| 8788 | FileDescriptorProto::mutable_dependency() { |
| 8789 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.dependency) |
| 8790 | return &_impl_.dependency_; |
| 8791 | } |
| 8792 | |
| 8793 | // repeated int32 public_dependency = 10; |
| 8794 | inline int FileDescriptorProto::_internal_public_dependency_size() const { |
| 8795 | return _impl_.public_dependency_.size(); |
| 8796 | } |
| 8797 | inline int FileDescriptorProto::public_dependency_size() const { |
| 8798 | return _internal_public_dependency_size(); |
| 8799 | } |
| 8800 | inline void FileDescriptorProto::clear_public_dependency() { |
| 8801 | _impl_.public_dependency_.Clear(); |
| 8802 | } |
| 8803 | inline int32_t FileDescriptorProto::_internal_public_dependency(int index) const { |
| 8804 | return _impl_.public_dependency_.Get(index); |
| 8805 | } |
| 8806 | inline int32_t FileDescriptorProto::public_dependency(int index) const { |
| 8807 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.public_dependency) |
| 8808 | return _internal_public_dependency(index); |
| 8809 | } |
| 8810 | inline void FileDescriptorProto::set_public_dependency(int index, int32_t value) { |
| 8811 | _impl_.public_dependency_.Set(index, value); |
| 8812 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.public_dependency) |
| 8813 | } |
| 8814 | inline void FileDescriptorProto::_internal_add_public_dependency(int32_t value) { |
| 8815 | _impl_.public_dependency_.Add(value); |
| 8816 | } |
| 8817 | inline void FileDescriptorProto::add_public_dependency(int32_t value) { |
| 8818 | _internal_add_public_dependency(value); |
| 8819 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.public_dependency) |
| 8820 | } |
| 8821 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 8822 | FileDescriptorProto::_internal_public_dependency() const { |
| 8823 | return _impl_.public_dependency_; |
| 8824 | } |
| 8825 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 8826 | FileDescriptorProto::public_dependency() const { |
| 8827 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.public_dependency) |
| 8828 | return _internal_public_dependency(); |
| 8829 | } |
| 8830 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 8831 | FileDescriptorProto::_internal_mutable_public_dependency() { |
| 8832 | return &_impl_.public_dependency_; |
| 8833 | } |
| 8834 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 8835 | FileDescriptorProto::mutable_public_dependency() { |
| 8836 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.public_dependency) |
| 8837 | return _internal_mutable_public_dependency(); |
| 8838 | } |
| 8839 | |
| 8840 | // repeated int32 weak_dependency = 11; |
| 8841 | inline int FileDescriptorProto::_internal_weak_dependency_size() const { |
| 8842 | return _impl_.weak_dependency_.size(); |
| 8843 | } |
| 8844 | inline int FileDescriptorProto::weak_dependency_size() const { |
| 8845 | return _internal_weak_dependency_size(); |
| 8846 | } |
| 8847 | inline void FileDescriptorProto::clear_weak_dependency() { |
| 8848 | _impl_.weak_dependency_.Clear(); |
| 8849 | } |
| 8850 | inline int32_t FileDescriptorProto::_internal_weak_dependency(int index) const { |
| 8851 | return _impl_.weak_dependency_.Get(index); |
| 8852 | } |
| 8853 | inline int32_t FileDescriptorProto::weak_dependency(int index) const { |
| 8854 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.weak_dependency) |
| 8855 | return _internal_weak_dependency(index); |
| 8856 | } |
| 8857 | inline void FileDescriptorProto::set_weak_dependency(int index, int32_t value) { |
| 8858 | _impl_.weak_dependency_.Set(index, value); |
| 8859 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.weak_dependency) |
| 8860 | } |
| 8861 | inline void FileDescriptorProto::_internal_add_weak_dependency(int32_t value) { |
| 8862 | _impl_.weak_dependency_.Add(value); |
| 8863 | } |
| 8864 | inline void FileDescriptorProto::add_weak_dependency(int32_t value) { |
| 8865 | _internal_add_weak_dependency(value); |
| 8866 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.weak_dependency) |
| 8867 | } |
| 8868 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 8869 | FileDescriptorProto::_internal_weak_dependency() const { |
| 8870 | return _impl_.weak_dependency_; |
| 8871 | } |
| 8872 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 8873 | FileDescriptorProto::weak_dependency() const { |
| 8874 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.weak_dependency) |
| 8875 | return _internal_weak_dependency(); |
| 8876 | } |
| 8877 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 8878 | FileDescriptorProto::_internal_mutable_weak_dependency() { |
| 8879 | return &_impl_.weak_dependency_; |
| 8880 | } |
| 8881 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 8882 | FileDescriptorProto::mutable_weak_dependency() { |
| 8883 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.weak_dependency) |
| 8884 | return _internal_mutable_weak_dependency(); |
| 8885 | } |
| 8886 | |
| 8887 | // repeated .google.protobuf.DescriptorProto message_type = 4; |
| 8888 | inline int FileDescriptorProto::_internal_message_type_size() const { |
| 8889 | return _impl_.message_type_.size(); |
| 8890 | } |
| 8891 | inline int FileDescriptorProto::message_type_size() const { |
| 8892 | return _internal_message_type_size(); |
| 8893 | } |
| 8894 | inline void FileDescriptorProto::clear_message_type() { |
| 8895 | _impl_.message_type_.Clear(); |
| 8896 | } |
| 8897 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::mutable_message_type(int index) { |
| 8898 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.message_type) |
| 8899 | return _impl_.message_type_.Mutable(index); |
| 8900 | } |
| 8901 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
| 8902 | FileDescriptorProto::mutable_message_type() { |
| 8903 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.message_type) |
| 8904 | return &_impl_.message_type_; |
| 8905 | } |
| 8906 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::_internal_message_type(int index) const { |
| 8907 | return _impl_.message_type_.Get(index); |
| 8908 | } |
| 8909 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& FileDescriptorProto::message_type(int index) const { |
| 8910 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.message_type) |
| 8911 | return _internal_message_type(index); |
| 8912 | } |
| 8913 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::_internal_add_message_type() { |
| 8914 | return _impl_.message_type_.Add(); |
| 8915 | } |
| 8916 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* FileDescriptorProto::add_message_type() { |
| 8917 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_message_type(); |
| 8918 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.message_type) |
| 8919 | return _add; |
| 8920 | } |
| 8921 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
| 8922 | FileDescriptorProto::message_type() const { |
| 8923 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.message_type) |
| 8924 | return _impl_.message_type_; |
| 8925 | } |
| 8926 | |
| 8927 | // repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
| 8928 | inline int FileDescriptorProto::_internal_enum_type_size() const { |
| 8929 | return _impl_.enum_type_.size(); |
| 8930 | } |
| 8931 | inline int FileDescriptorProto::enum_type_size() const { |
| 8932 | return _internal_enum_type_size(); |
| 8933 | } |
| 8934 | inline void FileDescriptorProto::clear_enum_type() { |
| 8935 | _impl_.enum_type_.Clear(); |
| 8936 | } |
| 8937 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::mutable_enum_type(int index) { |
| 8938 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.enum_type) |
| 8939 | return _impl_.enum_type_.Mutable(index); |
| 8940 | } |
| 8941 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
| 8942 | FileDescriptorProto::mutable_enum_type() { |
| 8943 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.enum_type) |
| 8944 | return &_impl_.enum_type_; |
| 8945 | } |
| 8946 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::_internal_enum_type(int index) const { |
| 8947 | return _impl_.enum_type_.Get(index); |
| 8948 | } |
| 8949 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& FileDescriptorProto::enum_type(int index) const { |
| 8950 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.enum_type) |
| 8951 | return _internal_enum_type(index); |
| 8952 | } |
| 8953 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::_internal_add_enum_type() { |
| 8954 | return _impl_.enum_type_.Add(); |
| 8955 | } |
| 8956 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* FileDescriptorProto::add_enum_type() { |
| 8957 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type(); |
| 8958 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.enum_type) |
| 8959 | return _add; |
| 8960 | } |
| 8961 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
| 8962 | FileDescriptorProto::enum_type() const { |
| 8963 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.enum_type) |
| 8964 | return _impl_.enum_type_; |
| 8965 | } |
| 8966 | |
| 8967 | // repeated .google.protobuf.ServiceDescriptorProto service = 6; |
| 8968 | inline int FileDescriptorProto::_internal_service_size() const { |
| 8969 | return _impl_.service_.size(); |
| 8970 | } |
| 8971 | inline int FileDescriptorProto::service_size() const { |
| 8972 | return _internal_service_size(); |
| 8973 | } |
| 8974 | inline void FileDescriptorProto::clear_service() { |
| 8975 | _impl_.service_.Clear(); |
| 8976 | } |
| 8977 | inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::mutable_service(int index) { |
| 8978 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.service) |
| 8979 | return _impl_.service_.Mutable(index); |
| 8980 | } |
| 8981 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >* |
| 8982 | FileDescriptorProto::mutable_service() { |
| 8983 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.service) |
| 8984 | return &_impl_.service_; |
| 8985 | } |
| 8986 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::_internal_service(int index) const { |
| 8987 | return _impl_.service_.Get(index); |
| 8988 | } |
| 8989 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto& FileDescriptorProto::service(int index) const { |
| 8990 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.service) |
| 8991 | return _internal_service(index); |
| 8992 | } |
| 8993 | inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::_internal_add_service() { |
| 8994 | return _impl_.service_.Add(); |
| 8995 | } |
| 8996 | inline ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* FileDescriptorProto::add_service() { |
| 8997 | ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto* _add = _internal_add_service(); |
| 8998 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.service) |
| 8999 | return _add; |
| 9000 | } |
| 9001 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >& |
| 9002 | FileDescriptorProto::service() const { |
| 9003 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.service) |
| 9004 | return _impl_.service_; |
| 9005 | } |
| 9006 | |
| 9007 | // repeated .google.protobuf.FieldDescriptorProto extension = 7; |
| 9008 | inline int FileDescriptorProto::_internal_extension_size() const { |
| 9009 | return _impl_.extension_.size(); |
| 9010 | } |
| 9011 | inline int FileDescriptorProto::extension_size() const { |
| 9012 | return _internal_extension_size(); |
| 9013 | } |
| 9014 | inline void FileDescriptorProto::clear_extension() { |
| 9015 | _impl_.extension_.Clear(); |
| 9016 | } |
| 9017 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::mutable_extension(int index) { |
| 9018 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.extension) |
| 9019 | return _impl_.extension_.Mutable(index); |
| 9020 | } |
| 9021 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
| 9022 | FileDescriptorProto::mutable_extension() { |
| 9023 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileDescriptorProto.extension) |
| 9024 | return &_impl_.extension_; |
| 9025 | } |
| 9026 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::_internal_extension(int index) const { |
| 9027 | return _impl_.extension_.Get(index); |
| 9028 | } |
| 9029 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& FileDescriptorProto::extension(int index) const { |
| 9030 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.extension) |
| 9031 | return _internal_extension(index); |
| 9032 | } |
| 9033 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::_internal_add_extension() { |
| 9034 | return _impl_.extension_.Add(); |
| 9035 | } |
| 9036 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* FileDescriptorProto::add_extension() { |
| 9037 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension(); |
| 9038 | // @@protoc_insertion_point(field_add:google.protobuf.FileDescriptorProto.extension) |
| 9039 | return _add; |
| 9040 | } |
| 9041 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
| 9042 | FileDescriptorProto::extension() const { |
| 9043 | // @@protoc_insertion_point(field_list:google.protobuf.FileDescriptorProto.extension) |
| 9044 | return _impl_.extension_; |
| 9045 | } |
| 9046 | |
| 9047 | // optional .google.protobuf.FileOptions options = 8; |
| 9048 | inline bool FileDescriptorProto::_internal_has_options() const { |
| 9049 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
| 9050 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
| 9051 | return value; |
| 9052 | } |
| 9053 | inline bool FileDescriptorProto::has_options() const { |
| 9054 | return _internal_has_options(); |
| 9055 | } |
| 9056 | inline void FileDescriptorProto::clear_options() { |
| 9057 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
| 9058 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 9059 | } |
| 9060 | inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::_internal_options() const { |
| 9061 | const ::PROTOBUF_NAMESPACE_ID::FileOptions* p = _impl_.options_; |
| 9062 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FileOptions&>( |
| 9063 | ::PROTOBUF_NAMESPACE_ID::_FileOptions_default_instance_); |
| 9064 | } |
| 9065 | inline const ::PROTOBUF_NAMESPACE_ID::FileOptions& FileDescriptorProto::options() const { |
| 9066 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.options) |
| 9067 | return _internal_options(); |
| 9068 | } |
| 9069 | inline void FileDescriptorProto::unsafe_arena_set_allocated_options( |
| 9070 | ::PROTOBUF_NAMESPACE_ID::FileOptions* options) { |
| 9071 | if (GetArenaForAllocation() == nullptr) { |
| 9072 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
| 9073 | } |
| 9074 | _impl_.options_ = options; |
| 9075 | if (options) { |
| 9076 | _impl_._has_bits_[0] |= 0x00000008u; |
| 9077 | } else { |
| 9078 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 9079 | } |
| 9080 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.options) |
| 9081 | } |
| 9082 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::release_options() { |
| 9083 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 9084 | ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = _impl_.options_; |
| 9085 | _impl_.options_ = nullptr; |
| 9086 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9087 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 9088 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 9089 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 9090 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9091 | if (GetArenaForAllocation() != nullptr) { |
| 9092 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 9093 | } |
| 9094 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9095 | return temp; |
| 9096 | } |
| 9097 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::unsafe_arena_release_options() { |
| 9098 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.options) |
| 9099 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 9100 | ::PROTOBUF_NAMESPACE_ID::FileOptions* temp = _impl_.options_; |
| 9101 | _impl_.options_ = nullptr; |
| 9102 | return temp; |
| 9103 | } |
| 9104 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::_internal_mutable_options() { |
| 9105 | _impl_._has_bits_[0] |= 0x00000008u; |
| 9106 | if (_impl_.options_ == nullptr) { |
| 9107 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FileOptions>(arena: GetArenaForAllocation()); |
| 9108 | _impl_.options_ = p; |
| 9109 | } |
| 9110 | return _impl_.options_; |
| 9111 | } |
| 9112 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions* FileDescriptorProto::mutable_options() { |
| 9113 | ::PROTOBUF_NAMESPACE_ID::FileOptions* _msg = _internal_mutable_options(); |
| 9114 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.options) |
| 9115 | return _msg; |
| 9116 | } |
| 9117 | inline void FileDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FileOptions* options) { |
| 9118 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 9119 | if (message_arena == nullptr) { |
| 9120 | delete _impl_.options_; |
| 9121 | } |
| 9122 | if (options) { |
| 9123 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 9124 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: options); |
| 9125 | if (message_arena != submessage_arena) { |
| 9126 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 9127 | message_arena, submessage: options, submessage_arena); |
| 9128 | } |
| 9129 | _impl_._has_bits_[0] |= 0x00000008u; |
| 9130 | } else { |
| 9131 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 9132 | } |
| 9133 | _impl_.options_ = options; |
| 9134 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.options) |
| 9135 | } |
| 9136 | |
| 9137 | // optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
| 9138 | inline bool FileDescriptorProto::_internal_has_source_code_info() const { |
| 9139 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
| 9140 | PROTOBUF_ASSUME(!value || _impl_.source_code_info_ != nullptr); |
| 9141 | return value; |
| 9142 | } |
| 9143 | inline bool FileDescriptorProto::has_source_code_info() const { |
| 9144 | return _internal_has_source_code_info(); |
| 9145 | } |
| 9146 | inline void FileDescriptorProto::clear_source_code_info() { |
| 9147 | if (_impl_.source_code_info_ != nullptr) _impl_.source_code_info_->Clear(); |
| 9148 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 9149 | } |
| 9150 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::_internal_source_code_info() const { |
| 9151 | const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* p = _impl_.source_code_info_; |
| 9152 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo&>( |
| 9153 | ::PROTOBUF_NAMESPACE_ID::_SourceCodeInfo_default_instance_); |
| 9154 | } |
| 9155 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo& FileDescriptorProto::source_code_info() const { |
| 9156 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.source_code_info) |
| 9157 | return _internal_source_code_info(); |
| 9158 | } |
| 9159 | inline void FileDescriptorProto::unsafe_arena_set_allocated_source_code_info( |
| 9160 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) { |
| 9161 | if (GetArenaForAllocation() == nullptr) { |
| 9162 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_code_info_); |
| 9163 | } |
| 9164 | _impl_.source_code_info_ = source_code_info; |
| 9165 | if (source_code_info) { |
| 9166 | _impl_._has_bits_[0] |= 0x00000010u; |
| 9167 | } else { |
| 9168 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 9169 | } |
| 9170 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
| 9171 | } |
| 9172 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::release_source_code_info() { |
| 9173 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 9174 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = _impl_.source_code_info_; |
| 9175 | _impl_.source_code_info_ = nullptr; |
| 9176 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9177 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 9178 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 9179 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 9180 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9181 | if (GetArenaForAllocation() != nullptr) { |
| 9182 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 9183 | } |
| 9184 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9185 | return temp; |
| 9186 | } |
| 9187 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::unsafe_arena_release_source_code_info() { |
| 9188 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.source_code_info) |
| 9189 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 9190 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* temp = _impl_.source_code_info_; |
| 9191 | _impl_.source_code_info_ = nullptr; |
| 9192 | return temp; |
| 9193 | } |
| 9194 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::_internal_mutable_source_code_info() { |
| 9195 | _impl_._has_bits_[0] |= 0x00000010u; |
| 9196 | if (_impl_.source_code_info_ == nullptr) { |
| 9197 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::SourceCodeInfo>(arena: GetArenaForAllocation()); |
| 9198 | _impl_.source_code_info_ = p; |
| 9199 | } |
| 9200 | return _impl_.source_code_info_; |
| 9201 | } |
| 9202 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* FileDescriptorProto::mutable_source_code_info() { |
| 9203 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* _msg = _internal_mutable_source_code_info(); |
| 9204 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.source_code_info) |
| 9205 | return _msg; |
| 9206 | } |
| 9207 | inline void FileDescriptorProto::set_allocated_source_code_info(::PROTOBUF_NAMESPACE_ID::SourceCodeInfo* source_code_info) { |
| 9208 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 9209 | if (message_arena == nullptr) { |
| 9210 | delete _impl_.source_code_info_; |
| 9211 | } |
| 9212 | if (source_code_info) { |
| 9213 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 9214 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: source_code_info); |
| 9215 | if (message_arena != submessage_arena) { |
| 9216 | source_code_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 9217 | message_arena, submessage: source_code_info, submessage_arena); |
| 9218 | } |
| 9219 | _impl_._has_bits_[0] |= 0x00000010u; |
| 9220 | } else { |
| 9221 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 9222 | } |
| 9223 | _impl_.source_code_info_ = source_code_info; |
| 9224 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.source_code_info) |
| 9225 | } |
| 9226 | |
| 9227 | // optional string syntax = 12; |
| 9228 | inline bool FileDescriptorProto::_internal_has_syntax() const { |
| 9229 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 9230 | return value; |
| 9231 | } |
| 9232 | inline bool FileDescriptorProto::has_syntax() const { |
| 9233 | return _internal_has_syntax(); |
| 9234 | } |
| 9235 | inline void FileDescriptorProto::clear_syntax() { |
| 9236 | _impl_.syntax_.ClearToEmpty(); |
| 9237 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 9238 | } |
| 9239 | inline const std::string& FileDescriptorProto::syntax() const { |
| 9240 | // @@protoc_insertion_point(field_get:google.protobuf.FileDescriptorProto.syntax) |
| 9241 | return _internal_syntax(); |
| 9242 | } |
| 9243 | template <typename ArgT0, typename... ArgT> |
| 9244 | inline PROTOBUF_ALWAYS_INLINE |
| 9245 | void FileDescriptorProto::set_syntax(ArgT0&& arg0, ArgT... args) { |
| 9246 | _impl_._has_bits_[0] |= 0x00000004u; |
| 9247 | _impl_.syntax_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 9248 | // @@protoc_insertion_point(field_set:google.protobuf.FileDescriptorProto.syntax) |
| 9249 | } |
| 9250 | inline std::string* FileDescriptorProto::mutable_syntax() { |
| 9251 | std::string* _s = _internal_mutable_syntax(); |
| 9252 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileDescriptorProto.syntax) |
| 9253 | return _s; |
| 9254 | } |
| 9255 | inline const std::string& FileDescriptorProto::_internal_syntax() const { |
| 9256 | return _impl_.syntax_.Get(); |
| 9257 | } |
| 9258 | inline void FileDescriptorProto::_internal_set_syntax(const std::string& value) { |
| 9259 | _impl_._has_bits_[0] |= 0x00000004u; |
| 9260 | _impl_.syntax_.Set(value, arena: GetArenaForAllocation()); |
| 9261 | } |
| 9262 | inline std::string* FileDescriptorProto::_internal_mutable_syntax() { |
| 9263 | _impl_._has_bits_[0] |= 0x00000004u; |
| 9264 | return _impl_.syntax_.Mutable(arena: GetArenaForAllocation()); |
| 9265 | } |
| 9266 | inline std::string* FileDescriptorProto::release_syntax() { |
| 9267 | // @@protoc_insertion_point(field_release:google.protobuf.FileDescriptorProto.syntax) |
| 9268 | if (!_internal_has_syntax()) { |
| 9269 | return nullptr; |
| 9270 | } |
| 9271 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 9272 | auto* p = _impl_.syntax_.Release(); |
| 9273 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 9274 | if (_impl_.syntax_.IsDefault()) { |
| 9275 | _impl_.syntax_.Set("" , GetArenaForAllocation()); |
| 9276 | } |
| 9277 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 9278 | return p; |
| 9279 | } |
| 9280 | inline void FileDescriptorProto::set_allocated_syntax(std::string* syntax) { |
| 9281 | if (syntax != nullptr) { |
| 9282 | _impl_._has_bits_[0] |= 0x00000004u; |
| 9283 | } else { |
| 9284 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 9285 | } |
| 9286 | _impl_.syntax_.SetAllocated(value: syntax, arena: GetArenaForAllocation()); |
| 9287 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 9288 | if (_impl_.syntax_.IsDefault()) { |
| 9289 | _impl_.syntax_.Set("" , GetArenaForAllocation()); |
| 9290 | } |
| 9291 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 9292 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileDescriptorProto.syntax) |
| 9293 | } |
| 9294 | |
| 9295 | // ------------------------------------------------------------------- |
| 9296 | |
| 9297 | // DescriptorProto_ExtensionRange |
| 9298 | |
| 9299 | // optional int32 start = 1; |
| 9300 | inline bool DescriptorProto_ExtensionRange::_internal_has_start() const { |
| 9301 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 9302 | return value; |
| 9303 | } |
| 9304 | inline bool DescriptorProto_ExtensionRange::has_start() const { |
| 9305 | return _internal_has_start(); |
| 9306 | } |
| 9307 | inline void DescriptorProto_ExtensionRange::clear_start() { |
| 9308 | _impl_.start_ = 0; |
| 9309 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 9310 | } |
| 9311 | inline int32_t DescriptorProto_ExtensionRange::_internal_start() const { |
| 9312 | return _impl_.start_; |
| 9313 | } |
| 9314 | inline int32_t DescriptorProto_ExtensionRange::start() const { |
| 9315 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.start) |
| 9316 | return _internal_start(); |
| 9317 | } |
| 9318 | inline void DescriptorProto_ExtensionRange::_internal_set_start(int32_t value) { |
| 9319 | _impl_._has_bits_[0] |= 0x00000002u; |
| 9320 | _impl_.start_ = value; |
| 9321 | } |
| 9322 | inline void DescriptorProto_ExtensionRange::set_start(int32_t value) { |
| 9323 | _internal_set_start(value); |
| 9324 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.start) |
| 9325 | } |
| 9326 | |
| 9327 | // optional int32 end = 2; |
| 9328 | inline bool DescriptorProto_ExtensionRange::_internal_has_end() const { |
| 9329 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 9330 | return value; |
| 9331 | } |
| 9332 | inline bool DescriptorProto_ExtensionRange::has_end() const { |
| 9333 | return _internal_has_end(); |
| 9334 | } |
| 9335 | inline void DescriptorProto_ExtensionRange::clear_end() { |
| 9336 | _impl_.end_ = 0; |
| 9337 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 9338 | } |
| 9339 | inline int32_t DescriptorProto_ExtensionRange::_internal_end() const { |
| 9340 | return _impl_.end_; |
| 9341 | } |
| 9342 | inline int32_t DescriptorProto_ExtensionRange::end() const { |
| 9343 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.end) |
| 9344 | return _internal_end(); |
| 9345 | } |
| 9346 | inline void DescriptorProto_ExtensionRange::_internal_set_end(int32_t value) { |
| 9347 | _impl_._has_bits_[0] |= 0x00000004u; |
| 9348 | _impl_.end_ = value; |
| 9349 | } |
| 9350 | inline void DescriptorProto_ExtensionRange::set_end(int32_t value) { |
| 9351 | _internal_set_end(value); |
| 9352 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ExtensionRange.end) |
| 9353 | } |
| 9354 | |
| 9355 | // optional .google.protobuf.ExtensionRangeOptions options = 3; |
| 9356 | inline bool DescriptorProto_ExtensionRange::_internal_has_options() const { |
| 9357 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 9358 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
| 9359 | return value; |
| 9360 | } |
| 9361 | inline bool DescriptorProto_ExtensionRange::has_options() const { |
| 9362 | return _internal_has_options(); |
| 9363 | } |
| 9364 | inline void DescriptorProto_ExtensionRange::clear_options() { |
| 9365 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
| 9366 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 9367 | } |
| 9368 | inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::_internal_options() const { |
| 9369 | const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* p = _impl_.options_; |
| 9370 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions&>( |
| 9371 | ::PROTOBUF_NAMESPACE_ID::_ExtensionRangeOptions_default_instance_); |
| 9372 | } |
| 9373 | inline const ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions& DescriptorProto_ExtensionRange::options() const { |
| 9374 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 9375 | return _internal_options(); |
| 9376 | } |
| 9377 | inline void DescriptorProto_ExtensionRange::unsafe_arena_set_allocated_options( |
| 9378 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) { |
| 9379 | if (GetArenaForAllocation() == nullptr) { |
| 9380 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
| 9381 | } |
| 9382 | _impl_.options_ = options; |
| 9383 | if (options) { |
| 9384 | _impl_._has_bits_[0] |= 0x00000001u; |
| 9385 | } else { |
| 9386 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 9387 | } |
| 9388 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 9389 | } |
| 9390 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::release_options() { |
| 9391 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 9392 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = _impl_.options_; |
| 9393 | _impl_.options_ = nullptr; |
| 9394 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9395 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 9396 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 9397 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 9398 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9399 | if (GetArenaForAllocation() != nullptr) { |
| 9400 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 9401 | } |
| 9402 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9403 | return temp; |
| 9404 | } |
| 9405 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::unsafe_arena_release_options() { |
| 9406 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 9407 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 9408 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* temp = _impl_.options_; |
| 9409 | _impl_.options_ = nullptr; |
| 9410 | return temp; |
| 9411 | } |
| 9412 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::_internal_mutable_options() { |
| 9413 | _impl_._has_bits_[0] |= 0x00000001u; |
| 9414 | if (_impl_.options_ == nullptr) { |
| 9415 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions>(arena: GetArenaForAllocation()); |
| 9416 | _impl_.options_ = p; |
| 9417 | } |
| 9418 | return _impl_.options_; |
| 9419 | } |
| 9420 | inline ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* DescriptorProto_ExtensionRange::mutable_options() { |
| 9421 | ::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* _msg = _internal_mutable_options(); |
| 9422 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 9423 | return _msg; |
| 9424 | } |
| 9425 | inline void DescriptorProto_ExtensionRange::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ExtensionRangeOptions* options) { |
| 9426 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 9427 | if (message_arena == nullptr) { |
| 9428 | delete _impl_.options_; |
| 9429 | } |
| 9430 | if (options) { |
| 9431 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 9432 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: options); |
| 9433 | if (message_arena != submessage_arena) { |
| 9434 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 9435 | message_arena, submessage: options, submessage_arena); |
| 9436 | } |
| 9437 | _impl_._has_bits_[0] |= 0x00000001u; |
| 9438 | } else { |
| 9439 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 9440 | } |
| 9441 | _impl_.options_ = options; |
| 9442 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.ExtensionRange.options) |
| 9443 | } |
| 9444 | |
| 9445 | // ------------------------------------------------------------------- |
| 9446 | |
| 9447 | // DescriptorProto_ReservedRange |
| 9448 | |
| 9449 | // optional int32 start = 1; |
| 9450 | inline bool DescriptorProto_ReservedRange::_internal_has_start() const { |
| 9451 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 9452 | return value; |
| 9453 | } |
| 9454 | inline bool DescriptorProto_ReservedRange::has_start() const { |
| 9455 | return _internal_has_start(); |
| 9456 | } |
| 9457 | inline void DescriptorProto_ReservedRange::clear_start() { |
| 9458 | _impl_.start_ = 0; |
| 9459 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 9460 | } |
| 9461 | inline int32_t DescriptorProto_ReservedRange::_internal_start() const { |
| 9462 | return _impl_.start_; |
| 9463 | } |
| 9464 | inline int32_t DescriptorProto_ReservedRange::start() const { |
| 9465 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.start) |
| 9466 | return _internal_start(); |
| 9467 | } |
| 9468 | inline void DescriptorProto_ReservedRange::_internal_set_start(int32_t value) { |
| 9469 | _impl_._has_bits_[0] |= 0x00000001u; |
| 9470 | _impl_.start_ = value; |
| 9471 | } |
| 9472 | inline void DescriptorProto_ReservedRange::set_start(int32_t value) { |
| 9473 | _internal_set_start(value); |
| 9474 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.start) |
| 9475 | } |
| 9476 | |
| 9477 | // optional int32 end = 2; |
| 9478 | inline bool DescriptorProto_ReservedRange::_internal_has_end() const { |
| 9479 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 9480 | return value; |
| 9481 | } |
| 9482 | inline bool DescriptorProto_ReservedRange::has_end() const { |
| 9483 | return _internal_has_end(); |
| 9484 | } |
| 9485 | inline void DescriptorProto_ReservedRange::clear_end() { |
| 9486 | _impl_.end_ = 0; |
| 9487 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 9488 | } |
| 9489 | inline int32_t DescriptorProto_ReservedRange::_internal_end() const { |
| 9490 | return _impl_.end_; |
| 9491 | } |
| 9492 | inline int32_t DescriptorProto_ReservedRange::end() const { |
| 9493 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.ReservedRange.end) |
| 9494 | return _internal_end(); |
| 9495 | } |
| 9496 | inline void DescriptorProto_ReservedRange::_internal_set_end(int32_t value) { |
| 9497 | _impl_._has_bits_[0] |= 0x00000002u; |
| 9498 | _impl_.end_ = value; |
| 9499 | } |
| 9500 | inline void DescriptorProto_ReservedRange::set_end(int32_t value) { |
| 9501 | _internal_set_end(value); |
| 9502 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.ReservedRange.end) |
| 9503 | } |
| 9504 | |
| 9505 | // ------------------------------------------------------------------- |
| 9506 | |
| 9507 | // DescriptorProto |
| 9508 | |
| 9509 | // optional string name = 1; |
| 9510 | inline bool DescriptorProto::_internal_has_name() const { |
| 9511 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 9512 | return value; |
| 9513 | } |
| 9514 | inline bool DescriptorProto::has_name() const { |
| 9515 | return _internal_has_name(); |
| 9516 | } |
| 9517 | inline void DescriptorProto::clear_name() { |
| 9518 | _impl_.name_.ClearToEmpty(); |
| 9519 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 9520 | } |
| 9521 | inline const std::string& DescriptorProto::name() const { |
| 9522 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.name) |
| 9523 | return _internal_name(); |
| 9524 | } |
| 9525 | template <typename ArgT0, typename... ArgT> |
| 9526 | inline PROTOBUF_ALWAYS_INLINE |
| 9527 | void DescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
| 9528 | _impl_._has_bits_[0] |= 0x00000001u; |
| 9529 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 9530 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.name) |
| 9531 | } |
| 9532 | inline std::string* DescriptorProto::mutable_name() { |
| 9533 | std::string* _s = _internal_mutable_name(); |
| 9534 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.name) |
| 9535 | return _s; |
| 9536 | } |
| 9537 | inline const std::string& DescriptorProto::_internal_name() const { |
| 9538 | return _impl_.name_.Get(); |
| 9539 | } |
| 9540 | inline void DescriptorProto::_internal_set_name(const std::string& value) { |
| 9541 | _impl_._has_bits_[0] |= 0x00000001u; |
| 9542 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 9543 | } |
| 9544 | inline std::string* DescriptorProto::_internal_mutable_name() { |
| 9545 | _impl_._has_bits_[0] |= 0x00000001u; |
| 9546 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 9547 | } |
| 9548 | inline std::string* DescriptorProto::release_name() { |
| 9549 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.name) |
| 9550 | if (!_internal_has_name()) { |
| 9551 | return nullptr; |
| 9552 | } |
| 9553 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 9554 | auto* p = _impl_.name_.Release(); |
| 9555 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 9556 | if (_impl_.name_.IsDefault()) { |
| 9557 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 9558 | } |
| 9559 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 9560 | return p; |
| 9561 | } |
| 9562 | inline void DescriptorProto::set_allocated_name(std::string* name) { |
| 9563 | if (name != nullptr) { |
| 9564 | _impl_._has_bits_[0] |= 0x00000001u; |
| 9565 | } else { |
| 9566 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 9567 | } |
| 9568 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 9569 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 9570 | if (_impl_.name_.IsDefault()) { |
| 9571 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 9572 | } |
| 9573 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 9574 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.name) |
| 9575 | } |
| 9576 | |
| 9577 | // repeated .google.protobuf.FieldDescriptorProto field = 2; |
| 9578 | inline int DescriptorProto::_internal_field_size() const { |
| 9579 | return _impl_.field_.size(); |
| 9580 | } |
| 9581 | inline int DescriptorProto::field_size() const { |
| 9582 | return _internal_field_size(); |
| 9583 | } |
| 9584 | inline void DescriptorProto::clear_field() { |
| 9585 | _impl_.field_.Clear(); |
| 9586 | } |
| 9587 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_field(int index) { |
| 9588 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.field) |
| 9589 | return _impl_.field_.Mutable(index); |
| 9590 | } |
| 9591 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
| 9592 | DescriptorProto::mutable_field() { |
| 9593 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.field) |
| 9594 | return &_impl_.field_; |
| 9595 | } |
| 9596 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_field(int index) const { |
| 9597 | return _impl_.field_.Get(index); |
| 9598 | } |
| 9599 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::field(int index) const { |
| 9600 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.field) |
| 9601 | return _internal_field(index); |
| 9602 | } |
| 9603 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_field() { |
| 9604 | return _impl_.field_.Add(); |
| 9605 | } |
| 9606 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_field() { |
| 9607 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_field(); |
| 9608 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.field) |
| 9609 | return _add; |
| 9610 | } |
| 9611 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
| 9612 | DescriptorProto::field() const { |
| 9613 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.field) |
| 9614 | return _impl_.field_; |
| 9615 | } |
| 9616 | |
| 9617 | // repeated .google.protobuf.FieldDescriptorProto extension = 6; |
| 9618 | inline int DescriptorProto::_internal_extension_size() const { |
| 9619 | return _impl_.extension_.size(); |
| 9620 | } |
| 9621 | inline int DescriptorProto::extension_size() const { |
| 9622 | return _internal_extension_size(); |
| 9623 | } |
| 9624 | inline void DescriptorProto::clear_extension() { |
| 9625 | _impl_.extension_.Clear(); |
| 9626 | } |
| 9627 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_extension(int index) { |
| 9628 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension) |
| 9629 | return _impl_.extension_.Mutable(index); |
| 9630 | } |
| 9631 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >* |
| 9632 | DescriptorProto::mutable_extension() { |
| 9633 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension) |
| 9634 | return &_impl_.extension_; |
| 9635 | } |
| 9636 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::_internal_extension(int index) const { |
| 9637 | return _impl_.extension_.Get(index); |
| 9638 | } |
| 9639 | inline const ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto& DescriptorProto::extension(int index) const { |
| 9640 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension) |
| 9641 | return _internal_extension(index); |
| 9642 | } |
| 9643 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::_internal_add_extension() { |
| 9644 | return _impl_.extension_.Add(); |
| 9645 | } |
| 9646 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::add_extension() { |
| 9647 | ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* _add = _internal_add_extension(); |
| 9648 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension) |
| 9649 | return _add; |
| 9650 | } |
| 9651 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto >& |
| 9652 | DescriptorProto::extension() const { |
| 9653 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension) |
| 9654 | return _impl_.extension_; |
| 9655 | } |
| 9656 | |
| 9657 | // repeated .google.protobuf.DescriptorProto nested_type = 3; |
| 9658 | inline int DescriptorProto::_internal_nested_type_size() const { |
| 9659 | return _impl_.nested_type_.size(); |
| 9660 | } |
| 9661 | inline int DescriptorProto::nested_type_size() const { |
| 9662 | return _internal_nested_type_size(); |
| 9663 | } |
| 9664 | inline void DescriptorProto::clear_nested_type() { |
| 9665 | _impl_.nested_type_.Clear(); |
| 9666 | } |
| 9667 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::mutable_nested_type(int index) { |
| 9668 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.nested_type) |
| 9669 | return _impl_.nested_type_.Mutable(index); |
| 9670 | } |
| 9671 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >* |
| 9672 | DescriptorProto::mutable_nested_type() { |
| 9673 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.nested_type) |
| 9674 | return &_impl_.nested_type_; |
| 9675 | } |
| 9676 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::_internal_nested_type(int index) const { |
| 9677 | return _impl_.nested_type_.Get(index); |
| 9678 | } |
| 9679 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto& DescriptorProto::nested_type(int index) const { |
| 9680 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.nested_type) |
| 9681 | return _internal_nested_type(index); |
| 9682 | } |
| 9683 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::_internal_add_nested_type() { |
| 9684 | return _impl_.nested_type_.Add(); |
| 9685 | } |
| 9686 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto* DescriptorProto::add_nested_type() { |
| 9687 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto* _add = _internal_add_nested_type(); |
| 9688 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.nested_type) |
| 9689 | return _add; |
| 9690 | } |
| 9691 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto >& |
| 9692 | DescriptorProto::nested_type() const { |
| 9693 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.nested_type) |
| 9694 | return _impl_.nested_type_; |
| 9695 | } |
| 9696 | |
| 9697 | // repeated .google.protobuf.EnumDescriptorProto enum_type = 4; |
| 9698 | inline int DescriptorProto::_internal_enum_type_size() const { |
| 9699 | return _impl_.enum_type_.size(); |
| 9700 | } |
| 9701 | inline int DescriptorProto::enum_type_size() const { |
| 9702 | return _internal_enum_type_size(); |
| 9703 | } |
| 9704 | inline void DescriptorProto::clear_enum_type() { |
| 9705 | _impl_.enum_type_.Clear(); |
| 9706 | } |
| 9707 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::mutable_enum_type(int index) { |
| 9708 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.enum_type) |
| 9709 | return _impl_.enum_type_.Mutable(index); |
| 9710 | } |
| 9711 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >* |
| 9712 | DescriptorProto::mutable_enum_type() { |
| 9713 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.enum_type) |
| 9714 | return &_impl_.enum_type_; |
| 9715 | } |
| 9716 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::_internal_enum_type(int index) const { |
| 9717 | return _impl_.enum_type_.Get(index); |
| 9718 | } |
| 9719 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto& DescriptorProto::enum_type(int index) const { |
| 9720 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.enum_type) |
| 9721 | return _internal_enum_type(index); |
| 9722 | } |
| 9723 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::_internal_add_enum_type() { |
| 9724 | return _impl_.enum_type_.Add(); |
| 9725 | } |
| 9726 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* DescriptorProto::add_enum_type() { |
| 9727 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto* _add = _internal_add_enum_type(); |
| 9728 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.enum_type) |
| 9729 | return _add; |
| 9730 | } |
| 9731 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >& |
| 9732 | DescriptorProto::enum_type() const { |
| 9733 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.enum_type) |
| 9734 | return _impl_.enum_type_; |
| 9735 | } |
| 9736 | |
| 9737 | // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; |
| 9738 | inline int DescriptorProto::_internal_extension_range_size() const { |
| 9739 | return _impl_.extension_range_.size(); |
| 9740 | } |
| 9741 | inline int DescriptorProto::extension_range_size() const { |
| 9742 | return _internal_extension_range_size(); |
| 9743 | } |
| 9744 | inline void DescriptorProto::clear_extension_range() { |
| 9745 | _impl_.extension_range_.Clear(); |
| 9746 | } |
| 9747 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::mutable_extension_range(int index) { |
| 9748 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.extension_range) |
| 9749 | return _impl_.extension_range_.Mutable(index); |
| 9750 | } |
| 9751 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >* |
| 9752 | DescriptorProto::mutable_extension_range() { |
| 9753 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.extension_range) |
| 9754 | return &_impl_.extension_range_; |
| 9755 | } |
| 9756 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::_internal_extension_range(int index) const { |
| 9757 | return _impl_.extension_range_.Get(index); |
| 9758 | } |
| 9759 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange& DescriptorProto::extension_range(int index) const { |
| 9760 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.extension_range) |
| 9761 | return _internal_extension_range(index); |
| 9762 | } |
| 9763 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::_internal_add_extension_range() { |
| 9764 | return _impl_.extension_range_.Add(); |
| 9765 | } |
| 9766 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* DescriptorProto::add_extension_range() { |
| 9767 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange* _add = _internal_add_extension_range(); |
| 9768 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.extension_range) |
| 9769 | return _add; |
| 9770 | } |
| 9771 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ExtensionRange >& |
| 9772 | DescriptorProto::extension_range() const { |
| 9773 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.extension_range) |
| 9774 | return _impl_.extension_range_; |
| 9775 | } |
| 9776 | |
| 9777 | // repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8; |
| 9778 | inline int DescriptorProto::_internal_oneof_decl_size() const { |
| 9779 | return _impl_.oneof_decl_.size(); |
| 9780 | } |
| 9781 | inline int DescriptorProto::oneof_decl_size() const { |
| 9782 | return _internal_oneof_decl_size(); |
| 9783 | } |
| 9784 | inline void DescriptorProto::clear_oneof_decl() { |
| 9785 | _impl_.oneof_decl_.Clear(); |
| 9786 | } |
| 9787 | inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::mutable_oneof_decl(int index) { |
| 9788 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.oneof_decl) |
| 9789 | return _impl_.oneof_decl_.Mutable(index); |
| 9790 | } |
| 9791 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >* |
| 9792 | DescriptorProto::mutable_oneof_decl() { |
| 9793 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.oneof_decl) |
| 9794 | return &_impl_.oneof_decl_; |
| 9795 | } |
| 9796 | inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::_internal_oneof_decl(int index) const { |
| 9797 | return _impl_.oneof_decl_.Get(index); |
| 9798 | } |
| 9799 | inline const ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const { |
| 9800 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.oneof_decl) |
| 9801 | return _internal_oneof_decl(index); |
| 9802 | } |
| 9803 | inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::_internal_add_oneof_decl() { |
| 9804 | return _impl_.oneof_decl_.Add(); |
| 9805 | } |
| 9806 | inline ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* DescriptorProto::add_oneof_decl() { |
| 9807 | ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto* _add = _internal_add_oneof_decl(); |
| 9808 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.oneof_decl) |
| 9809 | return _add; |
| 9810 | } |
| 9811 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::OneofDescriptorProto >& |
| 9812 | DescriptorProto::oneof_decl() const { |
| 9813 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.oneof_decl) |
| 9814 | return _impl_.oneof_decl_; |
| 9815 | } |
| 9816 | |
| 9817 | // optional .google.protobuf.MessageOptions options = 7; |
| 9818 | inline bool DescriptorProto::_internal_has_options() const { |
| 9819 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 9820 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
| 9821 | return value; |
| 9822 | } |
| 9823 | inline bool DescriptorProto::has_options() const { |
| 9824 | return _internal_has_options(); |
| 9825 | } |
| 9826 | inline void DescriptorProto::clear_options() { |
| 9827 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
| 9828 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 9829 | } |
| 9830 | inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::_internal_options() const { |
| 9831 | const ::PROTOBUF_NAMESPACE_ID::MessageOptions* p = _impl_.options_; |
| 9832 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MessageOptions&>( |
| 9833 | ::PROTOBUF_NAMESPACE_ID::_MessageOptions_default_instance_); |
| 9834 | } |
| 9835 | inline const ::PROTOBUF_NAMESPACE_ID::MessageOptions& DescriptorProto::options() const { |
| 9836 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.options) |
| 9837 | return _internal_options(); |
| 9838 | } |
| 9839 | inline void DescriptorProto::unsafe_arena_set_allocated_options( |
| 9840 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* options) { |
| 9841 | if (GetArenaForAllocation() == nullptr) { |
| 9842 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
| 9843 | } |
| 9844 | _impl_.options_ = options; |
| 9845 | if (options) { |
| 9846 | _impl_._has_bits_[0] |= 0x00000002u; |
| 9847 | } else { |
| 9848 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 9849 | } |
| 9850 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.DescriptorProto.options) |
| 9851 | } |
| 9852 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::release_options() { |
| 9853 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 9854 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = _impl_.options_; |
| 9855 | _impl_.options_ = nullptr; |
| 9856 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9857 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 9858 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 9859 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 9860 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9861 | if (GetArenaForAllocation() != nullptr) { |
| 9862 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 9863 | } |
| 9864 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 9865 | return temp; |
| 9866 | } |
| 9867 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::unsafe_arena_release_options() { |
| 9868 | // @@protoc_insertion_point(field_release:google.protobuf.DescriptorProto.options) |
| 9869 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 9870 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* temp = _impl_.options_; |
| 9871 | _impl_.options_ = nullptr; |
| 9872 | return temp; |
| 9873 | } |
| 9874 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::_internal_mutable_options() { |
| 9875 | _impl_._has_bits_[0] |= 0x00000002u; |
| 9876 | if (_impl_.options_ == nullptr) { |
| 9877 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MessageOptions>(arena: GetArenaForAllocation()); |
| 9878 | _impl_.options_ = p; |
| 9879 | } |
| 9880 | return _impl_.options_; |
| 9881 | } |
| 9882 | inline ::PROTOBUF_NAMESPACE_ID::MessageOptions* DescriptorProto::mutable_options() { |
| 9883 | ::PROTOBUF_NAMESPACE_ID::MessageOptions* _msg = _internal_mutable_options(); |
| 9884 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.options) |
| 9885 | return _msg; |
| 9886 | } |
| 9887 | inline void DescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MessageOptions* options) { |
| 9888 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 9889 | if (message_arena == nullptr) { |
| 9890 | delete _impl_.options_; |
| 9891 | } |
| 9892 | if (options) { |
| 9893 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 9894 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: options); |
| 9895 | if (message_arena != submessage_arena) { |
| 9896 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 9897 | message_arena, submessage: options, submessage_arena); |
| 9898 | } |
| 9899 | _impl_._has_bits_[0] |= 0x00000002u; |
| 9900 | } else { |
| 9901 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 9902 | } |
| 9903 | _impl_.options_ = options; |
| 9904 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.DescriptorProto.options) |
| 9905 | } |
| 9906 | |
| 9907 | // repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; |
| 9908 | inline int DescriptorProto::_internal_reserved_range_size() const { |
| 9909 | return _impl_.reserved_range_.size(); |
| 9910 | } |
| 9911 | inline int DescriptorProto::reserved_range_size() const { |
| 9912 | return _internal_reserved_range_size(); |
| 9913 | } |
| 9914 | inline void DescriptorProto::clear_reserved_range() { |
| 9915 | _impl_.reserved_range_.Clear(); |
| 9916 | } |
| 9917 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::mutable_reserved_range(int index) { |
| 9918 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_range) |
| 9919 | return _impl_.reserved_range_.Mutable(index); |
| 9920 | } |
| 9921 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >* |
| 9922 | DescriptorProto::mutable_reserved_range() { |
| 9923 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_range) |
| 9924 | return &_impl_.reserved_range_; |
| 9925 | } |
| 9926 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::_internal_reserved_range(int index) const { |
| 9927 | return _impl_.reserved_range_.Get(index); |
| 9928 | } |
| 9929 | inline const ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange& DescriptorProto::reserved_range(int index) const { |
| 9930 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_range) |
| 9931 | return _internal_reserved_range(index); |
| 9932 | } |
| 9933 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::_internal_add_reserved_range() { |
| 9934 | return _impl_.reserved_range_.Add(); |
| 9935 | } |
| 9936 | inline ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* DescriptorProto::add_reserved_range() { |
| 9937 | ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange* _add = _internal_add_reserved_range(); |
| 9938 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_range) |
| 9939 | return _add; |
| 9940 | } |
| 9941 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::DescriptorProto_ReservedRange >& |
| 9942 | DescriptorProto::reserved_range() const { |
| 9943 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_range) |
| 9944 | return _impl_.reserved_range_; |
| 9945 | } |
| 9946 | |
| 9947 | // repeated string reserved_name = 10; |
| 9948 | inline int DescriptorProto::_internal_reserved_name_size() const { |
| 9949 | return _impl_.reserved_name_.size(); |
| 9950 | } |
| 9951 | inline int DescriptorProto::reserved_name_size() const { |
| 9952 | return _internal_reserved_name_size(); |
| 9953 | } |
| 9954 | inline void DescriptorProto::clear_reserved_name() { |
| 9955 | _impl_.reserved_name_.Clear(); |
| 9956 | } |
| 9957 | inline std::string* DescriptorProto::add_reserved_name() { |
| 9958 | std::string* _s = _internal_add_reserved_name(); |
| 9959 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.DescriptorProto.reserved_name) |
| 9960 | return _s; |
| 9961 | } |
| 9962 | inline const std::string& DescriptorProto::_internal_reserved_name(int index) const { |
| 9963 | return _impl_.reserved_name_.Get(index); |
| 9964 | } |
| 9965 | inline const std::string& DescriptorProto::reserved_name(int index) const { |
| 9966 | // @@protoc_insertion_point(field_get:google.protobuf.DescriptorProto.reserved_name) |
| 9967 | return _internal_reserved_name(index); |
| 9968 | } |
| 9969 | inline std::string* DescriptorProto::mutable_reserved_name(int index) { |
| 9970 | // @@protoc_insertion_point(field_mutable:google.protobuf.DescriptorProto.reserved_name) |
| 9971 | return _impl_.reserved_name_.Mutable(index); |
| 9972 | } |
| 9973 | inline void DescriptorProto::set_reserved_name(int index, const std::string& value) { |
| 9974 | _impl_.reserved_name_.Mutable(index)->assign(str: value); |
| 9975 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
| 9976 | } |
| 9977 | inline void DescriptorProto::set_reserved_name(int index, std::string&& value) { |
| 9978 | _impl_.reserved_name_.Mutable(index)->assign(str: std::move(value)); |
| 9979 | // @@protoc_insertion_point(field_set:google.protobuf.DescriptorProto.reserved_name) |
| 9980 | } |
| 9981 | inline void DescriptorProto::set_reserved_name(int index, const char* value) { |
| 9982 | GOOGLE_DCHECK(value != nullptr); |
| 9983 | _impl_.reserved_name_.Mutable(index)->assign(s: value); |
| 9984 | // @@protoc_insertion_point(field_set_char:google.protobuf.DescriptorProto.reserved_name) |
| 9985 | } |
| 9986 | inline void DescriptorProto::set_reserved_name(int index, const char* value, size_t size) { |
| 9987 | _impl_.reserved_name_.Mutable(index)->assign( |
| 9988 | s: reinterpret_cast<const char*>(value), n: size); |
| 9989 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.DescriptorProto.reserved_name) |
| 9990 | } |
| 9991 | inline std::string* DescriptorProto::_internal_add_reserved_name() { |
| 9992 | return _impl_.reserved_name_.Add(); |
| 9993 | } |
| 9994 | inline void DescriptorProto::add_reserved_name(const std::string& value) { |
| 9995 | _impl_.reserved_name_.Add()->assign(str: value); |
| 9996 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
| 9997 | } |
| 9998 | inline void DescriptorProto::add_reserved_name(std::string&& value) { |
| 9999 | _impl_.reserved_name_.Add(value: std::move(value)); |
| 10000 | // @@protoc_insertion_point(field_add:google.protobuf.DescriptorProto.reserved_name) |
| 10001 | } |
| 10002 | inline void DescriptorProto::add_reserved_name(const char* value) { |
| 10003 | GOOGLE_DCHECK(value != nullptr); |
| 10004 | _impl_.reserved_name_.Add()->assign(s: value); |
| 10005 | // @@protoc_insertion_point(field_add_char:google.protobuf.DescriptorProto.reserved_name) |
| 10006 | } |
| 10007 | inline void DescriptorProto::add_reserved_name(const char* value, size_t size) { |
| 10008 | _impl_.reserved_name_.Add()->assign(s: reinterpret_cast<const char*>(value), n: size); |
| 10009 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.DescriptorProto.reserved_name) |
| 10010 | } |
| 10011 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
| 10012 | DescriptorProto::reserved_name() const { |
| 10013 | // @@protoc_insertion_point(field_list:google.protobuf.DescriptorProto.reserved_name) |
| 10014 | return _impl_.reserved_name_; |
| 10015 | } |
| 10016 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
| 10017 | DescriptorProto::mutable_reserved_name() { |
| 10018 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.DescriptorProto.reserved_name) |
| 10019 | return &_impl_.reserved_name_; |
| 10020 | } |
| 10021 | |
| 10022 | // ------------------------------------------------------------------- |
| 10023 | |
| 10024 | // ExtensionRangeOptions |
| 10025 | |
| 10026 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 10027 | inline int ExtensionRangeOptions::_internal_uninterpreted_option_size() const { |
| 10028 | return _impl_.uninterpreted_option_.size(); |
| 10029 | } |
| 10030 | inline int ExtensionRangeOptions::uninterpreted_option_size() const { |
| 10031 | return _internal_uninterpreted_option_size(); |
| 10032 | } |
| 10033 | inline void ExtensionRangeOptions::clear_uninterpreted_option() { |
| 10034 | _impl_.uninterpreted_option_.Clear(); |
| 10035 | } |
| 10036 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::mutable_uninterpreted_option(int index) { |
| 10037 | // @@protoc_insertion_point(field_mutable:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 10038 | return _impl_.uninterpreted_option_.Mutable(index); |
| 10039 | } |
| 10040 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 10041 | ExtensionRangeOptions::mutable_uninterpreted_option() { |
| 10042 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 10043 | return &_impl_.uninterpreted_option_; |
| 10044 | } |
| 10045 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::_internal_uninterpreted_option(int index) const { |
| 10046 | return _impl_.uninterpreted_option_.Get(index); |
| 10047 | } |
| 10048 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ExtensionRangeOptions::uninterpreted_option(int index) const { |
| 10049 | // @@protoc_insertion_point(field_get:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 10050 | return _internal_uninterpreted_option(index); |
| 10051 | } |
| 10052 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::_internal_add_uninterpreted_option() { |
| 10053 | return _impl_.uninterpreted_option_.Add(); |
| 10054 | } |
| 10055 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ExtensionRangeOptions::add_uninterpreted_option() { |
| 10056 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
| 10057 | // @@protoc_insertion_point(field_add:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 10058 | return _add; |
| 10059 | } |
| 10060 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 10061 | ExtensionRangeOptions::uninterpreted_option() const { |
| 10062 | // @@protoc_insertion_point(field_list:google.protobuf.ExtensionRangeOptions.uninterpreted_option) |
| 10063 | return _impl_.uninterpreted_option_; |
| 10064 | } |
| 10065 | |
| 10066 | // ------------------------------------------------------------------- |
| 10067 | |
| 10068 | // FieldDescriptorProto |
| 10069 | |
| 10070 | // optional string name = 1; |
| 10071 | inline bool FieldDescriptorProto::_internal_has_name() const { |
| 10072 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 10073 | return value; |
| 10074 | } |
| 10075 | inline bool FieldDescriptorProto::has_name() const { |
| 10076 | return _internal_has_name(); |
| 10077 | } |
| 10078 | inline void FieldDescriptorProto::clear_name() { |
| 10079 | _impl_.name_.ClearToEmpty(); |
| 10080 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10081 | } |
| 10082 | inline const std::string& FieldDescriptorProto::name() const { |
| 10083 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.name) |
| 10084 | return _internal_name(); |
| 10085 | } |
| 10086 | template <typename ArgT0, typename... ArgT> |
| 10087 | inline PROTOBUF_ALWAYS_INLINE |
| 10088 | void FieldDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
| 10089 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10090 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 10091 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.name) |
| 10092 | } |
| 10093 | inline std::string* FieldDescriptorProto::mutable_name() { |
| 10094 | std::string* _s = _internal_mutable_name(); |
| 10095 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.name) |
| 10096 | return _s; |
| 10097 | } |
| 10098 | inline const std::string& FieldDescriptorProto::_internal_name() const { |
| 10099 | return _impl_.name_.Get(); |
| 10100 | } |
| 10101 | inline void FieldDescriptorProto::_internal_set_name(const std::string& value) { |
| 10102 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10103 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 10104 | } |
| 10105 | inline std::string* FieldDescriptorProto::_internal_mutable_name() { |
| 10106 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10107 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 10108 | } |
| 10109 | inline std::string* FieldDescriptorProto::release_name() { |
| 10110 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.name) |
| 10111 | if (!_internal_has_name()) { |
| 10112 | return nullptr; |
| 10113 | } |
| 10114 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10115 | auto* p = _impl_.name_.Release(); |
| 10116 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10117 | if (_impl_.name_.IsDefault()) { |
| 10118 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 10119 | } |
| 10120 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10121 | return p; |
| 10122 | } |
| 10123 | inline void FieldDescriptorProto::set_allocated_name(std::string* name) { |
| 10124 | if (name != nullptr) { |
| 10125 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10126 | } else { |
| 10127 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10128 | } |
| 10129 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 10130 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10131 | if (_impl_.name_.IsDefault()) { |
| 10132 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 10133 | } |
| 10134 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10135 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.name) |
| 10136 | } |
| 10137 | |
| 10138 | // optional int32 number = 3; |
| 10139 | inline bool FieldDescriptorProto::_internal_has_number() const { |
| 10140 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
| 10141 | return value; |
| 10142 | } |
| 10143 | inline bool FieldDescriptorProto::has_number() const { |
| 10144 | return _internal_has_number(); |
| 10145 | } |
| 10146 | inline void FieldDescriptorProto::clear_number() { |
| 10147 | _impl_.number_ = 0; |
| 10148 | _impl_._has_bits_[0] &= ~0x00000040u; |
| 10149 | } |
| 10150 | inline int32_t FieldDescriptorProto::_internal_number() const { |
| 10151 | return _impl_.number_; |
| 10152 | } |
| 10153 | inline int32_t FieldDescriptorProto::number() const { |
| 10154 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.number) |
| 10155 | return _internal_number(); |
| 10156 | } |
| 10157 | inline void FieldDescriptorProto::_internal_set_number(int32_t value) { |
| 10158 | _impl_._has_bits_[0] |= 0x00000040u; |
| 10159 | _impl_.number_ = value; |
| 10160 | } |
| 10161 | inline void FieldDescriptorProto::set_number(int32_t value) { |
| 10162 | _internal_set_number(value); |
| 10163 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.number) |
| 10164 | } |
| 10165 | |
| 10166 | // optional .google.protobuf.FieldDescriptorProto.Label label = 4; |
| 10167 | inline bool FieldDescriptorProto::_internal_has_label() const { |
| 10168 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
| 10169 | return value; |
| 10170 | } |
| 10171 | inline bool FieldDescriptorProto::has_label() const { |
| 10172 | return _internal_has_label(); |
| 10173 | } |
| 10174 | inline void FieldDescriptorProto::clear_label() { |
| 10175 | _impl_.label_ = 1; |
| 10176 | _impl_._has_bits_[0] &= ~0x00000200u; |
| 10177 | } |
| 10178 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::_internal_label() const { |
| 10179 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label >(_impl_.label_); |
| 10180 | } |
| 10181 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label FieldDescriptorProto::label() const { |
| 10182 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.label) |
| 10183 | return _internal_label(); |
| 10184 | } |
| 10185 | inline void FieldDescriptorProto::_internal_set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) { |
| 10186 | assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_IsValid(value)); |
| 10187 | _impl_._has_bits_[0] |= 0x00000200u; |
| 10188 | _impl_.label_ = value; |
| 10189 | } |
| 10190 | inline void FieldDescriptorProto::set_label(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label value) { |
| 10191 | _internal_set_label(value); |
| 10192 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.label) |
| 10193 | } |
| 10194 | |
| 10195 | // optional .google.protobuf.FieldDescriptorProto.Type type = 5; |
| 10196 | inline bool FieldDescriptorProto::_internal_has_type() const { |
| 10197 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
| 10198 | return value; |
| 10199 | } |
| 10200 | inline bool FieldDescriptorProto::has_type() const { |
| 10201 | return _internal_has_type(); |
| 10202 | } |
| 10203 | inline void FieldDescriptorProto::clear_type() { |
| 10204 | _impl_.type_ = 1; |
| 10205 | _impl_._has_bits_[0] &= ~0x00000400u; |
| 10206 | } |
| 10207 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::_internal_type() const { |
| 10208 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type >(_impl_.type_); |
| 10209 | } |
| 10210 | inline ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type FieldDescriptorProto::type() const { |
| 10211 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type) |
| 10212 | return _internal_type(); |
| 10213 | } |
| 10214 | inline void FieldDescriptorProto::_internal_set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) { |
| 10215 | assert(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_IsValid(value)); |
| 10216 | _impl_._has_bits_[0] |= 0x00000400u; |
| 10217 | _impl_.type_ = value; |
| 10218 | } |
| 10219 | inline void FieldDescriptorProto::set_type(::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type value) { |
| 10220 | _internal_set_type(value); |
| 10221 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type) |
| 10222 | } |
| 10223 | |
| 10224 | // optional string type_name = 6; |
| 10225 | inline bool FieldDescriptorProto::_internal_has_type_name() const { |
| 10226 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 10227 | return value; |
| 10228 | } |
| 10229 | inline bool FieldDescriptorProto::has_type_name() const { |
| 10230 | return _internal_has_type_name(); |
| 10231 | } |
| 10232 | inline void FieldDescriptorProto::clear_type_name() { |
| 10233 | _impl_.type_name_.ClearToEmpty(); |
| 10234 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 10235 | } |
| 10236 | inline const std::string& FieldDescriptorProto::type_name() const { |
| 10237 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.type_name) |
| 10238 | return _internal_type_name(); |
| 10239 | } |
| 10240 | template <typename ArgT0, typename... ArgT> |
| 10241 | inline PROTOBUF_ALWAYS_INLINE |
| 10242 | void FieldDescriptorProto::set_type_name(ArgT0&& arg0, ArgT... args) { |
| 10243 | _impl_._has_bits_[0] |= 0x00000004u; |
| 10244 | _impl_.type_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 10245 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.type_name) |
| 10246 | } |
| 10247 | inline std::string* FieldDescriptorProto::mutable_type_name() { |
| 10248 | std::string* _s = _internal_mutable_type_name(); |
| 10249 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.type_name) |
| 10250 | return _s; |
| 10251 | } |
| 10252 | inline const std::string& FieldDescriptorProto::_internal_type_name() const { |
| 10253 | return _impl_.type_name_.Get(); |
| 10254 | } |
| 10255 | inline void FieldDescriptorProto::_internal_set_type_name(const std::string& value) { |
| 10256 | _impl_._has_bits_[0] |= 0x00000004u; |
| 10257 | _impl_.type_name_.Set(value, arena: GetArenaForAllocation()); |
| 10258 | } |
| 10259 | inline std::string* FieldDescriptorProto::_internal_mutable_type_name() { |
| 10260 | _impl_._has_bits_[0] |= 0x00000004u; |
| 10261 | return _impl_.type_name_.Mutable(arena: GetArenaForAllocation()); |
| 10262 | } |
| 10263 | inline std::string* FieldDescriptorProto::release_type_name() { |
| 10264 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.type_name) |
| 10265 | if (!_internal_has_type_name()) { |
| 10266 | return nullptr; |
| 10267 | } |
| 10268 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 10269 | auto* p = _impl_.type_name_.Release(); |
| 10270 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10271 | if (_impl_.type_name_.IsDefault()) { |
| 10272 | _impl_.type_name_.Set("" , GetArenaForAllocation()); |
| 10273 | } |
| 10274 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10275 | return p; |
| 10276 | } |
| 10277 | inline void FieldDescriptorProto::set_allocated_type_name(std::string* type_name) { |
| 10278 | if (type_name != nullptr) { |
| 10279 | _impl_._has_bits_[0] |= 0x00000004u; |
| 10280 | } else { |
| 10281 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 10282 | } |
| 10283 | _impl_.type_name_.SetAllocated(value: type_name, arena: GetArenaForAllocation()); |
| 10284 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10285 | if (_impl_.type_name_.IsDefault()) { |
| 10286 | _impl_.type_name_.Set("" , GetArenaForAllocation()); |
| 10287 | } |
| 10288 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10289 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.type_name) |
| 10290 | } |
| 10291 | |
| 10292 | // optional string extendee = 2; |
| 10293 | inline bool FieldDescriptorProto::_internal_has_extendee() const { |
| 10294 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 10295 | return value; |
| 10296 | } |
| 10297 | inline bool FieldDescriptorProto::has_extendee() const { |
| 10298 | return _internal_has_extendee(); |
| 10299 | } |
| 10300 | inline void FieldDescriptorProto::clear_extendee() { |
| 10301 | _impl_.extendee_.ClearToEmpty(); |
| 10302 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10303 | } |
| 10304 | inline const std::string& FieldDescriptorProto::extendee() const { |
| 10305 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.extendee) |
| 10306 | return _internal_extendee(); |
| 10307 | } |
| 10308 | template <typename ArgT0, typename... ArgT> |
| 10309 | inline PROTOBUF_ALWAYS_INLINE |
| 10310 | void FieldDescriptorProto::set_extendee(ArgT0&& arg0, ArgT... args) { |
| 10311 | _impl_._has_bits_[0] |= 0x00000002u; |
| 10312 | _impl_.extendee_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 10313 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.extendee) |
| 10314 | } |
| 10315 | inline std::string* FieldDescriptorProto::mutable_extendee() { |
| 10316 | std::string* _s = _internal_mutable_extendee(); |
| 10317 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.extendee) |
| 10318 | return _s; |
| 10319 | } |
| 10320 | inline const std::string& FieldDescriptorProto::_internal_extendee() const { |
| 10321 | return _impl_.extendee_.Get(); |
| 10322 | } |
| 10323 | inline void FieldDescriptorProto::_internal_set_extendee(const std::string& value) { |
| 10324 | _impl_._has_bits_[0] |= 0x00000002u; |
| 10325 | _impl_.extendee_.Set(value, arena: GetArenaForAllocation()); |
| 10326 | } |
| 10327 | inline std::string* FieldDescriptorProto::_internal_mutable_extendee() { |
| 10328 | _impl_._has_bits_[0] |= 0x00000002u; |
| 10329 | return _impl_.extendee_.Mutable(arena: GetArenaForAllocation()); |
| 10330 | } |
| 10331 | inline std::string* FieldDescriptorProto::release_extendee() { |
| 10332 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.extendee) |
| 10333 | if (!_internal_has_extendee()) { |
| 10334 | return nullptr; |
| 10335 | } |
| 10336 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10337 | auto* p = _impl_.extendee_.Release(); |
| 10338 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10339 | if (_impl_.extendee_.IsDefault()) { |
| 10340 | _impl_.extendee_.Set("" , GetArenaForAllocation()); |
| 10341 | } |
| 10342 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10343 | return p; |
| 10344 | } |
| 10345 | inline void FieldDescriptorProto::set_allocated_extendee(std::string* extendee) { |
| 10346 | if (extendee != nullptr) { |
| 10347 | _impl_._has_bits_[0] |= 0x00000002u; |
| 10348 | } else { |
| 10349 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10350 | } |
| 10351 | _impl_.extendee_.SetAllocated(value: extendee, arena: GetArenaForAllocation()); |
| 10352 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10353 | if (_impl_.extendee_.IsDefault()) { |
| 10354 | _impl_.extendee_.Set("" , GetArenaForAllocation()); |
| 10355 | } |
| 10356 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10357 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.extendee) |
| 10358 | } |
| 10359 | |
| 10360 | // optional string default_value = 7; |
| 10361 | inline bool FieldDescriptorProto::_internal_has_default_value() const { |
| 10362 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
| 10363 | return value; |
| 10364 | } |
| 10365 | inline bool FieldDescriptorProto::has_default_value() const { |
| 10366 | return _internal_has_default_value(); |
| 10367 | } |
| 10368 | inline void FieldDescriptorProto::clear_default_value() { |
| 10369 | _impl_.default_value_.ClearToEmpty(); |
| 10370 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 10371 | } |
| 10372 | inline const std::string& FieldDescriptorProto::default_value() const { |
| 10373 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.default_value) |
| 10374 | return _internal_default_value(); |
| 10375 | } |
| 10376 | template <typename ArgT0, typename... ArgT> |
| 10377 | inline PROTOBUF_ALWAYS_INLINE |
| 10378 | void FieldDescriptorProto::set_default_value(ArgT0&& arg0, ArgT... args) { |
| 10379 | _impl_._has_bits_[0] |= 0x00000008u; |
| 10380 | _impl_.default_value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 10381 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.default_value) |
| 10382 | } |
| 10383 | inline std::string* FieldDescriptorProto::mutable_default_value() { |
| 10384 | std::string* _s = _internal_mutable_default_value(); |
| 10385 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.default_value) |
| 10386 | return _s; |
| 10387 | } |
| 10388 | inline const std::string& FieldDescriptorProto::_internal_default_value() const { |
| 10389 | return _impl_.default_value_.Get(); |
| 10390 | } |
| 10391 | inline void FieldDescriptorProto::_internal_set_default_value(const std::string& value) { |
| 10392 | _impl_._has_bits_[0] |= 0x00000008u; |
| 10393 | _impl_.default_value_.Set(value, arena: GetArenaForAllocation()); |
| 10394 | } |
| 10395 | inline std::string* FieldDescriptorProto::_internal_mutable_default_value() { |
| 10396 | _impl_._has_bits_[0] |= 0x00000008u; |
| 10397 | return _impl_.default_value_.Mutable(arena: GetArenaForAllocation()); |
| 10398 | } |
| 10399 | inline std::string* FieldDescriptorProto::release_default_value() { |
| 10400 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.default_value) |
| 10401 | if (!_internal_has_default_value()) { |
| 10402 | return nullptr; |
| 10403 | } |
| 10404 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 10405 | auto* p = _impl_.default_value_.Release(); |
| 10406 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10407 | if (_impl_.default_value_.IsDefault()) { |
| 10408 | _impl_.default_value_.Set("" , GetArenaForAllocation()); |
| 10409 | } |
| 10410 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10411 | return p; |
| 10412 | } |
| 10413 | inline void FieldDescriptorProto::set_allocated_default_value(std::string* default_value) { |
| 10414 | if (default_value != nullptr) { |
| 10415 | _impl_._has_bits_[0] |= 0x00000008u; |
| 10416 | } else { |
| 10417 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 10418 | } |
| 10419 | _impl_.default_value_.SetAllocated(value: default_value, arena: GetArenaForAllocation()); |
| 10420 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10421 | if (_impl_.default_value_.IsDefault()) { |
| 10422 | _impl_.default_value_.Set("" , GetArenaForAllocation()); |
| 10423 | } |
| 10424 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10425 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.default_value) |
| 10426 | } |
| 10427 | |
| 10428 | // optional int32 oneof_index = 9; |
| 10429 | inline bool FieldDescriptorProto::_internal_has_oneof_index() const { |
| 10430 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
| 10431 | return value; |
| 10432 | } |
| 10433 | inline bool FieldDescriptorProto::has_oneof_index() const { |
| 10434 | return _internal_has_oneof_index(); |
| 10435 | } |
| 10436 | inline void FieldDescriptorProto::clear_oneof_index() { |
| 10437 | _impl_.oneof_index_ = 0; |
| 10438 | _impl_._has_bits_[0] &= ~0x00000080u; |
| 10439 | } |
| 10440 | inline int32_t FieldDescriptorProto::_internal_oneof_index() const { |
| 10441 | return _impl_.oneof_index_; |
| 10442 | } |
| 10443 | inline int32_t FieldDescriptorProto::oneof_index() const { |
| 10444 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.oneof_index) |
| 10445 | return _internal_oneof_index(); |
| 10446 | } |
| 10447 | inline void FieldDescriptorProto::_internal_set_oneof_index(int32_t value) { |
| 10448 | _impl_._has_bits_[0] |= 0x00000080u; |
| 10449 | _impl_.oneof_index_ = value; |
| 10450 | } |
| 10451 | inline void FieldDescriptorProto::set_oneof_index(int32_t value) { |
| 10452 | _internal_set_oneof_index(value); |
| 10453 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.oneof_index) |
| 10454 | } |
| 10455 | |
| 10456 | // optional string json_name = 10; |
| 10457 | inline bool FieldDescriptorProto::_internal_has_json_name() const { |
| 10458 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
| 10459 | return value; |
| 10460 | } |
| 10461 | inline bool FieldDescriptorProto::has_json_name() const { |
| 10462 | return _internal_has_json_name(); |
| 10463 | } |
| 10464 | inline void FieldDescriptorProto::clear_json_name() { |
| 10465 | _impl_.json_name_.ClearToEmpty(); |
| 10466 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 10467 | } |
| 10468 | inline const std::string& FieldDescriptorProto::json_name() const { |
| 10469 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.json_name) |
| 10470 | return _internal_json_name(); |
| 10471 | } |
| 10472 | template <typename ArgT0, typename... ArgT> |
| 10473 | inline PROTOBUF_ALWAYS_INLINE |
| 10474 | void FieldDescriptorProto::set_json_name(ArgT0&& arg0, ArgT... args) { |
| 10475 | _impl_._has_bits_[0] |= 0x00000010u; |
| 10476 | _impl_.json_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 10477 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.json_name) |
| 10478 | } |
| 10479 | inline std::string* FieldDescriptorProto::mutable_json_name() { |
| 10480 | std::string* _s = _internal_mutable_json_name(); |
| 10481 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.json_name) |
| 10482 | return _s; |
| 10483 | } |
| 10484 | inline const std::string& FieldDescriptorProto::_internal_json_name() const { |
| 10485 | return _impl_.json_name_.Get(); |
| 10486 | } |
| 10487 | inline void FieldDescriptorProto::_internal_set_json_name(const std::string& value) { |
| 10488 | _impl_._has_bits_[0] |= 0x00000010u; |
| 10489 | _impl_.json_name_.Set(value, arena: GetArenaForAllocation()); |
| 10490 | } |
| 10491 | inline std::string* FieldDescriptorProto::_internal_mutable_json_name() { |
| 10492 | _impl_._has_bits_[0] |= 0x00000010u; |
| 10493 | return _impl_.json_name_.Mutable(arena: GetArenaForAllocation()); |
| 10494 | } |
| 10495 | inline std::string* FieldDescriptorProto::release_json_name() { |
| 10496 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.json_name) |
| 10497 | if (!_internal_has_json_name()) { |
| 10498 | return nullptr; |
| 10499 | } |
| 10500 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 10501 | auto* p = _impl_.json_name_.Release(); |
| 10502 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10503 | if (_impl_.json_name_.IsDefault()) { |
| 10504 | _impl_.json_name_.Set("" , GetArenaForAllocation()); |
| 10505 | } |
| 10506 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10507 | return p; |
| 10508 | } |
| 10509 | inline void FieldDescriptorProto::set_allocated_json_name(std::string* json_name) { |
| 10510 | if (json_name != nullptr) { |
| 10511 | _impl_._has_bits_[0] |= 0x00000010u; |
| 10512 | } else { |
| 10513 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 10514 | } |
| 10515 | _impl_.json_name_.SetAllocated(value: json_name, arena: GetArenaForAllocation()); |
| 10516 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10517 | if (_impl_.json_name_.IsDefault()) { |
| 10518 | _impl_.json_name_.Set("" , GetArenaForAllocation()); |
| 10519 | } |
| 10520 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10521 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.json_name) |
| 10522 | } |
| 10523 | |
| 10524 | // optional .google.protobuf.FieldOptions options = 8; |
| 10525 | inline bool FieldDescriptorProto::_internal_has_options() const { |
| 10526 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
| 10527 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
| 10528 | return value; |
| 10529 | } |
| 10530 | inline bool FieldDescriptorProto::has_options() const { |
| 10531 | return _internal_has_options(); |
| 10532 | } |
| 10533 | inline void FieldDescriptorProto::clear_options() { |
| 10534 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
| 10535 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 10536 | } |
| 10537 | inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::_internal_options() const { |
| 10538 | const ::PROTOBUF_NAMESPACE_ID::FieldOptions* p = _impl_.options_; |
| 10539 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FieldOptions&>( |
| 10540 | ::PROTOBUF_NAMESPACE_ID::_FieldOptions_default_instance_); |
| 10541 | } |
| 10542 | inline const ::PROTOBUF_NAMESPACE_ID::FieldOptions& FieldDescriptorProto::options() const { |
| 10543 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.options) |
| 10544 | return _internal_options(); |
| 10545 | } |
| 10546 | inline void FieldDescriptorProto::unsafe_arena_set_allocated_options( |
| 10547 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* options) { |
| 10548 | if (GetArenaForAllocation() == nullptr) { |
| 10549 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
| 10550 | } |
| 10551 | _impl_.options_ = options; |
| 10552 | if (options) { |
| 10553 | _impl_._has_bits_[0] |= 0x00000020u; |
| 10554 | } else { |
| 10555 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 10556 | } |
| 10557 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.FieldDescriptorProto.options) |
| 10558 | } |
| 10559 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::release_options() { |
| 10560 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 10561 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = _impl_.options_; |
| 10562 | _impl_.options_ = nullptr; |
| 10563 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 10564 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 10565 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 10566 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 10567 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 10568 | if (GetArenaForAllocation() != nullptr) { |
| 10569 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 10570 | } |
| 10571 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 10572 | return temp; |
| 10573 | } |
| 10574 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::unsafe_arena_release_options() { |
| 10575 | // @@protoc_insertion_point(field_release:google.protobuf.FieldDescriptorProto.options) |
| 10576 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 10577 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* temp = _impl_.options_; |
| 10578 | _impl_.options_ = nullptr; |
| 10579 | return temp; |
| 10580 | } |
| 10581 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::_internal_mutable_options() { |
| 10582 | _impl_._has_bits_[0] |= 0x00000020u; |
| 10583 | if (_impl_.options_ == nullptr) { |
| 10584 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldOptions>(arena: GetArenaForAllocation()); |
| 10585 | _impl_.options_ = p; |
| 10586 | } |
| 10587 | return _impl_.options_; |
| 10588 | } |
| 10589 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions* FieldDescriptorProto::mutable_options() { |
| 10590 | ::PROTOBUF_NAMESPACE_ID::FieldOptions* _msg = _internal_mutable_options(); |
| 10591 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldDescriptorProto.options) |
| 10592 | return _msg; |
| 10593 | } |
| 10594 | inline void FieldDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::FieldOptions* options) { |
| 10595 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 10596 | if (message_arena == nullptr) { |
| 10597 | delete _impl_.options_; |
| 10598 | } |
| 10599 | if (options) { |
| 10600 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 10601 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: options); |
| 10602 | if (message_arena != submessage_arena) { |
| 10603 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 10604 | message_arena, submessage: options, submessage_arena); |
| 10605 | } |
| 10606 | _impl_._has_bits_[0] |= 0x00000020u; |
| 10607 | } else { |
| 10608 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 10609 | } |
| 10610 | _impl_.options_ = options; |
| 10611 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FieldDescriptorProto.options) |
| 10612 | } |
| 10613 | |
| 10614 | // optional bool proto3_optional = 17; |
| 10615 | inline bool FieldDescriptorProto::_internal_has_proto3_optional() const { |
| 10616 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
| 10617 | return value; |
| 10618 | } |
| 10619 | inline bool FieldDescriptorProto::has_proto3_optional() const { |
| 10620 | return _internal_has_proto3_optional(); |
| 10621 | } |
| 10622 | inline void FieldDescriptorProto::clear_proto3_optional() { |
| 10623 | _impl_.proto3_optional_ = false; |
| 10624 | _impl_._has_bits_[0] &= ~0x00000100u; |
| 10625 | } |
| 10626 | inline bool FieldDescriptorProto::_internal_proto3_optional() const { |
| 10627 | return _impl_.proto3_optional_; |
| 10628 | } |
| 10629 | inline bool FieldDescriptorProto::proto3_optional() const { |
| 10630 | // @@protoc_insertion_point(field_get:google.protobuf.FieldDescriptorProto.proto3_optional) |
| 10631 | return _internal_proto3_optional(); |
| 10632 | } |
| 10633 | inline void FieldDescriptorProto::_internal_set_proto3_optional(bool value) { |
| 10634 | _impl_._has_bits_[0] |= 0x00000100u; |
| 10635 | _impl_.proto3_optional_ = value; |
| 10636 | } |
| 10637 | inline void FieldDescriptorProto::set_proto3_optional(bool value) { |
| 10638 | _internal_set_proto3_optional(value); |
| 10639 | // @@protoc_insertion_point(field_set:google.protobuf.FieldDescriptorProto.proto3_optional) |
| 10640 | } |
| 10641 | |
| 10642 | // ------------------------------------------------------------------- |
| 10643 | |
| 10644 | // OneofDescriptorProto |
| 10645 | |
| 10646 | // optional string name = 1; |
| 10647 | inline bool OneofDescriptorProto::_internal_has_name() const { |
| 10648 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 10649 | return value; |
| 10650 | } |
| 10651 | inline bool OneofDescriptorProto::has_name() const { |
| 10652 | return _internal_has_name(); |
| 10653 | } |
| 10654 | inline void OneofDescriptorProto::clear_name() { |
| 10655 | _impl_.name_.ClearToEmpty(); |
| 10656 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10657 | } |
| 10658 | inline const std::string& OneofDescriptorProto::name() const { |
| 10659 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.name) |
| 10660 | return _internal_name(); |
| 10661 | } |
| 10662 | template <typename ArgT0, typename... ArgT> |
| 10663 | inline PROTOBUF_ALWAYS_INLINE |
| 10664 | void OneofDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
| 10665 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10666 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 10667 | // @@protoc_insertion_point(field_set:google.protobuf.OneofDescriptorProto.name) |
| 10668 | } |
| 10669 | inline std::string* OneofDescriptorProto::mutable_name() { |
| 10670 | std::string* _s = _internal_mutable_name(); |
| 10671 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.name) |
| 10672 | return _s; |
| 10673 | } |
| 10674 | inline const std::string& OneofDescriptorProto::_internal_name() const { |
| 10675 | return _impl_.name_.Get(); |
| 10676 | } |
| 10677 | inline void OneofDescriptorProto::_internal_set_name(const std::string& value) { |
| 10678 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10679 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 10680 | } |
| 10681 | inline std::string* OneofDescriptorProto::_internal_mutable_name() { |
| 10682 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10683 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 10684 | } |
| 10685 | inline std::string* OneofDescriptorProto::release_name() { |
| 10686 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.name) |
| 10687 | if (!_internal_has_name()) { |
| 10688 | return nullptr; |
| 10689 | } |
| 10690 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10691 | auto* p = _impl_.name_.Release(); |
| 10692 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10693 | if (_impl_.name_.IsDefault()) { |
| 10694 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 10695 | } |
| 10696 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10697 | return p; |
| 10698 | } |
| 10699 | inline void OneofDescriptorProto::set_allocated_name(std::string* name) { |
| 10700 | if (name != nullptr) { |
| 10701 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10702 | } else { |
| 10703 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10704 | } |
| 10705 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 10706 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10707 | if (_impl_.name_.IsDefault()) { |
| 10708 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 10709 | } |
| 10710 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10711 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.name) |
| 10712 | } |
| 10713 | |
| 10714 | // optional .google.protobuf.OneofOptions options = 2; |
| 10715 | inline bool OneofDescriptorProto::_internal_has_options() const { |
| 10716 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 10717 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
| 10718 | return value; |
| 10719 | } |
| 10720 | inline bool OneofDescriptorProto::has_options() const { |
| 10721 | return _internal_has_options(); |
| 10722 | } |
| 10723 | inline void OneofDescriptorProto::clear_options() { |
| 10724 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
| 10725 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10726 | } |
| 10727 | inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::_internal_options() const { |
| 10728 | const ::PROTOBUF_NAMESPACE_ID::OneofOptions* p = _impl_.options_; |
| 10729 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::OneofOptions&>( |
| 10730 | ::PROTOBUF_NAMESPACE_ID::_OneofOptions_default_instance_); |
| 10731 | } |
| 10732 | inline const ::PROTOBUF_NAMESPACE_ID::OneofOptions& OneofDescriptorProto::options() const { |
| 10733 | // @@protoc_insertion_point(field_get:google.protobuf.OneofDescriptorProto.options) |
| 10734 | return _internal_options(); |
| 10735 | } |
| 10736 | inline void OneofDescriptorProto::unsafe_arena_set_allocated_options( |
| 10737 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* options) { |
| 10738 | if (GetArenaForAllocation() == nullptr) { |
| 10739 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
| 10740 | } |
| 10741 | _impl_.options_ = options; |
| 10742 | if (options) { |
| 10743 | _impl_._has_bits_[0] |= 0x00000002u; |
| 10744 | } else { |
| 10745 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10746 | } |
| 10747 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.OneofDescriptorProto.options) |
| 10748 | } |
| 10749 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::release_options() { |
| 10750 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10751 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = _impl_.options_; |
| 10752 | _impl_.options_ = nullptr; |
| 10753 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 10754 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 10755 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 10756 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 10757 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 10758 | if (GetArenaForAllocation() != nullptr) { |
| 10759 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 10760 | } |
| 10761 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 10762 | return temp; |
| 10763 | } |
| 10764 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::unsafe_arena_release_options() { |
| 10765 | // @@protoc_insertion_point(field_release:google.protobuf.OneofDescriptorProto.options) |
| 10766 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10767 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* temp = _impl_.options_; |
| 10768 | _impl_.options_ = nullptr; |
| 10769 | return temp; |
| 10770 | } |
| 10771 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::_internal_mutable_options() { |
| 10772 | _impl_._has_bits_[0] |= 0x00000002u; |
| 10773 | if (_impl_.options_ == nullptr) { |
| 10774 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::OneofOptions>(arena: GetArenaForAllocation()); |
| 10775 | _impl_.options_ = p; |
| 10776 | } |
| 10777 | return _impl_.options_; |
| 10778 | } |
| 10779 | inline ::PROTOBUF_NAMESPACE_ID::OneofOptions* OneofDescriptorProto::mutable_options() { |
| 10780 | ::PROTOBUF_NAMESPACE_ID::OneofOptions* _msg = _internal_mutable_options(); |
| 10781 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofDescriptorProto.options) |
| 10782 | return _msg; |
| 10783 | } |
| 10784 | inline void OneofDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::OneofOptions* options) { |
| 10785 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 10786 | if (message_arena == nullptr) { |
| 10787 | delete _impl_.options_; |
| 10788 | } |
| 10789 | if (options) { |
| 10790 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 10791 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: options); |
| 10792 | if (message_arena != submessage_arena) { |
| 10793 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 10794 | message_arena, submessage: options, submessage_arena); |
| 10795 | } |
| 10796 | _impl_._has_bits_[0] |= 0x00000002u; |
| 10797 | } else { |
| 10798 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10799 | } |
| 10800 | _impl_.options_ = options; |
| 10801 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.OneofDescriptorProto.options) |
| 10802 | } |
| 10803 | |
| 10804 | // ------------------------------------------------------------------- |
| 10805 | |
| 10806 | // EnumDescriptorProto_EnumReservedRange |
| 10807 | |
| 10808 | // optional int32 start = 1; |
| 10809 | inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_start() const { |
| 10810 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 10811 | return value; |
| 10812 | } |
| 10813 | inline bool EnumDescriptorProto_EnumReservedRange::has_start() const { |
| 10814 | return _internal_has_start(); |
| 10815 | } |
| 10816 | inline void EnumDescriptorProto_EnumReservedRange::clear_start() { |
| 10817 | _impl_.start_ = 0; |
| 10818 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10819 | } |
| 10820 | inline int32_t EnumDescriptorProto_EnumReservedRange::_internal_start() const { |
| 10821 | return _impl_.start_; |
| 10822 | } |
| 10823 | inline int32_t EnumDescriptorProto_EnumReservedRange::start() const { |
| 10824 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
| 10825 | return _internal_start(); |
| 10826 | } |
| 10827 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_start(int32_t value) { |
| 10828 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10829 | _impl_.start_ = value; |
| 10830 | } |
| 10831 | inline void EnumDescriptorProto_EnumReservedRange::set_start(int32_t value) { |
| 10832 | _internal_set_start(value); |
| 10833 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.start) |
| 10834 | } |
| 10835 | |
| 10836 | // optional int32 end = 2; |
| 10837 | inline bool EnumDescriptorProto_EnumReservedRange::_internal_has_end() const { |
| 10838 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 10839 | return value; |
| 10840 | } |
| 10841 | inline bool EnumDescriptorProto_EnumReservedRange::has_end() const { |
| 10842 | return _internal_has_end(); |
| 10843 | } |
| 10844 | inline void EnumDescriptorProto_EnumReservedRange::clear_end() { |
| 10845 | _impl_.end_ = 0; |
| 10846 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10847 | } |
| 10848 | inline int32_t EnumDescriptorProto_EnumReservedRange::_internal_end() const { |
| 10849 | return _impl_.end_; |
| 10850 | } |
| 10851 | inline int32_t EnumDescriptorProto_EnumReservedRange::end() const { |
| 10852 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
| 10853 | return _internal_end(); |
| 10854 | } |
| 10855 | inline void EnumDescriptorProto_EnumReservedRange::_internal_set_end(int32_t value) { |
| 10856 | _impl_._has_bits_[0] |= 0x00000002u; |
| 10857 | _impl_.end_ = value; |
| 10858 | } |
| 10859 | inline void EnumDescriptorProto_EnumReservedRange::set_end(int32_t value) { |
| 10860 | _internal_set_end(value); |
| 10861 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.EnumReservedRange.end) |
| 10862 | } |
| 10863 | |
| 10864 | // ------------------------------------------------------------------- |
| 10865 | |
| 10866 | // EnumDescriptorProto |
| 10867 | |
| 10868 | // optional string name = 1; |
| 10869 | inline bool EnumDescriptorProto::_internal_has_name() const { |
| 10870 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 10871 | return value; |
| 10872 | } |
| 10873 | inline bool EnumDescriptorProto::has_name() const { |
| 10874 | return _internal_has_name(); |
| 10875 | } |
| 10876 | inline void EnumDescriptorProto::clear_name() { |
| 10877 | _impl_.name_.ClearToEmpty(); |
| 10878 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10879 | } |
| 10880 | inline const std::string& EnumDescriptorProto::name() const { |
| 10881 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.name) |
| 10882 | return _internal_name(); |
| 10883 | } |
| 10884 | template <typename ArgT0, typename... ArgT> |
| 10885 | inline PROTOBUF_ALWAYS_INLINE |
| 10886 | void EnumDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
| 10887 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10888 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 10889 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.name) |
| 10890 | } |
| 10891 | inline std::string* EnumDescriptorProto::mutable_name() { |
| 10892 | std::string* _s = _internal_mutable_name(); |
| 10893 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.name) |
| 10894 | return _s; |
| 10895 | } |
| 10896 | inline const std::string& EnumDescriptorProto::_internal_name() const { |
| 10897 | return _impl_.name_.Get(); |
| 10898 | } |
| 10899 | inline void EnumDescriptorProto::_internal_set_name(const std::string& value) { |
| 10900 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10901 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 10902 | } |
| 10903 | inline std::string* EnumDescriptorProto::_internal_mutable_name() { |
| 10904 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10905 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 10906 | } |
| 10907 | inline std::string* EnumDescriptorProto::release_name() { |
| 10908 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.name) |
| 10909 | if (!_internal_has_name()) { |
| 10910 | return nullptr; |
| 10911 | } |
| 10912 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10913 | auto* p = _impl_.name_.Release(); |
| 10914 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10915 | if (_impl_.name_.IsDefault()) { |
| 10916 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 10917 | } |
| 10918 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10919 | return p; |
| 10920 | } |
| 10921 | inline void EnumDescriptorProto::set_allocated_name(std::string* name) { |
| 10922 | if (name != nullptr) { |
| 10923 | _impl_._has_bits_[0] |= 0x00000001u; |
| 10924 | } else { |
| 10925 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 10926 | } |
| 10927 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 10928 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10929 | if (_impl_.name_.IsDefault()) { |
| 10930 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 10931 | } |
| 10932 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 10933 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.name) |
| 10934 | } |
| 10935 | |
| 10936 | // repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
| 10937 | inline int EnumDescriptorProto::_internal_value_size() const { |
| 10938 | return _impl_.value_.size(); |
| 10939 | } |
| 10940 | inline int EnumDescriptorProto::value_size() const { |
| 10941 | return _internal_value_size(); |
| 10942 | } |
| 10943 | inline void EnumDescriptorProto::clear_value() { |
| 10944 | _impl_.value_.Clear(); |
| 10945 | } |
| 10946 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::mutable_value(int index) { |
| 10947 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.value) |
| 10948 | return _impl_.value_.Mutable(index); |
| 10949 | } |
| 10950 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >* |
| 10951 | EnumDescriptorProto::mutable_value() { |
| 10952 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.value) |
| 10953 | return &_impl_.value_; |
| 10954 | } |
| 10955 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::_internal_value(int index) const { |
| 10956 | return _impl_.value_.Get(index); |
| 10957 | } |
| 10958 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto& EnumDescriptorProto::value(int index) const { |
| 10959 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.value) |
| 10960 | return _internal_value(index); |
| 10961 | } |
| 10962 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::_internal_add_value() { |
| 10963 | return _impl_.value_.Add(); |
| 10964 | } |
| 10965 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* EnumDescriptorProto::add_value() { |
| 10966 | ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto* _add = _internal_add_value(); |
| 10967 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.value) |
| 10968 | return _add; |
| 10969 | } |
| 10970 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumValueDescriptorProto >& |
| 10971 | EnumDescriptorProto::value() const { |
| 10972 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.value) |
| 10973 | return _impl_.value_; |
| 10974 | } |
| 10975 | |
| 10976 | // optional .google.protobuf.EnumOptions options = 3; |
| 10977 | inline bool EnumDescriptorProto::_internal_has_options() const { |
| 10978 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 10979 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
| 10980 | return value; |
| 10981 | } |
| 10982 | inline bool EnumDescriptorProto::has_options() const { |
| 10983 | return _internal_has_options(); |
| 10984 | } |
| 10985 | inline void EnumDescriptorProto::clear_options() { |
| 10986 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
| 10987 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 10988 | } |
| 10989 | inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::_internal_options() const { |
| 10990 | const ::PROTOBUF_NAMESPACE_ID::EnumOptions* p = _impl_.options_; |
| 10991 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumOptions&>( |
| 10992 | ::PROTOBUF_NAMESPACE_ID::_EnumOptions_default_instance_); |
| 10993 | } |
| 10994 | inline const ::PROTOBUF_NAMESPACE_ID::EnumOptions& EnumDescriptorProto::options() const { |
| 10995 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.options) |
| 10996 | return _internal_options(); |
| 10997 | } |
| 10998 | inline void EnumDescriptorProto::unsafe_arena_set_allocated_options( |
| 10999 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* options) { |
| 11000 | if (GetArenaForAllocation() == nullptr) { |
| 11001 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
| 11002 | } |
| 11003 | _impl_.options_ = options; |
| 11004 | if (options) { |
| 11005 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11006 | } else { |
| 11007 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11008 | } |
| 11009 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumDescriptorProto.options) |
| 11010 | } |
| 11011 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::release_options() { |
| 11012 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11013 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = _impl_.options_; |
| 11014 | _impl_.options_ = nullptr; |
| 11015 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11016 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 11017 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 11018 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 11019 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11020 | if (GetArenaForAllocation() != nullptr) { |
| 11021 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 11022 | } |
| 11023 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11024 | return temp; |
| 11025 | } |
| 11026 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::unsafe_arena_release_options() { |
| 11027 | // @@protoc_insertion_point(field_release:google.protobuf.EnumDescriptorProto.options) |
| 11028 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11029 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* temp = _impl_.options_; |
| 11030 | _impl_.options_ = nullptr; |
| 11031 | return temp; |
| 11032 | } |
| 11033 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::_internal_mutable_options() { |
| 11034 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11035 | if (_impl_.options_ == nullptr) { |
| 11036 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumOptions>(arena: GetArenaForAllocation()); |
| 11037 | _impl_.options_ = p; |
| 11038 | } |
| 11039 | return _impl_.options_; |
| 11040 | } |
| 11041 | inline ::PROTOBUF_NAMESPACE_ID::EnumOptions* EnumDescriptorProto::mutable_options() { |
| 11042 | ::PROTOBUF_NAMESPACE_ID::EnumOptions* _msg = _internal_mutable_options(); |
| 11043 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.options) |
| 11044 | return _msg; |
| 11045 | } |
| 11046 | inline void EnumDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumOptions* options) { |
| 11047 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 11048 | if (message_arena == nullptr) { |
| 11049 | delete _impl_.options_; |
| 11050 | } |
| 11051 | if (options) { |
| 11052 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 11053 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: options); |
| 11054 | if (message_arena != submessage_arena) { |
| 11055 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 11056 | message_arena, submessage: options, submessage_arena); |
| 11057 | } |
| 11058 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11059 | } else { |
| 11060 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11061 | } |
| 11062 | _impl_.options_ = options; |
| 11063 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumDescriptorProto.options) |
| 11064 | } |
| 11065 | |
| 11066 | // repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4; |
| 11067 | inline int EnumDescriptorProto::_internal_reserved_range_size() const { |
| 11068 | return _impl_.reserved_range_.size(); |
| 11069 | } |
| 11070 | inline int EnumDescriptorProto::reserved_range_size() const { |
| 11071 | return _internal_reserved_range_size(); |
| 11072 | } |
| 11073 | inline void EnumDescriptorProto::clear_reserved_range() { |
| 11074 | _impl_.reserved_range_.Clear(); |
| 11075 | } |
| 11076 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::mutable_reserved_range(int index) { |
| 11077 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_range) |
| 11078 | return _impl_.reserved_range_.Mutable(index); |
| 11079 | } |
| 11080 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >* |
| 11081 | EnumDescriptorProto::mutable_reserved_range() { |
| 11082 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_range) |
| 11083 | return &_impl_.reserved_range_; |
| 11084 | } |
| 11085 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::_internal_reserved_range(int index) const { |
| 11086 | return _impl_.reserved_range_.Get(index); |
| 11087 | } |
| 11088 | inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange& EnumDescriptorProto::reserved_range(int index) const { |
| 11089 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_range) |
| 11090 | return _internal_reserved_range(index); |
| 11091 | } |
| 11092 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::_internal_add_reserved_range() { |
| 11093 | return _impl_.reserved_range_.Add(); |
| 11094 | } |
| 11095 | inline ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* EnumDescriptorProto::add_reserved_range() { |
| 11096 | ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange* _add = _internal_add_reserved_range(); |
| 11097 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_range) |
| 11098 | return _add; |
| 11099 | } |
| 11100 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::EnumDescriptorProto_EnumReservedRange >& |
| 11101 | EnumDescriptorProto::reserved_range() const { |
| 11102 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_range) |
| 11103 | return _impl_.reserved_range_; |
| 11104 | } |
| 11105 | |
| 11106 | // repeated string reserved_name = 5; |
| 11107 | inline int EnumDescriptorProto::_internal_reserved_name_size() const { |
| 11108 | return _impl_.reserved_name_.size(); |
| 11109 | } |
| 11110 | inline int EnumDescriptorProto::reserved_name_size() const { |
| 11111 | return _internal_reserved_name_size(); |
| 11112 | } |
| 11113 | inline void EnumDescriptorProto::clear_reserved_name() { |
| 11114 | _impl_.reserved_name_.Clear(); |
| 11115 | } |
| 11116 | inline std::string* EnumDescriptorProto::add_reserved_name() { |
| 11117 | std::string* _s = _internal_add_reserved_name(); |
| 11118 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11119 | return _s; |
| 11120 | } |
| 11121 | inline const std::string& EnumDescriptorProto::_internal_reserved_name(int index) const { |
| 11122 | return _impl_.reserved_name_.Get(index); |
| 11123 | } |
| 11124 | inline const std::string& EnumDescriptorProto::reserved_name(int index) const { |
| 11125 | // @@protoc_insertion_point(field_get:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11126 | return _internal_reserved_name(index); |
| 11127 | } |
| 11128 | inline std::string* EnumDescriptorProto::mutable_reserved_name(int index) { |
| 11129 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11130 | return _impl_.reserved_name_.Mutable(index); |
| 11131 | } |
| 11132 | inline void EnumDescriptorProto::set_reserved_name(int index, const std::string& value) { |
| 11133 | _impl_.reserved_name_.Mutable(index)->assign(str: value); |
| 11134 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11135 | } |
| 11136 | inline void EnumDescriptorProto::set_reserved_name(int index, std::string&& value) { |
| 11137 | _impl_.reserved_name_.Mutable(index)->assign(str: std::move(value)); |
| 11138 | // @@protoc_insertion_point(field_set:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11139 | } |
| 11140 | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value) { |
| 11141 | GOOGLE_DCHECK(value != nullptr); |
| 11142 | _impl_.reserved_name_.Mutable(index)->assign(s: value); |
| 11143 | // @@protoc_insertion_point(field_set_char:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11144 | } |
| 11145 | inline void EnumDescriptorProto::set_reserved_name(int index, const char* value, size_t size) { |
| 11146 | _impl_.reserved_name_.Mutable(index)->assign( |
| 11147 | s: reinterpret_cast<const char*>(value), n: size); |
| 11148 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11149 | } |
| 11150 | inline std::string* EnumDescriptorProto::_internal_add_reserved_name() { |
| 11151 | return _impl_.reserved_name_.Add(); |
| 11152 | } |
| 11153 | inline void EnumDescriptorProto::add_reserved_name(const std::string& value) { |
| 11154 | _impl_.reserved_name_.Add()->assign(str: value); |
| 11155 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11156 | } |
| 11157 | inline void EnumDescriptorProto::add_reserved_name(std::string&& value) { |
| 11158 | _impl_.reserved_name_.Add(value: std::move(value)); |
| 11159 | // @@protoc_insertion_point(field_add:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11160 | } |
| 11161 | inline void EnumDescriptorProto::add_reserved_name(const char* value) { |
| 11162 | GOOGLE_DCHECK(value != nullptr); |
| 11163 | _impl_.reserved_name_.Add()->assign(s: value); |
| 11164 | // @@protoc_insertion_point(field_add_char:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11165 | } |
| 11166 | inline void EnumDescriptorProto::add_reserved_name(const char* value, size_t size) { |
| 11167 | _impl_.reserved_name_.Add()->assign(s: reinterpret_cast<const char*>(value), n: size); |
| 11168 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11169 | } |
| 11170 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
| 11171 | EnumDescriptorProto::reserved_name() const { |
| 11172 | // @@protoc_insertion_point(field_list:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11173 | return _impl_.reserved_name_; |
| 11174 | } |
| 11175 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
| 11176 | EnumDescriptorProto::mutable_reserved_name() { |
| 11177 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumDescriptorProto.reserved_name) |
| 11178 | return &_impl_.reserved_name_; |
| 11179 | } |
| 11180 | |
| 11181 | // ------------------------------------------------------------------- |
| 11182 | |
| 11183 | // EnumValueDescriptorProto |
| 11184 | |
| 11185 | // optional string name = 1; |
| 11186 | inline bool EnumValueDescriptorProto::_internal_has_name() const { |
| 11187 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 11188 | return value; |
| 11189 | } |
| 11190 | inline bool EnumValueDescriptorProto::has_name() const { |
| 11191 | return _internal_has_name(); |
| 11192 | } |
| 11193 | inline void EnumValueDescriptorProto::clear_name() { |
| 11194 | _impl_.name_.ClearToEmpty(); |
| 11195 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11196 | } |
| 11197 | inline const std::string& EnumValueDescriptorProto::name() const { |
| 11198 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.name) |
| 11199 | return _internal_name(); |
| 11200 | } |
| 11201 | template <typename ArgT0, typename... ArgT> |
| 11202 | inline PROTOBUF_ALWAYS_INLINE |
| 11203 | void EnumValueDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
| 11204 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11205 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 11206 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.name) |
| 11207 | } |
| 11208 | inline std::string* EnumValueDescriptorProto::mutable_name() { |
| 11209 | std::string* _s = _internal_mutable_name(); |
| 11210 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.name) |
| 11211 | return _s; |
| 11212 | } |
| 11213 | inline const std::string& EnumValueDescriptorProto::_internal_name() const { |
| 11214 | return _impl_.name_.Get(); |
| 11215 | } |
| 11216 | inline void EnumValueDescriptorProto::_internal_set_name(const std::string& value) { |
| 11217 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11218 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 11219 | } |
| 11220 | inline std::string* EnumValueDescriptorProto::_internal_mutable_name() { |
| 11221 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11222 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 11223 | } |
| 11224 | inline std::string* EnumValueDescriptorProto::release_name() { |
| 11225 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.name) |
| 11226 | if (!_internal_has_name()) { |
| 11227 | return nullptr; |
| 11228 | } |
| 11229 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11230 | auto* p = _impl_.name_.Release(); |
| 11231 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11232 | if (_impl_.name_.IsDefault()) { |
| 11233 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 11234 | } |
| 11235 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11236 | return p; |
| 11237 | } |
| 11238 | inline void EnumValueDescriptorProto::set_allocated_name(std::string* name) { |
| 11239 | if (name != nullptr) { |
| 11240 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11241 | } else { |
| 11242 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11243 | } |
| 11244 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 11245 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11246 | if (_impl_.name_.IsDefault()) { |
| 11247 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 11248 | } |
| 11249 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11250 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.name) |
| 11251 | } |
| 11252 | |
| 11253 | // optional int32 number = 2; |
| 11254 | inline bool EnumValueDescriptorProto::_internal_has_number() const { |
| 11255 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 11256 | return value; |
| 11257 | } |
| 11258 | inline bool EnumValueDescriptorProto::has_number() const { |
| 11259 | return _internal_has_number(); |
| 11260 | } |
| 11261 | inline void EnumValueDescriptorProto::clear_number() { |
| 11262 | _impl_.number_ = 0; |
| 11263 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 11264 | } |
| 11265 | inline int32_t EnumValueDescriptorProto::_internal_number() const { |
| 11266 | return _impl_.number_; |
| 11267 | } |
| 11268 | inline int32_t EnumValueDescriptorProto::number() const { |
| 11269 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.number) |
| 11270 | return _internal_number(); |
| 11271 | } |
| 11272 | inline void EnumValueDescriptorProto::_internal_set_number(int32_t value) { |
| 11273 | _impl_._has_bits_[0] |= 0x00000004u; |
| 11274 | _impl_.number_ = value; |
| 11275 | } |
| 11276 | inline void EnumValueDescriptorProto::set_number(int32_t value) { |
| 11277 | _internal_set_number(value); |
| 11278 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueDescriptorProto.number) |
| 11279 | } |
| 11280 | |
| 11281 | // optional .google.protobuf.EnumValueOptions options = 3; |
| 11282 | inline bool EnumValueDescriptorProto::_internal_has_options() const { |
| 11283 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 11284 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
| 11285 | return value; |
| 11286 | } |
| 11287 | inline bool EnumValueDescriptorProto::has_options() const { |
| 11288 | return _internal_has_options(); |
| 11289 | } |
| 11290 | inline void EnumValueDescriptorProto::clear_options() { |
| 11291 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
| 11292 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11293 | } |
| 11294 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::_internal_options() const { |
| 11295 | const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* p = _impl_.options_; |
| 11296 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions&>( |
| 11297 | ::PROTOBUF_NAMESPACE_ID::_EnumValueOptions_default_instance_); |
| 11298 | } |
| 11299 | inline const ::PROTOBUF_NAMESPACE_ID::EnumValueOptions& EnumValueDescriptorProto::options() const { |
| 11300 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueDescriptorProto.options) |
| 11301 | return _internal_options(); |
| 11302 | } |
| 11303 | inline void EnumValueDescriptorProto::unsafe_arena_set_allocated_options( |
| 11304 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) { |
| 11305 | if (GetArenaForAllocation() == nullptr) { |
| 11306 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
| 11307 | } |
| 11308 | _impl_.options_ = options; |
| 11309 | if (options) { |
| 11310 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11311 | } else { |
| 11312 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11313 | } |
| 11314 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
| 11315 | } |
| 11316 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::release_options() { |
| 11317 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11318 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = _impl_.options_; |
| 11319 | _impl_.options_ = nullptr; |
| 11320 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11321 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 11322 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 11323 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 11324 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11325 | if (GetArenaForAllocation() != nullptr) { |
| 11326 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 11327 | } |
| 11328 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11329 | return temp; |
| 11330 | } |
| 11331 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::unsafe_arena_release_options() { |
| 11332 | // @@protoc_insertion_point(field_release:google.protobuf.EnumValueDescriptorProto.options) |
| 11333 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11334 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* temp = _impl_.options_; |
| 11335 | _impl_.options_ = nullptr; |
| 11336 | return temp; |
| 11337 | } |
| 11338 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::_internal_mutable_options() { |
| 11339 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11340 | if (_impl_.options_ == nullptr) { |
| 11341 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::EnumValueOptions>(arena: GetArenaForAllocation()); |
| 11342 | _impl_.options_ = p; |
| 11343 | } |
| 11344 | return _impl_.options_; |
| 11345 | } |
| 11346 | inline ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* EnumValueDescriptorProto::mutable_options() { |
| 11347 | ::PROTOBUF_NAMESPACE_ID::EnumValueOptions* _msg = _internal_mutable_options(); |
| 11348 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueDescriptorProto.options) |
| 11349 | return _msg; |
| 11350 | } |
| 11351 | inline void EnumValueDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::EnumValueOptions* options) { |
| 11352 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 11353 | if (message_arena == nullptr) { |
| 11354 | delete _impl_.options_; |
| 11355 | } |
| 11356 | if (options) { |
| 11357 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 11358 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: options); |
| 11359 | if (message_arena != submessage_arena) { |
| 11360 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 11361 | message_arena, submessage: options, submessage_arena); |
| 11362 | } |
| 11363 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11364 | } else { |
| 11365 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11366 | } |
| 11367 | _impl_.options_ = options; |
| 11368 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValueDescriptorProto.options) |
| 11369 | } |
| 11370 | |
| 11371 | // ------------------------------------------------------------------- |
| 11372 | |
| 11373 | // ServiceDescriptorProto |
| 11374 | |
| 11375 | // optional string name = 1; |
| 11376 | inline bool ServiceDescriptorProto::_internal_has_name() const { |
| 11377 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 11378 | return value; |
| 11379 | } |
| 11380 | inline bool ServiceDescriptorProto::has_name() const { |
| 11381 | return _internal_has_name(); |
| 11382 | } |
| 11383 | inline void ServiceDescriptorProto::clear_name() { |
| 11384 | _impl_.name_.ClearToEmpty(); |
| 11385 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11386 | } |
| 11387 | inline const std::string& ServiceDescriptorProto::name() const { |
| 11388 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.name) |
| 11389 | return _internal_name(); |
| 11390 | } |
| 11391 | template <typename ArgT0, typename... ArgT> |
| 11392 | inline PROTOBUF_ALWAYS_INLINE |
| 11393 | void ServiceDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
| 11394 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11395 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 11396 | // @@protoc_insertion_point(field_set:google.protobuf.ServiceDescriptorProto.name) |
| 11397 | } |
| 11398 | inline std::string* ServiceDescriptorProto::mutable_name() { |
| 11399 | std::string* _s = _internal_mutable_name(); |
| 11400 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.name) |
| 11401 | return _s; |
| 11402 | } |
| 11403 | inline const std::string& ServiceDescriptorProto::_internal_name() const { |
| 11404 | return _impl_.name_.Get(); |
| 11405 | } |
| 11406 | inline void ServiceDescriptorProto::_internal_set_name(const std::string& value) { |
| 11407 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11408 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 11409 | } |
| 11410 | inline std::string* ServiceDescriptorProto::_internal_mutable_name() { |
| 11411 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11412 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 11413 | } |
| 11414 | inline std::string* ServiceDescriptorProto::release_name() { |
| 11415 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.name) |
| 11416 | if (!_internal_has_name()) { |
| 11417 | return nullptr; |
| 11418 | } |
| 11419 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11420 | auto* p = _impl_.name_.Release(); |
| 11421 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11422 | if (_impl_.name_.IsDefault()) { |
| 11423 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 11424 | } |
| 11425 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11426 | return p; |
| 11427 | } |
| 11428 | inline void ServiceDescriptorProto::set_allocated_name(std::string* name) { |
| 11429 | if (name != nullptr) { |
| 11430 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11431 | } else { |
| 11432 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11433 | } |
| 11434 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 11435 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11436 | if (_impl_.name_.IsDefault()) { |
| 11437 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 11438 | } |
| 11439 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11440 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.name) |
| 11441 | } |
| 11442 | |
| 11443 | // repeated .google.protobuf.MethodDescriptorProto method = 2; |
| 11444 | inline int ServiceDescriptorProto::_internal_method_size() const { |
| 11445 | return _impl_.method_.size(); |
| 11446 | } |
| 11447 | inline int ServiceDescriptorProto::method_size() const { |
| 11448 | return _internal_method_size(); |
| 11449 | } |
| 11450 | inline void ServiceDescriptorProto::clear_method() { |
| 11451 | _impl_.method_.Clear(); |
| 11452 | } |
| 11453 | inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::mutable_method(int index) { |
| 11454 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.method) |
| 11455 | return _impl_.method_.Mutable(index); |
| 11456 | } |
| 11457 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >* |
| 11458 | ServiceDescriptorProto::mutable_method() { |
| 11459 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceDescriptorProto.method) |
| 11460 | return &_impl_.method_; |
| 11461 | } |
| 11462 | inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::_internal_method(int index) const { |
| 11463 | return _impl_.method_.Get(index); |
| 11464 | } |
| 11465 | inline const ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto& ServiceDescriptorProto::method(int index) const { |
| 11466 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.method) |
| 11467 | return _internal_method(index); |
| 11468 | } |
| 11469 | inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::_internal_add_method() { |
| 11470 | return _impl_.method_.Add(); |
| 11471 | } |
| 11472 | inline ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* ServiceDescriptorProto::add_method() { |
| 11473 | ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto* _add = _internal_add_method(); |
| 11474 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceDescriptorProto.method) |
| 11475 | return _add; |
| 11476 | } |
| 11477 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::MethodDescriptorProto >& |
| 11478 | ServiceDescriptorProto::method() const { |
| 11479 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceDescriptorProto.method) |
| 11480 | return _impl_.method_; |
| 11481 | } |
| 11482 | |
| 11483 | // optional .google.protobuf.ServiceOptions options = 3; |
| 11484 | inline bool ServiceDescriptorProto::_internal_has_options() const { |
| 11485 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 11486 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
| 11487 | return value; |
| 11488 | } |
| 11489 | inline bool ServiceDescriptorProto::has_options() const { |
| 11490 | return _internal_has_options(); |
| 11491 | } |
| 11492 | inline void ServiceDescriptorProto::clear_options() { |
| 11493 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
| 11494 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11495 | } |
| 11496 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::_internal_options() const { |
| 11497 | const ::PROTOBUF_NAMESPACE_ID::ServiceOptions* p = _impl_.options_; |
| 11498 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::ServiceOptions&>( |
| 11499 | ::PROTOBUF_NAMESPACE_ID::_ServiceOptions_default_instance_); |
| 11500 | } |
| 11501 | inline const ::PROTOBUF_NAMESPACE_ID::ServiceOptions& ServiceDescriptorProto::options() const { |
| 11502 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceDescriptorProto.options) |
| 11503 | return _internal_options(); |
| 11504 | } |
| 11505 | inline void ServiceDescriptorProto::unsafe_arena_set_allocated_options( |
| 11506 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) { |
| 11507 | if (GetArenaForAllocation() == nullptr) { |
| 11508 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
| 11509 | } |
| 11510 | _impl_.options_ = options; |
| 11511 | if (options) { |
| 11512 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11513 | } else { |
| 11514 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11515 | } |
| 11516 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
| 11517 | } |
| 11518 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::release_options() { |
| 11519 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11520 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = _impl_.options_; |
| 11521 | _impl_.options_ = nullptr; |
| 11522 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11523 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 11524 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 11525 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 11526 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11527 | if (GetArenaForAllocation() != nullptr) { |
| 11528 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 11529 | } |
| 11530 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11531 | return temp; |
| 11532 | } |
| 11533 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::unsafe_arena_release_options() { |
| 11534 | // @@protoc_insertion_point(field_release:google.protobuf.ServiceDescriptorProto.options) |
| 11535 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11536 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* temp = _impl_.options_; |
| 11537 | _impl_.options_ = nullptr; |
| 11538 | return temp; |
| 11539 | } |
| 11540 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::_internal_mutable_options() { |
| 11541 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11542 | if (_impl_.options_ == nullptr) { |
| 11543 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ServiceOptions>(arena: GetArenaForAllocation()); |
| 11544 | _impl_.options_ = p; |
| 11545 | } |
| 11546 | return _impl_.options_; |
| 11547 | } |
| 11548 | inline ::PROTOBUF_NAMESPACE_ID::ServiceOptions* ServiceDescriptorProto::mutable_options() { |
| 11549 | ::PROTOBUF_NAMESPACE_ID::ServiceOptions* _msg = _internal_mutable_options(); |
| 11550 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceDescriptorProto.options) |
| 11551 | return _msg; |
| 11552 | } |
| 11553 | inline void ServiceDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::ServiceOptions* options) { |
| 11554 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 11555 | if (message_arena == nullptr) { |
| 11556 | delete _impl_.options_; |
| 11557 | } |
| 11558 | if (options) { |
| 11559 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 11560 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: options); |
| 11561 | if (message_arena != submessage_arena) { |
| 11562 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 11563 | message_arena, submessage: options, submessage_arena); |
| 11564 | } |
| 11565 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11566 | } else { |
| 11567 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11568 | } |
| 11569 | _impl_.options_ = options; |
| 11570 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.ServiceDescriptorProto.options) |
| 11571 | } |
| 11572 | |
| 11573 | // ------------------------------------------------------------------- |
| 11574 | |
| 11575 | // MethodDescriptorProto |
| 11576 | |
| 11577 | // optional string name = 1; |
| 11578 | inline bool MethodDescriptorProto::_internal_has_name() const { |
| 11579 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 11580 | return value; |
| 11581 | } |
| 11582 | inline bool MethodDescriptorProto::has_name() const { |
| 11583 | return _internal_has_name(); |
| 11584 | } |
| 11585 | inline void MethodDescriptorProto::clear_name() { |
| 11586 | _impl_.name_.ClearToEmpty(); |
| 11587 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11588 | } |
| 11589 | inline const std::string& MethodDescriptorProto::name() const { |
| 11590 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.name) |
| 11591 | return _internal_name(); |
| 11592 | } |
| 11593 | template <typename ArgT0, typename... ArgT> |
| 11594 | inline PROTOBUF_ALWAYS_INLINE |
| 11595 | void MethodDescriptorProto::set_name(ArgT0&& arg0, ArgT... args) { |
| 11596 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11597 | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 11598 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.name) |
| 11599 | } |
| 11600 | inline std::string* MethodDescriptorProto::mutable_name() { |
| 11601 | std::string* _s = _internal_mutable_name(); |
| 11602 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.name) |
| 11603 | return _s; |
| 11604 | } |
| 11605 | inline const std::string& MethodDescriptorProto::_internal_name() const { |
| 11606 | return _impl_.name_.Get(); |
| 11607 | } |
| 11608 | inline void MethodDescriptorProto::_internal_set_name(const std::string& value) { |
| 11609 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11610 | _impl_.name_.Set(value, arena: GetArenaForAllocation()); |
| 11611 | } |
| 11612 | inline std::string* MethodDescriptorProto::_internal_mutable_name() { |
| 11613 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11614 | return _impl_.name_.Mutable(arena: GetArenaForAllocation()); |
| 11615 | } |
| 11616 | inline std::string* MethodDescriptorProto::release_name() { |
| 11617 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.name) |
| 11618 | if (!_internal_has_name()) { |
| 11619 | return nullptr; |
| 11620 | } |
| 11621 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11622 | auto* p = _impl_.name_.Release(); |
| 11623 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11624 | if (_impl_.name_.IsDefault()) { |
| 11625 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 11626 | } |
| 11627 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11628 | return p; |
| 11629 | } |
| 11630 | inline void MethodDescriptorProto::set_allocated_name(std::string* name) { |
| 11631 | if (name != nullptr) { |
| 11632 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11633 | } else { |
| 11634 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11635 | } |
| 11636 | _impl_.name_.SetAllocated(value: name, arena: GetArenaForAllocation()); |
| 11637 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11638 | if (_impl_.name_.IsDefault()) { |
| 11639 | _impl_.name_.Set("" , GetArenaForAllocation()); |
| 11640 | } |
| 11641 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11642 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.name) |
| 11643 | } |
| 11644 | |
| 11645 | // optional string input_type = 2; |
| 11646 | inline bool MethodDescriptorProto::_internal_has_input_type() const { |
| 11647 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 11648 | return value; |
| 11649 | } |
| 11650 | inline bool MethodDescriptorProto::has_input_type() const { |
| 11651 | return _internal_has_input_type(); |
| 11652 | } |
| 11653 | inline void MethodDescriptorProto::clear_input_type() { |
| 11654 | _impl_.input_type_.ClearToEmpty(); |
| 11655 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11656 | } |
| 11657 | inline const std::string& MethodDescriptorProto::input_type() const { |
| 11658 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.input_type) |
| 11659 | return _internal_input_type(); |
| 11660 | } |
| 11661 | template <typename ArgT0, typename... ArgT> |
| 11662 | inline PROTOBUF_ALWAYS_INLINE |
| 11663 | void MethodDescriptorProto::set_input_type(ArgT0&& arg0, ArgT... args) { |
| 11664 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11665 | _impl_.input_type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 11666 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.input_type) |
| 11667 | } |
| 11668 | inline std::string* MethodDescriptorProto::mutable_input_type() { |
| 11669 | std::string* _s = _internal_mutable_input_type(); |
| 11670 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.input_type) |
| 11671 | return _s; |
| 11672 | } |
| 11673 | inline const std::string& MethodDescriptorProto::_internal_input_type() const { |
| 11674 | return _impl_.input_type_.Get(); |
| 11675 | } |
| 11676 | inline void MethodDescriptorProto::_internal_set_input_type(const std::string& value) { |
| 11677 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11678 | _impl_.input_type_.Set(value, arena: GetArenaForAllocation()); |
| 11679 | } |
| 11680 | inline std::string* MethodDescriptorProto::_internal_mutable_input_type() { |
| 11681 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11682 | return _impl_.input_type_.Mutable(arena: GetArenaForAllocation()); |
| 11683 | } |
| 11684 | inline std::string* MethodDescriptorProto::release_input_type() { |
| 11685 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.input_type) |
| 11686 | if (!_internal_has_input_type()) { |
| 11687 | return nullptr; |
| 11688 | } |
| 11689 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11690 | auto* p = _impl_.input_type_.Release(); |
| 11691 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11692 | if (_impl_.input_type_.IsDefault()) { |
| 11693 | _impl_.input_type_.Set("" , GetArenaForAllocation()); |
| 11694 | } |
| 11695 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11696 | return p; |
| 11697 | } |
| 11698 | inline void MethodDescriptorProto::set_allocated_input_type(std::string* input_type) { |
| 11699 | if (input_type != nullptr) { |
| 11700 | _impl_._has_bits_[0] |= 0x00000002u; |
| 11701 | } else { |
| 11702 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 11703 | } |
| 11704 | _impl_.input_type_.SetAllocated(value: input_type, arena: GetArenaForAllocation()); |
| 11705 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11706 | if (_impl_.input_type_.IsDefault()) { |
| 11707 | _impl_.input_type_.Set("" , GetArenaForAllocation()); |
| 11708 | } |
| 11709 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11710 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.input_type) |
| 11711 | } |
| 11712 | |
| 11713 | // optional string output_type = 3; |
| 11714 | inline bool MethodDescriptorProto::_internal_has_output_type() const { |
| 11715 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 11716 | return value; |
| 11717 | } |
| 11718 | inline bool MethodDescriptorProto::has_output_type() const { |
| 11719 | return _internal_has_output_type(); |
| 11720 | } |
| 11721 | inline void MethodDescriptorProto::clear_output_type() { |
| 11722 | _impl_.output_type_.ClearToEmpty(); |
| 11723 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 11724 | } |
| 11725 | inline const std::string& MethodDescriptorProto::output_type() const { |
| 11726 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.output_type) |
| 11727 | return _internal_output_type(); |
| 11728 | } |
| 11729 | template <typename ArgT0, typename... ArgT> |
| 11730 | inline PROTOBUF_ALWAYS_INLINE |
| 11731 | void MethodDescriptorProto::set_output_type(ArgT0&& arg0, ArgT... args) { |
| 11732 | _impl_._has_bits_[0] |= 0x00000004u; |
| 11733 | _impl_.output_type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 11734 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.output_type) |
| 11735 | } |
| 11736 | inline std::string* MethodDescriptorProto::mutable_output_type() { |
| 11737 | std::string* _s = _internal_mutable_output_type(); |
| 11738 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.output_type) |
| 11739 | return _s; |
| 11740 | } |
| 11741 | inline const std::string& MethodDescriptorProto::_internal_output_type() const { |
| 11742 | return _impl_.output_type_.Get(); |
| 11743 | } |
| 11744 | inline void MethodDescriptorProto::_internal_set_output_type(const std::string& value) { |
| 11745 | _impl_._has_bits_[0] |= 0x00000004u; |
| 11746 | _impl_.output_type_.Set(value, arena: GetArenaForAllocation()); |
| 11747 | } |
| 11748 | inline std::string* MethodDescriptorProto::_internal_mutable_output_type() { |
| 11749 | _impl_._has_bits_[0] |= 0x00000004u; |
| 11750 | return _impl_.output_type_.Mutable(arena: GetArenaForAllocation()); |
| 11751 | } |
| 11752 | inline std::string* MethodDescriptorProto::release_output_type() { |
| 11753 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.output_type) |
| 11754 | if (!_internal_has_output_type()) { |
| 11755 | return nullptr; |
| 11756 | } |
| 11757 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 11758 | auto* p = _impl_.output_type_.Release(); |
| 11759 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11760 | if (_impl_.output_type_.IsDefault()) { |
| 11761 | _impl_.output_type_.Set("" , GetArenaForAllocation()); |
| 11762 | } |
| 11763 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11764 | return p; |
| 11765 | } |
| 11766 | inline void MethodDescriptorProto::set_allocated_output_type(std::string* output_type) { |
| 11767 | if (output_type != nullptr) { |
| 11768 | _impl_._has_bits_[0] |= 0x00000004u; |
| 11769 | } else { |
| 11770 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 11771 | } |
| 11772 | _impl_.output_type_.SetAllocated(value: output_type, arena: GetArenaForAllocation()); |
| 11773 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11774 | if (_impl_.output_type_.IsDefault()) { |
| 11775 | _impl_.output_type_.Set("" , GetArenaForAllocation()); |
| 11776 | } |
| 11777 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11778 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.output_type) |
| 11779 | } |
| 11780 | |
| 11781 | // optional .google.protobuf.MethodOptions options = 4; |
| 11782 | inline bool MethodDescriptorProto::_internal_has_options() const { |
| 11783 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
| 11784 | PROTOBUF_ASSUME(!value || _impl_.options_ != nullptr); |
| 11785 | return value; |
| 11786 | } |
| 11787 | inline bool MethodDescriptorProto::has_options() const { |
| 11788 | return _internal_has_options(); |
| 11789 | } |
| 11790 | inline void MethodDescriptorProto::clear_options() { |
| 11791 | if (_impl_.options_ != nullptr) _impl_.options_->Clear(); |
| 11792 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 11793 | } |
| 11794 | inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::_internal_options() const { |
| 11795 | const ::PROTOBUF_NAMESPACE_ID::MethodOptions* p = _impl_.options_; |
| 11796 | return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::MethodOptions&>( |
| 11797 | ::PROTOBUF_NAMESPACE_ID::_MethodOptions_default_instance_); |
| 11798 | } |
| 11799 | inline const ::PROTOBUF_NAMESPACE_ID::MethodOptions& MethodDescriptorProto::options() const { |
| 11800 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.options) |
| 11801 | return _internal_options(); |
| 11802 | } |
| 11803 | inline void MethodDescriptorProto::unsafe_arena_set_allocated_options( |
| 11804 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* options) { |
| 11805 | if (GetArenaForAllocation() == nullptr) { |
| 11806 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.options_); |
| 11807 | } |
| 11808 | _impl_.options_ = options; |
| 11809 | if (options) { |
| 11810 | _impl_._has_bits_[0] |= 0x00000008u; |
| 11811 | } else { |
| 11812 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 11813 | } |
| 11814 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.MethodDescriptorProto.options) |
| 11815 | } |
| 11816 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::release_options() { |
| 11817 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 11818 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = _impl_.options_; |
| 11819 | _impl_.options_ = nullptr; |
| 11820 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11821 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
| 11822 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
| 11823 | if (GetArenaForAllocation() == nullptr) { delete old; } |
| 11824 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11825 | if (GetArenaForAllocation() != nullptr) { |
| 11826 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(message: temp); |
| 11827 | } |
| 11828 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
| 11829 | return temp; |
| 11830 | } |
| 11831 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::unsafe_arena_release_options() { |
| 11832 | // @@protoc_insertion_point(field_release:google.protobuf.MethodDescriptorProto.options) |
| 11833 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 11834 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* temp = _impl_.options_; |
| 11835 | _impl_.options_ = nullptr; |
| 11836 | return temp; |
| 11837 | } |
| 11838 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::_internal_mutable_options() { |
| 11839 | _impl_._has_bits_[0] |= 0x00000008u; |
| 11840 | if (_impl_.options_ == nullptr) { |
| 11841 | auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::MethodOptions>(arena: GetArenaForAllocation()); |
| 11842 | _impl_.options_ = p; |
| 11843 | } |
| 11844 | return _impl_.options_; |
| 11845 | } |
| 11846 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions* MethodDescriptorProto::mutable_options() { |
| 11847 | ::PROTOBUF_NAMESPACE_ID::MethodOptions* _msg = _internal_mutable_options(); |
| 11848 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodDescriptorProto.options) |
| 11849 | return _msg; |
| 11850 | } |
| 11851 | inline void MethodDescriptorProto::set_allocated_options(::PROTOBUF_NAMESPACE_ID::MethodOptions* options) { |
| 11852 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
| 11853 | if (message_arena == nullptr) { |
| 11854 | delete _impl_.options_; |
| 11855 | } |
| 11856 | if (options) { |
| 11857 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
| 11858 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p: options); |
| 11859 | if (message_arena != submessage_arena) { |
| 11860 | options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
| 11861 | message_arena, submessage: options, submessage_arena); |
| 11862 | } |
| 11863 | _impl_._has_bits_[0] |= 0x00000008u; |
| 11864 | } else { |
| 11865 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 11866 | } |
| 11867 | _impl_.options_ = options; |
| 11868 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.MethodDescriptorProto.options) |
| 11869 | } |
| 11870 | |
| 11871 | // optional bool client_streaming = 5 [default = false]; |
| 11872 | inline bool MethodDescriptorProto::_internal_has_client_streaming() const { |
| 11873 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
| 11874 | return value; |
| 11875 | } |
| 11876 | inline bool MethodDescriptorProto::has_client_streaming() const { |
| 11877 | return _internal_has_client_streaming(); |
| 11878 | } |
| 11879 | inline void MethodDescriptorProto::clear_client_streaming() { |
| 11880 | _impl_.client_streaming_ = false; |
| 11881 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 11882 | } |
| 11883 | inline bool MethodDescriptorProto::_internal_client_streaming() const { |
| 11884 | return _impl_.client_streaming_; |
| 11885 | } |
| 11886 | inline bool MethodDescriptorProto::client_streaming() const { |
| 11887 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.client_streaming) |
| 11888 | return _internal_client_streaming(); |
| 11889 | } |
| 11890 | inline void MethodDescriptorProto::_internal_set_client_streaming(bool value) { |
| 11891 | _impl_._has_bits_[0] |= 0x00000010u; |
| 11892 | _impl_.client_streaming_ = value; |
| 11893 | } |
| 11894 | inline void MethodDescriptorProto::set_client_streaming(bool value) { |
| 11895 | _internal_set_client_streaming(value); |
| 11896 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.client_streaming) |
| 11897 | } |
| 11898 | |
| 11899 | // optional bool server_streaming = 6 [default = false]; |
| 11900 | inline bool MethodDescriptorProto::_internal_has_server_streaming() const { |
| 11901 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
| 11902 | return value; |
| 11903 | } |
| 11904 | inline bool MethodDescriptorProto::has_server_streaming() const { |
| 11905 | return _internal_has_server_streaming(); |
| 11906 | } |
| 11907 | inline void MethodDescriptorProto::clear_server_streaming() { |
| 11908 | _impl_.server_streaming_ = false; |
| 11909 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 11910 | } |
| 11911 | inline bool MethodDescriptorProto::_internal_server_streaming() const { |
| 11912 | return _impl_.server_streaming_; |
| 11913 | } |
| 11914 | inline bool MethodDescriptorProto::server_streaming() const { |
| 11915 | // @@protoc_insertion_point(field_get:google.protobuf.MethodDescriptorProto.server_streaming) |
| 11916 | return _internal_server_streaming(); |
| 11917 | } |
| 11918 | inline void MethodDescriptorProto::_internal_set_server_streaming(bool value) { |
| 11919 | _impl_._has_bits_[0] |= 0x00000020u; |
| 11920 | _impl_.server_streaming_ = value; |
| 11921 | } |
| 11922 | inline void MethodDescriptorProto::set_server_streaming(bool value) { |
| 11923 | _internal_set_server_streaming(value); |
| 11924 | // @@protoc_insertion_point(field_set:google.protobuf.MethodDescriptorProto.server_streaming) |
| 11925 | } |
| 11926 | |
| 11927 | // ------------------------------------------------------------------- |
| 11928 | |
| 11929 | // FileOptions |
| 11930 | |
| 11931 | // optional string java_package = 1; |
| 11932 | inline bool FileOptions::_internal_has_java_package() const { |
| 11933 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 11934 | return value; |
| 11935 | } |
| 11936 | inline bool FileOptions::has_java_package() const { |
| 11937 | return _internal_has_java_package(); |
| 11938 | } |
| 11939 | inline void FileOptions::clear_java_package() { |
| 11940 | _impl_.java_package_.ClearToEmpty(); |
| 11941 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11942 | } |
| 11943 | inline const std::string& FileOptions::java_package() const { |
| 11944 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_package) |
| 11945 | return _internal_java_package(); |
| 11946 | } |
| 11947 | template <typename ArgT0, typename... ArgT> |
| 11948 | inline PROTOBUF_ALWAYS_INLINE |
| 11949 | void FileOptions::set_java_package(ArgT0&& arg0, ArgT... args) { |
| 11950 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11951 | _impl_.java_package_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 11952 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_package) |
| 11953 | } |
| 11954 | inline std::string* FileOptions::mutable_java_package() { |
| 11955 | std::string* _s = _internal_mutable_java_package(); |
| 11956 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_package) |
| 11957 | return _s; |
| 11958 | } |
| 11959 | inline const std::string& FileOptions::_internal_java_package() const { |
| 11960 | return _impl_.java_package_.Get(); |
| 11961 | } |
| 11962 | inline void FileOptions::_internal_set_java_package(const std::string& value) { |
| 11963 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11964 | _impl_.java_package_.Set(value, arena: GetArenaForAllocation()); |
| 11965 | } |
| 11966 | inline std::string* FileOptions::_internal_mutable_java_package() { |
| 11967 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11968 | return _impl_.java_package_.Mutable(arena: GetArenaForAllocation()); |
| 11969 | } |
| 11970 | inline std::string* FileOptions::release_java_package() { |
| 11971 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_package) |
| 11972 | if (!_internal_has_java_package()) { |
| 11973 | return nullptr; |
| 11974 | } |
| 11975 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11976 | auto* p = _impl_.java_package_.Release(); |
| 11977 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11978 | if (_impl_.java_package_.IsDefault()) { |
| 11979 | _impl_.java_package_.Set("" , GetArenaForAllocation()); |
| 11980 | } |
| 11981 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11982 | return p; |
| 11983 | } |
| 11984 | inline void FileOptions::set_allocated_java_package(std::string* java_package) { |
| 11985 | if (java_package != nullptr) { |
| 11986 | _impl_._has_bits_[0] |= 0x00000001u; |
| 11987 | } else { |
| 11988 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 11989 | } |
| 11990 | _impl_.java_package_.SetAllocated(value: java_package, arena: GetArenaForAllocation()); |
| 11991 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11992 | if (_impl_.java_package_.IsDefault()) { |
| 11993 | _impl_.java_package_.Set("" , GetArenaForAllocation()); |
| 11994 | } |
| 11995 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 11996 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_package) |
| 11997 | } |
| 11998 | |
| 11999 | // optional string java_outer_classname = 8; |
| 12000 | inline bool FileOptions::_internal_has_java_outer_classname() const { |
| 12001 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 12002 | return value; |
| 12003 | } |
| 12004 | inline bool FileOptions::has_java_outer_classname() const { |
| 12005 | return _internal_has_java_outer_classname(); |
| 12006 | } |
| 12007 | inline void FileOptions::clear_java_outer_classname() { |
| 12008 | _impl_.java_outer_classname_.ClearToEmpty(); |
| 12009 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 12010 | } |
| 12011 | inline const std::string& FileOptions::java_outer_classname() const { |
| 12012 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_outer_classname) |
| 12013 | return _internal_java_outer_classname(); |
| 12014 | } |
| 12015 | template <typename ArgT0, typename... ArgT> |
| 12016 | inline PROTOBUF_ALWAYS_INLINE |
| 12017 | void FileOptions::set_java_outer_classname(ArgT0&& arg0, ArgT... args) { |
| 12018 | _impl_._has_bits_[0] |= 0x00000002u; |
| 12019 | _impl_.java_outer_classname_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 12020 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_outer_classname) |
| 12021 | } |
| 12022 | inline std::string* FileOptions::mutable_java_outer_classname() { |
| 12023 | std::string* _s = _internal_mutable_java_outer_classname(); |
| 12024 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.java_outer_classname) |
| 12025 | return _s; |
| 12026 | } |
| 12027 | inline const std::string& FileOptions::_internal_java_outer_classname() const { |
| 12028 | return _impl_.java_outer_classname_.Get(); |
| 12029 | } |
| 12030 | inline void FileOptions::_internal_set_java_outer_classname(const std::string& value) { |
| 12031 | _impl_._has_bits_[0] |= 0x00000002u; |
| 12032 | _impl_.java_outer_classname_.Set(value, arena: GetArenaForAllocation()); |
| 12033 | } |
| 12034 | inline std::string* FileOptions::_internal_mutable_java_outer_classname() { |
| 12035 | _impl_._has_bits_[0] |= 0x00000002u; |
| 12036 | return _impl_.java_outer_classname_.Mutable(arena: GetArenaForAllocation()); |
| 12037 | } |
| 12038 | inline std::string* FileOptions::release_java_outer_classname() { |
| 12039 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.java_outer_classname) |
| 12040 | if (!_internal_has_java_outer_classname()) { |
| 12041 | return nullptr; |
| 12042 | } |
| 12043 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 12044 | auto* p = _impl_.java_outer_classname_.Release(); |
| 12045 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12046 | if (_impl_.java_outer_classname_.IsDefault()) { |
| 12047 | _impl_.java_outer_classname_.Set("" , GetArenaForAllocation()); |
| 12048 | } |
| 12049 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12050 | return p; |
| 12051 | } |
| 12052 | inline void FileOptions::set_allocated_java_outer_classname(std::string* java_outer_classname) { |
| 12053 | if (java_outer_classname != nullptr) { |
| 12054 | _impl_._has_bits_[0] |= 0x00000002u; |
| 12055 | } else { |
| 12056 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 12057 | } |
| 12058 | _impl_.java_outer_classname_.SetAllocated(value: java_outer_classname, arena: GetArenaForAllocation()); |
| 12059 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12060 | if (_impl_.java_outer_classname_.IsDefault()) { |
| 12061 | _impl_.java_outer_classname_.Set("" , GetArenaForAllocation()); |
| 12062 | } |
| 12063 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12064 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.java_outer_classname) |
| 12065 | } |
| 12066 | |
| 12067 | // optional bool java_multiple_files = 10 [default = false]; |
| 12068 | inline bool FileOptions::_internal_has_java_multiple_files() const { |
| 12069 | bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0; |
| 12070 | return value; |
| 12071 | } |
| 12072 | inline bool FileOptions::has_java_multiple_files() const { |
| 12073 | return _internal_has_java_multiple_files(); |
| 12074 | } |
| 12075 | inline void FileOptions::clear_java_multiple_files() { |
| 12076 | _impl_.java_multiple_files_ = false; |
| 12077 | _impl_._has_bits_[0] &= ~0x00000400u; |
| 12078 | } |
| 12079 | inline bool FileOptions::_internal_java_multiple_files() const { |
| 12080 | return _impl_.java_multiple_files_; |
| 12081 | } |
| 12082 | inline bool FileOptions::java_multiple_files() const { |
| 12083 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_multiple_files) |
| 12084 | return _internal_java_multiple_files(); |
| 12085 | } |
| 12086 | inline void FileOptions::_internal_set_java_multiple_files(bool value) { |
| 12087 | _impl_._has_bits_[0] |= 0x00000400u; |
| 12088 | _impl_.java_multiple_files_ = value; |
| 12089 | } |
| 12090 | inline void FileOptions::set_java_multiple_files(bool value) { |
| 12091 | _internal_set_java_multiple_files(value); |
| 12092 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_multiple_files) |
| 12093 | } |
| 12094 | |
| 12095 | // optional bool java_generate_equals_and_hash = 20 [deprecated = true]; |
| 12096 | inline bool FileOptions::_internal_has_java_generate_equals_and_hash() const { |
| 12097 | bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0; |
| 12098 | return value; |
| 12099 | } |
| 12100 | inline bool FileOptions::has_java_generate_equals_and_hash() const { |
| 12101 | return _internal_has_java_generate_equals_and_hash(); |
| 12102 | } |
| 12103 | inline void FileOptions::clear_java_generate_equals_and_hash() { |
| 12104 | _impl_.java_generate_equals_and_hash_ = false; |
| 12105 | _impl_._has_bits_[0] &= ~0x00000800u; |
| 12106 | } |
| 12107 | inline bool FileOptions::_internal_java_generate_equals_and_hash() const { |
| 12108 | return _impl_.java_generate_equals_and_hash_; |
| 12109 | } |
| 12110 | inline bool FileOptions::java_generate_equals_and_hash() const { |
| 12111 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generate_equals_and_hash) |
| 12112 | return _internal_java_generate_equals_and_hash(); |
| 12113 | } |
| 12114 | inline void FileOptions::_internal_set_java_generate_equals_and_hash(bool value) { |
| 12115 | _impl_._has_bits_[0] |= 0x00000800u; |
| 12116 | _impl_.java_generate_equals_and_hash_ = value; |
| 12117 | } |
| 12118 | inline void FileOptions::set_java_generate_equals_and_hash(bool value) { |
| 12119 | _internal_set_java_generate_equals_and_hash(value); |
| 12120 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generate_equals_and_hash) |
| 12121 | } |
| 12122 | |
| 12123 | // optional bool java_string_check_utf8 = 27 [default = false]; |
| 12124 | inline bool FileOptions::_internal_has_java_string_check_utf8() const { |
| 12125 | bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0; |
| 12126 | return value; |
| 12127 | } |
| 12128 | inline bool FileOptions::has_java_string_check_utf8() const { |
| 12129 | return _internal_has_java_string_check_utf8(); |
| 12130 | } |
| 12131 | inline void FileOptions::clear_java_string_check_utf8() { |
| 12132 | _impl_.java_string_check_utf8_ = false; |
| 12133 | _impl_._has_bits_[0] &= ~0x00001000u; |
| 12134 | } |
| 12135 | inline bool FileOptions::_internal_java_string_check_utf8() const { |
| 12136 | return _impl_.java_string_check_utf8_; |
| 12137 | } |
| 12138 | inline bool FileOptions::java_string_check_utf8() const { |
| 12139 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_string_check_utf8) |
| 12140 | return _internal_java_string_check_utf8(); |
| 12141 | } |
| 12142 | inline void FileOptions::_internal_set_java_string_check_utf8(bool value) { |
| 12143 | _impl_._has_bits_[0] |= 0x00001000u; |
| 12144 | _impl_.java_string_check_utf8_ = value; |
| 12145 | } |
| 12146 | inline void FileOptions::set_java_string_check_utf8(bool value) { |
| 12147 | _internal_set_java_string_check_utf8(value); |
| 12148 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_string_check_utf8) |
| 12149 | } |
| 12150 | |
| 12151 | // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; |
| 12152 | inline bool FileOptions::_internal_has_optimize_for() const { |
| 12153 | bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0; |
| 12154 | return value; |
| 12155 | } |
| 12156 | inline bool FileOptions::has_optimize_for() const { |
| 12157 | return _internal_has_optimize_for(); |
| 12158 | } |
| 12159 | inline void FileOptions::clear_optimize_for() { |
| 12160 | _impl_.optimize_for_ = 1; |
| 12161 | _impl_._has_bits_[0] &= ~0x00040000u; |
| 12162 | } |
| 12163 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::_internal_optimize_for() const { |
| 12164 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode >(_impl_.optimize_for_); |
| 12165 | } |
| 12166 | inline ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode FileOptions::optimize_for() const { |
| 12167 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.optimize_for) |
| 12168 | return _internal_optimize_for(); |
| 12169 | } |
| 12170 | inline void FileOptions::_internal_set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) { |
| 12171 | assert(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_IsValid(value)); |
| 12172 | _impl_._has_bits_[0] |= 0x00040000u; |
| 12173 | _impl_.optimize_for_ = value; |
| 12174 | } |
| 12175 | inline void FileOptions::set_optimize_for(::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode value) { |
| 12176 | _internal_set_optimize_for(value); |
| 12177 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.optimize_for) |
| 12178 | } |
| 12179 | |
| 12180 | // optional string go_package = 11; |
| 12181 | inline bool FileOptions::_internal_has_go_package() const { |
| 12182 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 12183 | return value; |
| 12184 | } |
| 12185 | inline bool FileOptions::has_go_package() const { |
| 12186 | return _internal_has_go_package(); |
| 12187 | } |
| 12188 | inline void FileOptions::clear_go_package() { |
| 12189 | _impl_.go_package_.ClearToEmpty(); |
| 12190 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 12191 | } |
| 12192 | inline const std::string& FileOptions::go_package() const { |
| 12193 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.go_package) |
| 12194 | return _internal_go_package(); |
| 12195 | } |
| 12196 | template <typename ArgT0, typename... ArgT> |
| 12197 | inline PROTOBUF_ALWAYS_INLINE |
| 12198 | void FileOptions::set_go_package(ArgT0&& arg0, ArgT... args) { |
| 12199 | _impl_._has_bits_[0] |= 0x00000004u; |
| 12200 | _impl_.go_package_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 12201 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.go_package) |
| 12202 | } |
| 12203 | inline std::string* FileOptions::mutable_go_package() { |
| 12204 | std::string* _s = _internal_mutable_go_package(); |
| 12205 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.go_package) |
| 12206 | return _s; |
| 12207 | } |
| 12208 | inline const std::string& FileOptions::_internal_go_package() const { |
| 12209 | return _impl_.go_package_.Get(); |
| 12210 | } |
| 12211 | inline void FileOptions::_internal_set_go_package(const std::string& value) { |
| 12212 | _impl_._has_bits_[0] |= 0x00000004u; |
| 12213 | _impl_.go_package_.Set(value, arena: GetArenaForAllocation()); |
| 12214 | } |
| 12215 | inline std::string* FileOptions::_internal_mutable_go_package() { |
| 12216 | _impl_._has_bits_[0] |= 0x00000004u; |
| 12217 | return _impl_.go_package_.Mutable(arena: GetArenaForAllocation()); |
| 12218 | } |
| 12219 | inline std::string* FileOptions::release_go_package() { |
| 12220 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.go_package) |
| 12221 | if (!_internal_has_go_package()) { |
| 12222 | return nullptr; |
| 12223 | } |
| 12224 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 12225 | auto* p = _impl_.go_package_.Release(); |
| 12226 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12227 | if (_impl_.go_package_.IsDefault()) { |
| 12228 | _impl_.go_package_.Set("" , GetArenaForAllocation()); |
| 12229 | } |
| 12230 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12231 | return p; |
| 12232 | } |
| 12233 | inline void FileOptions::set_allocated_go_package(std::string* go_package) { |
| 12234 | if (go_package != nullptr) { |
| 12235 | _impl_._has_bits_[0] |= 0x00000004u; |
| 12236 | } else { |
| 12237 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 12238 | } |
| 12239 | _impl_.go_package_.SetAllocated(value: go_package, arena: GetArenaForAllocation()); |
| 12240 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12241 | if (_impl_.go_package_.IsDefault()) { |
| 12242 | _impl_.go_package_.Set("" , GetArenaForAllocation()); |
| 12243 | } |
| 12244 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12245 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.go_package) |
| 12246 | } |
| 12247 | |
| 12248 | // optional bool cc_generic_services = 16 [default = false]; |
| 12249 | inline bool FileOptions::_internal_has_cc_generic_services() const { |
| 12250 | bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0; |
| 12251 | return value; |
| 12252 | } |
| 12253 | inline bool FileOptions::has_cc_generic_services() const { |
| 12254 | return _internal_has_cc_generic_services(); |
| 12255 | } |
| 12256 | inline void FileOptions::clear_cc_generic_services() { |
| 12257 | _impl_.cc_generic_services_ = false; |
| 12258 | _impl_._has_bits_[0] &= ~0x00002000u; |
| 12259 | } |
| 12260 | inline bool FileOptions::_internal_cc_generic_services() const { |
| 12261 | return _impl_.cc_generic_services_; |
| 12262 | } |
| 12263 | inline bool FileOptions::cc_generic_services() const { |
| 12264 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_generic_services) |
| 12265 | return _internal_cc_generic_services(); |
| 12266 | } |
| 12267 | inline void FileOptions::_internal_set_cc_generic_services(bool value) { |
| 12268 | _impl_._has_bits_[0] |= 0x00002000u; |
| 12269 | _impl_.cc_generic_services_ = value; |
| 12270 | } |
| 12271 | inline void FileOptions::set_cc_generic_services(bool value) { |
| 12272 | _internal_set_cc_generic_services(value); |
| 12273 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_generic_services) |
| 12274 | } |
| 12275 | |
| 12276 | // optional bool java_generic_services = 17 [default = false]; |
| 12277 | inline bool FileOptions::_internal_has_java_generic_services() const { |
| 12278 | bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0; |
| 12279 | return value; |
| 12280 | } |
| 12281 | inline bool FileOptions::has_java_generic_services() const { |
| 12282 | return _internal_has_java_generic_services(); |
| 12283 | } |
| 12284 | inline void FileOptions::clear_java_generic_services() { |
| 12285 | _impl_.java_generic_services_ = false; |
| 12286 | _impl_._has_bits_[0] &= ~0x00004000u; |
| 12287 | } |
| 12288 | inline bool FileOptions::_internal_java_generic_services() const { |
| 12289 | return _impl_.java_generic_services_; |
| 12290 | } |
| 12291 | inline bool FileOptions::java_generic_services() const { |
| 12292 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.java_generic_services) |
| 12293 | return _internal_java_generic_services(); |
| 12294 | } |
| 12295 | inline void FileOptions::_internal_set_java_generic_services(bool value) { |
| 12296 | _impl_._has_bits_[0] |= 0x00004000u; |
| 12297 | _impl_.java_generic_services_ = value; |
| 12298 | } |
| 12299 | inline void FileOptions::set_java_generic_services(bool value) { |
| 12300 | _internal_set_java_generic_services(value); |
| 12301 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.java_generic_services) |
| 12302 | } |
| 12303 | |
| 12304 | // optional bool py_generic_services = 18 [default = false]; |
| 12305 | inline bool FileOptions::_internal_has_py_generic_services() const { |
| 12306 | bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0; |
| 12307 | return value; |
| 12308 | } |
| 12309 | inline bool FileOptions::has_py_generic_services() const { |
| 12310 | return _internal_has_py_generic_services(); |
| 12311 | } |
| 12312 | inline void FileOptions::clear_py_generic_services() { |
| 12313 | _impl_.py_generic_services_ = false; |
| 12314 | _impl_._has_bits_[0] &= ~0x00008000u; |
| 12315 | } |
| 12316 | inline bool FileOptions::_internal_py_generic_services() const { |
| 12317 | return _impl_.py_generic_services_; |
| 12318 | } |
| 12319 | inline bool FileOptions::py_generic_services() const { |
| 12320 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.py_generic_services) |
| 12321 | return _internal_py_generic_services(); |
| 12322 | } |
| 12323 | inline void FileOptions::_internal_set_py_generic_services(bool value) { |
| 12324 | _impl_._has_bits_[0] |= 0x00008000u; |
| 12325 | _impl_.py_generic_services_ = value; |
| 12326 | } |
| 12327 | inline void FileOptions::set_py_generic_services(bool value) { |
| 12328 | _internal_set_py_generic_services(value); |
| 12329 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.py_generic_services) |
| 12330 | } |
| 12331 | |
| 12332 | // optional bool php_generic_services = 42 [default = false]; |
| 12333 | inline bool FileOptions::_internal_has_php_generic_services() const { |
| 12334 | bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0; |
| 12335 | return value; |
| 12336 | } |
| 12337 | inline bool FileOptions::has_php_generic_services() const { |
| 12338 | return _internal_has_php_generic_services(); |
| 12339 | } |
| 12340 | inline void FileOptions::clear_php_generic_services() { |
| 12341 | _impl_.php_generic_services_ = false; |
| 12342 | _impl_._has_bits_[0] &= ~0x00010000u; |
| 12343 | } |
| 12344 | inline bool FileOptions::_internal_php_generic_services() const { |
| 12345 | return _impl_.php_generic_services_; |
| 12346 | } |
| 12347 | inline bool FileOptions::php_generic_services() const { |
| 12348 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_generic_services) |
| 12349 | return _internal_php_generic_services(); |
| 12350 | } |
| 12351 | inline void FileOptions::_internal_set_php_generic_services(bool value) { |
| 12352 | _impl_._has_bits_[0] |= 0x00010000u; |
| 12353 | _impl_.php_generic_services_ = value; |
| 12354 | } |
| 12355 | inline void FileOptions::set_php_generic_services(bool value) { |
| 12356 | _internal_set_php_generic_services(value); |
| 12357 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_generic_services) |
| 12358 | } |
| 12359 | |
| 12360 | // optional bool deprecated = 23 [default = false]; |
| 12361 | inline bool FileOptions::_internal_has_deprecated() const { |
| 12362 | bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0; |
| 12363 | return value; |
| 12364 | } |
| 12365 | inline bool FileOptions::has_deprecated() const { |
| 12366 | return _internal_has_deprecated(); |
| 12367 | } |
| 12368 | inline void FileOptions::clear_deprecated() { |
| 12369 | _impl_.deprecated_ = false; |
| 12370 | _impl_._has_bits_[0] &= ~0x00020000u; |
| 12371 | } |
| 12372 | inline bool FileOptions::_internal_deprecated() const { |
| 12373 | return _impl_.deprecated_; |
| 12374 | } |
| 12375 | inline bool FileOptions::deprecated() const { |
| 12376 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.deprecated) |
| 12377 | return _internal_deprecated(); |
| 12378 | } |
| 12379 | inline void FileOptions::_internal_set_deprecated(bool value) { |
| 12380 | _impl_._has_bits_[0] |= 0x00020000u; |
| 12381 | _impl_.deprecated_ = value; |
| 12382 | } |
| 12383 | inline void FileOptions::set_deprecated(bool value) { |
| 12384 | _internal_set_deprecated(value); |
| 12385 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.deprecated) |
| 12386 | } |
| 12387 | |
| 12388 | // optional bool cc_enable_arenas = 31 [default = true]; |
| 12389 | inline bool FileOptions::_internal_has_cc_enable_arenas() const { |
| 12390 | bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0; |
| 12391 | return value; |
| 12392 | } |
| 12393 | inline bool FileOptions::has_cc_enable_arenas() const { |
| 12394 | return _internal_has_cc_enable_arenas(); |
| 12395 | } |
| 12396 | inline void FileOptions::clear_cc_enable_arenas() { |
| 12397 | _impl_.cc_enable_arenas_ = true; |
| 12398 | _impl_._has_bits_[0] &= ~0x00080000u; |
| 12399 | } |
| 12400 | inline bool FileOptions::_internal_cc_enable_arenas() const { |
| 12401 | return _impl_.cc_enable_arenas_; |
| 12402 | } |
| 12403 | inline bool FileOptions::cc_enable_arenas() const { |
| 12404 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.cc_enable_arenas) |
| 12405 | return _internal_cc_enable_arenas(); |
| 12406 | } |
| 12407 | inline void FileOptions::_internal_set_cc_enable_arenas(bool value) { |
| 12408 | _impl_._has_bits_[0] |= 0x00080000u; |
| 12409 | _impl_.cc_enable_arenas_ = value; |
| 12410 | } |
| 12411 | inline void FileOptions::set_cc_enable_arenas(bool value) { |
| 12412 | _internal_set_cc_enable_arenas(value); |
| 12413 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.cc_enable_arenas) |
| 12414 | } |
| 12415 | |
| 12416 | // optional string objc_class_prefix = 36; |
| 12417 | inline bool FileOptions::_internal_has_objc_class_prefix() const { |
| 12418 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
| 12419 | return value; |
| 12420 | } |
| 12421 | inline bool FileOptions::has_objc_class_prefix() const { |
| 12422 | return _internal_has_objc_class_prefix(); |
| 12423 | } |
| 12424 | inline void FileOptions::clear_objc_class_prefix() { |
| 12425 | _impl_.objc_class_prefix_.ClearToEmpty(); |
| 12426 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 12427 | } |
| 12428 | inline const std::string& FileOptions::objc_class_prefix() const { |
| 12429 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.objc_class_prefix) |
| 12430 | return _internal_objc_class_prefix(); |
| 12431 | } |
| 12432 | template <typename ArgT0, typename... ArgT> |
| 12433 | inline PROTOBUF_ALWAYS_INLINE |
| 12434 | void FileOptions::set_objc_class_prefix(ArgT0&& arg0, ArgT... args) { |
| 12435 | _impl_._has_bits_[0] |= 0x00000008u; |
| 12436 | _impl_.objc_class_prefix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 12437 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.objc_class_prefix) |
| 12438 | } |
| 12439 | inline std::string* FileOptions::mutable_objc_class_prefix() { |
| 12440 | std::string* _s = _internal_mutable_objc_class_prefix(); |
| 12441 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.objc_class_prefix) |
| 12442 | return _s; |
| 12443 | } |
| 12444 | inline const std::string& FileOptions::_internal_objc_class_prefix() const { |
| 12445 | return _impl_.objc_class_prefix_.Get(); |
| 12446 | } |
| 12447 | inline void FileOptions::_internal_set_objc_class_prefix(const std::string& value) { |
| 12448 | _impl_._has_bits_[0] |= 0x00000008u; |
| 12449 | _impl_.objc_class_prefix_.Set(value, arena: GetArenaForAllocation()); |
| 12450 | } |
| 12451 | inline std::string* FileOptions::_internal_mutable_objc_class_prefix() { |
| 12452 | _impl_._has_bits_[0] |= 0x00000008u; |
| 12453 | return _impl_.objc_class_prefix_.Mutable(arena: GetArenaForAllocation()); |
| 12454 | } |
| 12455 | inline std::string* FileOptions::release_objc_class_prefix() { |
| 12456 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.objc_class_prefix) |
| 12457 | if (!_internal_has_objc_class_prefix()) { |
| 12458 | return nullptr; |
| 12459 | } |
| 12460 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 12461 | auto* p = _impl_.objc_class_prefix_.Release(); |
| 12462 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12463 | if (_impl_.objc_class_prefix_.IsDefault()) { |
| 12464 | _impl_.objc_class_prefix_.Set("" , GetArenaForAllocation()); |
| 12465 | } |
| 12466 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12467 | return p; |
| 12468 | } |
| 12469 | inline void FileOptions::set_allocated_objc_class_prefix(std::string* objc_class_prefix) { |
| 12470 | if (objc_class_prefix != nullptr) { |
| 12471 | _impl_._has_bits_[0] |= 0x00000008u; |
| 12472 | } else { |
| 12473 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 12474 | } |
| 12475 | _impl_.objc_class_prefix_.SetAllocated(value: objc_class_prefix, arena: GetArenaForAllocation()); |
| 12476 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12477 | if (_impl_.objc_class_prefix_.IsDefault()) { |
| 12478 | _impl_.objc_class_prefix_.Set("" , GetArenaForAllocation()); |
| 12479 | } |
| 12480 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12481 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.objc_class_prefix) |
| 12482 | } |
| 12483 | |
| 12484 | // optional string csharp_namespace = 37; |
| 12485 | inline bool FileOptions::_internal_has_csharp_namespace() const { |
| 12486 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
| 12487 | return value; |
| 12488 | } |
| 12489 | inline bool FileOptions::has_csharp_namespace() const { |
| 12490 | return _internal_has_csharp_namespace(); |
| 12491 | } |
| 12492 | inline void FileOptions::clear_csharp_namespace() { |
| 12493 | _impl_.csharp_namespace_.ClearToEmpty(); |
| 12494 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 12495 | } |
| 12496 | inline const std::string& FileOptions::csharp_namespace() const { |
| 12497 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.csharp_namespace) |
| 12498 | return _internal_csharp_namespace(); |
| 12499 | } |
| 12500 | template <typename ArgT0, typename... ArgT> |
| 12501 | inline PROTOBUF_ALWAYS_INLINE |
| 12502 | void FileOptions::set_csharp_namespace(ArgT0&& arg0, ArgT... args) { |
| 12503 | _impl_._has_bits_[0] |= 0x00000010u; |
| 12504 | _impl_.csharp_namespace_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 12505 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.csharp_namespace) |
| 12506 | } |
| 12507 | inline std::string* FileOptions::mutable_csharp_namespace() { |
| 12508 | std::string* _s = _internal_mutable_csharp_namespace(); |
| 12509 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.csharp_namespace) |
| 12510 | return _s; |
| 12511 | } |
| 12512 | inline const std::string& FileOptions::_internal_csharp_namespace() const { |
| 12513 | return _impl_.csharp_namespace_.Get(); |
| 12514 | } |
| 12515 | inline void FileOptions::_internal_set_csharp_namespace(const std::string& value) { |
| 12516 | _impl_._has_bits_[0] |= 0x00000010u; |
| 12517 | _impl_.csharp_namespace_.Set(value, arena: GetArenaForAllocation()); |
| 12518 | } |
| 12519 | inline std::string* FileOptions::_internal_mutable_csharp_namespace() { |
| 12520 | _impl_._has_bits_[0] |= 0x00000010u; |
| 12521 | return _impl_.csharp_namespace_.Mutable(arena: GetArenaForAllocation()); |
| 12522 | } |
| 12523 | inline std::string* FileOptions::release_csharp_namespace() { |
| 12524 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.csharp_namespace) |
| 12525 | if (!_internal_has_csharp_namespace()) { |
| 12526 | return nullptr; |
| 12527 | } |
| 12528 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 12529 | auto* p = _impl_.csharp_namespace_.Release(); |
| 12530 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12531 | if (_impl_.csharp_namespace_.IsDefault()) { |
| 12532 | _impl_.csharp_namespace_.Set("" , GetArenaForAllocation()); |
| 12533 | } |
| 12534 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12535 | return p; |
| 12536 | } |
| 12537 | inline void FileOptions::set_allocated_csharp_namespace(std::string* csharp_namespace) { |
| 12538 | if (csharp_namespace != nullptr) { |
| 12539 | _impl_._has_bits_[0] |= 0x00000010u; |
| 12540 | } else { |
| 12541 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 12542 | } |
| 12543 | _impl_.csharp_namespace_.SetAllocated(value: csharp_namespace, arena: GetArenaForAllocation()); |
| 12544 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12545 | if (_impl_.csharp_namespace_.IsDefault()) { |
| 12546 | _impl_.csharp_namespace_.Set("" , GetArenaForAllocation()); |
| 12547 | } |
| 12548 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12549 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.csharp_namespace) |
| 12550 | } |
| 12551 | |
| 12552 | // optional string swift_prefix = 39; |
| 12553 | inline bool FileOptions::_internal_has_swift_prefix() const { |
| 12554 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
| 12555 | return value; |
| 12556 | } |
| 12557 | inline bool FileOptions::has_swift_prefix() const { |
| 12558 | return _internal_has_swift_prefix(); |
| 12559 | } |
| 12560 | inline void FileOptions::clear_swift_prefix() { |
| 12561 | _impl_.swift_prefix_.ClearToEmpty(); |
| 12562 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 12563 | } |
| 12564 | inline const std::string& FileOptions::swift_prefix() const { |
| 12565 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.swift_prefix) |
| 12566 | return _internal_swift_prefix(); |
| 12567 | } |
| 12568 | template <typename ArgT0, typename... ArgT> |
| 12569 | inline PROTOBUF_ALWAYS_INLINE |
| 12570 | void FileOptions::set_swift_prefix(ArgT0&& arg0, ArgT... args) { |
| 12571 | _impl_._has_bits_[0] |= 0x00000020u; |
| 12572 | _impl_.swift_prefix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 12573 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.swift_prefix) |
| 12574 | } |
| 12575 | inline std::string* FileOptions::mutable_swift_prefix() { |
| 12576 | std::string* _s = _internal_mutable_swift_prefix(); |
| 12577 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.swift_prefix) |
| 12578 | return _s; |
| 12579 | } |
| 12580 | inline const std::string& FileOptions::_internal_swift_prefix() const { |
| 12581 | return _impl_.swift_prefix_.Get(); |
| 12582 | } |
| 12583 | inline void FileOptions::_internal_set_swift_prefix(const std::string& value) { |
| 12584 | _impl_._has_bits_[0] |= 0x00000020u; |
| 12585 | _impl_.swift_prefix_.Set(value, arena: GetArenaForAllocation()); |
| 12586 | } |
| 12587 | inline std::string* FileOptions::_internal_mutable_swift_prefix() { |
| 12588 | _impl_._has_bits_[0] |= 0x00000020u; |
| 12589 | return _impl_.swift_prefix_.Mutable(arena: GetArenaForAllocation()); |
| 12590 | } |
| 12591 | inline std::string* FileOptions::release_swift_prefix() { |
| 12592 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.swift_prefix) |
| 12593 | if (!_internal_has_swift_prefix()) { |
| 12594 | return nullptr; |
| 12595 | } |
| 12596 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 12597 | auto* p = _impl_.swift_prefix_.Release(); |
| 12598 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12599 | if (_impl_.swift_prefix_.IsDefault()) { |
| 12600 | _impl_.swift_prefix_.Set("" , GetArenaForAllocation()); |
| 12601 | } |
| 12602 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12603 | return p; |
| 12604 | } |
| 12605 | inline void FileOptions::set_allocated_swift_prefix(std::string* swift_prefix) { |
| 12606 | if (swift_prefix != nullptr) { |
| 12607 | _impl_._has_bits_[0] |= 0x00000020u; |
| 12608 | } else { |
| 12609 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 12610 | } |
| 12611 | _impl_.swift_prefix_.SetAllocated(value: swift_prefix, arena: GetArenaForAllocation()); |
| 12612 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12613 | if (_impl_.swift_prefix_.IsDefault()) { |
| 12614 | _impl_.swift_prefix_.Set("" , GetArenaForAllocation()); |
| 12615 | } |
| 12616 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12617 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.swift_prefix) |
| 12618 | } |
| 12619 | |
| 12620 | // optional string php_class_prefix = 40; |
| 12621 | inline bool FileOptions::_internal_has_php_class_prefix() const { |
| 12622 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
| 12623 | return value; |
| 12624 | } |
| 12625 | inline bool FileOptions::has_php_class_prefix() const { |
| 12626 | return _internal_has_php_class_prefix(); |
| 12627 | } |
| 12628 | inline void FileOptions::clear_php_class_prefix() { |
| 12629 | _impl_.php_class_prefix_.ClearToEmpty(); |
| 12630 | _impl_._has_bits_[0] &= ~0x00000040u; |
| 12631 | } |
| 12632 | inline const std::string& FileOptions::php_class_prefix() const { |
| 12633 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_class_prefix) |
| 12634 | return _internal_php_class_prefix(); |
| 12635 | } |
| 12636 | template <typename ArgT0, typename... ArgT> |
| 12637 | inline PROTOBUF_ALWAYS_INLINE |
| 12638 | void FileOptions::set_php_class_prefix(ArgT0&& arg0, ArgT... args) { |
| 12639 | _impl_._has_bits_[0] |= 0x00000040u; |
| 12640 | _impl_.php_class_prefix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 12641 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_class_prefix) |
| 12642 | } |
| 12643 | inline std::string* FileOptions::mutable_php_class_prefix() { |
| 12644 | std::string* _s = _internal_mutable_php_class_prefix(); |
| 12645 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_class_prefix) |
| 12646 | return _s; |
| 12647 | } |
| 12648 | inline const std::string& FileOptions::_internal_php_class_prefix() const { |
| 12649 | return _impl_.php_class_prefix_.Get(); |
| 12650 | } |
| 12651 | inline void FileOptions::_internal_set_php_class_prefix(const std::string& value) { |
| 12652 | _impl_._has_bits_[0] |= 0x00000040u; |
| 12653 | _impl_.php_class_prefix_.Set(value, arena: GetArenaForAllocation()); |
| 12654 | } |
| 12655 | inline std::string* FileOptions::_internal_mutable_php_class_prefix() { |
| 12656 | _impl_._has_bits_[0] |= 0x00000040u; |
| 12657 | return _impl_.php_class_prefix_.Mutable(arena: GetArenaForAllocation()); |
| 12658 | } |
| 12659 | inline std::string* FileOptions::release_php_class_prefix() { |
| 12660 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_class_prefix) |
| 12661 | if (!_internal_has_php_class_prefix()) { |
| 12662 | return nullptr; |
| 12663 | } |
| 12664 | _impl_._has_bits_[0] &= ~0x00000040u; |
| 12665 | auto* p = _impl_.php_class_prefix_.Release(); |
| 12666 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12667 | if (_impl_.php_class_prefix_.IsDefault()) { |
| 12668 | _impl_.php_class_prefix_.Set("" , GetArenaForAllocation()); |
| 12669 | } |
| 12670 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12671 | return p; |
| 12672 | } |
| 12673 | inline void FileOptions::set_allocated_php_class_prefix(std::string* php_class_prefix) { |
| 12674 | if (php_class_prefix != nullptr) { |
| 12675 | _impl_._has_bits_[0] |= 0x00000040u; |
| 12676 | } else { |
| 12677 | _impl_._has_bits_[0] &= ~0x00000040u; |
| 12678 | } |
| 12679 | _impl_.php_class_prefix_.SetAllocated(value: php_class_prefix, arena: GetArenaForAllocation()); |
| 12680 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12681 | if (_impl_.php_class_prefix_.IsDefault()) { |
| 12682 | _impl_.php_class_prefix_.Set("" , GetArenaForAllocation()); |
| 12683 | } |
| 12684 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12685 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_class_prefix) |
| 12686 | } |
| 12687 | |
| 12688 | // optional string php_namespace = 41; |
| 12689 | inline bool FileOptions::_internal_has_php_namespace() const { |
| 12690 | bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; |
| 12691 | return value; |
| 12692 | } |
| 12693 | inline bool FileOptions::has_php_namespace() const { |
| 12694 | return _internal_has_php_namespace(); |
| 12695 | } |
| 12696 | inline void FileOptions::clear_php_namespace() { |
| 12697 | _impl_.php_namespace_.ClearToEmpty(); |
| 12698 | _impl_._has_bits_[0] &= ~0x00000080u; |
| 12699 | } |
| 12700 | inline const std::string& FileOptions::php_namespace() const { |
| 12701 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_namespace) |
| 12702 | return _internal_php_namespace(); |
| 12703 | } |
| 12704 | template <typename ArgT0, typename... ArgT> |
| 12705 | inline PROTOBUF_ALWAYS_INLINE |
| 12706 | void FileOptions::set_php_namespace(ArgT0&& arg0, ArgT... args) { |
| 12707 | _impl_._has_bits_[0] |= 0x00000080u; |
| 12708 | _impl_.php_namespace_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 12709 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_namespace) |
| 12710 | } |
| 12711 | inline std::string* FileOptions::mutable_php_namespace() { |
| 12712 | std::string* _s = _internal_mutable_php_namespace(); |
| 12713 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_namespace) |
| 12714 | return _s; |
| 12715 | } |
| 12716 | inline const std::string& FileOptions::_internal_php_namespace() const { |
| 12717 | return _impl_.php_namespace_.Get(); |
| 12718 | } |
| 12719 | inline void FileOptions::_internal_set_php_namespace(const std::string& value) { |
| 12720 | _impl_._has_bits_[0] |= 0x00000080u; |
| 12721 | _impl_.php_namespace_.Set(value, arena: GetArenaForAllocation()); |
| 12722 | } |
| 12723 | inline std::string* FileOptions::_internal_mutable_php_namespace() { |
| 12724 | _impl_._has_bits_[0] |= 0x00000080u; |
| 12725 | return _impl_.php_namespace_.Mutable(arena: GetArenaForAllocation()); |
| 12726 | } |
| 12727 | inline std::string* FileOptions::release_php_namespace() { |
| 12728 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_namespace) |
| 12729 | if (!_internal_has_php_namespace()) { |
| 12730 | return nullptr; |
| 12731 | } |
| 12732 | _impl_._has_bits_[0] &= ~0x00000080u; |
| 12733 | auto* p = _impl_.php_namespace_.Release(); |
| 12734 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12735 | if (_impl_.php_namespace_.IsDefault()) { |
| 12736 | _impl_.php_namespace_.Set("" , GetArenaForAllocation()); |
| 12737 | } |
| 12738 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12739 | return p; |
| 12740 | } |
| 12741 | inline void FileOptions::set_allocated_php_namespace(std::string* php_namespace) { |
| 12742 | if (php_namespace != nullptr) { |
| 12743 | _impl_._has_bits_[0] |= 0x00000080u; |
| 12744 | } else { |
| 12745 | _impl_._has_bits_[0] &= ~0x00000080u; |
| 12746 | } |
| 12747 | _impl_.php_namespace_.SetAllocated(value: php_namespace, arena: GetArenaForAllocation()); |
| 12748 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12749 | if (_impl_.php_namespace_.IsDefault()) { |
| 12750 | _impl_.php_namespace_.Set("" , GetArenaForAllocation()); |
| 12751 | } |
| 12752 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12753 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_namespace) |
| 12754 | } |
| 12755 | |
| 12756 | // optional string php_metadata_namespace = 44; |
| 12757 | inline bool FileOptions::_internal_has_php_metadata_namespace() const { |
| 12758 | bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0; |
| 12759 | return value; |
| 12760 | } |
| 12761 | inline bool FileOptions::has_php_metadata_namespace() const { |
| 12762 | return _internal_has_php_metadata_namespace(); |
| 12763 | } |
| 12764 | inline void FileOptions::clear_php_metadata_namespace() { |
| 12765 | _impl_.php_metadata_namespace_.ClearToEmpty(); |
| 12766 | _impl_._has_bits_[0] &= ~0x00000100u; |
| 12767 | } |
| 12768 | inline const std::string& FileOptions::php_metadata_namespace() const { |
| 12769 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.php_metadata_namespace) |
| 12770 | return _internal_php_metadata_namespace(); |
| 12771 | } |
| 12772 | template <typename ArgT0, typename... ArgT> |
| 12773 | inline PROTOBUF_ALWAYS_INLINE |
| 12774 | void FileOptions::set_php_metadata_namespace(ArgT0&& arg0, ArgT... args) { |
| 12775 | _impl_._has_bits_[0] |= 0x00000100u; |
| 12776 | _impl_.php_metadata_namespace_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 12777 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.php_metadata_namespace) |
| 12778 | } |
| 12779 | inline std::string* FileOptions::mutable_php_metadata_namespace() { |
| 12780 | std::string* _s = _internal_mutable_php_metadata_namespace(); |
| 12781 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.php_metadata_namespace) |
| 12782 | return _s; |
| 12783 | } |
| 12784 | inline const std::string& FileOptions::_internal_php_metadata_namespace() const { |
| 12785 | return _impl_.php_metadata_namespace_.Get(); |
| 12786 | } |
| 12787 | inline void FileOptions::_internal_set_php_metadata_namespace(const std::string& value) { |
| 12788 | _impl_._has_bits_[0] |= 0x00000100u; |
| 12789 | _impl_.php_metadata_namespace_.Set(value, arena: GetArenaForAllocation()); |
| 12790 | } |
| 12791 | inline std::string* FileOptions::_internal_mutable_php_metadata_namespace() { |
| 12792 | _impl_._has_bits_[0] |= 0x00000100u; |
| 12793 | return _impl_.php_metadata_namespace_.Mutable(arena: GetArenaForAllocation()); |
| 12794 | } |
| 12795 | inline std::string* FileOptions::release_php_metadata_namespace() { |
| 12796 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.php_metadata_namespace) |
| 12797 | if (!_internal_has_php_metadata_namespace()) { |
| 12798 | return nullptr; |
| 12799 | } |
| 12800 | _impl_._has_bits_[0] &= ~0x00000100u; |
| 12801 | auto* p = _impl_.php_metadata_namespace_.Release(); |
| 12802 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12803 | if (_impl_.php_metadata_namespace_.IsDefault()) { |
| 12804 | _impl_.php_metadata_namespace_.Set("" , GetArenaForAllocation()); |
| 12805 | } |
| 12806 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12807 | return p; |
| 12808 | } |
| 12809 | inline void FileOptions::set_allocated_php_metadata_namespace(std::string* php_metadata_namespace) { |
| 12810 | if (php_metadata_namespace != nullptr) { |
| 12811 | _impl_._has_bits_[0] |= 0x00000100u; |
| 12812 | } else { |
| 12813 | _impl_._has_bits_[0] &= ~0x00000100u; |
| 12814 | } |
| 12815 | _impl_.php_metadata_namespace_.SetAllocated(value: php_metadata_namespace, arena: GetArenaForAllocation()); |
| 12816 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12817 | if (_impl_.php_metadata_namespace_.IsDefault()) { |
| 12818 | _impl_.php_metadata_namespace_.Set("" , GetArenaForAllocation()); |
| 12819 | } |
| 12820 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12821 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.php_metadata_namespace) |
| 12822 | } |
| 12823 | |
| 12824 | // optional string ruby_package = 45; |
| 12825 | inline bool FileOptions::_internal_has_ruby_package() const { |
| 12826 | bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0; |
| 12827 | return value; |
| 12828 | } |
| 12829 | inline bool FileOptions::has_ruby_package() const { |
| 12830 | return _internal_has_ruby_package(); |
| 12831 | } |
| 12832 | inline void FileOptions::clear_ruby_package() { |
| 12833 | _impl_.ruby_package_.ClearToEmpty(); |
| 12834 | _impl_._has_bits_[0] &= ~0x00000200u; |
| 12835 | } |
| 12836 | inline const std::string& FileOptions::ruby_package() const { |
| 12837 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.ruby_package) |
| 12838 | return _internal_ruby_package(); |
| 12839 | } |
| 12840 | template <typename ArgT0, typename... ArgT> |
| 12841 | inline PROTOBUF_ALWAYS_INLINE |
| 12842 | void FileOptions::set_ruby_package(ArgT0&& arg0, ArgT... args) { |
| 12843 | _impl_._has_bits_[0] |= 0x00000200u; |
| 12844 | _impl_.ruby_package_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 12845 | // @@protoc_insertion_point(field_set:google.protobuf.FileOptions.ruby_package) |
| 12846 | } |
| 12847 | inline std::string* FileOptions::mutable_ruby_package() { |
| 12848 | std::string* _s = _internal_mutable_ruby_package(); |
| 12849 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.ruby_package) |
| 12850 | return _s; |
| 12851 | } |
| 12852 | inline const std::string& FileOptions::_internal_ruby_package() const { |
| 12853 | return _impl_.ruby_package_.Get(); |
| 12854 | } |
| 12855 | inline void FileOptions::_internal_set_ruby_package(const std::string& value) { |
| 12856 | _impl_._has_bits_[0] |= 0x00000200u; |
| 12857 | _impl_.ruby_package_.Set(value, arena: GetArenaForAllocation()); |
| 12858 | } |
| 12859 | inline std::string* FileOptions::_internal_mutable_ruby_package() { |
| 12860 | _impl_._has_bits_[0] |= 0x00000200u; |
| 12861 | return _impl_.ruby_package_.Mutable(arena: GetArenaForAllocation()); |
| 12862 | } |
| 12863 | inline std::string* FileOptions::release_ruby_package() { |
| 12864 | // @@protoc_insertion_point(field_release:google.protobuf.FileOptions.ruby_package) |
| 12865 | if (!_internal_has_ruby_package()) { |
| 12866 | return nullptr; |
| 12867 | } |
| 12868 | _impl_._has_bits_[0] &= ~0x00000200u; |
| 12869 | auto* p = _impl_.ruby_package_.Release(); |
| 12870 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12871 | if (_impl_.ruby_package_.IsDefault()) { |
| 12872 | _impl_.ruby_package_.Set("" , GetArenaForAllocation()); |
| 12873 | } |
| 12874 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12875 | return p; |
| 12876 | } |
| 12877 | inline void FileOptions::set_allocated_ruby_package(std::string* ruby_package) { |
| 12878 | if (ruby_package != nullptr) { |
| 12879 | _impl_._has_bits_[0] |= 0x00000200u; |
| 12880 | } else { |
| 12881 | _impl_._has_bits_[0] &= ~0x00000200u; |
| 12882 | } |
| 12883 | _impl_.ruby_package_.SetAllocated(value: ruby_package, arena: GetArenaForAllocation()); |
| 12884 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12885 | if (_impl_.ruby_package_.IsDefault()) { |
| 12886 | _impl_.ruby_package_.Set("" , GetArenaForAllocation()); |
| 12887 | } |
| 12888 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 12889 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.FileOptions.ruby_package) |
| 12890 | } |
| 12891 | |
| 12892 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 12893 | inline int FileOptions::_internal_uninterpreted_option_size() const { |
| 12894 | return _impl_.uninterpreted_option_.size(); |
| 12895 | } |
| 12896 | inline int FileOptions::uninterpreted_option_size() const { |
| 12897 | return _internal_uninterpreted_option_size(); |
| 12898 | } |
| 12899 | inline void FileOptions::clear_uninterpreted_option() { |
| 12900 | _impl_.uninterpreted_option_.Clear(); |
| 12901 | } |
| 12902 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::mutable_uninterpreted_option(int index) { |
| 12903 | // @@protoc_insertion_point(field_mutable:google.protobuf.FileOptions.uninterpreted_option) |
| 12904 | return _impl_.uninterpreted_option_.Mutable(index); |
| 12905 | } |
| 12906 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 12907 | FileOptions::mutable_uninterpreted_option() { |
| 12908 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FileOptions.uninterpreted_option) |
| 12909 | return &_impl_.uninterpreted_option_; |
| 12910 | } |
| 12911 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::_internal_uninterpreted_option(int index) const { |
| 12912 | return _impl_.uninterpreted_option_.Get(index); |
| 12913 | } |
| 12914 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FileOptions::uninterpreted_option(int index) const { |
| 12915 | // @@protoc_insertion_point(field_get:google.protobuf.FileOptions.uninterpreted_option) |
| 12916 | return _internal_uninterpreted_option(index); |
| 12917 | } |
| 12918 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::_internal_add_uninterpreted_option() { |
| 12919 | return _impl_.uninterpreted_option_.Add(); |
| 12920 | } |
| 12921 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FileOptions::add_uninterpreted_option() { |
| 12922 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
| 12923 | // @@protoc_insertion_point(field_add:google.protobuf.FileOptions.uninterpreted_option) |
| 12924 | return _add; |
| 12925 | } |
| 12926 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 12927 | FileOptions::uninterpreted_option() const { |
| 12928 | // @@protoc_insertion_point(field_list:google.protobuf.FileOptions.uninterpreted_option) |
| 12929 | return _impl_.uninterpreted_option_; |
| 12930 | } |
| 12931 | |
| 12932 | // ------------------------------------------------------------------- |
| 12933 | |
| 12934 | // MessageOptions |
| 12935 | |
| 12936 | // optional bool message_set_wire_format = 1 [default = false]; |
| 12937 | inline bool MessageOptions::_internal_has_message_set_wire_format() const { |
| 12938 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 12939 | return value; |
| 12940 | } |
| 12941 | inline bool MessageOptions::has_message_set_wire_format() const { |
| 12942 | return _internal_has_message_set_wire_format(); |
| 12943 | } |
| 12944 | inline void MessageOptions::clear_message_set_wire_format() { |
| 12945 | _impl_.message_set_wire_format_ = false; |
| 12946 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 12947 | } |
| 12948 | inline bool MessageOptions::_internal_message_set_wire_format() const { |
| 12949 | return _impl_.message_set_wire_format_; |
| 12950 | } |
| 12951 | inline bool MessageOptions::message_set_wire_format() const { |
| 12952 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.message_set_wire_format) |
| 12953 | return _internal_message_set_wire_format(); |
| 12954 | } |
| 12955 | inline void MessageOptions::_internal_set_message_set_wire_format(bool value) { |
| 12956 | _impl_._has_bits_[0] |= 0x00000001u; |
| 12957 | _impl_.message_set_wire_format_ = value; |
| 12958 | } |
| 12959 | inline void MessageOptions::set_message_set_wire_format(bool value) { |
| 12960 | _internal_set_message_set_wire_format(value); |
| 12961 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.message_set_wire_format) |
| 12962 | } |
| 12963 | |
| 12964 | // optional bool no_standard_descriptor_accessor = 2 [default = false]; |
| 12965 | inline bool MessageOptions::_internal_has_no_standard_descriptor_accessor() const { |
| 12966 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 12967 | return value; |
| 12968 | } |
| 12969 | inline bool MessageOptions::has_no_standard_descriptor_accessor() const { |
| 12970 | return _internal_has_no_standard_descriptor_accessor(); |
| 12971 | } |
| 12972 | inline void MessageOptions::clear_no_standard_descriptor_accessor() { |
| 12973 | _impl_.no_standard_descriptor_accessor_ = false; |
| 12974 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 12975 | } |
| 12976 | inline bool MessageOptions::_internal_no_standard_descriptor_accessor() const { |
| 12977 | return _impl_.no_standard_descriptor_accessor_; |
| 12978 | } |
| 12979 | inline bool MessageOptions::no_standard_descriptor_accessor() const { |
| 12980 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
| 12981 | return _internal_no_standard_descriptor_accessor(); |
| 12982 | } |
| 12983 | inline void MessageOptions::_internal_set_no_standard_descriptor_accessor(bool value) { |
| 12984 | _impl_._has_bits_[0] |= 0x00000002u; |
| 12985 | _impl_.no_standard_descriptor_accessor_ = value; |
| 12986 | } |
| 12987 | inline void MessageOptions::set_no_standard_descriptor_accessor(bool value) { |
| 12988 | _internal_set_no_standard_descriptor_accessor(value); |
| 12989 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.no_standard_descriptor_accessor) |
| 12990 | } |
| 12991 | |
| 12992 | // optional bool deprecated = 3 [default = false]; |
| 12993 | inline bool MessageOptions::_internal_has_deprecated() const { |
| 12994 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 12995 | return value; |
| 12996 | } |
| 12997 | inline bool MessageOptions::has_deprecated() const { |
| 12998 | return _internal_has_deprecated(); |
| 12999 | } |
| 13000 | inline void MessageOptions::clear_deprecated() { |
| 13001 | _impl_.deprecated_ = false; |
| 13002 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 13003 | } |
| 13004 | inline bool MessageOptions::_internal_deprecated() const { |
| 13005 | return _impl_.deprecated_; |
| 13006 | } |
| 13007 | inline bool MessageOptions::deprecated() const { |
| 13008 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.deprecated) |
| 13009 | return _internal_deprecated(); |
| 13010 | } |
| 13011 | inline void MessageOptions::_internal_set_deprecated(bool value) { |
| 13012 | _impl_._has_bits_[0] |= 0x00000004u; |
| 13013 | _impl_.deprecated_ = value; |
| 13014 | } |
| 13015 | inline void MessageOptions::set_deprecated(bool value) { |
| 13016 | _internal_set_deprecated(value); |
| 13017 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.deprecated) |
| 13018 | } |
| 13019 | |
| 13020 | // optional bool map_entry = 7; |
| 13021 | inline bool MessageOptions::_internal_has_map_entry() const { |
| 13022 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
| 13023 | return value; |
| 13024 | } |
| 13025 | inline bool MessageOptions::has_map_entry() const { |
| 13026 | return _internal_has_map_entry(); |
| 13027 | } |
| 13028 | inline void MessageOptions::clear_map_entry() { |
| 13029 | _impl_.map_entry_ = false; |
| 13030 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 13031 | } |
| 13032 | inline bool MessageOptions::_internal_map_entry() const { |
| 13033 | return _impl_.map_entry_; |
| 13034 | } |
| 13035 | inline bool MessageOptions::map_entry() const { |
| 13036 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.map_entry) |
| 13037 | return _internal_map_entry(); |
| 13038 | } |
| 13039 | inline void MessageOptions::_internal_set_map_entry(bool value) { |
| 13040 | _impl_._has_bits_[0] |= 0x00000008u; |
| 13041 | _impl_.map_entry_ = value; |
| 13042 | } |
| 13043 | inline void MessageOptions::set_map_entry(bool value) { |
| 13044 | _internal_set_map_entry(value); |
| 13045 | // @@protoc_insertion_point(field_set:google.protobuf.MessageOptions.map_entry) |
| 13046 | } |
| 13047 | |
| 13048 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 13049 | inline int MessageOptions::_internal_uninterpreted_option_size() const { |
| 13050 | return _impl_.uninterpreted_option_.size(); |
| 13051 | } |
| 13052 | inline int MessageOptions::uninterpreted_option_size() const { |
| 13053 | return _internal_uninterpreted_option_size(); |
| 13054 | } |
| 13055 | inline void MessageOptions::clear_uninterpreted_option() { |
| 13056 | _impl_.uninterpreted_option_.Clear(); |
| 13057 | } |
| 13058 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::mutable_uninterpreted_option(int index) { |
| 13059 | // @@protoc_insertion_point(field_mutable:google.protobuf.MessageOptions.uninterpreted_option) |
| 13060 | return _impl_.uninterpreted_option_.Mutable(index); |
| 13061 | } |
| 13062 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 13063 | MessageOptions::mutable_uninterpreted_option() { |
| 13064 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MessageOptions.uninterpreted_option) |
| 13065 | return &_impl_.uninterpreted_option_; |
| 13066 | } |
| 13067 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::_internal_uninterpreted_option(int index) const { |
| 13068 | return _impl_.uninterpreted_option_.Get(index); |
| 13069 | } |
| 13070 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MessageOptions::uninterpreted_option(int index) const { |
| 13071 | // @@protoc_insertion_point(field_get:google.protobuf.MessageOptions.uninterpreted_option) |
| 13072 | return _internal_uninterpreted_option(index); |
| 13073 | } |
| 13074 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::_internal_add_uninterpreted_option() { |
| 13075 | return _impl_.uninterpreted_option_.Add(); |
| 13076 | } |
| 13077 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MessageOptions::add_uninterpreted_option() { |
| 13078 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
| 13079 | // @@protoc_insertion_point(field_add:google.protobuf.MessageOptions.uninterpreted_option) |
| 13080 | return _add; |
| 13081 | } |
| 13082 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 13083 | MessageOptions::uninterpreted_option() const { |
| 13084 | // @@protoc_insertion_point(field_list:google.protobuf.MessageOptions.uninterpreted_option) |
| 13085 | return _impl_.uninterpreted_option_; |
| 13086 | } |
| 13087 | |
| 13088 | // ------------------------------------------------------------------- |
| 13089 | |
| 13090 | // FieldOptions |
| 13091 | |
| 13092 | // optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING]; |
| 13093 | inline bool FieldOptions::_internal_has_ctype() const { |
| 13094 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 13095 | return value; |
| 13096 | } |
| 13097 | inline bool FieldOptions::has_ctype() const { |
| 13098 | return _internal_has_ctype(); |
| 13099 | } |
| 13100 | inline void FieldOptions::clear_ctype() { |
| 13101 | _impl_.ctype_ = 0; |
| 13102 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13103 | } |
| 13104 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::_internal_ctype() const { |
| 13105 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType >(_impl_.ctype_); |
| 13106 | } |
| 13107 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType FieldOptions::ctype() const { |
| 13108 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.ctype) |
| 13109 | return _internal_ctype(); |
| 13110 | } |
| 13111 | inline void FieldOptions::_internal_set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) { |
| 13112 | assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_IsValid(value)); |
| 13113 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13114 | _impl_.ctype_ = value; |
| 13115 | } |
| 13116 | inline void FieldOptions::set_ctype(::PROTOBUF_NAMESPACE_ID::FieldOptions_CType value) { |
| 13117 | _internal_set_ctype(value); |
| 13118 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.ctype) |
| 13119 | } |
| 13120 | |
| 13121 | // optional bool packed = 2; |
| 13122 | inline bool FieldOptions::_internal_has_packed() const { |
| 13123 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 13124 | return value; |
| 13125 | } |
| 13126 | inline bool FieldOptions::has_packed() const { |
| 13127 | return _internal_has_packed(); |
| 13128 | } |
| 13129 | inline void FieldOptions::clear_packed() { |
| 13130 | _impl_.packed_ = false; |
| 13131 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 13132 | } |
| 13133 | inline bool FieldOptions::_internal_packed() const { |
| 13134 | return _impl_.packed_; |
| 13135 | } |
| 13136 | inline bool FieldOptions::packed() const { |
| 13137 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.packed) |
| 13138 | return _internal_packed(); |
| 13139 | } |
| 13140 | inline void FieldOptions::_internal_set_packed(bool value) { |
| 13141 | _impl_._has_bits_[0] |= 0x00000004u; |
| 13142 | _impl_.packed_ = value; |
| 13143 | } |
| 13144 | inline void FieldOptions::set_packed(bool value) { |
| 13145 | _internal_set_packed(value); |
| 13146 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.packed) |
| 13147 | } |
| 13148 | |
| 13149 | // optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL]; |
| 13150 | inline bool FieldOptions::_internal_has_jstype() const { |
| 13151 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 13152 | return value; |
| 13153 | } |
| 13154 | inline bool FieldOptions::has_jstype() const { |
| 13155 | return _internal_has_jstype(); |
| 13156 | } |
| 13157 | inline void FieldOptions::clear_jstype() { |
| 13158 | _impl_.jstype_ = 0; |
| 13159 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 13160 | } |
| 13161 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::_internal_jstype() const { |
| 13162 | return static_cast< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType >(_impl_.jstype_); |
| 13163 | } |
| 13164 | inline ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType FieldOptions::jstype() const { |
| 13165 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.jstype) |
| 13166 | return _internal_jstype(); |
| 13167 | } |
| 13168 | inline void FieldOptions::_internal_set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) { |
| 13169 | assert(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_IsValid(value)); |
| 13170 | _impl_._has_bits_[0] |= 0x00000002u; |
| 13171 | _impl_.jstype_ = value; |
| 13172 | } |
| 13173 | inline void FieldOptions::set_jstype(::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType value) { |
| 13174 | _internal_set_jstype(value); |
| 13175 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.jstype) |
| 13176 | } |
| 13177 | |
| 13178 | // optional bool lazy = 5 [default = false]; |
| 13179 | inline bool FieldOptions::_internal_has_lazy() const { |
| 13180 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
| 13181 | return value; |
| 13182 | } |
| 13183 | inline bool FieldOptions::has_lazy() const { |
| 13184 | return _internal_has_lazy(); |
| 13185 | } |
| 13186 | inline void FieldOptions::clear_lazy() { |
| 13187 | _impl_.lazy_ = false; |
| 13188 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 13189 | } |
| 13190 | inline bool FieldOptions::_internal_lazy() const { |
| 13191 | return _impl_.lazy_; |
| 13192 | } |
| 13193 | inline bool FieldOptions::lazy() const { |
| 13194 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.lazy) |
| 13195 | return _internal_lazy(); |
| 13196 | } |
| 13197 | inline void FieldOptions::_internal_set_lazy(bool value) { |
| 13198 | _impl_._has_bits_[0] |= 0x00000008u; |
| 13199 | _impl_.lazy_ = value; |
| 13200 | } |
| 13201 | inline void FieldOptions::set_lazy(bool value) { |
| 13202 | _internal_set_lazy(value); |
| 13203 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.lazy) |
| 13204 | } |
| 13205 | |
| 13206 | // optional bool unverified_lazy = 15 [default = false]; |
| 13207 | inline bool FieldOptions::_internal_has_unverified_lazy() const { |
| 13208 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
| 13209 | return value; |
| 13210 | } |
| 13211 | inline bool FieldOptions::has_unverified_lazy() const { |
| 13212 | return _internal_has_unverified_lazy(); |
| 13213 | } |
| 13214 | inline void FieldOptions::clear_unverified_lazy() { |
| 13215 | _impl_.unverified_lazy_ = false; |
| 13216 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 13217 | } |
| 13218 | inline bool FieldOptions::_internal_unverified_lazy() const { |
| 13219 | return _impl_.unverified_lazy_; |
| 13220 | } |
| 13221 | inline bool FieldOptions::unverified_lazy() const { |
| 13222 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.unverified_lazy) |
| 13223 | return _internal_unverified_lazy(); |
| 13224 | } |
| 13225 | inline void FieldOptions::_internal_set_unverified_lazy(bool value) { |
| 13226 | _impl_._has_bits_[0] |= 0x00000010u; |
| 13227 | _impl_.unverified_lazy_ = value; |
| 13228 | } |
| 13229 | inline void FieldOptions::set_unverified_lazy(bool value) { |
| 13230 | _internal_set_unverified_lazy(value); |
| 13231 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.unverified_lazy) |
| 13232 | } |
| 13233 | |
| 13234 | // optional bool deprecated = 3 [default = false]; |
| 13235 | inline bool FieldOptions::_internal_has_deprecated() const { |
| 13236 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
| 13237 | return value; |
| 13238 | } |
| 13239 | inline bool FieldOptions::has_deprecated() const { |
| 13240 | return _internal_has_deprecated(); |
| 13241 | } |
| 13242 | inline void FieldOptions::clear_deprecated() { |
| 13243 | _impl_.deprecated_ = false; |
| 13244 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 13245 | } |
| 13246 | inline bool FieldOptions::_internal_deprecated() const { |
| 13247 | return _impl_.deprecated_; |
| 13248 | } |
| 13249 | inline bool FieldOptions::deprecated() const { |
| 13250 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.deprecated) |
| 13251 | return _internal_deprecated(); |
| 13252 | } |
| 13253 | inline void FieldOptions::_internal_set_deprecated(bool value) { |
| 13254 | _impl_._has_bits_[0] |= 0x00000020u; |
| 13255 | _impl_.deprecated_ = value; |
| 13256 | } |
| 13257 | inline void FieldOptions::set_deprecated(bool value) { |
| 13258 | _internal_set_deprecated(value); |
| 13259 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.deprecated) |
| 13260 | } |
| 13261 | |
| 13262 | // optional bool weak = 10 [default = false]; |
| 13263 | inline bool FieldOptions::_internal_has_weak() const { |
| 13264 | bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; |
| 13265 | return value; |
| 13266 | } |
| 13267 | inline bool FieldOptions::has_weak() const { |
| 13268 | return _internal_has_weak(); |
| 13269 | } |
| 13270 | inline void FieldOptions::clear_weak() { |
| 13271 | _impl_.weak_ = false; |
| 13272 | _impl_._has_bits_[0] &= ~0x00000040u; |
| 13273 | } |
| 13274 | inline bool FieldOptions::_internal_weak() const { |
| 13275 | return _impl_.weak_; |
| 13276 | } |
| 13277 | inline bool FieldOptions::weak() const { |
| 13278 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.weak) |
| 13279 | return _internal_weak(); |
| 13280 | } |
| 13281 | inline void FieldOptions::_internal_set_weak(bool value) { |
| 13282 | _impl_._has_bits_[0] |= 0x00000040u; |
| 13283 | _impl_.weak_ = value; |
| 13284 | } |
| 13285 | inline void FieldOptions::set_weak(bool value) { |
| 13286 | _internal_set_weak(value); |
| 13287 | // @@protoc_insertion_point(field_set:google.protobuf.FieldOptions.weak) |
| 13288 | } |
| 13289 | |
| 13290 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 13291 | inline int FieldOptions::_internal_uninterpreted_option_size() const { |
| 13292 | return _impl_.uninterpreted_option_.size(); |
| 13293 | } |
| 13294 | inline int FieldOptions::uninterpreted_option_size() const { |
| 13295 | return _internal_uninterpreted_option_size(); |
| 13296 | } |
| 13297 | inline void FieldOptions::clear_uninterpreted_option() { |
| 13298 | _impl_.uninterpreted_option_.Clear(); |
| 13299 | } |
| 13300 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::mutable_uninterpreted_option(int index) { |
| 13301 | // @@protoc_insertion_point(field_mutable:google.protobuf.FieldOptions.uninterpreted_option) |
| 13302 | return _impl_.uninterpreted_option_.Mutable(index); |
| 13303 | } |
| 13304 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 13305 | FieldOptions::mutable_uninterpreted_option() { |
| 13306 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldOptions.uninterpreted_option) |
| 13307 | return &_impl_.uninterpreted_option_; |
| 13308 | } |
| 13309 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::_internal_uninterpreted_option(int index) const { |
| 13310 | return _impl_.uninterpreted_option_.Get(index); |
| 13311 | } |
| 13312 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& FieldOptions::uninterpreted_option(int index) const { |
| 13313 | // @@protoc_insertion_point(field_get:google.protobuf.FieldOptions.uninterpreted_option) |
| 13314 | return _internal_uninterpreted_option(index); |
| 13315 | } |
| 13316 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::_internal_add_uninterpreted_option() { |
| 13317 | return _impl_.uninterpreted_option_.Add(); |
| 13318 | } |
| 13319 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* FieldOptions::add_uninterpreted_option() { |
| 13320 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
| 13321 | // @@protoc_insertion_point(field_add:google.protobuf.FieldOptions.uninterpreted_option) |
| 13322 | return _add; |
| 13323 | } |
| 13324 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 13325 | FieldOptions::uninterpreted_option() const { |
| 13326 | // @@protoc_insertion_point(field_list:google.protobuf.FieldOptions.uninterpreted_option) |
| 13327 | return _impl_.uninterpreted_option_; |
| 13328 | } |
| 13329 | |
| 13330 | // ------------------------------------------------------------------- |
| 13331 | |
| 13332 | // OneofOptions |
| 13333 | |
| 13334 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 13335 | inline int OneofOptions::_internal_uninterpreted_option_size() const { |
| 13336 | return _impl_.uninterpreted_option_.size(); |
| 13337 | } |
| 13338 | inline int OneofOptions::uninterpreted_option_size() const { |
| 13339 | return _internal_uninterpreted_option_size(); |
| 13340 | } |
| 13341 | inline void OneofOptions::clear_uninterpreted_option() { |
| 13342 | _impl_.uninterpreted_option_.Clear(); |
| 13343 | } |
| 13344 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::mutable_uninterpreted_option(int index) { |
| 13345 | // @@protoc_insertion_point(field_mutable:google.protobuf.OneofOptions.uninterpreted_option) |
| 13346 | return _impl_.uninterpreted_option_.Mutable(index); |
| 13347 | } |
| 13348 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 13349 | OneofOptions::mutable_uninterpreted_option() { |
| 13350 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.OneofOptions.uninterpreted_option) |
| 13351 | return &_impl_.uninterpreted_option_; |
| 13352 | } |
| 13353 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::_internal_uninterpreted_option(int index) const { |
| 13354 | return _impl_.uninterpreted_option_.Get(index); |
| 13355 | } |
| 13356 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& OneofOptions::uninterpreted_option(int index) const { |
| 13357 | // @@protoc_insertion_point(field_get:google.protobuf.OneofOptions.uninterpreted_option) |
| 13358 | return _internal_uninterpreted_option(index); |
| 13359 | } |
| 13360 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::_internal_add_uninterpreted_option() { |
| 13361 | return _impl_.uninterpreted_option_.Add(); |
| 13362 | } |
| 13363 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* OneofOptions::add_uninterpreted_option() { |
| 13364 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
| 13365 | // @@protoc_insertion_point(field_add:google.protobuf.OneofOptions.uninterpreted_option) |
| 13366 | return _add; |
| 13367 | } |
| 13368 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 13369 | OneofOptions::uninterpreted_option() const { |
| 13370 | // @@protoc_insertion_point(field_list:google.protobuf.OneofOptions.uninterpreted_option) |
| 13371 | return _impl_.uninterpreted_option_; |
| 13372 | } |
| 13373 | |
| 13374 | // ------------------------------------------------------------------- |
| 13375 | |
| 13376 | // EnumOptions |
| 13377 | |
| 13378 | // optional bool allow_alias = 2; |
| 13379 | inline bool EnumOptions::_internal_has_allow_alias() const { |
| 13380 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 13381 | return value; |
| 13382 | } |
| 13383 | inline bool EnumOptions::has_allow_alias() const { |
| 13384 | return _internal_has_allow_alias(); |
| 13385 | } |
| 13386 | inline void EnumOptions::clear_allow_alias() { |
| 13387 | _impl_.allow_alias_ = false; |
| 13388 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13389 | } |
| 13390 | inline bool EnumOptions::_internal_allow_alias() const { |
| 13391 | return _impl_.allow_alias_; |
| 13392 | } |
| 13393 | inline bool EnumOptions::allow_alias() const { |
| 13394 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.allow_alias) |
| 13395 | return _internal_allow_alias(); |
| 13396 | } |
| 13397 | inline void EnumOptions::_internal_set_allow_alias(bool value) { |
| 13398 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13399 | _impl_.allow_alias_ = value; |
| 13400 | } |
| 13401 | inline void EnumOptions::set_allow_alias(bool value) { |
| 13402 | _internal_set_allow_alias(value); |
| 13403 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.allow_alias) |
| 13404 | } |
| 13405 | |
| 13406 | // optional bool deprecated = 3 [default = false]; |
| 13407 | inline bool EnumOptions::_internal_has_deprecated() const { |
| 13408 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 13409 | return value; |
| 13410 | } |
| 13411 | inline bool EnumOptions::has_deprecated() const { |
| 13412 | return _internal_has_deprecated(); |
| 13413 | } |
| 13414 | inline void EnumOptions::clear_deprecated() { |
| 13415 | _impl_.deprecated_ = false; |
| 13416 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 13417 | } |
| 13418 | inline bool EnumOptions::_internal_deprecated() const { |
| 13419 | return _impl_.deprecated_; |
| 13420 | } |
| 13421 | inline bool EnumOptions::deprecated() const { |
| 13422 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.deprecated) |
| 13423 | return _internal_deprecated(); |
| 13424 | } |
| 13425 | inline void EnumOptions::_internal_set_deprecated(bool value) { |
| 13426 | _impl_._has_bits_[0] |= 0x00000002u; |
| 13427 | _impl_.deprecated_ = value; |
| 13428 | } |
| 13429 | inline void EnumOptions::set_deprecated(bool value) { |
| 13430 | _internal_set_deprecated(value); |
| 13431 | // @@protoc_insertion_point(field_set:google.protobuf.EnumOptions.deprecated) |
| 13432 | } |
| 13433 | |
| 13434 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 13435 | inline int EnumOptions::_internal_uninterpreted_option_size() const { |
| 13436 | return _impl_.uninterpreted_option_.size(); |
| 13437 | } |
| 13438 | inline int EnumOptions::uninterpreted_option_size() const { |
| 13439 | return _internal_uninterpreted_option_size(); |
| 13440 | } |
| 13441 | inline void EnumOptions::clear_uninterpreted_option() { |
| 13442 | _impl_.uninterpreted_option_.Clear(); |
| 13443 | } |
| 13444 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::mutable_uninterpreted_option(int index) { |
| 13445 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumOptions.uninterpreted_option) |
| 13446 | return _impl_.uninterpreted_option_.Mutable(index); |
| 13447 | } |
| 13448 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 13449 | EnumOptions::mutable_uninterpreted_option() { |
| 13450 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumOptions.uninterpreted_option) |
| 13451 | return &_impl_.uninterpreted_option_; |
| 13452 | } |
| 13453 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::_internal_uninterpreted_option(int index) const { |
| 13454 | return _impl_.uninterpreted_option_.Get(index); |
| 13455 | } |
| 13456 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumOptions::uninterpreted_option(int index) const { |
| 13457 | // @@protoc_insertion_point(field_get:google.protobuf.EnumOptions.uninterpreted_option) |
| 13458 | return _internal_uninterpreted_option(index); |
| 13459 | } |
| 13460 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::_internal_add_uninterpreted_option() { |
| 13461 | return _impl_.uninterpreted_option_.Add(); |
| 13462 | } |
| 13463 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumOptions::add_uninterpreted_option() { |
| 13464 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
| 13465 | // @@protoc_insertion_point(field_add:google.protobuf.EnumOptions.uninterpreted_option) |
| 13466 | return _add; |
| 13467 | } |
| 13468 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 13469 | EnumOptions::uninterpreted_option() const { |
| 13470 | // @@protoc_insertion_point(field_list:google.protobuf.EnumOptions.uninterpreted_option) |
| 13471 | return _impl_.uninterpreted_option_; |
| 13472 | } |
| 13473 | |
| 13474 | // ------------------------------------------------------------------- |
| 13475 | |
| 13476 | // EnumValueOptions |
| 13477 | |
| 13478 | // optional bool deprecated = 1 [default = false]; |
| 13479 | inline bool EnumValueOptions::_internal_has_deprecated() const { |
| 13480 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 13481 | return value; |
| 13482 | } |
| 13483 | inline bool EnumValueOptions::has_deprecated() const { |
| 13484 | return _internal_has_deprecated(); |
| 13485 | } |
| 13486 | inline void EnumValueOptions::clear_deprecated() { |
| 13487 | _impl_.deprecated_ = false; |
| 13488 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13489 | } |
| 13490 | inline bool EnumValueOptions::_internal_deprecated() const { |
| 13491 | return _impl_.deprecated_; |
| 13492 | } |
| 13493 | inline bool EnumValueOptions::deprecated() const { |
| 13494 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.deprecated) |
| 13495 | return _internal_deprecated(); |
| 13496 | } |
| 13497 | inline void EnumValueOptions::_internal_set_deprecated(bool value) { |
| 13498 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13499 | _impl_.deprecated_ = value; |
| 13500 | } |
| 13501 | inline void EnumValueOptions::set_deprecated(bool value) { |
| 13502 | _internal_set_deprecated(value); |
| 13503 | // @@protoc_insertion_point(field_set:google.protobuf.EnumValueOptions.deprecated) |
| 13504 | } |
| 13505 | |
| 13506 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 13507 | inline int EnumValueOptions::_internal_uninterpreted_option_size() const { |
| 13508 | return _impl_.uninterpreted_option_.size(); |
| 13509 | } |
| 13510 | inline int EnumValueOptions::uninterpreted_option_size() const { |
| 13511 | return _internal_uninterpreted_option_size(); |
| 13512 | } |
| 13513 | inline void EnumValueOptions::clear_uninterpreted_option() { |
| 13514 | _impl_.uninterpreted_option_.Clear(); |
| 13515 | } |
| 13516 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::mutable_uninterpreted_option(int index) { |
| 13517 | // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 13518 | return _impl_.uninterpreted_option_.Mutable(index); |
| 13519 | } |
| 13520 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 13521 | EnumValueOptions::mutable_uninterpreted_option() { |
| 13522 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 13523 | return &_impl_.uninterpreted_option_; |
| 13524 | } |
| 13525 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::_internal_uninterpreted_option(int index) const { |
| 13526 | return _impl_.uninterpreted_option_.Get(index); |
| 13527 | } |
| 13528 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& EnumValueOptions::uninterpreted_option(int index) const { |
| 13529 | // @@protoc_insertion_point(field_get:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 13530 | return _internal_uninterpreted_option(index); |
| 13531 | } |
| 13532 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::_internal_add_uninterpreted_option() { |
| 13533 | return _impl_.uninterpreted_option_.Add(); |
| 13534 | } |
| 13535 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* EnumValueOptions::add_uninterpreted_option() { |
| 13536 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
| 13537 | // @@protoc_insertion_point(field_add:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 13538 | return _add; |
| 13539 | } |
| 13540 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 13541 | EnumValueOptions::uninterpreted_option() const { |
| 13542 | // @@protoc_insertion_point(field_list:google.protobuf.EnumValueOptions.uninterpreted_option) |
| 13543 | return _impl_.uninterpreted_option_; |
| 13544 | } |
| 13545 | |
| 13546 | // ------------------------------------------------------------------- |
| 13547 | |
| 13548 | // ServiceOptions |
| 13549 | |
| 13550 | // optional bool deprecated = 33 [default = false]; |
| 13551 | inline bool ServiceOptions::_internal_has_deprecated() const { |
| 13552 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 13553 | return value; |
| 13554 | } |
| 13555 | inline bool ServiceOptions::has_deprecated() const { |
| 13556 | return _internal_has_deprecated(); |
| 13557 | } |
| 13558 | inline void ServiceOptions::clear_deprecated() { |
| 13559 | _impl_.deprecated_ = false; |
| 13560 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13561 | } |
| 13562 | inline bool ServiceOptions::_internal_deprecated() const { |
| 13563 | return _impl_.deprecated_; |
| 13564 | } |
| 13565 | inline bool ServiceOptions::deprecated() const { |
| 13566 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.deprecated) |
| 13567 | return _internal_deprecated(); |
| 13568 | } |
| 13569 | inline void ServiceOptions::_internal_set_deprecated(bool value) { |
| 13570 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13571 | _impl_.deprecated_ = value; |
| 13572 | } |
| 13573 | inline void ServiceOptions::set_deprecated(bool value) { |
| 13574 | _internal_set_deprecated(value); |
| 13575 | // @@protoc_insertion_point(field_set:google.protobuf.ServiceOptions.deprecated) |
| 13576 | } |
| 13577 | |
| 13578 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 13579 | inline int ServiceOptions::_internal_uninterpreted_option_size() const { |
| 13580 | return _impl_.uninterpreted_option_.size(); |
| 13581 | } |
| 13582 | inline int ServiceOptions::uninterpreted_option_size() const { |
| 13583 | return _internal_uninterpreted_option_size(); |
| 13584 | } |
| 13585 | inline void ServiceOptions::clear_uninterpreted_option() { |
| 13586 | _impl_.uninterpreted_option_.Clear(); |
| 13587 | } |
| 13588 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::mutable_uninterpreted_option(int index) { |
| 13589 | // @@protoc_insertion_point(field_mutable:google.protobuf.ServiceOptions.uninterpreted_option) |
| 13590 | return _impl_.uninterpreted_option_.Mutable(index); |
| 13591 | } |
| 13592 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 13593 | ServiceOptions::mutable_uninterpreted_option() { |
| 13594 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.ServiceOptions.uninterpreted_option) |
| 13595 | return &_impl_.uninterpreted_option_; |
| 13596 | } |
| 13597 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::_internal_uninterpreted_option(int index) const { |
| 13598 | return _impl_.uninterpreted_option_.Get(index); |
| 13599 | } |
| 13600 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& ServiceOptions::uninterpreted_option(int index) const { |
| 13601 | // @@protoc_insertion_point(field_get:google.protobuf.ServiceOptions.uninterpreted_option) |
| 13602 | return _internal_uninterpreted_option(index); |
| 13603 | } |
| 13604 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::_internal_add_uninterpreted_option() { |
| 13605 | return _impl_.uninterpreted_option_.Add(); |
| 13606 | } |
| 13607 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* ServiceOptions::add_uninterpreted_option() { |
| 13608 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
| 13609 | // @@protoc_insertion_point(field_add:google.protobuf.ServiceOptions.uninterpreted_option) |
| 13610 | return _add; |
| 13611 | } |
| 13612 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 13613 | ServiceOptions::uninterpreted_option() const { |
| 13614 | // @@protoc_insertion_point(field_list:google.protobuf.ServiceOptions.uninterpreted_option) |
| 13615 | return _impl_.uninterpreted_option_; |
| 13616 | } |
| 13617 | |
| 13618 | // ------------------------------------------------------------------- |
| 13619 | |
| 13620 | // MethodOptions |
| 13621 | |
| 13622 | // optional bool deprecated = 33 [default = false]; |
| 13623 | inline bool MethodOptions::_internal_has_deprecated() const { |
| 13624 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 13625 | return value; |
| 13626 | } |
| 13627 | inline bool MethodOptions::has_deprecated() const { |
| 13628 | return _internal_has_deprecated(); |
| 13629 | } |
| 13630 | inline void MethodOptions::clear_deprecated() { |
| 13631 | _impl_.deprecated_ = false; |
| 13632 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13633 | } |
| 13634 | inline bool MethodOptions::_internal_deprecated() const { |
| 13635 | return _impl_.deprecated_; |
| 13636 | } |
| 13637 | inline bool MethodOptions::deprecated() const { |
| 13638 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.deprecated) |
| 13639 | return _internal_deprecated(); |
| 13640 | } |
| 13641 | inline void MethodOptions::_internal_set_deprecated(bool value) { |
| 13642 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13643 | _impl_.deprecated_ = value; |
| 13644 | } |
| 13645 | inline void MethodOptions::set_deprecated(bool value) { |
| 13646 | _internal_set_deprecated(value); |
| 13647 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.deprecated) |
| 13648 | } |
| 13649 | |
| 13650 | // optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN]; |
| 13651 | inline bool MethodOptions::_internal_has_idempotency_level() const { |
| 13652 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 13653 | return value; |
| 13654 | } |
| 13655 | inline bool MethodOptions::has_idempotency_level() const { |
| 13656 | return _internal_has_idempotency_level(); |
| 13657 | } |
| 13658 | inline void MethodOptions::clear_idempotency_level() { |
| 13659 | _impl_.idempotency_level_ = 0; |
| 13660 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 13661 | } |
| 13662 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::_internal_idempotency_level() const { |
| 13663 | return static_cast< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel >(_impl_.idempotency_level_); |
| 13664 | } |
| 13665 | inline ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel MethodOptions::idempotency_level() const { |
| 13666 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.idempotency_level) |
| 13667 | return _internal_idempotency_level(); |
| 13668 | } |
| 13669 | inline void MethodOptions::_internal_set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) { |
| 13670 | assert(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_IsValid(value)); |
| 13671 | _impl_._has_bits_[0] |= 0x00000002u; |
| 13672 | _impl_.idempotency_level_ = value; |
| 13673 | } |
| 13674 | inline void MethodOptions::set_idempotency_level(::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel value) { |
| 13675 | _internal_set_idempotency_level(value); |
| 13676 | // @@protoc_insertion_point(field_set:google.protobuf.MethodOptions.idempotency_level) |
| 13677 | } |
| 13678 | |
| 13679 | // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |
| 13680 | inline int MethodOptions::_internal_uninterpreted_option_size() const { |
| 13681 | return _impl_.uninterpreted_option_.size(); |
| 13682 | } |
| 13683 | inline int MethodOptions::uninterpreted_option_size() const { |
| 13684 | return _internal_uninterpreted_option_size(); |
| 13685 | } |
| 13686 | inline void MethodOptions::clear_uninterpreted_option() { |
| 13687 | _impl_.uninterpreted_option_.Clear(); |
| 13688 | } |
| 13689 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::mutable_uninterpreted_option(int index) { |
| 13690 | // @@protoc_insertion_point(field_mutable:google.protobuf.MethodOptions.uninterpreted_option) |
| 13691 | return _impl_.uninterpreted_option_.Mutable(index); |
| 13692 | } |
| 13693 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >* |
| 13694 | MethodOptions::mutable_uninterpreted_option() { |
| 13695 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.MethodOptions.uninterpreted_option) |
| 13696 | return &_impl_.uninterpreted_option_; |
| 13697 | } |
| 13698 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::_internal_uninterpreted_option(int index) const { |
| 13699 | return _impl_.uninterpreted_option_.Get(index); |
| 13700 | } |
| 13701 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption& MethodOptions::uninterpreted_option(int index) const { |
| 13702 | // @@protoc_insertion_point(field_get:google.protobuf.MethodOptions.uninterpreted_option) |
| 13703 | return _internal_uninterpreted_option(index); |
| 13704 | } |
| 13705 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::_internal_add_uninterpreted_option() { |
| 13706 | return _impl_.uninterpreted_option_.Add(); |
| 13707 | } |
| 13708 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* MethodOptions::add_uninterpreted_option() { |
| 13709 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption* _add = _internal_add_uninterpreted_option(); |
| 13710 | // @@protoc_insertion_point(field_add:google.protobuf.MethodOptions.uninterpreted_option) |
| 13711 | return _add; |
| 13712 | } |
| 13713 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption >& |
| 13714 | MethodOptions::uninterpreted_option() const { |
| 13715 | // @@protoc_insertion_point(field_list:google.protobuf.MethodOptions.uninterpreted_option) |
| 13716 | return _impl_.uninterpreted_option_; |
| 13717 | } |
| 13718 | |
| 13719 | // ------------------------------------------------------------------- |
| 13720 | |
| 13721 | // UninterpretedOption_NamePart |
| 13722 | |
| 13723 | // required string name_part = 1; |
| 13724 | inline bool UninterpretedOption_NamePart::_internal_has_name_part() const { |
| 13725 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 13726 | return value; |
| 13727 | } |
| 13728 | inline bool UninterpretedOption_NamePart::has_name_part() const { |
| 13729 | return _internal_has_name_part(); |
| 13730 | } |
| 13731 | inline void UninterpretedOption_NamePart::clear_name_part() { |
| 13732 | _impl_.name_part_.ClearToEmpty(); |
| 13733 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13734 | } |
| 13735 | inline const std::string& UninterpretedOption_NamePart::name_part() const { |
| 13736 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 13737 | return _internal_name_part(); |
| 13738 | } |
| 13739 | template <typename ArgT0, typename... ArgT> |
| 13740 | inline PROTOBUF_ALWAYS_INLINE |
| 13741 | void UninterpretedOption_NamePart::set_name_part(ArgT0&& arg0, ArgT... args) { |
| 13742 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13743 | _impl_.name_part_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 13744 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 13745 | } |
| 13746 | inline std::string* UninterpretedOption_NamePart::mutable_name_part() { |
| 13747 | std::string* _s = _internal_mutable_name_part(); |
| 13748 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 13749 | return _s; |
| 13750 | } |
| 13751 | inline const std::string& UninterpretedOption_NamePart::_internal_name_part() const { |
| 13752 | return _impl_.name_part_.Get(); |
| 13753 | } |
| 13754 | inline void UninterpretedOption_NamePart::_internal_set_name_part(const std::string& value) { |
| 13755 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13756 | _impl_.name_part_.Set(value, arena: GetArenaForAllocation()); |
| 13757 | } |
| 13758 | inline std::string* UninterpretedOption_NamePart::_internal_mutable_name_part() { |
| 13759 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13760 | return _impl_.name_part_.Mutable(arena: GetArenaForAllocation()); |
| 13761 | } |
| 13762 | inline std::string* UninterpretedOption_NamePart::release_name_part() { |
| 13763 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 13764 | if (!_internal_has_name_part()) { |
| 13765 | return nullptr; |
| 13766 | } |
| 13767 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13768 | auto* p = _impl_.name_part_.Release(); |
| 13769 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 13770 | if (_impl_.name_part_.IsDefault()) { |
| 13771 | _impl_.name_part_.Set("" , GetArenaForAllocation()); |
| 13772 | } |
| 13773 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 13774 | return p; |
| 13775 | } |
| 13776 | inline void UninterpretedOption_NamePart::set_allocated_name_part(std::string* name_part) { |
| 13777 | if (name_part != nullptr) { |
| 13778 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13779 | } else { |
| 13780 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13781 | } |
| 13782 | _impl_.name_part_.SetAllocated(value: name_part, arena: GetArenaForAllocation()); |
| 13783 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 13784 | if (_impl_.name_part_.IsDefault()) { |
| 13785 | _impl_.name_part_.Set("" , GetArenaForAllocation()); |
| 13786 | } |
| 13787 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 13788 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.NamePart.name_part) |
| 13789 | } |
| 13790 | |
| 13791 | // required bool is_extension = 2; |
| 13792 | inline bool UninterpretedOption_NamePart::_internal_has_is_extension() const { |
| 13793 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 13794 | return value; |
| 13795 | } |
| 13796 | inline bool UninterpretedOption_NamePart::has_is_extension() const { |
| 13797 | return _internal_has_is_extension(); |
| 13798 | } |
| 13799 | inline void UninterpretedOption_NamePart::clear_is_extension() { |
| 13800 | _impl_.is_extension_ = false; |
| 13801 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 13802 | } |
| 13803 | inline bool UninterpretedOption_NamePart::_internal_is_extension() const { |
| 13804 | return _impl_.is_extension_; |
| 13805 | } |
| 13806 | inline bool UninterpretedOption_NamePart::is_extension() const { |
| 13807 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.NamePart.is_extension) |
| 13808 | return _internal_is_extension(); |
| 13809 | } |
| 13810 | inline void UninterpretedOption_NamePart::_internal_set_is_extension(bool value) { |
| 13811 | _impl_._has_bits_[0] |= 0x00000002u; |
| 13812 | _impl_.is_extension_ = value; |
| 13813 | } |
| 13814 | inline void UninterpretedOption_NamePart::set_is_extension(bool value) { |
| 13815 | _internal_set_is_extension(value); |
| 13816 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.NamePart.is_extension) |
| 13817 | } |
| 13818 | |
| 13819 | // ------------------------------------------------------------------- |
| 13820 | |
| 13821 | // UninterpretedOption |
| 13822 | |
| 13823 | // repeated .google.protobuf.UninterpretedOption.NamePart name = 2; |
| 13824 | inline int UninterpretedOption::_internal_name_size() const { |
| 13825 | return _impl_.name_.size(); |
| 13826 | } |
| 13827 | inline int UninterpretedOption::name_size() const { |
| 13828 | return _internal_name_size(); |
| 13829 | } |
| 13830 | inline void UninterpretedOption::clear_name() { |
| 13831 | _impl_.name_.Clear(); |
| 13832 | } |
| 13833 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::mutable_name(int index) { |
| 13834 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.name) |
| 13835 | return _impl_.name_.Mutable(index); |
| 13836 | } |
| 13837 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >* |
| 13838 | UninterpretedOption::mutable_name() { |
| 13839 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.UninterpretedOption.name) |
| 13840 | return &_impl_.name_; |
| 13841 | } |
| 13842 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::_internal_name(int index) const { |
| 13843 | return _impl_.name_.Get(index); |
| 13844 | } |
| 13845 | inline const ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart& UninterpretedOption::name(int index) const { |
| 13846 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.name) |
| 13847 | return _internal_name(index); |
| 13848 | } |
| 13849 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::_internal_add_name() { |
| 13850 | return _impl_.name_.Add(); |
| 13851 | } |
| 13852 | inline ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* UninterpretedOption::add_name() { |
| 13853 | ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart* _add = _internal_add_name(); |
| 13854 | // @@protoc_insertion_point(field_add:google.protobuf.UninterpretedOption.name) |
| 13855 | return _add; |
| 13856 | } |
| 13857 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::UninterpretedOption_NamePart >& |
| 13858 | UninterpretedOption::name() const { |
| 13859 | // @@protoc_insertion_point(field_list:google.protobuf.UninterpretedOption.name) |
| 13860 | return _impl_.name_; |
| 13861 | } |
| 13862 | |
| 13863 | // optional string identifier_value = 3; |
| 13864 | inline bool UninterpretedOption::_internal_has_identifier_value() const { |
| 13865 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 13866 | return value; |
| 13867 | } |
| 13868 | inline bool UninterpretedOption::has_identifier_value() const { |
| 13869 | return _internal_has_identifier_value(); |
| 13870 | } |
| 13871 | inline void UninterpretedOption::clear_identifier_value() { |
| 13872 | _impl_.identifier_value_.ClearToEmpty(); |
| 13873 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13874 | } |
| 13875 | inline const std::string& UninterpretedOption::identifier_value() const { |
| 13876 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.identifier_value) |
| 13877 | return _internal_identifier_value(); |
| 13878 | } |
| 13879 | template <typename ArgT0, typename... ArgT> |
| 13880 | inline PROTOBUF_ALWAYS_INLINE |
| 13881 | void UninterpretedOption::set_identifier_value(ArgT0&& arg0, ArgT... args) { |
| 13882 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13883 | _impl_.identifier_value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 13884 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.identifier_value) |
| 13885 | } |
| 13886 | inline std::string* UninterpretedOption::mutable_identifier_value() { |
| 13887 | std::string* _s = _internal_mutable_identifier_value(); |
| 13888 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.identifier_value) |
| 13889 | return _s; |
| 13890 | } |
| 13891 | inline const std::string& UninterpretedOption::_internal_identifier_value() const { |
| 13892 | return _impl_.identifier_value_.Get(); |
| 13893 | } |
| 13894 | inline void UninterpretedOption::_internal_set_identifier_value(const std::string& value) { |
| 13895 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13896 | _impl_.identifier_value_.Set(value, arena: GetArenaForAllocation()); |
| 13897 | } |
| 13898 | inline std::string* UninterpretedOption::_internal_mutable_identifier_value() { |
| 13899 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13900 | return _impl_.identifier_value_.Mutable(arena: GetArenaForAllocation()); |
| 13901 | } |
| 13902 | inline std::string* UninterpretedOption::release_identifier_value() { |
| 13903 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.identifier_value) |
| 13904 | if (!_internal_has_identifier_value()) { |
| 13905 | return nullptr; |
| 13906 | } |
| 13907 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13908 | auto* p = _impl_.identifier_value_.Release(); |
| 13909 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 13910 | if (_impl_.identifier_value_.IsDefault()) { |
| 13911 | _impl_.identifier_value_.Set("" , GetArenaForAllocation()); |
| 13912 | } |
| 13913 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 13914 | return p; |
| 13915 | } |
| 13916 | inline void UninterpretedOption::set_allocated_identifier_value(std::string* identifier_value) { |
| 13917 | if (identifier_value != nullptr) { |
| 13918 | _impl_._has_bits_[0] |= 0x00000001u; |
| 13919 | } else { |
| 13920 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 13921 | } |
| 13922 | _impl_.identifier_value_.SetAllocated(value: identifier_value, arena: GetArenaForAllocation()); |
| 13923 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 13924 | if (_impl_.identifier_value_.IsDefault()) { |
| 13925 | _impl_.identifier_value_.Set("" , GetArenaForAllocation()); |
| 13926 | } |
| 13927 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 13928 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.identifier_value) |
| 13929 | } |
| 13930 | |
| 13931 | // optional uint64 positive_int_value = 4; |
| 13932 | inline bool UninterpretedOption::_internal_has_positive_int_value() const { |
| 13933 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
| 13934 | return value; |
| 13935 | } |
| 13936 | inline bool UninterpretedOption::has_positive_int_value() const { |
| 13937 | return _internal_has_positive_int_value(); |
| 13938 | } |
| 13939 | inline void UninterpretedOption::clear_positive_int_value() { |
| 13940 | _impl_.positive_int_value_ = uint64_t{0u}; |
| 13941 | _impl_._has_bits_[0] &= ~0x00000008u; |
| 13942 | } |
| 13943 | inline uint64_t UninterpretedOption::_internal_positive_int_value() const { |
| 13944 | return _impl_.positive_int_value_; |
| 13945 | } |
| 13946 | inline uint64_t UninterpretedOption::positive_int_value() const { |
| 13947 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.positive_int_value) |
| 13948 | return _internal_positive_int_value(); |
| 13949 | } |
| 13950 | inline void UninterpretedOption::_internal_set_positive_int_value(uint64_t value) { |
| 13951 | _impl_._has_bits_[0] |= 0x00000008u; |
| 13952 | _impl_.positive_int_value_ = value; |
| 13953 | } |
| 13954 | inline void UninterpretedOption::set_positive_int_value(uint64_t value) { |
| 13955 | _internal_set_positive_int_value(value); |
| 13956 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.positive_int_value) |
| 13957 | } |
| 13958 | |
| 13959 | // optional int64 negative_int_value = 5; |
| 13960 | inline bool UninterpretedOption::_internal_has_negative_int_value() const { |
| 13961 | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
| 13962 | return value; |
| 13963 | } |
| 13964 | inline bool UninterpretedOption::has_negative_int_value() const { |
| 13965 | return _internal_has_negative_int_value(); |
| 13966 | } |
| 13967 | inline void UninterpretedOption::clear_negative_int_value() { |
| 13968 | _impl_.negative_int_value_ = int64_t{0}; |
| 13969 | _impl_._has_bits_[0] &= ~0x00000010u; |
| 13970 | } |
| 13971 | inline int64_t UninterpretedOption::_internal_negative_int_value() const { |
| 13972 | return _impl_.negative_int_value_; |
| 13973 | } |
| 13974 | inline int64_t UninterpretedOption::negative_int_value() const { |
| 13975 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.negative_int_value) |
| 13976 | return _internal_negative_int_value(); |
| 13977 | } |
| 13978 | inline void UninterpretedOption::_internal_set_negative_int_value(int64_t value) { |
| 13979 | _impl_._has_bits_[0] |= 0x00000010u; |
| 13980 | _impl_.negative_int_value_ = value; |
| 13981 | } |
| 13982 | inline void UninterpretedOption::set_negative_int_value(int64_t value) { |
| 13983 | _internal_set_negative_int_value(value); |
| 13984 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.negative_int_value) |
| 13985 | } |
| 13986 | |
| 13987 | // optional double double_value = 6; |
| 13988 | inline bool UninterpretedOption::_internal_has_double_value() const { |
| 13989 | bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; |
| 13990 | return value; |
| 13991 | } |
| 13992 | inline bool UninterpretedOption::has_double_value() const { |
| 13993 | return _internal_has_double_value(); |
| 13994 | } |
| 13995 | inline void UninterpretedOption::clear_double_value() { |
| 13996 | _impl_.double_value_ = 0; |
| 13997 | _impl_._has_bits_[0] &= ~0x00000020u; |
| 13998 | } |
| 13999 | inline double UninterpretedOption::_internal_double_value() const { |
| 14000 | return _impl_.double_value_; |
| 14001 | } |
| 14002 | inline double UninterpretedOption::double_value() const { |
| 14003 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.double_value) |
| 14004 | return _internal_double_value(); |
| 14005 | } |
| 14006 | inline void UninterpretedOption::_internal_set_double_value(double value) { |
| 14007 | _impl_._has_bits_[0] |= 0x00000020u; |
| 14008 | _impl_.double_value_ = value; |
| 14009 | } |
| 14010 | inline void UninterpretedOption::set_double_value(double value) { |
| 14011 | _internal_set_double_value(value); |
| 14012 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.double_value) |
| 14013 | } |
| 14014 | |
| 14015 | // optional bytes string_value = 7; |
| 14016 | inline bool UninterpretedOption::_internal_has_string_value() const { |
| 14017 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 14018 | return value; |
| 14019 | } |
| 14020 | inline bool UninterpretedOption::has_string_value() const { |
| 14021 | return _internal_has_string_value(); |
| 14022 | } |
| 14023 | inline void UninterpretedOption::clear_string_value() { |
| 14024 | _impl_.string_value_.ClearToEmpty(); |
| 14025 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 14026 | } |
| 14027 | inline const std::string& UninterpretedOption::string_value() const { |
| 14028 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.string_value) |
| 14029 | return _internal_string_value(); |
| 14030 | } |
| 14031 | template <typename ArgT0, typename... ArgT> |
| 14032 | inline PROTOBUF_ALWAYS_INLINE |
| 14033 | void UninterpretedOption::set_string_value(ArgT0&& arg0, ArgT... args) { |
| 14034 | _impl_._has_bits_[0] |= 0x00000002u; |
| 14035 | _impl_.string_value_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 14036 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.string_value) |
| 14037 | } |
| 14038 | inline std::string* UninterpretedOption::mutable_string_value() { |
| 14039 | std::string* _s = _internal_mutable_string_value(); |
| 14040 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.string_value) |
| 14041 | return _s; |
| 14042 | } |
| 14043 | inline const std::string& UninterpretedOption::_internal_string_value() const { |
| 14044 | return _impl_.string_value_.Get(); |
| 14045 | } |
| 14046 | inline void UninterpretedOption::_internal_set_string_value(const std::string& value) { |
| 14047 | _impl_._has_bits_[0] |= 0x00000002u; |
| 14048 | _impl_.string_value_.Set(value, arena: GetArenaForAllocation()); |
| 14049 | } |
| 14050 | inline std::string* UninterpretedOption::_internal_mutable_string_value() { |
| 14051 | _impl_._has_bits_[0] |= 0x00000002u; |
| 14052 | return _impl_.string_value_.Mutable(arena: GetArenaForAllocation()); |
| 14053 | } |
| 14054 | inline std::string* UninterpretedOption::release_string_value() { |
| 14055 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.string_value) |
| 14056 | if (!_internal_has_string_value()) { |
| 14057 | return nullptr; |
| 14058 | } |
| 14059 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 14060 | auto* p = _impl_.string_value_.Release(); |
| 14061 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14062 | if (_impl_.string_value_.IsDefault()) { |
| 14063 | _impl_.string_value_.Set("" , GetArenaForAllocation()); |
| 14064 | } |
| 14065 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14066 | return p; |
| 14067 | } |
| 14068 | inline void UninterpretedOption::set_allocated_string_value(std::string* string_value) { |
| 14069 | if (string_value != nullptr) { |
| 14070 | _impl_._has_bits_[0] |= 0x00000002u; |
| 14071 | } else { |
| 14072 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 14073 | } |
| 14074 | _impl_.string_value_.SetAllocated(value: string_value, arena: GetArenaForAllocation()); |
| 14075 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14076 | if (_impl_.string_value_.IsDefault()) { |
| 14077 | _impl_.string_value_.Set("" , GetArenaForAllocation()); |
| 14078 | } |
| 14079 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14080 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.string_value) |
| 14081 | } |
| 14082 | |
| 14083 | // optional string aggregate_value = 8; |
| 14084 | inline bool UninterpretedOption::_internal_has_aggregate_value() const { |
| 14085 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 14086 | return value; |
| 14087 | } |
| 14088 | inline bool UninterpretedOption::has_aggregate_value() const { |
| 14089 | return _internal_has_aggregate_value(); |
| 14090 | } |
| 14091 | inline void UninterpretedOption::clear_aggregate_value() { |
| 14092 | _impl_.aggregate_value_.ClearToEmpty(); |
| 14093 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 14094 | } |
| 14095 | inline const std::string& UninterpretedOption::aggregate_value() const { |
| 14096 | // @@protoc_insertion_point(field_get:google.protobuf.UninterpretedOption.aggregate_value) |
| 14097 | return _internal_aggregate_value(); |
| 14098 | } |
| 14099 | template <typename ArgT0, typename... ArgT> |
| 14100 | inline PROTOBUF_ALWAYS_INLINE |
| 14101 | void UninterpretedOption::set_aggregate_value(ArgT0&& arg0, ArgT... args) { |
| 14102 | _impl_._has_bits_[0] |= 0x00000004u; |
| 14103 | _impl_.aggregate_value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 14104 | // @@protoc_insertion_point(field_set:google.protobuf.UninterpretedOption.aggregate_value) |
| 14105 | } |
| 14106 | inline std::string* UninterpretedOption::mutable_aggregate_value() { |
| 14107 | std::string* _s = _internal_mutable_aggregate_value(); |
| 14108 | // @@protoc_insertion_point(field_mutable:google.protobuf.UninterpretedOption.aggregate_value) |
| 14109 | return _s; |
| 14110 | } |
| 14111 | inline const std::string& UninterpretedOption::_internal_aggregate_value() const { |
| 14112 | return _impl_.aggregate_value_.Get(); |
| 14113 | } |
| 14114 | inline void UninterpretedOption::_internal_set_aggregate_value(const std::string& value) { |
| 14115 | _impl_._has_bits_[0] |= 0x00000004u; |
| 14116 | _impl_.aggregate_value_.Set(value, arena: GetArenaForAllocation()); |
| 14117 | } |
| 14118 | inline std::string* UninterpretedOption::_internal_mutable_aggregate_value() { |
| 14119 | _impl_._has_bits_[0] |= 0x00000004u; |
| 14120 | return _impl_.aggregate_value_.Mutable(arena: GetArenaForAllocation()); |
| 14121 | } |
| 14122 | inline std::string* UninterpretedOption::release_aggregate_value() { |
| 14123 | // @@protoc_insertion_point(field_release:google.protobuf.UninterpretedOption.aggregate_value) |
| 14124 | if (!_internal_has_aggregate_value()) { |
| 14125 | return nullptr; |
| 14126 | } |
| 14127 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 14128 | auto* p = _impl_.aggregate_value_.Release(); |
| 14129 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14130 | if (_impl_.aggregate_value_.IsDefault()) { |
| 14131 | _impl_.aggregate_value_.Set("" , GetArenaForAllocation()); |
| 14132 | } |
| 14133 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14134 | return p; |
| 14135 | } |
| 14136 | inline void UninterpretedOption::set_allocated_aggregate_value(std::string* aggregate_value) { |
| 14137 | if (aggregate_value != nullptr) { |
| 14138 | _impl_._has_bits_[0] |= 0x00000004u; |
| 14139 | } else { |
| 14140 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 14141 | } |
| 14142 | _impl_.aggregate_value_.SetAllocated(value: aggregate_value, arena: GetArenaForAllocation()); |
| 14143 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14144 | if (_impl_.aggregate_value_.IsDefault()) { |
| 14145 | _impl_.aggregate_value_.Set("" , GetArenaForAllocation()); |
| 14146 | } |
| 14147 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14148 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.UninterpretedOption.aggregate_value) |
| 14149 | } |
| 14150 | |
| 14151 | // ------------------------------------------------------------------- |
| 14152 | |
| 14153 | // SourceCodeInfo_Location |
| 14154 | |
| 14155 | // repeated int32 path = 1 [packed = true]; |
| 14156 | inline int SourceCodeInfo_Location::_internal_path_size() const { |
| 14157 | return _impl_.path_.size(); |
| 14158 | } |
| 14159 | inline int SourceCodeInfo_Location::path_size() const { |
| 14160 | return _internal_path_size(); |
| 14161 | } |
| 14162 | inline void SourceCodeInfo_Location::clear_path() { |
| 14163 | _impl_.path_.Clear(); |
| 14164 | } |
| 14165 | inline int32_t SourceCodeInfo_Location::_internal_path(int index) const { |
| 14166 | return _impl_.path_.Get(index); |
| 14167 | } |
| 14168 | inline int32_t SourceCodeInfo_Location::path(int index) const { |
| 14169 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.path) |
| 14170 | return _internal_path(index); |
| 14171 | } |
| 14172 | inline void SourceCodeInfo_Location::set_path(int index, int32_t value) { |
| 14173 | _impl_.path_.Set(index, value); |
| 14174 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.path) |
| 14175 | } |
| 14176 | inline void SourceCodeInfo_Location::_internal_add_path(int32_t value) { |
| 14177 | _impl_.path_.Add(value); |
| 14178 | } |
| 14179 | inline void SourceCodeInfo_Location::add_path(int32_t value) { |
| 14180 | _internal_add_path(value); |
| 14181 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.path) |
| 14182 | } |
| 14183 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 14184 | SourceCodeInfo_Location::_internal_path() const { |
| 14185 | return _impl_.path_; |
| 14186 | } |
| 14187 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 14188 | SourceCodeInfo_Location::path() const { |
| 14189 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.path) |
| 14190 | return _internal_path(); |
| 14191 | } |
| 14192 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 14193 | SourceCodeInfo_Location::_internal_mutable_path() { |
| 14194 | return &_impl_.path_; |
| 14195 | } |
| 14196 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 14197 | SourceCodeInfo_Location::mutable_path() { |
| 14198 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.path) |
| 14199 | return _internal_mutable_path(); |
| 14200 | } |
| 14201 | |
| 14202 | // repeated int32 span = 2 [packed = true]; |
| 14203 | inline int SourceCodeInfo_Location::_internal_span_size() const { |
| 14204 | return _impl_.span_.size(); |
| 14205 | } |
| 14206 | inline int SourceCodeInfo_Location::span_size() const { |
| 14207 | return _internal_span_size(); |
| 14208 | } |
| 14209 | inline void SourceCodeInfo_Location::clear_span() { |
| 14210 | _impl_.span_.Clear(); |
| 14211 | } |
| 14212 | inline int32_t SourceCodeInfo_Location::_internal_span(int index) const { |
| 14213 | return _impl_.span_.Get(index); |
| 14214 | } |
| 14215 | inline int32_t SourceCodeInfo_Location::span(int index) const { |
| 14216 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.span) |
| 14217 | return _internal_span(index); |
| 14218 | } |
| 14219 | inline void SourceCodeInfo_Location::set_span(int index, int32_t value) { |
| 14220 | _impl_.span_.Set(index, value); |
| 14221 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.span) |
| 14222 | } |
| 14223 | inline void SourceCodeInfo_Location::_internal_add_span(int32_t value) { |
| 14224 | _impl_.span_.Add(value); |
| 14225 | } |
| 14226 | inline void SourceCodeInfo_Location::add_span(int32_t value) { |
| 14227 | _internal_add_span(value); |
| 14228 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.span) |
| 14229 | } |
| 14230 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 14231 | SourceCodeInfo_Location::_internal_span() const { |
| 14232 | return _impl_.span_; |
| 14233 | } |
| 14234 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 14235 | SourceCodeInfo_Location::span() const { |
| 14236 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.span) |
| 14237 | return _internal_span(); |
| 14238 | } |
| 14239 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 14240 | SourceCodeInfo_Location::_internal_mutable_span() { |
| 14241 | return &_impl_.span_; |
| 14242 | } |
| 14243 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 14244 | SourceCodeInfo_Location::mutable_span() { |
| 14245 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.span) |
| 14246 | return _internal_mutable_span(); |
| 14247 | } |
| 14248 | |
| 14249 | // optional string leading_comments = 3; |
| 14250 | inline bool SourceCodeInfo_Location::() const { |
| 14251 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 14252 | return value; |
| 14253 | } |
| 14254 | inline bool SourceCodeInfo_Location::() const { |
| 14255 | return _internal_has_leading_comments(); |
| 14256 | } |
| 14257 | inline void SourceCodeInfo_Location::() { |
| 14258 | _impl_.leading_comments_.ClearToEmpty(); |
| 14259 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 14260 | } |
| 14261 | inline const std::string& SourceCodeInfo_Location::() const { |
| 14262 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 14263 | return _internal_leading_comments(); |
| 14264 | } |
| 14265 | template <typename ArgT0, typename... ArgT> |
| 14266 | inline PROTOBUF_ALWAYS_INLINE |
| 14267 | void SourceCodeInfo_Location::(ArgT0&& arg0, ArgT... args) { |
| 14268 | _impl_._has_bits_[0] |= 0x00000001u; |
| 14269 | _impl_.leading_comments_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 14270 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 14271 | } |
| 14272 | inline std::string* SourceCodeInfo_Location::() { |
| 14273 | std::string* _s = _internal_mutable_leading_comments(); |
| 14274 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 14275 | return _s; |
| 14276 | } |
| 14277 | inline const std::string& SourceCodeInfo_Location::() const { |
| 14278 | return _impl_.leading_comments_.Get(); |
| 14279 | } |
| 14280 | inline void SourceCodeInfo_Location::(const std::string& value) { |
| 14281 | _impl_._has_bits_[0] |= 0x00000001u; |
| 14282 | _impl_.leading_comments_.Set(value, arena: GetArenaForAllocation()); |
| 14283 | } |
| 14284 | inline std::string* SourceCodeInfo_Location::() { |
| 14285 | _impl_._has_bits_[0] |= 0x00000001u; |
| 14286 | return _impl_.leading_comments_.Mutable(arena: GetArenaForAllocation()); |
| 14287 | } |
| 14288 | inline std::string* SourceCodeInfo_Location::() { |
| 14289 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 14290 | if (!_internal_has_leading_comments()) { |
| 14291 | return nullptr; |
| 14292 | } |
| 14293 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 14294 | auto* p = _impl_.leading_comments_.Release(); |
| 14295 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14296 | if (_impl_.leading_comments_.IsDefault()) { |
| 14297 | _impl_.leading_comments_.Set("" , GetArenaForAllocation()); |
| 14298 | } |
| 14299 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14300 | return p; |
| 14301 | } |
| 14302 | inline void SourceCodeInfo_Location::(std::string* ) { |
| 14303 | if (leading_comments != nullptr) { |
| 14304 | _impl_._has_bits_[0] |= 0x00000001u; |
| 14305 | } else { |
| 14306 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 14307 | } |
| 14308 | _impl_.leading_comments_.SetAllocated(value: leading_comments, arena: GetArenaForAllocation()); |
| 14309 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14310 | if (_impl_.leading_comments_.IsDefault()) { |
| 14311 | _impl_.leading_comments_.Set("" , GetArenaForAllocation()); |
| 14312 | } |
| 14313 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14314 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.leading_comments) |
| 14315 | } |
| 14316 | |
| 14317 | // optional string trailing_comments = 4; |
| 14318 | inline bool SourceCodeInfo_Location::() const { |
| 14319 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 14320 | return value; |
| 14321 | } |
| 14322 | inline bool SourceCodeInfo_Location::() const { |
| 14323 | return _internal_has_trailing_comments(); |
| 14324 | } |
| 14325 | inline void SourceCodeInfo_Location::() { |
| 14326 | _impl_.trailing_comments_.ClearToEmpty(); |
| 14327 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 14328 | } |
| 14329 | inline const std::string& SourceCodeInfo_Location::() const { |
| 14330 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 14331 | return _internal_trailing_comments(); |
| 14332 | } |
| 14333 | template <typename ArgT0, typename... ArgT> |
| 14334 | inline PROTOBUF_ALWAYS_INLINE |
| 14335 | void SourceCodeInfo_Location::(ArgT0&& arg0, ArgT... args) { |
| 14336 | _impl_._has_bits_[0] |= 0x00000002u; |
| 14337 | _impl_.trailing_comments_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 14338 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 14339 | } |
| 14340 | inline std::string* SourceCodeInfo_Location::() { |
| 14341 | std::string* _s = _internal_mutable_trailing_comments(); |
| 14342 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 14343 | return _s; |
| 14344 | } |
| 14345 | inline const std::string& SourceCodeInfo_Location::() const { |
| 14346 | return _impl_.trailing_comments_.Get(); |
| 14347 | } |
| 14348 | inline void SourceCodeInfo_Location::(const std::string& value) { |
| 14349 | _impl_._has_bits_[0] |= 0x00000002u; |
| 14350 | _impl_.trailing_comments_.Set(value, arena: GetArenaForAllocation()); |
| 14351 | } |
| 14352 | inline std::string* SourceCodeInfo_Location::() { |
| 14353 | _impl_._has_bits_[0] |= 0x00000002u; |
| 14354 | return _impl_.trailing_comments_.Mutable(arena: GetArenaForAllocation()); |
| 14355 | } |
| 14356 | inline std::string* SourceCodeInfo_Location::() { |
| 14357 | // @@protoc_insertion_point(field_release:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 14358 | if (!_internal_has_trailing_comments()) { |
| 14359 | return nullptr; |
| 14360 | } |
| 14361 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 14362 | auto* p = _impl_.trailing_comments_.Release(); |
| 14363 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14364 | if (_impl_.trailing_comments_.IsDefault()) { |
| 14365 | _impl_.trailing_comments_.Set("" , GetArenaForAllocation()); |
| 14366 | } |
| 14367 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14368 | return p; |
| 14369 | } |
| 14370 | inline void SourceCodeInfo_Location::(std::string* ) { |
| 14371 | if (trailing_comments != nullptr) { |
| 14372 | _impl_._has_bits_[0] |= 0x00000002u; |
| 14373 | } else { |
| 14374 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 14375 | } |
| 14376 | _impl_.trailing_comments_.SetAllocated(value: trailing_comments, arena: GetArenaForAllocation()); |
| 14377 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14378 | if (_impl_.trailing_comments_.IsDefault()) { |
| 14379 | _impl_.trailing_comments_.Set("" , GetArenaForAllocation()); |
| 14380 | } |
| 14381 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14382 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.SourceCodeInfo.Location.trailing_comments) |
| 14383 | } |
| 14384 | |
| 14385 | // repeated string leading_detached_comments = 6; |
| 14386 | inline int SourceCodeInfo_Location::() const { |
| 14387 | return _impl_.leading_detached_comments_.size(); |
| 14388 | } |
| 14389 | inline int SourceCodeInfo_Location::() const { |
| 14390 | return _internal_leading_detached_comments_size(); |
| 14391 | } |
| 14392 | inline void SourceCodeInfo_Location::() { |
| 14393 | _impl_.leading_detached_comments_.Clear(); |
| 14394 | } |
| 14395 | inline std::string* SourceCodeInfo_Location::() { |
| 14396 | std::string* _s = _internal_add_leading_detached_comments(); |
| 14397 | // @@protoc_insertion_point(field_add_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14398 | return _s; |
| 14399 | } |
| 14400 | inline const std::string& SourceCodeInfo_Location::(int index) const { |
| 14401 | return _impl_.leading_detached_comments_.Get(index); |
| 14402 | } |
| 14403 | inline const std::string& SourceCodeInfo_Location::(int index) const { |
| 14404 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14405 | return _internal_leading_detached_comments(index); |
| 14406 | } |
| 14407 | inline std::string* SourceCodeInfo_Location::(int index) { |
| 14408 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14409 | return _impl_.leading_detached_comments_.Mutable(index); |
| 14410 | } |
| 14411 | inline void SourceCodeInfo_Location::(int index, const std::string& value) { |
| 14412 | _impl_.leading_detached_comments_.Mutable(index)->assign(str: value); |
| 14413 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14414 | } |
| 14415 | inline void SourceCodeInfo_Location::(int index, std::string&& value) { |
| 14416 | _impl_.leading_detached_comments_.Mutable(index)->assign(str: std::move(value)); |
| 14417 | // @@protoc_insertion_point(field_set:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14418 | } |
| 14419 | inline void SourceCodeInfo_Location::(int index, const char* value) { |
| 14420 | GOOGLE_DCHECK(value != nullptr); |
| 14421 | _impl_.leading_detached_comments_.Mutable(index)->assign(s: value); |
| 14422 | // @@protoc_insertion_point(field_set_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14423 | } |
| 14424 | inline void SourceCodeInfo_Location::(int index, const char* value, size_t size) { |
| 14425 | _impl_.leading_detached_comments_.Mutable(index)->assign( |
| 14426 | s: reinterpret_cast<const char*>(value), n: size); |
| 14427 | // @@protoc_insertion_point(field_set_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14428 | } |
| 14429 | inline std::string* SourceCodeInfo_Location::() { |
| 14430 | return _impl_.leading_detached_comments_.Add(); |
| 14431 | } |
| 14432 | inline void SourceCodeInfo_Location::(const std::string& value) { |
| 14433 | _impl_.leading_detached_comments_.Add()->assign(str: value); |
| 14434 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14435 | } |
| 14436 | inline void SourceCodeInfo_Location::(std::string&& value) { |
| 14437 | _impl_.leading_detached_comments_.Add(value: std::move(value)); |
| 14438 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14439 | } |
| 14440 | inline void SourceCodeInfo_Location::(const char* value) { |
| 14441 | GOOGLE_DCHECK(value != nullptr); |
| 14442 | _impl_.leading_detached_comments_.Add()->assign(s: value); |
| 14443 | // @@protoc_insertion_point(field_add_char:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14444 | } |
| 14445 | inline void SourceCodeInfo_Location::(const char* value, size_t size) { |
| 14446 | _impl_.leading_detached_comments_.Add()->assign(s: reinterpret_cast<const char*>(value), n: size); |
| 14447 | // @@protoc_insertion_point(field_add_pointer:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14448 | } |
| 14449 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
| 14450 | SourceCodeInfo_Location::() const { |
| 14451 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14452 | return _impl_.leading_detached_comments_; |
| 14453 | } |
| 14454 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
| 14455 | SourceCodeInfo_Location::() { |
| 14456 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.Location.leading_detached_comments) |
| 14457 | return &_impl_.leading_detached_comments_; |
| 14458 | } |
| 14459 | |
| 14460 | // ------------------------------------------------------------------- |
| 14461 | |
| 14462 | // SourceCodeInfo |
| 14463 | |
| 14464 | // repeated .google.protobuf.SourceCodeInfo.Location location = 1; |
| 14465 | inline int SourceCodeInfo::_internal_location_size() const { |
| 14466 | return _impl_.location_.size(); |
| 14467 | } |
| 14468 | inline int SourceCodeInfo::location_size() const { |
| 14469 | return _internal_location_size(); |
| 14470 | } |
| 14471 | inline void SourceCodeInfo::clear_location() { |
| 14472 | _impl_.location_.Clear(); |
| 14473 | } |
| 14474 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::mutable_location(int index) { |
| 14475 | // @@protoc_insertion_point(field_mutable:google.protobuf.SourceCodeInfo.location) |
| 14476 | return _impl_.location_.Mutable(index); |
| 14477 | } |
| 14478 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >* |
| 14479 | SourceCodeInfo::mutable_location() { |
| 14480 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.SourceCodeInfo.location) |
| 14481 | return &_impl_.location_; |
| 14482 | } |
| 14483 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::_internal_location(int index) const { |
| 14484 | return _impl_.location_.Get(index); |
| 14485 | } |
| 14486 | inline const ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location& SourceCodeInfo::location(int index) const { |
| 14487 | // @@protoc_insertion_point(field_get:google.protobuf.SourceCodeInfo.location) |
| 14488 | return _internal_location(index); |
| 14489 | } |
| 14490 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::_internal_add_location() { |
| 14491 | return _impl_.location_.Add(); |
| 14492 | } |
| 14493 | inline ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* SourceCodeInfo::add_location() { |
| 14494 | ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location* _add = _internal_add_location(); |
| 14495 | // @@protoc_insertion_point(field_add:google.protobuf.SourceCodeInfo.location) |
| 14496 | return _add; |
| 14497 | } |
| 14498 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::SourceCodeInfo_Location >& |
| 14499 | SourceCodeInfo::location() const { |
| 14500 | // @@protoc_insertion_point(field_list:google.protobuf.SourceCodeInfo.location) |
| 14501 | return _impl_.location_; |
| 14502 | } |
| 14503 | |
| 14504 | // ------------------------------------------------------------------- |
| 14505 | |
| 14506 | // GeneratedCodeInfo_Annotation |
| 14507 | |
| 14508 | // repeated int32 path = 1 [packed = true]; |
| 14509 | inline int GeneratedCodeInfo_Annotation::_internal_path_size() const { |
| 14510 | return _impl_.path_.size(); |
| 14511 | } |
| 14512 | inline int GeneratedCodeInfo_Annotation::path_size() const { |
| 14513 | return _internal_path_size(); |
| 14514 | } |
| 14515 | inline void GeneratedCodeInfo_Annotation::clear_path() { |
| 14516 | _impl_.path_.Clear(); |
| 14517 | } |
| 14518 | inline int32_t GeneratedCodeInfo_Annotation::_internal_path(int index) const { |
| 14519 | return _impl_.path_.Get(index); |
| 14520 | } |
| 14521 | inline int32_t GeneratedCodeInfo_Annotation::path(int index) const { |
| 14522 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 14523 | return _internal_path(index); |
| 14524 | } |
| 14525 | inline void GeneratedCodeInfo_Annotation::set_path(int index, int32_t value) { |
| 14526 | _impl_.path_.Set(index, value); |
| 14527 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 14528 | } |
| 14529 | inline void GeneratedCodeInfo_Annotation::_internal_add_path(int32_t value) { |
| 14530 | _impl_.path_.Add(value); |
| 14531 | } |
| 14532 | inline void GeneratedCodeInfo_Annotation::add_path(int32_t value) { |
| 14533 | _internal_add_path(value); |
| 14534 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 14535 | } |
| 14536 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 14537 | GeneratedCodeInfo_Annotation::_internal_path() const { |
| 14538 | return _impl_.path_; |
| 14539 | } |
| 14540 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >& |
| 14541 | GeneratedCodeInfo_Annotation::path() const { |
| 14542 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 14543 | return _internal_path(); |
| 14544 | } |
| 14545 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 14546 | GeneratedCodeInfo_Annotation::_internal_mutable_path() { |
| 14547 | return &_impl_.path_; |
| 14548 | } |
| 14549 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >* |
| 14550 | GeneratedCodeInfo_Annotation::mutable_path() { |
| 14551 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.Annotation.path) |
| 14552 | return _internal_mutable_path(); |
| 14553 | } |
| 14554 | |
| 14555 | // optional string source_file = 2; |
| 14556 | inline bool GeneratedCodeInfo_Annotation::_internal_has_source_file() const { |
| 14557 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
| 14558 | return value; |
| 14559 | } |
| 14560 | inline bool GeneratedCodeInfo_Annotation::has_source_file() const { |
| 14561 | return _internal_has_source_file(); |
| 14562 | } |
| 14563 | inline void GeneratedCodeInfo_Annotation::clear_source_file() { |
| 14564 | _impl_.source_file_.ClearToEmpty(); |
| 14565 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 14566 | } |
| 14567 | inline const std::string& GeneratedCodeInfo_Annotation::source_file() const { |
| 14568 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 14569 | return _internal_source_file(); |
| 14570 | } |
| 14571 | template <typename ArgT0, typename... ArgT> |
| 14572 | inline PROTOBUF_ALWAYS_INLINE |
| 14573 | void GeneratedCodeInfo_Annotation::set_source_file(ArgT0&& arg0, ArgT... args) { |
| 14574 | _impl_._has_bits_[0] |= 0x00000001u; |
| 14575 | _impl_.source_file_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
| 14576 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 14577 | } |
| 14578 | inline std::string* GeneratedCodeInfo_Annotation::mutable_source_file() { |
| 14579 | std::string* _s = _internal_mutable_source_file(); |
| 14580 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 14581 | return _s; |
| 14582 | } |
| 14583 | inline const std::string& GeneratedCodeInfo_Annotation::_internal_source_file() const { |
| 14584 | return _impl_.source_file_.Get(); |
| 14585 | } |
| 14586 | inline void GeneratedCodeInfo_Annotation::_internal_set_source_file(const std::string& value) { |
| 14587 | _impl_._has_bits_[0] |= 0x00000001u; |
| 14588 | _impl_.source_file_.Set(value, arena: GetArenaForAllocation()); |
| 14589 | } |
| 14590 | inline std::string* GeneratedCodeInfo_Annotation::_internal_mutable_source_file() { |
| 14591 | _impl_._has_bits_[0] |= 0x00000001u; |
| 14592 | return _impl_.source_file_.Mutable(arena: GetArenaForAllocation()); |
| 14593 | } |
| 14594 | inline std::string* GeneratedCodeInfo_Annotation::release_source_file() { |
| 14595 | // @@protoc_insertion_point(field_release:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 14596 | if (!_internal_has_source_file()) { |
| 14597 | return nullptr; |
| 14598 | } |
| 14599 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 14600 | auto* p = _impl_.source_file_.Release(); |
| 14601 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14602 | if (_impl_.source_file_.IsDefault()) { |
| 14603 | _impl_.source_file_.Set("" , GetArenaForAllocation()); |
| 14604 | } |
| 14605 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14606 | return p; |
| 14607 | } |
| 14608 | inline void GeneratedCodeInfo_Annotation::set_allocated_source_file(std::string* source_file) { |
| 14609 | if (source_file != nullptr) { |
| 14610 | _impl_._has_bits_[0] |= 0x00000001u; |
| 14611 | } else { |
| 14612 | _impl_._has_bits_[0] &= ~0x00000001u; |
| 14613 | } |
| 14614 | _impl_.source_file_.SetAllocated(value: source_file, arena: GetArenaForAllocation()); |
| 14615 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14616 | if (_impl_.source_file_.IsDefault()) { |
| 14617 | _impl_.source_file_.Set("" , GetArenaForAllocation()); |
| 14618 | } |
| 14619 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
| 14620 | // @@protoc_insertion_point(field_set_allocated:google.protobuf.GeneratedCodeInfo.Annotation.source_file) |
| 14621 | } |
| 14622 | |
| 14623 | // optional int32 begin = 3; |
| 14624 | inline bool GeneratedCodeInfo_Annotation::_internal_has_begin() const { |
| 14625 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
| 14626 | return value; |
| 14627 | } |
| 14628 | inline bool GeneratedCodeInfo_Annotation::has_begin() const { |
| 14629 | return _internal_has_begin(); |
| 14630 | } |
| 14631 | inline void GeneratedCodeInfo_Annotation::clear_begin() { |
| 14632 | _impl_.begin_ = 0; |
| 14633 | _impl_._has_bits_[0] &= ~0x00000002u; |
| 14634 | } |
| 14635 | inline int32_t GeneratedCodeInfo_Annotation::_internal_begin() const { |
| 14636 | return _impl_.begin_; |
| 14637 | } |
| 14638 | inline int32_t GeneratedCodeInfo_Annotation::begin() const { |
| 14639 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
| 14640 | return _internal_begin(); |
| 14641 | } |
| 14642 | inline void GeneratedCodeInfo_Annotation::_internal_set_begin(int32_t value) { |
| 14643 | _impl_._has_bits_[0] |= 0x00000002u; |
| 14644 | _impl_.begin_ = value; |
| 14645 | } |
| 14646 | inline void GeneratedCodeInfo_Annotation::set_begin(int32_t value) { |
| 14647 | _internal_set_begin(value); |
| 14648 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.begin) |
| 14649 | } |
| 14650 | |
| 14651 | // optional int32 end = 4; |
| 14652 | inline bool GeneratedCodeInfo_Annotation::_internal_has_end() const { |
| 14653 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
| 14654 | return value; |
| 14655 | } |
| 14656 | inline bool GeneratedCodeInfo_Annotation::has_end() const { |
| 14657 | return _internal_has_end(); |
| 14658 | } |
| 14659 | inline void GeneratedCodeInfo_Annotation::clear_end() { |
| 14660 | _impl_.end_ = 0; |
| 14661 | _impl_._has_bits_[0] &= ~0x00000004u; |
| 14662 | } |
| 14663 | inline int32_t GeneratedCodeInfo_Annotation::_internal_end() const { |
| 14664 | return _impl_.end_; |
| 14665 | } |
| 14666 | inline int32_t GeneratedCodeInfo_Annotation::end() const { |
| 14667 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.Annotation.end) |
| 14668 | return _internal_end(); |
| 14669 | } |
| 14670 | inline void GeneratedCodeInfo_Annotation::_internal_set_end(int32_t value) { |
| 14671 | _impl_._has_bits_[0] |= 0x00000004u; |
| 14672 | _impl_.end_ = value; |
| 14673 | } |
| 14674 | inline void GeneratedCodeInfo_Annotation::set_end(int32_t value) { |
| 14675 | _internal_set_end(value); |
| 14676 | // @@protoc_insertion_point(field_set:google.protobuf.GeneratedCodeInfo.Annotation.end) |
| 14677 | } |
| 14678 | |
| 14679 | // ------------------------------------------------------------------- |
| 14680 | |
| 14681 | // GeneratedCodeInfo |
| 14682 | |
| 14683 | // repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1; |
| 14684 | inline int GeneratedCodeInfo::_internal_annotation_size() const { |
| 14685 | return _impl_.annotation_.size(); |
| 14686 | } |
| 14687 | inline int GeneratedCodeInfo::annotation_size() const { |
| 14688 | return _internal_annotation_size(); |
| 14689 | } |
| 14690 | inline void GeneratedCodeInfo::clear_annotation() { |
| 14691 | _impl_.annotation_.Clear(); |
| 14692 | } |
| 14693 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::mutable_annotation(int index) { |
| 14694 | // @@protoc_insertion_point(field_mutable:google.protobuf.GeneratedCodeInfo.annotation) |
| 14695 | return _impl_.annotation_.Mutable(index); |
| 14696 | } |
| 14697 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >* |
| 14698 | GeneratedCodeInfo::mutable_annotation() { |
| 14699 | // @@protoc_insertion_point(field_mutable_list:google.protobuf.GeneratedCodeInfo.annotation) |
| 14700 | return &_impl_.annotation_; |
| 14701 | } |
| 14702 | inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::_internal_annotation(int index) const { |
| 14703 | return _impl_.annotation_.Get(index); |
| 14704 | } |
| 14705 | inline const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation& GeneratedCodeInfo::annotation(int index) const { |
| 14706 | // @@protoc_insertion_point(field_get:google.protobuf.GeneratedCodeInfo.annotation) |
| 14707 | return _internal_annotation(index); |
| 14708 | } |
| 14709 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::_internal_add_annotation() { |
| 14710 | return _impl_.annotation_.Add(); |
| 14711 | } |
| 14712 | inline ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* GeneratedCodeInfo::add_annotation() { |
| 14713 | ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation* _add = _internal_add_annotation(); |
| 14714 | // @@protoc_insertion_point(field_add:google.protobuf.GeneratedCodeInfo.annotation) |
| 14715 | return _add; |
| 14716 | } |
| 14717 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo_Annotation >& |
| 14718 | GeneratedCodeInfo::annotation() const { |
| 14719 | // @@protoc_insertion_point(field_list:google.protobuf.GeneratedCodeInfo.annotation) |
| 14720 | return _impl_.annotation_; |
| 14721 | } |
| 14722 | |
| 14723 | #ifdef __GNUC__ |
| 14724 | #pragma GCC diagnostic pop |
| 14725 | #endif // __GNUC__ |
| 14726 | // ------------------------------------------------------------------- |
| 14727 | |
| 14728 | // ------------------------------------------------------------------- |
| 14729 | |
| 14730 | // ------------------------------------------------------------------- |
| 14731 | |
| 14732 | // ------------------------------------------------------------------- |
| 14733 | |
| 14734 | // ------------------------------------------------------------------- |
| 14735 | |
| 14736 | // ------------------------------------------------------------------- |
| 14737 | |
| 14738 | // ------------------------------------------------------------------- |
| 14739 | |
| 14740 | // ------------------------------------------------------------------- |
| 14741 | |
| 14742 | // ------------------------------------------------------------------- |
| 14743 | |
| 14744 | // ------------------------------------------------------------------- |
| 14745 | |
| 14746 | // ------------------------------------------------------------------- |
| 14747 | |
| 14748 | // ------------------------------------------------------------------- |
| 14749 | |
| 14750 | // ------------------------------------------------------------------- |
| 14751 | |
| 14752 | // ------------------------------------------------------------------- |
| 14753 | |
| 14754 | // ------------------------------------------------------------------- |
| 14755 | |
| 14756 | // ------------------------------------------------------------------- |
| 14757 | |
| 14758 | // ------------------------------------------------------------------- |
| 14759 | |
| 14760 | // ------------------------------------------------------------------- |
| 14761 | |
| 14762 | // ------------------------------------------------------------------- |
| 14763 | |
| 14764 | // ------------------------------------------------------------------- |
| 14765 | |
| 14766 | // ------------------------------------------------------------------- |
| 14767 | |
| 14768 | // ------------------------------------------------------------------- |
| 14769 | |
| 14770 | // ------------------------------------------------------------------- |
| 14771 | |
| 14772 | // ------------------------------------------------------------------- |
| 14773 | |
| 14774 | // ------------------------------------------------------------------- |
| 14775 | |
| 14776 | // ------------------------------------------------------------------- |
| 14777 | |
| 14778 | |
| 14779 | // @@protoc_insertion_point(namespace_scope) |
| 14780 | |
| 14781 | PROTOBUF_NAMESPACE_CLOSE |
| 14782 | |
| 14783 | PROTOBUF_NAMESPACE_OPEN |
| 14784 | |
| 14785 | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type> : ::std::true_type {}; |
| 14786 | template <> |
| 14787 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type>() { |
| 14788 | return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Type_descriptor(); |
| 14789 | } |
| 14790 | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label> : ::std::true_type {}; |
| 14791 | template <> |
| 14792 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label>() { |
| 14793 | return ::PROTOBUF_NAMESPACE_ID::FieldDescriptorProto_Label_descriptor(); |
| 14794 | } |
| 14795 | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode> : ::std::true_type {}; |
| 14796 | template <> |
| 14797 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode>() { |
| 14798 | return ::PROTOBUF_NAMESPACE_ID::FileOptions_OptimizeMode_descriptor(); |
| 14799 | } |
| 14800 | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType> : ::std::true_type {}; |
| 14801 | template <> |
| 14802 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType>() { |
| 14803 | return ::PROTOBUF_NAMESPACE_ID::FieldOptions_CType_descriptor(); |
| 14804 | } |
| 14805 | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType> : ::std::true_type {}; |
| 14806 | template <> |
| 14807 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType>() { |
| 14808 | return ::PROTOBUF_NAMESPACE_ID::FieldOptions_JSType_descriptor(); |
| 14809 | } |
| 14810 | template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel> : ::std::true_type {}; |
| 14811 | template <> |
| 14812 | inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel>() { |
| 14813 | return ::PROTOBUF_NAMESPACE_ID::MethodOptions_IdempotencyLevel_descriptor(); |
| 14814 | } |
| 14815 | |
| 14816 | PROTOBUF_NAMESPACE_CLOSE |
| 14817 | |
| 14818 | // @@protoc_insertion_point(global_scope) |
| 14819 | |
| 14820 | #include <google/protobuf/port_undef.inc> |
| 14821 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto |
| 14822 | |