151 lines
6.0 KiB
Go
151 lines
6.0 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: commons.proto
|
||
|
|
||
|
/*
|
||
|
Package commons is a generated protocol buffer package.
|
||
|
|
||
|
It is generated from these files:
|
||
|
commons.proto
|
||
|
|
||
|
It has these top-level messages:
|
||
|
*/
|
||
|
package commons
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
type DiscoveryEventType int32
|
||
|
|
||
|
const (
|
||
|
DiscoveryEventType_DISCOVERY_START DiscoveryEventType = 0
|
||
|
DiscoveryEventType_DISCOVERY_HOST_START DiscoveryEventType = 1
|
||
|
DiscoveryEventType_DISCOVERY_HOST_FOUND DiscoveryEventType = 2
|
||
|
DiscoveryEventType_DISCOVERY_HOST_DONE DiscoveryEventType = 3
|
||
|
DiscoveryEventType_DISCOVERY_PORT_START DiscoveryEventType = 4
|
||
|
DiscoveryEventType_DISCOVERY_PORT_FOUND DiscoveryEventType = 5
|
||
|
DiscoveryEventType_DISCOVERY_PORT_DONE DiscoveryEventType = 6
|
||
|
DiscoveryEventType_DISCOVERY_SERVICE_START DiscoveryEventType = 7
|
||
|
DiscoveryEventType_DISCOVERY_SERVICE_FOUND DiscoveryEventType = 8
|
||
|
DiscoveryEventType_DISCOVERY_SERVICE_DONE DiscoveryEventType = 9
|
||
|
DiscoveryEventType_DISCOVERY_DONE DiscoveryEventType = 10
|
||
|
)
|
||
|
|
||
|
var DiscoveryEventType_name = map[int32]string{
|
||
|
0: "DISCOVERY_START",
|
||
|
1: "DISCOVERY_HOST_START",
|
||
|
2: "DISCOVERY_HOST_FOUND",
|
||
|
3: "DISCOVERY_HOST_DONE",
|
||
|
4: "DISCOVERY_PORT_START",
|
||
|
5: "DISCOVERY_PORT_FOUND",
|
||
|
6: "DISCOVERY_PORT_DONE",
|
||
|
7: "DISCOVERY_SERVICE_START",
|
||
|
8: "DISCOVERY_SERVICE_FOUND",
|
||
|
9: "DISCOVERY_SERVICE_DONE",
|
||
|
10: "DISCOVERY_DONE",
|
||
|
}
|
||
|
var DiscoveryEventType_value = map[string]int32{
|
||
|
"DISCOVERY_START": 0,
|
||
|
"DISCOVERY_HOST_START": 1,
|
||
|
"DISCOVERY_HOST_FOUND": 2,
|
||
|
"DISCOVERY_HOST_DONE": 3,
|
||
|
"DISCOVERY_PORT_START": 4,
|
||
|
"DISCOVERY_PORT_FOUND": 5,
|
||
|
"DISCOVERY_PORT_DONE": 6,
|
||
|
"DISCOVERY_SERVICE_START": 7,
|
||
|
"DISCOVERY_SERVICE_FOUND": 8,
|
||
|
"DISCOVERY_SERVICE_DONE": 9,
|
||
|
"DISCOVERY_DONE": 10,
|
||
|
}
|
||
|
|
||
|
func (x DiscoveryEventType) String() string {
|
||
|
return proto.EnumName(DiscoveryEventType_name, int32(x))
|
||
|
}
|
||
|
func (DiscoveryEventType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||
|
|
||
|
type TaskEventType int32
|
||
|
|
||
|
const (
|
||
|
TaskEventType_TASK_POL_INTERVAL_UPDATE TaskEventType = 0
|
||
|
TaskEventType_TASK_SENSOR_START TaskEventType = 1
|
||
|
TaskEventType_TASK_SENSOR_STOP TaskEventType = 2
|
||
|
TaskEventType_TASK_SENSOR_ADD TaskEventType = 3
|
||
|
TaskEventType_TASK_SENSOR_REMOVE TaskEventType = 4
|
||
|
TaskEventType_TASK_SENSOR_UPDATE TaskEventType = 5
|
||
|
TaskEventType_TASK_CRAWLER_UPDATE TaskEventType = 6
|
||
|
TaskEventType_TASK_AGENT_UPDATE TaskEventType = 7
|
||
|
TaskEventType_TASK_LOG_SEND TaskEventType = 8
|
||
|
TaskEventType_TASK_DISCOVERY TaskEventType = 9
|
||
|
)
|
||
|
|
||
|
var TaskEventType_name = map[int32]string{
|
||
|
0: "TASK_POL_INTERVAL_UPDATE",
|
||
|
1: "TASK_SENSOR_START",
|
||
|
2: "TASK_SENSOR_STOP",
|
||
|
3: "TASK_SENSOR_ADD",
|
||
|
4: "TASK_SENSOR_REMOVE",
|
||
|
5: "TASK_SENSOR_UPDATE",
|
||
|
6: "TASK_CRAWLER_UPDATE",
|
||
|
7: "TASK_AGENT_UPDATE",
|
||
|
8: "TASK_LOG_SEND",
|
||
|
9: "TASK_DISCOVERY",
|
||
|
}
|
||
|
var TaskEventType_value = map[string]int32{
|
||
|
"TASK_POL_INTERVAL_UPDATE": 0,
|
||
|
"TASK_SENSOR_START": 1,
|
||
|
"TASK_SENSOR_STOP": 2,
|
||
|
"TASK_SENSOR_ADD": 3,
|
||
|
"TASK_SENSOR_REMOVE": 4,
|
||
|
"TASK_SENSOR_UPDATE": 5,
|
||
|
"TASK_CRAWLER_UPDATE": 6,
|
||
|
"TASK_AGENT_UPDATE": 7,
|
||
|
"TASK_LOG_SEND": 8,
|
||
|
"TASK_DISCOVERY": 9,
|
||
|
}
|
||
|
|
||
|
func (x TaskEventType) String() string {
|
||
|
return proto.EnumName(TaskEventType_name, int32(x))
|
||
|
}
|
||
|
func (TaskEventType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterEnum("DiscoveryEventType", DiscoveryEventType_name, DiscoveryEventType_value)
|
||
|
proto.RegisterEnum("TaskEventType", TaskEventType_name, TaskEventType_value)
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("commons.proto", fileDescriptor0) }
|
||
|
|
||
|
var fileDescriptor0 = []byte{
|
||
|
// 302 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xcd, 0x4e, 0xfa, 0x40,
|
||
|
0x14, 0x47, 0xf9, 0xfa, 0xc3, 0x9f, 0x9b, 0x80, 0xc3, 0x05, 0x81, 0xa8, 0x4f, 0xc0, 0xc2, 0x8d,
|
||
|
0x4f, 0x30, 0x61, 0xae, 0x48, 0xac, 0x9d, 0x66, 0x66, 0xa8, 0x71, 0xd5, 0x28, 0x61, 0x61, 0x0c,
|
||
|
0x94, 0x50, 0x42, 0xc2, 0x43, 0xf9, 0x7a, 0xae, 0x4d, 0x87, 0xd2, 0x0f, 0xec, 0xf6, 0x9c, 0xf4,
|
||
|
0xf4, 0xf6, 0x97, 0x42, 0x67, 0x19, 0xae, 0xd7, 0xe1, 0x26, 0xba, 0xdf, 0xee, 0xc2, 0x7d, 0x38,
|
||
|
0xf9, 0xae, 0x01, 0x8a, 0xcf, 0x68, 0x19, 0x1e, 0x56, 0xbb, 0x23, 0x1d, 0x56, 0x9b, 0xbd, 0x39,
|
||
|
0x6e, 0x57, 0xd8, 0x87, 0x2b, 0x31, 0xd7, 0x53, 0xe9, 0x93, 0x7a, 0x0b, 0xb4, 0xe1, 0xca, 0xb0,
|
||
|
0x0a, 0x8e, 0x61, 0x90, 0xc1, 0x27, 0xa9, 0x4d, 0x62, 0xaa, 0x25, 0xe6, 0x51, 0x2e, 0x5c, 0xc1,
|
||
|
0x6a, 0x38, 0x82, 0xfe, 0x85, 0x11, 0xd2, 0x25, 0x56, 0x2f, 0x3e, 0xe2, 0x49, 0x75, 0x8e, 0x35,
|
||
|
0x4a, 0xcc, 0x29, 0xf6, 0xaf, 0x18, 0xb3, 0xc6, 0xc6, 0x9a, 0x78, 0x0b, 0xa3, 0xdc, 0xb9, 0xa4,
|
||
|
0xfc, 0xf9, 0x94, 0x92, 0x5e, 0xab, 0x5c, 0x9e, 0x92, 0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