class
Google::Protobuf::EnumDescriptorProto
- Google::Protobuf::EnumDescriptorProto
- Reference
- Object
Included Modules
- Proto::Message
Defined in:
generated/google/protobuf/descriptor.pb.crConstructors
-
.decode(bytes : Bytes) : self
Decode a message from a raw byte slice.
- .decode(io : IO) : self
- .decode_partial(bytes : Bytes) : self
- .decode_partial(io : IO) : self
Instance Method Summary
-
#==(other : self) : Bool
Returns
trueif this reference is the same as other. - #clear_name : Nil
- #clear_options : Nil
- #encode(io : IO) : Nil
- #encode_partial(io : IO) : Nil
- #has_name? : Bool
- #has_options? : Bool
- #name : String
- #name=(value : String) : String
- #options : EnumOptions | Nil
- #options=(options : EnumOptions | Nil)
- #reserved_name : Array(String)
- #reserved_name=(reserved_name : Array(String))
- #reserved_range : Array(EnumDescriptorProto::EnumReservedRange)
- #reserved_range=(reserved_range : Array(EnumDescriptorProto::EnumReservedRange))
- #validate_required! : Nil
- #validate_required_deep! : Nil
- #value : Array(EnumValueDescriptorProto)
- #value=(value : Array(EnumValueDescriptorProto))
Constructor Detail
Instance Method Detail
def ==(other : self) : Bool
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.