Service Management V1 API - Class Google::Protobuf::EnumValue (v0.8.0)

Reference documentation and code samples for the Service Management 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

#options=

def options=(value) -> ::Array<::Google::Protobuf::Option>
Parameter
Returns