struct OpenTelemetry::Proto::Metrics::Experimental::MetricConfigResponse

Included Modules

Defined in:

proto/metrics_config_service.pb.cr

Constant Summary

FIELDS = {1 => {name: :fingerprint, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :schedules, pb_type: MetricConfigResponse::Schedule, crystal_type: MetricConfigResponse::Schedule, cast_type: Array(MetricConfigResponse::Schedule)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :suggested_wait_time_sec, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, 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(fingerprint : Slice(UInt8) | Nil = nil, schedules : Array(MetricConfigResponse::Schedule) | Nil = nil, suggested_wait_time_sec : Int32 | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def fingerprint : Slice(UInt8) | Nil #

def fingerprint=(fingerprint : Slice(UInt8) | Nil) #

def schedules : Array(MetricConfigResponse::Schedule) | Nil #

def schedules=(schedules : Array(MetricConfigResponse::Schedule) | Nil) #

def suggested_wait_time_sec : Int32 | Nil #

def suggested_wait_time_sec=(suggested_wait_time_sec : Int32 | Nil) #

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

def to_protobuf #