class
Google::Protobuf::FieldDescriptorProto
- Google::Protobuf::FieldDescriptorProto
- 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_default_value : Nil
- #clear_extendee : Nil
- #clear_json_name : Nil
- #clear_label : Nil
- #clear_name : Nil
- #clear_number : Nil
- #clear_oneof_index : Nil
- #clear_options : Nil
- #clear_proto3_optional : Nil
- #clear_type_ : Nil
- #clear_type_name : Nil
- #default_value : String
- #default_value=(value : String) : String
- #encode(io : IO) : Nil
- #encode_partial(io : IO) : Nil
- #extendee : String
- #extendee=(value : String) : String
- #has_default_value? : Bool
- #has_extendee? : Bool
- #has_json_name? : Bool
- #has_label? : Bool
- #has_name? : Bool
- #has_number? : Bool
- #has_oneof_index? : Bool
- #has_options? : Bool
- #has_proto3_optional? : Bool
- #has_type_? : Bool
- #has_type_name? : Bool
- #json_name : String
- #json_name=(value : String) : String
- #label : FieldDescriptorProto::Label
- #label=(value : FieldDescriptorProto::Label) : FieldDescriptorProto::Label
- #name : String
- #name=(value : String) : String
- #number : Int32
- #number=(value : Int32) : Int32
- #oneof_index : Int32
- #oneof_index=(value : Int32) : Int32
- #options : FieldOptions | Nil
- #options=(options : FieldOptions | Nil)
-
#proto3_optional : Bool
ameba:disable Naming/QueryBoolMethods
- #proto3_optional=(value : Bool) : Bool
- #type_ : FieldDescriptorProto::Type
- #type_=(value : FieldDescriptorProto::Type) : FieldDescriptorProto::Type
- #type_name : String
- #type_name=(value : String) : String
- #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?.