class
Google::Protobuf::OneofDescriptorProto
- Google::Protobuf::OneofDescriptorProto
- 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 : OneofOptions | Nil
- #options=(options : OneofOptions | Nil)
- #validate_required! : Nil
- #validate_required_deep! : Nil
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?.