struct Apps::Google::ServiceDescriptorProto
- Apps::Google::ServiceDescriptorProto
- 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: :method, pb_type: MethodDescriptorProto, crystal_type: MethodDescriptorProto, cast_type: Array(MethodDescriptorProto)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :options, pb_type: ServiceOptions, crystal_type: ServiceOptions, cast_type: ServiceOptions?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(name : String | Nil = nil, method : Array(MethodDescriptorProto) | Nil = nil, options : ServiceOptions | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #method : Array(MethodDescriptorProto) | Nil
- #method=(method : Array(MethodDescriptorProto) | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #options : ServiceOptions | Nil
- #options=(options : ServiceOptions | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(name : String | Nil = nil, method : Array(MethodDescriptorProto) | Nil = nil, options : ServiceOptions | Nil = nil)
#