Nats::SubscriptionRequest
Inherits Protobuf::Message < Struct < Value < Object
Constants
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
new(buf : Protobuf::Buffer)
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 methods
from_protobuf(io)
Instance methods
[](key : String)
ack_wait_in_secs
ack_wait_in_secs=(ack_wait_in_secs : Int32 | Nil)
client_id
client_id=(client_id : String | Nil)
durable_name
durable_name=(durable_name : String | Nil)
inbox
inbox=(inbox : String | Nil)
max_in_flight
max_in_flight=(max_in_flight : Int32 | Nil)
q_group
q_group=(q_group : String | Nil)
start_position
start_position=(start_position : StartPosition | Nil)
start_sequence
start_sequence=(start_sequence : UInt64 | Nil)
start_time_delta
start_time_delta=(start_time_delta : Int64 | Nil)
subject
subject=(subject : String | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf