Sha256: cd7360f402edcca2528dd043cd5d2109f1f87c527fd5260bc5dbe5058ee7673c

Contents?: true

Size: 870 Bytes

Versions: 14

Compression:

Stored size: 870 Bytes

Contents

##
# This file is auto-generated. DO NOT EDIT!
#
require 'protobuf/message'

module Test

  ##
  # Message Classes
  #
  class Header < ::Protobuf::Message
    class Type < ::Protobuf::Enum
      define :PayloadTypeA, 1
      define :PayloadTypeB, 2
    end

  end

  class PayloadA < ::Protobuf::Message
    class Foo < ::Protobuf::Message; end

  end

  class PayloadB < ::Protobuf::Message
    class Foo < ::Protobuf::Message; end

  end



  ##
  # Message Fields
  #
  class Header
    required ::Test::Header::Type, :type, 1
    # Extension Fields
    extensions 100...536870912
    optional ::Test::PayloadA, :payload, 100, :extension => true
  end

  class PayloadA
    class Foo
      optional ::Protobuf::Field::StringField, :foo_a, 1
    end

  end

  class PayloadB
    class Foo
      optional ::Protobuf::Field::StringField, :foo_b, 1
    end

  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
protobuf-2.8.13 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.12 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.11 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.10 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.9 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.8 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.7 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.6 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.5 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.4 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.3 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.2 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.1 spec/support/test/multi_field_extensions.pb.rb
protobuf-2.8.0 spec/support/test/multi_field_extensions.pb.rb