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 package proto
30
31 type float64Value struct {
32 Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
33 }
34
35 func (m *float64Value) Reset() { *m = float64Value{} }
36 func (*float64Value) ProtoMessage() {}
37 func (*float64Value) String() string { return "float64<string>" }
38
39 type float32Value struct {
40 Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
41 }
42
43 func (m *float32Value) Reset() { *m = float32Value{} }
44 func (*float32Value) ProtoMessage() {}
45 func (*float32Value) String() string { return "float32<string>" }
46
47 type int64Value struct {
48 Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
49 }
50
51 func (m *int64Value) Reset() { *m = int64Value{} }
52 func (*int64Value) ProtoMessage() {}
53 func (*int64Value) String() string { return "int64<string>" }
54
55 type uint64Value struct {
56 Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
57 }
58
59 func (m *uint64Value) Reset() { *m = uint64Value{} }
60 func (*uint64Value) ProtoMessage() {}
61 func (*uint64Value) String() string { return "uint64<string>" }
62
63 type int32Value struct {
64 Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
65 }
66
67 func (m *int32Value) Reset() { *m = int32Value{} }
68 func (*int32Value) ProtoMessage() {}
69 func (*int32Value) String() string { return "int32<string>" }
70
71 type uint32Value struct {
72 Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
73 }
74
75 func (m *uint32Value) Reset() { *m = uint32Value{} }
76 func (*uint32Value) ProtoMessage() {}
77 func (*uint32Value) String() string { return "uint32<string>" }
78
79 type boolValue struct {
80 Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
81 }
82
83 func (m *boolValue) Reset() { *m = boolValue{} }
84 func (*boolValue) ProtoMessage() {}
85 func (*boolValue) String() string { return "bool<string>" }
86
87 type stringValue struct {
88 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
89 }
90
91 func (m *stringValue) Reset() { *m = stringValue{} }
92 func (*stringValue) ProtoMessage() {}
93 func (*stringValue) String() string { return "string<string>" }
94
95 type bytesValue struct {
96 Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
97 }
98
99 func (m *bytesValue) Reset() { *m = bytesValue{} }
100 func (*bytesValue) ProtoMessage() {}
101 func (*bytesValue) String() string { return "[]byte<string>" }
102
103 func init() {
104 RegisterType((*float64Value)(nil), "gogo.protobuf.proto.DoubleValue")
105 RegisterType((*float32Value)(nil), "gogo.protobuf.proto.FloatValue")
106 RegisterType((*int64Value)(nil), "gogo.protobuf.proto.Int64Value")
107 RegisterType((*uint64Value)(nil), "gogo.protobuf.proto.UInt64Value")
108 RegisterType((*int32Value)(nil), "gogo.protobuf.proto.Int32Value")
109 RegisterType((*uint32Value)(nil), "gogo.protobuf.proto.UInt32Value")
110 RegisterType((*boolValue)(nil), "gogo.protobuf.proto.BoolValue")
111 RegisterType((*stringValue)(nil), "gogo.protobuf.proto.StringValue")
112 RegisterType((*bytesValue)(nil), "gogo.protobuf.proto.BytesValue")
113 }
114
View as plain text