/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(999, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "uninterpreted_option", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\UninterpretedOption'))); // @@protoc_insertion_point(builder_scope:.google.protobuf.EnumValueOptions) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "name_part", "required" => true, "optional" => false, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "is_extension", "required" => true, "optional" => false, "repeated" => false, "packable" => false, "default" => false))); // @@protoc_insertion_point(builder_scope:.google.protobuf.UninterpretedOption.NamePart) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT64, "name" => "user_id", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BYTES, "name" => "name", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); // @@protoc_insertion_point(builder_scope:.pecl.protocolbuffers.User) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "error", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(15, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "file", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\compiler\\CodeGeneratorResponse\\File'))); // @@protoc_insertion_point(builder_scope:.google.protobuf.compiler.CodeGeneratorResponse) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT32, "name" => "start", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT32, "name" => "end", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); // @@protoc_insertion_point(builder_scope:.google.protobuf.DescriptorProto.ExtensionRange) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "name", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "value", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\EnumValueDescriptorProto'))); $desc->addField(3, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "options", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\EnumOptions'))); // @@protoc_insertion_point(builder_scope:.google.protobuf.EnumDescriptorProto) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "use_single_property", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(3, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "single_property_name", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => "_properties"))); $desc->addField(4, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "use_wakeup_and_sleep", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); // @@protoc_insertion_point(builder_scope:.PHPMessageOptions) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "multiple_files", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => true))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "skip_unknown", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(3, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "base_class", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(4, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_ENUM, "name" => "style", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => \PHPFileOptions\Style::PSR4))); // @@protoc_insertion_point(builder_scope:.PHPFileOptions) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT32, "name" => "chunk_number", "required" => true, "optional" => false, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_ENUM, "name" => "chunk_type", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => \ChunkData\ChunkType::ADD))); $desc->addField(3, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_ENUM, "name" => "prefix_type", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => \ChunkData\PrefixType::PREFIX_4B))); $desc->addField(4, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BYTES, "name" => "hashes", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(5, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT32, "name" => "add_numbers", "required" => false, "optional" => false, "repeated" => true, "packable" => true, "default" => null))); // @@protoc_insertion_point(builder_scope:.ChunkData) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "name", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "package", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(3, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "dependency", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => ""))); $desc->addField(10, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT32, "name" => "public_dependency", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null))); $desc->addField(11, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT32, "name" => "weak_dependency", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null))); $desc->addField(4, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "message_type", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\DescriptorProto'))); $desc->addField(5, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "enum_type", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\EnumDescriptorProto'))); $desc->addField(6, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "service", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\ServiceDescriptorProto'))); $desc->addField(7, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "extension", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\FieldDescriptorProto'))); $desc->addField(8, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "options", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\FileOptions'))); $desc->addField(9, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "source_code_info", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\SourceCodeInfo'))); // @@protoc_insertion_point(builder_scope:.google.protobuf.FileDescriptorProto) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT32, "name" => "path", "required" => false, "optional" => false, "repeated" => true, "packable" => true, "default" => null))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT32, "name" => "span", "required" => false, "optional" => false, "repeated" => true, "packable" => true, "default" => null))); $desc->addField(3, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "leading_comments", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(4, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "trailing_comments", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); // @@protoc_insertion_point(builder_scope:.google.protobuf.SourceCodeInfo.Location) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_ENUM, "name" => "ctype", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => \google\protobuf\FieldOptions\CType::STRING))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "packed", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(5, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "lazy", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(3, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "deprecated", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(9, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "experimental_map_key", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(10, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "weak", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(999, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "uninterpreted_option", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\UninterpretedOption'))); // @@protoc_insertion_point(builder_scope:.google.protobuf.FieldOptions) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "name", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(3, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT32, "name" => "number", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(4, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_ENUM, "name" => "label", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(5, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_ENUM, "name" => "type", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(6, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "type_name", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "extendee", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(7, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "default_value", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(8, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "options", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\FieldOptions'))); // @@protoc_insertion_point(builder_scope:.google.protobuf.FieldDescriptorProto) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(1, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "java_package", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(8, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "java_outer_classname", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(10, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "java_multiple_files", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(20, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "java_generate_equals_and_hash", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(9, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_ENUM, "name" => "optimize_for", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => \google\protobuf\FileOptions\OptimizeMode::SPEED))); $desc->addField(11, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "go_package", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(16, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "cc_generic_services", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(17, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "java_generic_services", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(18, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BOOL, "name" => "py_generic_services", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => false))); $desc->addField(999, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "uninterpreted_option", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\UninterpretedOption'))); // @@protoc_insertion_point(builder_scope:.google.protobuf.FileOptions) $descriptor = $desc->build(); } return $descriptor; }
/** * get descriptor for protocol buffers * * @return \ProtocolBuffersDescriptor */ public static function getDescriptor() { static $descriptor; if (!isset($descriptor)) { $desc = new \ProtocolBuffers\DescriptorBuilder(); $desc->addField(2, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_MESSAGE, "name" => "name", "required" => false, "optional" => false, "repeated" => true, "packable" => false, "default" => null, "message" => '\\google\\protobuf\\UninterpretedOption\\NamePart'))); $desc->addField(3, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "identifier_value", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); $desc->addField(4, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_UINT64, "name" => "positive_int_value", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(5, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_INT64, "name" => "negative_int_value", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(6, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_DOUBLE, "name" => "double_value", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(7, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_BYTES, "name" => "string_value", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => null))); $desc->addField(8, new \ProtocolBuffers\FieldDescriptor(array("type" => \ProtocolBuffers::TYPE_STRING, "name" => "aggregate_value", "required" => false, "optional" => true, "repeated" => false, "packable" => false, "default" => ""))); // @@protoc_insertion_point(builder_scope:.google.protobuf.UninterpretedOption) $descriptor = $desc->build(); } return $descriptor; }