struct Openmetrics::StateSetValue

Included Modules

Defined in:

proto/openmetrics_data_model.pb.cr

Constant Summary

FIELDS = {1 => {name: :states, pb_type: StateSetValue::State, crystal_type: StateSetValue::State, cast_type: Array(StateSetValue::State)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(states : Array(StateSetValue::State) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def states : Array(StateSetValue::State) | Nil #

def states=(states : Array(StateSetValue::State) | Nil) #

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

def to_protobuf #