Class: Gapic::Schema::EnumValue
- Extended by:
- Forwardable
- Defined in:
- lib/gapic/schema/wrappers.rb
Overview
Wrapper for a protobuf Enum Value.
Instance Attribute Summary
Attributes inherited from Proto
#address, #descriptor, #docs, #parent
Instance Method Summary collapse
-
#name ⇒ String
The unqualified name of the EnumValue.
-
#number ⇒ Integer
The number value.
-
#options ⇒ Array<Google::Protobuf::EnumValueOptions>
The options of the enum value.
Methods inherited from Proto
#containing_api, #containing_file, #docs_leading_comments, #initialize, #leading_comments, #leading_detached_comments, #option_extension_names, #option_named, #path, #span, #trailing_comments
Constructor Details
This class inherits a constructor from Gapic::Schema::Proto
Instance Method Details
#name ⇒ String
Returns the unqualified name of the EnumValue.
629 630 631 632 633 634 |
# File 'lib/gapic/schema/wrappers.rb', line 629 def_delegators( :descriptor, :name, :number, :options ) |
#number ⇒ Integer
Returns The number value.
629 630 631 632 633 634 |
# File 'lib/gapic/schema/wrappers.rb', line 629 def_delegators( :descriptor, :name, :number, :options ) |
#options ⇒ Array<Google::Protobuf::EnumValueOptions>
Returns The options of the enum value.
629 630 631 632 633 634 |
# File 'lib/gapic/schema/wrappers.rb', line 629 def_delegators( :descriptor, :name, :number, :options ) |