struct Apps::Google::MethodDescriptorProto
- Apps::Google::MethodDescriptorProto
- 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: :input_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :output_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :options, pb_type: MethodOptions, crystal_type: MethodOptions, cast_type: MethodOptions?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :client_streaming, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 6 => {name: :server_streaming, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(name : String | Nil = nil, input_type : String | Nil = nil, output_type : String | Nil = nil, options : MethodOptions | Nil = nil, client_streaming : Bool | Nil = false.as(Bool), server_streaming : Bool | Nil = false.as(Bool))
Class Method Summary
Instance Method Summary
- #[](key : String)
- #client_streaming : Bool | Nil
- #client_streaming=(client_streaming : Bool | Nil)
- #input_type : String | Nil
- #input_type=(input_type : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #options : MethodOptions | Nil
- #options=(options : MethodOptions | Nil)
- #output_type : String | Nil
- #output_type=(output_type : String | Nil)
- #server_streaming : Bool | Nil
- #server_streaming=(server_streaming : Bool | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(name : String | Nil = nil, input_type : String | Nil = nil, output_type : String | Nil = nil, options : MethodOptions | Nil = nil, client_streaming : Bool | Nil = false.as(Bool), server_streaming : Bool | Nil = false.as(Bool))
#