Sha256: b1bf1c82a59c6c76b15f5fb74152399e19726498c88185912c6f27a1f0e00987

Contents?: true

Size: 784 Bytes

Versions: 14

Compression:

Stored size: 784 Bytes

Contents

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


##
# Imports
#
require 'test/resource.pb'

module Test

  ##
  # Enum Classes
  #
  class EnumTestType < ::Protobuf::Enum
    define :ONE, 1
    define :TWO, 2
  end


  ##
  # Message Classes
  #
  class EnumTestMessage < ::Protobuf::Message; end


  ##
  # Message Fields
  #
  class EnumTestMessage
    optional ::Test::EnumTestType, :non_default_enum, 1
    optional ::Test::EnumTestType, :default_enum, 2, :default => ::Test::EnumTestType::ONE
    repeated ::Test::EnumTestType, :repeated_enums, 3
  end


  ##
  # Extended Message Fields
  #
  class ::Test::Resource < ::Protobuf::Message
    optional ::Protobuf::Field::Int32Field, :ext_other_file_defined_field, 200, :extension => true
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

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