-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.pb.go
71 lines (58 loc) · 2.21 KB
/
task.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: proto/task.proto
package proto
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
// Task defines the specific tasks the program does.
type Task int32
const (
// Collecting web pages in raw format.
Task_collect Task = 0
// Parse raw web pages into structural data.
Task_parse Task = 1
// Publish parsed data into web pages.
Task_publish Task = 2
)
var Task_name = map[int32]string{
0: "collect",
1: "parse",
2: "publish",
}
var Task_value = map[string]int32{
"collect": 0,
"parse": 1,
"publish": 2,
}
func (x Task) String() string {
return proto.EnumName(Task_name, int32(x))
}
func (Task) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_5de11d747d3f16e6, []int{0}
}
func init() {
proto.RegisterEnum("proto.Task", Task_name, Task_value)
}
func init() { proto.RegisterFile("proto/task.proto", fileDescriptor_5de11d747d3f16e6) }
var fileDescriptor_5de11d747d3f16e6 = []byte{
// 126 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x28, 0x28, 0xca, 0x2f,
0xc9, 0xd7, 0x2f, 0x49, 0x2c, 0xce, 0xd6, 0x03, 0x33, 0x85, 0x58, 0xc1, 0x94, 0x96, 0x36, 0x17,
0x4b, 0x48, 0x62, 0x71, 0xb6, 0x10, 0x37, 0x17, 0x7b, 0x72, 0x7e, 0x4e, 0x4e, 0x6a, 0x72, 0x89,
0x00, 0x83, 0x10, 0x27, 0x17, 0x6b, 0x41, 0x62, 0x51, 0x71, 0xaa, 0x00, 0x23, 0x48, 0xbc, 0xa0,
0x34, 0x29, 0x27, 0xb3, 0x38, 0x43, 0x80, 0xc9, 0x49, 0x35, 0x4a, 0x39, 0x3d, 0xb3, 0x24, 0xa3,
0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x3f, 0xb3, 0xa4, 0x58, 0x37, 0xb7, 0x52, 0x37, 0x25, 0xb1,
0x24, 0x51, 0x3f, 0x25, 0xbf, 0x34, 0x29, 0x31, 0x5b, 0x1f, 0x6c, 0x66, 0x12, 0x1b, 0x98, 0x32,
0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x64, 0xe0, 0x21, 0x57, 0x75, 0x00, 0x00, 0x00,
}