class
Proto::Bootstrap::FieldDescriptorProto
- Proto::Bootstrap::FieldDescriptorProto
- Reference
- Object
Included Modules
Defined in:
proto/bootstrap/descriptor.crConstructors
-
.decode(io : IO) : self
ameba:disable Metrics/CyclomaticComplexity
Instance Method Summary
- #default_value : String
- #default_value=(default_value : String)
- #encode(io : IO) : Nil
- #extendee : String
- #extendee=(extendee : String)
- #json_name : String
- #json_name=(json_name : String)
- #label : FieldLabel
- #label=(label : FieldLabel)
- #name : String
- #name=(name : String)
- #number : Int32
- #number=(number : Int32)
- #oneof_index : Int32 | Nil
- #oneof_index=(oneof_index : Int32 | Nil)
- #options : FieldOptions | Nil
- #options=(options : FieldOptions | Nil)
- #proto3_optional=(proto3_optional : Bool)
- #proto3_optional? : Bool
- #type : FieldType
- #type=(type : FieldType)
- #type_name : String
- #type_name=(type_name : String)
Instance methods inherited from module Proto::HasUnknownFields
add_unknown_varint(field_number : Int32, value : UInt64) : Nil
add_unknown_varint,
capture_unknown_field(reader : Wire::Reader, field_number : Int32, wire_type : Int32) : Nilcapture_unknown_field(field : UnknownField) : Nil capture_unknown_field, decode_known_enum(field_number : Int32, raw_u64 : UInt64, & : Int32 -> ) : Nil decode_known_enum, extension_value?(descriptor : T) : ExtensionValue | Nil forall T extension_value?, extension_values(descriptor : T) : Array(ExtensionValue) forall T extension_values, has_extension?(descriptor : T) : Bool forall T has_extension?, unknown_fields : Array(UnknownField) unknown_fields, write_unknown_fields(writer : Wire::Writer) : Nil write_unknown_fields