moonbitstack/moonproto/desc does not have a README file
pub(all) suberror Refused {
Name(String)
Number(Int)
Type(String)
Syntax(String)
}pub(all) struct DescriptorProto {
name : String
field : Array[FieldDescriptorProto]
nested_type : Array[DescriptorProto]
enum_type : Array[EnumDescriptorProto]
extension : Array[FieldDescriptorProto]
oneof_decl : Array[OneofDescriptorProto]
reserved_range : Array[(Int, Int)]
reserved_name : Array[String]
extension_range : Array[(Int, Int)]
map_entry : Bool
features : Features
options : Array[(String, String)]
}pub(all) struct EnumDescriptorProto {
name : String
value : Array[EnumValueDescriptorProto]
features : Features
options : Array[(String, String)]
}pub(all) struct EnumValueDescriptorProto {
name : String
number : Int
}pub(all) struct Features {
field_presence : Int
enum_type : Int
repeated_field_encoding : Int
message_encoding : Int
utf8_validation : Int
json_format : Int
}pub(all) struct FileDescriptorProto {
name : String
package_name : String
syntax : String
message_type : Array[DescriptorProto]
enum_type : Array[EnumDescriptorProto]
service : Array[ServiceDescriptorProto]
extension : Array[FieldDescriptorProto]
dependency : Array[String]
public_dependency : Array[Int]
edition : String?
features : Features
options : Array[(String, String)]
}pub(all) struct MethodDescriptorProto {
name : String
input_type : String
output_type : String
client_streaming : Bool
server_streaming : Bool
}fn to_json_name(name : String) -> StringInstall
Download zipProtocol Buffers for MoonBit.