Sha256: f9a89bb1a1050b96c321132b4744d96aa141bb5c9ae980fbf0924ac44faa73cf

Contents?: true

Size: 843 Bytes

Versions: 23

Compression:

Stored size: 843 Bytes

Contents

# encoding: utf-8

##
# 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 :string, :foo_a, 1
    end

  end

  class PayloadB
    class Foo
      optional :string, :foo_b, 1
    end

  end

end

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
protobuf-3.4.2 spec/support/test/multi_field_extensions.pb.rb
protobuf-3.4.1 spec/support/test/multi_field_extensions.pb.rb
protobuf-3.4.0 spec/support/test/multi_field_extensions.pb.rb