class Google::Protobuf::FileDescriptorProto

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_name : Nil #

[View source]
def clear_options : Nil #

[View source]
def clear_package : Nil #

[View source]
def clear_source_code_info : Nil #

[View source]
def clear_syntax : Nil #

[View source]
def dependency : Array(String) #

[View source]
def dependency=(dependency : Array(String)) #

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

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

[View source]
def enum_type : Array(EnumDescriptorProto) #

[View source]
def enum_type=(enum_type : Array(EnumDescriptorProto)) #

[View source]
def extension : Array(FieldDescriptorProto) #

[View source]
def extension=(extension : Array(FieldDescriptorProto)) #

[View source]
def has_name? : Bool #

[View source]
def has_options? : Bool #

[View source]
def has_package? : Bool #

[View source]
def has_source_code_info? : Bool #

[View source]
def has_syntax? : Bool #

[View source]
def message_type : Array(DescriptorProto) #

[View source]
def message_type=(message_type : Array(DescriptorProto)) #

[View source]
def name : String #

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

[View source]
def options : FileOptions | Nil #

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

[View source]
def package : String #

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

[View source]
def public_dependency : Array(Int32) #

[View source]
def public_dependency=(public_dependency : Array(Int32)) #

[View source]
def service : Array(ServiceDescriptorProto) #

[View source]
def service=(service : Array(ServiceDescriptorProto)) #

[View source]
def source_code_info : SourceCodeInfo | Nil #

[View source]
def source_code_info=(source_code_info : SourceCodeInfo | Nil) #

[View source]
def syntax : String #

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

[View source]
def validate_required! : Nil #

[View source]
def validate_required_deep! : Nil #

[View source]
def weak_dependency : Array(Int32) #

[View source]
def weak_dependency=(weak_dependency : Array(Int32)) #

[View source]