central_api_gateway/commons/commons.pb.go
2017-05-23 14:20:51 +09:00

162 lines
6.4 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:
Void
*/
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} }
type Void struct {
}
func (m *Void) Reset() { *m = Void{} }
func (m *Void) String() string { return proto.CompactTextString(m) }
func (*Void) ProtoMessage() {}
func (*Void) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func init() {
proto.RegisterType((*Void)(nil), "Void")
proto.RegisterEnum("DiscoveryEventType", DiscoveryEventType_name, DiscoveryEventType_value)
proto.RegisterEnum("TaskEventType", TaskEventType_name, TaskEventType_value)
}
func init() { proto.RegisterFile("commons.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 308 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xcd, 0x4e, 0xc2, 0x40,
0x14, 0x46, 0xf9, 0xb3, 0xc8, 0x4d, 0xc0, 0xe1, 0x82, 0x40, 0xd4, 0x95, 0x4b, 0x16, 0x6e, 0x7c,
0x82, 0x09, 0x73, 0x45, 0x62, 0xed, 0x34, 0x33, 0x43, 0x8d, 0xab, 0x46, 0x91, 0x05, 0x31, 0x30,
0x04, 0x08, 0x09, 0x0f, 0xe5, 0xeb, 0xb9, 0x36, 0x0c, 0x50, 0x28, 0x76, 0x7b, 0x4e, 0x7a, 0x7a,
0xfb, 0xa5, 0x50, 0x1d, 0xd9, 0xe9, 0xd4, 0xce, 0x96, 0x0f, 0xf3, 0x85, 0x5d, 0xd9, 0x7b, 0x0f,
0x4a, 0x91, 0x9d, 0x7c, 0x75, 0x7f, 0x0a, 0x80, 0x62, 0xb2, 0x1c, 0xd9, 0xf5, 0x78, 0xb1, 0xa1,
0xf5, 0x78, 0xb6, 0x32, 0x9b, 0xf9, 0x18, 0x1b, 0x70, 0x25, 0x06, 0xba, 0x27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