Sha256: 9a987e5ba6e5947700c7369e4df5b5a29231c9c44f8638430742405770fd4456

Contents?: true

Size: 860 Bytes

Versions: 1

Compression:

Stored size: 860 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, :".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

1 entries across 1 versions & 1 rubygems

Version Path
protobuf-3.7.0.pre0 spec/support/protos/multi_field_extensions.pb.rb