<?php
namespace Rql\Generated;

// @@protoc_insertion_point(namespace:Rql.Generated.Backtrace)

/**
 * Generated by the protocol buffer compiler.  DO NOT EDIT!
 * source: q2.proto
 *
 * -*- magic methods -*-
 *
 * @method array getFrames()
 * @method void appendFrames(Rql\Generated\Frame $value)
 */
class Backtrace extends \ProtocolBuffers\Message
{
  // @@protoc_insertion_point(traits:Rql.Generated.Backtrace)
  
  /**
   * @var array $frames
   * @tag 1
   * @label optional
   * @type \ProtocolBuffers::TYPE_MESSAGE
   * @see Rql\Generated\Frame
   **/
  protected $frames;
  
  
  // @@protoc_insertion_point(properties_scope:Rql.Generated.Backtrace)

  // @@protoc_insertion_point(class_scope:Rql.Generated.Backtrace)

  /**
   * 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_MESSAGE,
        "name"     => "frames",
        "required" => false,
        "optional" => false,
        "repeated" => true,
        "packable" => false,
        "default"  => null,
        "message" => '\Rql\Generated\Frame',
      )));
      // @@protoc_insertion_point(builder_scope:Rql.Generated.Backtrace)

      $descriptor = $desc->build();
    }
    return $descriptor;
  }

}
