Class: Google::Protobuf::EnumValue

Inherits:
Object
  • Object
show all
Extended by:
MessageExts::ClassMethods
Includes:
MessageExts
Defined in:
proto_docs/google/protobuf/type.rb

Overview

Enum value definition.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Enum value name.

Returns:

  • (::String)

    Enum value name.



196
197
198
199
# File 'proto_docs/google/protobuf/type.rb', line 196

class EnumValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#number::Integer

Returns Enum value number.

Returns:

  • (::Integer)

    Enum value number.



196
197
198
199
# File 'proto_docs/google/protobuf/type.rb', line 196

class EnumValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#options::Array<::Google::Protobuf::Option>

Returns Protocol buffer options.

Returns:



196
197
198
199
# File 'proto_docs/google/protobuf/type.rb', line 196

class EnumValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end