class Google::Protobuf::MethodDescriptorProto

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

[View source]
def clear_input_type : Nil #

[View source]
def clear_name : Nil #

[View source]
def clear_options : Nil #

[View source]
def clear_output_type : Nil #

[View source]
def clear_server_streaming : Nil #

[View source]
def client_streaming : Bool #

ameba:disable Naming/QueryBoolMethods


[View source]
def client_streaming=(value : Bool) : Bool #

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

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

[View source]
def has_client_streaming? : Bool #

[View source]
def has_input_type? : Bool #

[View source]
def has_name? : Bool #

[View source]
def has_options? : Bool #

[View source]
def has_output_type? : Bool #

[View source]
def has_server_streaming? : Bool #

[View source]
def input_type : String #

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

[View source]
def name : String #

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

[View source]
def options : MethodOptions | Nil #

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

[View source]
def output_type : String #

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

[View source]
def server_streaming : Bool #

ameba:enable Naming/QueryBoolMethods ameba:disable Naming/QueryBoolMethods


[View source]
def server_streaming=(value : Bool) : Bool #

[View source]
def validate_required! : Nil #

[View source]
def validate_required_deep! : Nil #

[View source]