Reference documentation and code samples for the Service Management V1 API class Google::Protobuf::Enum.
Enum type definition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enumvalue
def enumvalue() -> ::Array<::Google::Protobuf::EnumValue>
Returns
- (::Array<::Google::Protobuf::EnumValue>) — Enum value definitions.
#enumvalue=
def enumvalue=(value) -> ::Array<::Google::Protobuf::EnumValue>
Parameter
- value (::Array<::Google::Protobuf::EnumValue>) — Enum value definitions.
Returns
- (::Array<::Google::Protobuf::EnumValue>) — Enum value definitions.
#name
def name() -> ::String
Returns
- (::String) — Enum type name.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Enum type name.
Returns
- (::String) — Enum type name.
#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.
#source_context
def source_context() -> ::Google::Protobuf::SourceContext
Returns
- (::Google::Protobuf::SourceContext) — The source context.
#source_context=
def source_context=(value) -> ::Google::Protobuf::SourceContext
Parameter
- value (::Google::Protobuf::SourceContext) — The source context.
Returns
- (::Google::Protobuf::SourceContext) — The source context.
#syntax
def syntax() -> ::Google::Protobuf::Syntax
Returns
- (::Google::Protobuf::Syntax) — The source syntax.
#syntax=
def syntax=(value) -> ::Google::Protobuf::Syntax
Parameter
- value (::Google::Protobuf::Syntax) — The source syntax.
Returns
- (::Google::Protobuf::Syntax) — The source syntax.