Service Management V1 API - Class Google::Protobuf::Enum (v1.0.0)

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

#edition

def edition() -> ::String
Returns
  • (::String) — The source edition string, only valid when syntax is SYNTAX_EDITIONS.

#edition=

def edition=(value) -> ::String
Parameter
  • value (::String) — The source edition string, only valid when syntax is SYNTAX_EDITIONS.
Returns
  • (::String) — The source edition string, only valid when syntax is SYNTAX_EDITIONS.

#enumvalue

def enumvalue() -> ::Array<::Google::Protobuf::EnumValue>
Returns

#enumvalue=

def enumvalue=(value) -> ::Array<::Google::Protobuf::EnumValue>
Parameter
Returns

#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

#options=

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

#source_context

def source_context() -> ::Google::Protobuf::SourceContext
Returns

#source_context=

def source_context=(value) -> ::Google::Protobuf::SourceContext
Parameter
Returns

#syntax

def syntax() -> ::Google::Protobuf::Syntax
Returns

#syntax=

def syntax=(value) -> ::Google::Protobuf::Syntax
Parameter
Returns