1<?php 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: google/protobuf/descriptor.proto 4 5namespace GPBMetadata\Google\Protobuf\Internal; 6 7class Descriptor 8{ 9 public static $is_initialized = false; 10 11 public static function initOnce() { 12 $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); 13 14 if (static::$is_initialized == true) { 15 return; 16 } 17 $pool->addMessage('google.protobuf.internal.FileDescriptorSet', \Google\Protobuf\Internal\FileDescriptorSet::class) 18 ->repeated('file', \Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.FileDescriptorProto') 19 ->finalizeToPool(); 20 21 $pool->addMessage('google.protobuf.internal.FileDescriptorProto', \Google\Protobuf\Internal\FileDescriptorProto::class) 22 ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) 23 ->optional('package', \Google\Protobuf\Internal\GPBType::STRING, 2) 24 ->repeated('dependency', \Google\Protobuf\Internal\GPBType::STRING, 3) 25 ->repeated('public_dependency', \Google\Protobuf\Internal\GPBType::INT32, 10) 26 ->repeated('weak_dependency', \Google\Protobuf\Internal\GPBType::INT32, 11) 27 ->repeated('message_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.DescriptorProto') 28 ->repeated('enum_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.EnumDescriptorProto') 29 ->repeated('service', \Google\Protobuf\Internal\GPBType::MESSAGE, 6, 'google.protobuf.internal.ServiceDescriptorProto') 30 ->repeated('extension', \Google\Protobuf\Internal\GPBType::MESSAGE, 7, 'google.protobuf.internal.FieldDescriptorProto') 31 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.FileOptions') 32 ->optional('source_code_info', \Google\Protobuf\Internal\GPBType::MESSAGE, 9, 'google.protobuf.internal.SourceCodeInfo') 33 ->optional('syntax', \Google\Protobuf\Internal\GPBType::STRING, 12) 34 ->finalizeToPool(); 35 36 $pool->addMessage('google.protobuf.internal.DescriptorProto', \Google\Protobuf\Internal\DescriptorProto::class) 37 ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) 38 ->repeated('field', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.FieldDescriptorProto') 39 ->repeated('extension', \Google\Protobuf\Internal\GPBType::MESSAGE, 6, 'google.protobuf.internal.FieldDescriptorProto') 40 ->repeated('nested_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.DescriptorProto') 41 ->repeated('enum_type', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto') 42 ->repeated('extension_range', \Google\Protobuf\Internal\GPBType::MESSAGE, 5, 'google.protobuf.internal.DescriptorProto.ExtensionRange') 43 ->repeated('oneof_decl', \Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.OneofDescriptorProto') 44 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 7, 'google.protobuf.internal.MessageOptions') 45 ->repeated('reserved_range', \Google\Protobuf\Internal\GPBType::MESSAGE, 9, 'google.protobuf.internal.DescriptorProto.ReservedRange') 46 ->repeated('reserved_name', \Google\Protobuf\Internal\GPBType::STRING, 10) 47 ->finalizeToPool(); 48 49 $pool->addMessage('google.protobuf.internal.DescriptorProto.ExtensionRange', \Google\Protobuf\Internal\DescriptorProto\ExtensionRange::class) 50 ->optional('start', \Google\Protobuf\Internal\GPBType::INT32, 1) 51 ->optional('end', \Google\Protobuf\Internal\GPBType::INT32, 2) 52 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.ExtensionRangeOptions') 53 ->finalizeToPool(); 54 55 $pool->addMessage('google.protobuf.internal.DescriptorProto.ReservedRange', \Google\Protobuf\Internal\DescriptorProto\ReservedRange::class) 56 ->optional('start', \Google\Protobuf\Internal\GPBType::INT32, 1) 57 ->optional('end', \Google\Protobuf\Internal\GPBType::INT32, 2) 58 ->finalizeToPool(); 59 60 $pool->addMessage('google.protobuf.internal.ExtensionRangeOptions', \Google\Protobuf\Internal\ExtensionRangeOptions::class) 61 ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') 62 ->finalizeToPool(); 63 64 $pool->addMessage('google.protobuf.internal.FieldDescriptorProto', \Google\Protobuf\Internal\FieldDescriptorProto::class) 65 ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) 66 ->optional('number', \Google\Protobuf\Internal\GPBType::INT32, 3) 67 ->optional('label', \Google\Protobuf\Internal\GPBType::ENUM, 4, 'google.protobuf.internal.FieldDescriptorProto.Label') 68 ->optional('type', \Google\Protobuf\Internal\GPBType::ENUM, 5, 'google.protobuf.internal.FieldDescriptorProto.Type') 69 ->optional('type_name', \Google\Protobuf\Internal\GPBType::STRING, 6) 70 ->optional('extendee', \Google\Protobuf\Internal\GPBType::STRING, 2) 71 ->optional('default_value', \Google\Protobuf\Internal\GPBType::STRING, 7) 72 ->optional('oneof_index', \Google\Protobuf\Internal\GPBType::INT32, 9) 73 ->optional('json_name', \Google\Protobuf\Internal\GPBType::STRING, 10) 74 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 8, 'google.protobuf.internal.FieldOptions') 75 ->finalizeToPool(); 76 77 $pool->addEnum('google.protobuf.internal.FieldDescriptorProto.Type', \Google\Protobuf\Internal\Type::class) 78 ->value("TYPE_DOUBLE", 1) 79 ->value("TYPE_FLOAT", 2) 80 ->value("TYPE_INT64", 3) 81 ->value("TYPE_UINT64", 4) 82 ->value("TYPE_INT32", 5) 83 ->value("TYPE_FIXED64", 6) 84 ->value("TYPE_FIXED32", 7) 85 ->value("TYPE_BOOL", 8) 86 ->value("TYPE_STRING", 9) 87 ->value("TYPE_GROUP", 10) 88 ->value("TYPE_MESSAGE", 11) 89 ->value("TYPE_BYTES", 12) 90 ->value("TYPE_UINT32", 13) 91 ->value("TYPE_ENUM", 14) 92 ->value("TYPE_SFIXED32", 15) 93 ->value("TYPE_SFIXED64", 16) 94 ->value("TYPE_SINT32", 17) 95 ->value("TYPE_SINT64", 18) 96 ->finalizeToPool(); 97 98 $pool->addEnum('google.protobuf.internal.FieldDescriptorProto.Label', \Google\Protobuf\Internal\Label::class) 99 ->value("LABEL_OPTIONAL", 1) 100 ->value("LABEL_REQUIRED", 2) 101 ->value("LABEL_REPEATED", 3) 102 ->finalizeToPool(); 103 104 $pool->addMessage('google.protobuf.internal.OneofDescriptorProto', \Google\Protobuf\Internal\OneofDescriptorProto::class) 105 ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) 106 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.OneofOptions') 107 ->finalizeToPool(); 108 109 $pool->addMessage('google.protobuf.internal.EnumDescriptorProto', \Google\Protobuf\Internal\EnumDescriptorProto::class) 110 ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) 111 ->repeated('value', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.EnumValueDescriptorProto') 112 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.EnumOptions') 113 ->repeated('reserved_range', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.EnumDescriptorProto.EnumReservedRange') 114 ->repeated('reserved_name', \Google\Protobuf\Internal\GPBType::STRING, 5) 115 ->finalizeToPool(); 116 117 $pool->addMessage('google.protobuf.internal.EnumDescriptorProto.EnumReservedRange', \Google\Protobuf\Internal\EnumDescriptorProto\EnumReservedRange::class) 118 ->optional('start', \Google\Protobuf\Internal\GPBType::INT32, 1) 119 ->optional('end', \Google\Protobuf\Internal\GPBType::INT32, 2) 120 ->finalizeToPool(); 121 122 $pool->addMessage('google.protobuf.internal.EnumValueDescriptorProto', \Google\Protobuf\Internal\EnumValueDescriptorProto::class) 123 ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) 124 ->optional('number', \Google\Protobuf\Internal\GPBType::INT32, 2) 125 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.EnumValueOptions') 126 ->finalizeToPool(); 127 128 $pool->addMessage('google.protobuf.internal.ServiceDescriptorProto', \Google\Protobuf\Internal\ServiceDescriptorProto::class) 129 ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) 130 ->repeated('method', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.MethodDescriptorProto') 131 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 3, 'google.protobuf.internal.ServiceOptions') 132 ->finalizeToPool(); 133 134 $pool->addMessage('google.protobuf.internal.MethodDescriptorProto', \Google\Protobuf\Internal\MethodDescriptorProto::class) 135 ->optional('name', \Google\Protobuf\Internal\GPBType::STRING, 1) 136 ->optional('input_type', \Google\Protobuf\Internal\GPBType::STRING, 2) 137 ->optional('output_type', \Google\Protobuf\Internal\GPBType::STRING, 3) 138 ->optional('options', \Google\Protobuf\Internal\GPBType::MESSAGE, 4, 'google.protobuf.internal.MethodOptions') 139 ->optional('client_streaming', \Google\Protobuf\Internal\GPBType::BOOL, 5) 140 ->optional('server_streaming', \Google\Protobuf\Internal\GPBType::BOOL, 6) 141 ->finalizeToPool(); 142 143 $pool->addMessage('google.protobuf.internal.FileOptions', \Google\Protobuf\Internal\FileOptions::class) 144 ->optional('java_package', \Google\Protobuf\Internal\GPBType::STRING, 1) 145 ->optional('java_outer_classname', \Google\Protobuf\Internal\GPBType::STRING, 8) 146 ->optional('java_multiple_files', \Google\Protobuf\Internal\GPBType::BOOL, 10) 147 ->optional('java_generate_equals_and_hash', \Google\Protobuf\Internal\GPBType::BOOL, 20) 148 ->optional('java_string_check_utf8', \Google\Protobuf\Internal\GPBType::BOOL, 27) 149 ->optional('optimize_for', \Google\Protobuf\Internal\GPBType::ENUM, 9, 'google.protobuf.internal.FileOptions.OptimizeMode') 150 ->optional('go_package', \Google\Protobuf\Internal\GPBType::STRING, 11) 151 ->optional('cc_generic_services', \Google\Protobuf\Internal\GPBType::BOOL, 16) 152 ->optional('java_generic_services', \Google\Protobuf\Internal\GPBType::BOOL, 17) 153 ->optional('py_generic_services', \Google\Protobuf\Internal\GPBType::BOOL, 18) 154 ->optional('php_generic_services', \Google\Protobuf\Internal\GPBType::BOOL, 42) 155 ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 23) 156 ->optional('cc_enable_arenas', \Google\Protobuf\Internal\GPBType::BOOL, 31) 157 ->optional('objc_class_prefix', \Google\Protobuf\Internal\GPBType::STRING, 36) 158 ->optional('csharp_namespace', \Google\Protobuf\Internal\GPBType::STRING, 37) 159 ->optional('swift_prefix', \Google\Protobuf\Internal\GPBType::STRING, 39) 160 ->optional('php_class_prefix', \Google\Protobuf\Internal\GPBType::STRING, 40) 161 ->optional('php_namespace', \Google\Protobuf\Internal\GPBType::STRING, 41) 162 ->optional('php_metadata_namespace', \Google\Protobuf\Internal\GPBType::STRING, 44) 163 ->optional('ruby_package', \Google\Protobuf\Internal\GPBType::STRING, 45) 164 ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') 165 ->finalizeToPool(); 166 167 $pool->addEnum('google.protobuf.internal.FileOptions.OptimizeMode', \Google\Protobuf\Internal\OptimizeMode::class) 168 ->value("SPEED", 1) 169 ->value("CODE_SIZE", 2) 170 ->value("LITE_RUNTIME", 3) 171 ->finalizeToPool(); 172 173 $pool->addMessage('google.protobuf.internal.MessageOptions', \Google\Protobuf\Internal\MessageOptions::class) 174 ->optional('message_set_wire_format', \Google\Protobuf\Internal\GPBType::BOOL, 1) 175 ->optional('no_standard_descriptor_accessor', \Google\Protobuf\Internal\GPBType::BOOL, 2) 176 ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 3) 177 ->optional('map_entry', \Google\Protobuf\Internal\GPBType::BOOL, 7) 178 ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') 179 ->finalizeToPool(); 180 181 $pool->addMessage('google.protobuf.internal.FieldOptions', \Google\Protobuf\Internal\FieldOptions::class) 182 ->optional('ctype', \Google\Protobuf\Internal\GPBType::ENUM, 1, 'google.protobuf.internal.FieldOptions.CType') 183 ->optional('packed', \Google\Protobuf\Internal\GPBType::BOOL, 2) 184 ->optional('jstype', \Google\Protobuf\Internal\GPBType::ENUM, 6, 'google.protobuf.internal.FieldOptions.JSType') 185 ->optional('lazy', \Google\Protobuf\Internal\GPBType::BOOL, 5) 186 ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 3) 187 ->optional('weak', \Google\Protobuf\Internal\GPBType::BOOL, 10) 188 ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') 189 ->finalizeToPool(); 190 191 $pool->addEnum('google.protobuf.internal.FieldOptions.CType', \Google\Protobuf\Internal\CType::class) 192 ->value("STRING", 0) 193 ->value("CORD", 1) 194 ->value("STRING_PIECE", 2) 195 ->finalizeToPool(); 196 197 $pool->addEnum('google.protobuf.internal.FieldOptions.JSType', \Google\Protobuf\Internal\JSType::class) 198 ->value("JS_NORMAL", 0) 199 ->value("JS_STRING", 1) 200 ->value("JS_NUMBER", 2) 201 ->finalizeToPool(); 202 203 $pool->addMessage('google.protobuf.internal.OneofOptions', \Google\Protobuf\Internal\OneofOptions::class) 204 ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') 205 ->finalizeToPool(); 206 207 $pool->addMessage('google.protobuf.internal.EnumOptions', \Google\Protobuf\Internal\EnumOptions::class) 208 ->optional('allow_alias', \Google\Protobuf\Internal\GPBType::BOOL, 2) 209 ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 3) 210 ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') 211 ->finalizeToPool(); 212 213 $pool->addMessage('google.protobuf.internal.EnumValueOptions', \Google\Protobuf\Internal\EnumValueOptions::class) 214 ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 1) 215 ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') 216 ->finalizeToPool(); 217 218 $pool->addMessage('google.protobuf.internal.ServiceOptions', \Google\Protobuf\Internal\ServiceOptions::class) 219 ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 33) 220 ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') 221 ->finalizeToPool(); 222 223 $pool->addMessage('google.protobuf.internal.MethodOptions', \Google\Protobuf\Internal\MethodOptions::class) 224 ->optional('deprecated', \Google\Protobuf\Internal\GPBType::BOOL, 33) 225 ->optional('idempotency_level', \Google\Protobuf\Internal\GPBType::ENUM, 34, 'google.protobuf.internal.MethodOptions.IdempotencyLevel') 226 ->repeated('uninterpreted_option', \Google\Protobuf\Internal\GPBType::MESSAGE, 999, 'google.protobuf.internal.UninterpretedOption') 227 ->finalizeToPool(); 228 229 $pool->addEnum('google.protobuf.internal.MethodOptions.IdempotencyLevel', \Google\Protobuf\Internal\IdempotencyLevel::class) 230 ->value("IDEMPOTENCY_UNKNOWN", 0) 231 ->value("NO_SIDE_EFFECTS", 1) 232 ->value("IDEMPOTENT", 2) 233 ->finalizeToPool(); 234 235 $pool->addMessage('google.protobuf.internal.UninterpretedOption', \Google\Protobuf\Internal\UninterpretedOption::class) 236 ->repeated('name', \Google\Protobuf\Internal\GPBType::MESSAGE, 2, 'google.protobuf.internal.UninterpretedOption.NamePart') 237 ->optional('identifier_value', \Google\Protobuf\Internal\GPBType::STRING, 3) 238 ->optional('positive_int_value', \Google\Protobuf\Internal\GPBType::UINT64, 4) 239 ->optional('negative_int_value', \Google\Protobuf\Internal\GPBType::INT64, 5) 240 ->optional('double_value', \Google\Protobuf\Internal\GPBType::DOUBLE, 6) 241 ->optional('string_value', \Google\Protobuf\Internal\GPBType::BYTES, 7) 242 ->optional('aggregate_value', \Google\Protobuf\Internal\GPBType::STRING, 8) 243 ->finalizeToPool(); 244 245 $pool->addMessage('google.protobuf.internal.UninterpretedOption.NamePart', \Google\Protobuf\Internal\UninterpretedOption\NamePart::class) 246 ->required('name_part', \Google\Protobuf\Internal\GPBType::STRING, 1) 247 ->required('is_extension', \Google\Protobuf\Internal\GPBType::BOOL, 2) 248 ->finalizeToPool(); 249 250 $pool->addMessage('google.protobuf.internal.SourceCodeInfo', \Google\Protobuf\Internal\SourceCodeInfo::class) 251 ->repeated('location', \Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.SourceCodeInfo.Location') 252 ->finalizeToPool(); 253 254 $pool->addMessage('google.protobuf.internal.SourceCodeInfo.Location', \Google\Protobuf\Internal\SourceCodeInfo\Location::class) 255 ->repeated('path', \Google\Protobuf\Internal\GPBType::INT32, 1) 256 ->repeated('span', \Google\Protobuf\Internal\GPBType::INT32, 2) 257 ->optional('leading_comments', \Google\Protobuf\Internal\GPBType::STRING, 3) 258 ->optional('trailing_comments', \Google\Protobuf\Internal\GPBType::STRING, 4) 259 ->repeated('leading_detached_comments', \Google\Protobuf\Internal\GPBType::STRING, 6) 260 ->finalizeToPool(); 261 262 $pool->addMessage('google.protobuf.internal.GeneratedCodeInfo', \Google\Protobuf\Internal\GeneratedCodeInfo::class) 263 ->repeated('annotation', \Google\Protobuf\Internal\GPBType::MESSAGE, 1, 'google.protobuf.internal.GeneratedCodeInfo.Annotation') 264 ->finalizeToPool(); 265 266 $pool->addMessage('google.protobuf.internal.GeneratedCodeInfo.Annotation', \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation::class) 267 ->repeated('path', \Google\Protobuf\Internal\GPBType::INT32, 1) 268 ->optional('source_file', \Google\Protobuf\Internal\GPBType::STRING, 2) 269 ->optional('begin', \Google\Protobuf\Internal\GPBType::INT32, 3) 270 ->optional('end', \Google\Protobuf\Internal\GPBType::INT32, 4) 271 ->finalizeToPool(); 272 273 $pool->finish(); 274 static::$is_initialized = true; 275 } 276} 277 278