struct Apps::Google::FileDescriptorProto
- Apps::Google::FileDescriptorProto
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/descriptor.pb.crConstant Summary
-
FIELDS =
{1 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :package, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :dependency, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 10 => {name: :public_dependency, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 11 => {name: :weak_dependency, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :message_type, pb_type: DescriptorProto, crystal_type: DescriptorProto, cast_type: Array(DescriptorProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :enum_type, pb_type: EnumDescriptorProto, crystal_type: EnumDescriptorProto, cast_type: Array(EnumDescriptorProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 6 => {name: :service, pb_type: ServiceDescriptorProto, crystal_type: ServiceDescriptorProto, cast_type: Array(ServiceDescriptorProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :extension, pb_type: FieldDescriptorProto, crystal_type: FieldDescriptorProto, cast_type: Array(FieldDescriptorProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 8 => {name: :options, pb_type: FileOptions, crystal_type: FileOptions, cast_type: FileOptions?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :source_code_info, pb_type: SourceCodeInfo, crystal_type: SourceCodeInfo, cast_type: SourceCodeInfo?, native: false, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :syntax, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(name : String | Nil = nil, package : String | Nil = nil, dependency : Array(String) | Nil = nil, public_dependency : Array(Int32) | Nil = nil, weak_dependency : Array(Int32) | Nil = nil, message_type : Array(DescriptorProto) | Nil = nil, enum_type : Array(EnumDescriptorProto) | Nil = nil, service : Array(ServiceDescriptorProto) | Nil = nil, extension : Array(FieldDescriptorProto) | Nil = nil, options : FileOptions | Nil = nil, source_code_info : SourceCodeInfo | Nil = nil, syntax : String | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #dependency : Array(String) | Nil
- #dependency=(dependency : Array(String) | Nil)
- #enum_type : Array(EnumDescriptorProto) | Nil
- #enum_type=(enum_type : Array(EnumDescriptorProto) | Nil)
- #extension : Array(FieldDescriptorProto) | Nil
- #extension=(extension : Array(FieldDescriptorProto) | Nil)
- #message_type : Array(DescriptorProto) | Nil
- #message_type=(message_type : Array(DescriptorProto) | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #options : FileOptions | Nil
- #options=(options : FileOptions | Nil)
- #package : String | Nil
- #package=(package : String | Nil)
- #public_dependency : Array(Int32) | Nil
- #public_dependency=(public_dependency : Array(Int32) | Nil)
- #service : Array(ServiceDescriptorProto) | Nil
- #service=(service : Array(ServiceDescriptorProto) | Nil)
- #source_code_info : SourceCodeInfo | Nil
- #source_code_info=(source_code_info : SourceCodeInfo | Nil)
- #syntax : String | Nil
- #syntax=(syntax : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #weak_dependency : Array(Int32) | Nil
- #weak_dependency=(weak_dependency : Array(Int32) | Nil)
Constructor Detail
def self.new(name : String | Nil = nil, package : String | Nil = nil, dependency : Array(String) | Nil = nil, public_dependency : Array(Int32) | Nil = nil, weak_dependency : Array(Int32) | Nil = nil, message_type : Array(DescriptorProto) | Nil = nil, enum_type : Array(EnumDescriptorProto) | Nil = nil, service : Array(ServiceDescriptorProto) | Nil = nil, extension : Array(FieldDescriptorProto) | Nil = nil, options : FileOptions | Nil = nil, source_code_info : SourceCodeInfo | Nil = nil, syntax : String | Nil = nil)
#