/
types.pb.go
113 lines (102 loc) · 3.63 KB
/
types.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: types.proto
package types
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/gogo/protobuf/gogoproto"
// 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.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type Type int32
const (
UNKNOWN Type = 0
SINGLE_DOUBLE Type = 101
SINGLE_INT Type = 103
SINGLE_UINT Type = 104
SINGLE_BOOL Type = 108
SINGLE_STRING Type = 109
SINGLE_BYTES Type = 112
LIST_DOUBLE Type = 201
LIST_INT Type = 203
LIST_UINT Type = 204
LIST_BOOL Type = 208
LIST_STRING Type = 209
LIST_BYTES Type = 212
)
var Type_name = map[int32]string{
0: "UNKNOWN",
101: "SINGLE_DOUBLE",
103: "SINGLE_INT",
104: "SINGLE_UINT",
108: "SINGLE_BOOL",
109: "SINGLE_STRING",
112: "SINGLE_BYTES",
201: "LIST_DOUBLE",
203: "LIST_INT",
204: "LIST_UINT",
208: "LIST_BOOL",
209: "LIST_STRING",
212: "LIST_BYTES",
}
var Type_value = map[string]int32{
"UNKNOWN": 0,
"SINGLE_DOUBLE": 101,
"SINGLE_INT": 103,
"SINGLE_UINT": 104,
"SINGLE_BOOL": 108,
"SINGLE_STRING": 109,
"SINGLE_BYTES": 112,
"LIST_DOUBLE": 201,
"LIST_INT": 203,
"LIST_UINT": 204,
"LIST_BOOL": 208,
"LIST_STRING": 209,
"LIST_BYTES": 212,
}
func (x Type) Enum() *Type {
p := new(Type)
*p = x
return p
}
func (x Type) String() string {
return proto.EnumName(Type_name, int32(x))
}
func (x *Type) UnmarshalJSON(data []byte) error {
value, err := proto.UnmarshalJSONEnum(Type_value, data, "Type")
if err != nil {
return err
}
*x = Type(value)
return nil
}
func (Type) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_types_d4b921c1c346e61a, []int{0}
}
func init() {
proto.RegisterEnum("types.Type", Type_name, Type_value)
}
func init() { proto.RegisterFile("types.proto", fileDescriptor_types_d4b921c1c346e61a) }
var fileDescriptor_types_d4b921c1c346e61a = []byte{
// 223 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0xa9, 0x2c, 0x48,
0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x73, 0xa4, 0x74, 0xd3, 0x33, 0x4b,
0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xd3, 0xf3, 0xd3, 0xf3, 0xf5, 0xc1, 0xb2, 0x49,
0xa5, 0x69, 0x60, 0x1e, 0x98, 0x03, 0x66, 0x41, 0x74, 0x69, 0x3d, 0x67, 0xe4, 0x62, 0x09, 0xa9,
0x2c, 0x48, 0x15, 0xe2, 0xe6, 0x62, 0x0f, 0xf5, 0xf3, 0xf6, 0xf3, 0x0f, 0xf7, 0x13, 0x60, 0x10,
0x12, 0xe4, 0xe2, 0x0d, 0xf6, 0xf4, 0x73, 0xf7, 0x71, 0x8d, 0x77, 0xf1, 0x0f, 0x75, 0xf2, 0x71,
0x15, 0x48, 0x15, 0xe2, 0xe3, 0xe2, 0x82, 0x0a, 0x79, 0xfa, 0x85, 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