struct Nats::SubscriptionRequest

Included Modules

Defined in:

protobufs/protocol.pb.cr

Constant Summary

FIELDS = {1 => {name: :client_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :subject, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :q_group, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :inbox, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :max_in_flight, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :ack_wait_in_secs, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :durable_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :start_position, pb_type: StartPosition, crystal_type: StartPosition, cast_type: StartPosition?, native: false, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :start_sequence, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :start_time_delta, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Protobuf::Message

to_slice : Bytes to_slice

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(client_id : String | Nil = nil, subject : String | Nil = nil, q_group : String | Nil = nil, inbox : String | Nil = nil, max_in_flight : Int32 | Nil = nil, ack_wait_in_secs : Int32 | Nil = nil, durable_name : String | Nil = nil, start_position : StartPosition | Nil = nil, start_sequence : UInt64 | Nil = nil, start_time_delta : Int64 | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def ack_wait_in_secs : Int32 | Nil #

def ack_wait_in_secs=(ack_wait_in_secs : Int32 | Nil) #

def client_id : String | Nil #

def client_id=(client_id : String | Nil) #

def durable_name : String | Nil #

def durable_name=(durable_name : String | Nil) #

def inbox : String | Nil #

def inbox=(inbox : String | Nil) #

def max_in_flight : Int32 | Nil #

def max_in_flight=(max_in_flight : Int32 | Nil) #

def q_group : String | Nil #

def q_group=(q_group : String | Nil) #

def start_position : StartPosition | Nil #

def start_position=(start_position : StartPosition | Nil) #

def start_sequence : UInt64 | Nil #

def start_sequence=(start_sequence : UInt64 | Nil) #

def start_time_delta : Int64 | Nil #

def start_time_delta=(start_time_delta : Int64 | Nil) #

def subject : String | Nil #

def subject=(subject : String | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #