blob: 91791d297144424d06e8508643f60c7eb0744bf3 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: dmi/commons.proto
package dmi
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type Status int32
const (
Status_UNDEFINED_STATUS Status = 0
Status_OK_STATUS Status = 1
Status_ERROR_STATUS Status = 2
)
var Status_name = map[int32]string{
0: "UNDEFINED_STATUS",
1: "OK_STATUS",
2: "ERROR_STATUS",
}
var Status_value = map[string]int32{
"UNDEFINED_STATUS": 0,
"OK_STATUS": 1,
"ERROR_STATUS": 2,
}
func (x Status) String() string {
return proto.EnumName(Status_name, int32(x))
}
func (Status) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_74aedf0dda1205d8, []int{0}
}
// Reason for the failure of request
type Reason int32
const (
Reason_UNDEFINED_REASON Reason = 0
Reason_UNKNOWN_DEVICE Reason = 1
Reason_INTERNAL_ERROR Reason = 2
Reason_WRONG_METRIC Reason = 3
Reason_WRONG_EVENT Reason = 4
Reason_LOGGING_ENDPOINT_ERROR Reason = 5
Reason_LOGGING_ENDPOINT_PROTOCOL_ERROR Reason = 6
Reason_KAFKA_ENDPOINT_ERROR Reason = 7
Reason_UNKNOWN_LOG_ENTITY Reason = 8
)
var Reason_name = map[int32]string{
0: "UNDEFINED_REASON",
1: "UNKNOWN_DEVICE",
2: "INTERNAL_ERROR",
3: "WRONG_METRIC",
4: "WRONG_EVENT",
5: "LOGGING_ENDPOINT_ERROR",
6: "LOGGING_ENDPOINT_PROTOCOL_ERROR",
7: "KAFKA_ENDPOINT_ERROR",
8: "UNKNOWN_LOG_ENTITY",
}
var Reason_value = map[string]int32{
"UNDEFINED_REASON": 0,
"UNKNOWN_DEVICE": 1,
"INTERNAL_ERROR": 2,
"WRONG_METRIC": 3,
"WRONG_EVENT": 4,
"LOGGING_ENDPOINT_ERROR": 5,
"LOGGING_ENDPOINT_PROTOCOL_ERROR": 6,
"KAFKA_ENDPOINT_ERROR": 7,
"UNKNOWN_LOG_ENTITY": 8,
}
func (x Reason) String() string {
return proto.EnumName(Reason_name, int32(x))
}
func (Reason) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_74aedf0dda1205d8, []int{1}
}
//Log Level
type LogLevel int32
const (
LogLevel_TRACE LogLevel = 0
LogLevel_DEBUG LogLevel = 1
LogLevel_INFO LogLevel = 2
LogLevel_WARN LogLevel = 3
LogLevel_ERROR LogLevel = 4
)
var LogLevel_name = map[int32]string{
0: "TRACE",
1: "DEBUG",
2: "INFO",
3: "WARN",
4: "ERROR",
}
var LogLevel_value = map[string]int32{
"TRACE": 0,
"DEBUG": 1,
"INFO": 2,
"WARN": 3,
"ERROR": 4,
}
func (x LogLevel) String() string {
return proto.EnumName(LogLevel_name, int32(x))
}
func (LogLevel) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_74aedf0dda1205d8, []int{2}
}
func init() {
proto.RegisterEnum("dmi.Status", Status_name, Status_value)
proto.RegisterEnum("dmi.Reason", Reason_name, Reason_value)
proto.RegisterEnum("dmi.LogLevel", LogLevel_name, LogLevel_value)
}
func init() { proto.RegisterFile("dmi/commons.proto", fileDescriptor_74aedf0dda1205d8) }
var fileDescriptor_74aedf0dda1205d8 = []byte{
// 344 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0x4d, 0x6f, 0xba, 0x30,
0x00, 0xc6, 0xc5, 0x17, 0xfe, 0xda, 0xff, 0x5b, 0xd7, 0x18, 0xb3, 0xec, 0xb2, 0xc3, 0x6e, 0x26,
0xca, 0xc1, 0xd3, 0xb2, 0x83, 0x41, 0xa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