Reference documentation and code samples for the Service Usage V1 API class Google::Protobuf::EnumValue.
Enum value definition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Enum value name.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Enum value name.
Returns
- (::String) — Enum value name.
#number
def number() -> ::Integer
Returns
- (::Integer) — Enum value number.
#number=
def number=(value) -> ::Integer
Parameter
- value (::Integer) — Enum value number.
Returns
- (::Integer) — Enum value number.
#options
def options() -> ::Array<::Google::Protobuf::Option>
Returns
- (::Array<::Google::Protobuf::Option>) — Protocol buffer options.
#options=
def options=(value) -> ::Array<::Google::Protobuf::Option>
Parameter
- value (::Array<::Google::Protobuf::Option>) — Protocol buffer options.
Returns
- (::Array<::Google::Protobuf::Option>) — Protocol buffer options.