class Google::Protobuf::FieldDescriptorProto

Included Modules

Defined in:

generated/google/protobuf/descriptor.pb.cr

Constructors

Instance Method Summary

Constructor Detail

def self.decode(bytes : Bytes) : self #

Decode a message from a raw byte slice.


[View source]
def self.decode(io : IO) : self #

[View source]
def self.decode_partial(bytes : Bytes) : self #

[View source]
def self.decode_partial(io : IO) : self #

[View source]

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def clear_default_value : Nil #

[View source]
def clear_extendee : Nil #

[View source]
def clear_json_name : Nil #

[View source]
def clear_label : Nil #

[View source]
def clear_name : Nil #

[View source]
def clear_number : Nil #

[View source]
def clear_oneof_index : Nil #

[View source]
def clear_options : Nil #

[View source]
def clear_proto3_optional : Nil #

[View source]
def clear_type_ : Nil #

[View source]
def clear_type_name : Nil #

[View source]
def default_value : String #

[View source]
def default_value=(value : String) : String #

[View source]
def encode(io : IO) : Nil #

[View source]
def encode_partial(io : IO) : Nil #

[View source]
def extendee : String #

[View source]
def extendee=(value : String) : String #

[View source]
def has_default_value? : Bool #

[View source]
def has_extendee? : Bool #

[View source]
def has_json_name? : Bool #

[View source]
def has_label? : Bool #

[View source]
def has_name? : Bool #

[View source]
def has_number? : Bool #

[View source]
def has_oneof_index? : Bool #

[View source]
def has_options? : Bool #

[View source]
def has_proto3_optional? : Bool #

[View source]
def has_type_? : Bool #

[View source]
def has_type_name? : Bool #

[View source]
def json_name : String #

[View source]
def json_name=(value : String) : String #

[View source]

[View source]

[View source]
def name : String #

[View source]
def name=(value : String) : String #

[View source]
def number : Int32 #

[View source]
def number=(value : Int32) : Int32 #

[View source]
def oneof_index : Int32 #

[View source]
def oneof_index=(value : Int32) : Int32 #

[View source]
def options : FieldOptions | Nil #

[View source]
def options=(options : FieldOptions | Nil) #

[View source]
def proto3_optional : Bool #

ameba:disable Naming/QueryBoolMethods


[View source]
def proto3_optional=(value : Bool) : Bool #

[View source]

[View source]

[View source]
def type_name : String #

[View source]
def type_name=(value : String) : String #

[View source]
def validate_required! : Nil #

[View source]
def validate_required_deep! : Nil #

[View source]