Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: common/api/dm/service/v1/types.pb.go

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: fix imports and make dummy.go a real file Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « common/api/dm/service/v1/service.pb.go ('k') | common/api/dm/service/v1/walk_graph.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Code generated by protoc-gen-go. 1 // Code generated by protoc-gen-go.
2 // source: types.proto 2 // source: types.proto
3 // DO NOT EDIT! 3 // DO NOT EDIT!
4 4
5 package dm 5 package dm
6 6
7 import proto "github.com/golang/protobuf/proto" 7 import proto "github.com/golang/protobuf/proto"
8 import fmt "fmt" 8 import fmt "fmt"
9 import math "math" 9 import math "math"
10 import google_protobuf "github.com/luci/luci-go/common/proto/google" 10 import google_protobuf "github.com/luci/luci-go/common/proto/google"
11 import google_protobuf1 "github.com/luci/luci-go/common/proto/google" 11 import google_protobuf2 "github.com/luci/luci-go/common/proto/google"
12 12
13 // Reference imports to suppress errors if they are not otherwise used. 13 // Reference imports to suppress errors if they are not otherwise used.
14 var _ = proto.Marshal 14 var _ = proto.Marshal
15 var _ = fmt.Errorf 15 var _ = fmt.Errorf
16 var _ = math.Inf 16 var _ = math.Inf
17 17
18 type MultiPropertyValue struct { 18 type MultiPropertyValue struct {
19 Values []*PropertyValue `protobuf:"bytes,1,rep,name=values" json:"values ,omitempty"` 19 Values []*PropertyValue `protobuf:"bytes,1,rep,name=values" json:"values ,omitempty"`
20 } 20 }
21 21
22 func (m *MultiPropertyValue) Reset() { *m = MultiPropertyValu e{} } 22 func (m *MultiPropertyValue) Reset() { *m = MultiPropertyValu e{} }
23 func (m *MultiPropertyValue) String() string { return proto.CompactTe xtString(m) } 23 func (m *MultiPropertyValue) String() string { return proto.CompactTe xtString(m) }
24 func (*MultiPropertyValue) ProtoMessage() {} 24 func (*MultiPropertyValue) ProtoMessage() {}
25 func (*MultiPropertyValue) Descriptor() ([]byte, []int) { return fileDescriptor7 , []int{0} } 25 func (*MultiPropertyValue) Descriptor() ([]byte, []int) { return fileDescriptor6 , []int{0} }
26 26
27 func (m *MultiPropertyValue) GetValues() []*PropertyValue { 27 func (m *MultiPropertyValue) GetValues() []*PropertyValue {
28 if m != nil { 28 if m != nil {
29 return m.Values 29 return m.Values
30 } 30 }
31 return nil 31 return nil
32 } 32 }
33 33
34 type PropertyValue struct { 34 type PropertyValue struct {
35 // Types that are valid to be assigned to Value: 35 // Types that are valid to be assigned to Value:
36 // *PropertyValue_Str 36 // *PropertyValue_Str
37 // *PropertyValue_Dat 37 // *PropertyValue_Dat
38 // *PropertyValue_Num 38 // *PropertyValue_Num
39 // *PropertyValue_Bin 39 // *PropertyValue_Bin
40 // *PropertyValue_Time 40 // *PropertyValue_Time
41 // *PropertyValue_Null 41 // *PropertyValue_Null
42 Value isPropertyValue_Value `protobuf_oneof:"value"` 42 Value isPropertyValue_Value `protobuf_oneof:"value"`
43 } 43 }
44 44
45 func (m *PropertyValue) Reset() { *m = PropertyValue{} } 45 func (m *PropertyValue) Reset() { *m = PropertyValue{} }
46 func (m *PropertyValue) String() string { return proto.CompactTextStr ing(m) } 46 func (m *PropertyValue) String() string { return proto.CompactTextStr ing(m) }
47 func (*PropertyValue) ProtoMessage() {} 47 func (*PropertyValue) ProtoMessage() {}
48 func (*PropertyValue) Descriptor() ([]byte, []int) { return fileDescriptor7, []i nt{1} } 48 func (*PropertyValue) Descriptor() ([]byte, []int) { return fileDescriptor6, []i nt{1} }
49 49
50 type isPropertyValue_Value interface { 50 type isPropertyValue_Value interface {
51 isPropertyValue_Value() 51 isPropertyValue_Value()
52 } 52 }
53 53
54 type PropertyValue_Str struct { 54 type PropertyValue_Str struct {
55 Str string `protobuf:"bytes,1,opt,name=str,oneof"` 55 Str string `protobuf:"bytes,1,opt,name=str,oneof"`
56 } 56 }
57 type PropertyValue_Dat struct { 57 type PropertyValue_Dat struct {
58 Dat []byte `protobuf:"bytes,2,opt,name=dat,proto3,oneof"` 58 Dat []byte `protobuf:"bytes,2,opt,name=dat,proto3,oneof"`
59 } 59 }
60 type PropertyValue_Num struct { 60 type PropertyValue_Num struct {
61 Num int64 `protobuf:"varint,3,opt,name=num,oneof"` 61 Num int64 `protobuf:"varint,3,opt,name=num,oneof"`
62 } 62 }
63 type PropertyValue_Bin struct { 63 type PropertyValue_Bin struct {
64 Bin bool `protobuf:"varint,5,opt,name=bin,oneof"` 64 Bin bool `protobuf:"varint,5,opt,name=bin,oneof"`
65 } 65 }
66 type PropertyValue_Time struct { 66 type PropertyValue_Time struct {
67 Time *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=time,oneof"` 67 Time *google_protobuf.Timestamp `protobuf:"bytes,6,opt,name=time,oneof"`
68 } 68 }
69 type PropertyValue_Null struct { 69 type PropertyValue_Null struct {
70 » Null *google_protobuf1.Empty `protobuf:"bytes,7,opt,name=null,oneof"` 70 » Null *google_protobuf2.Empty `protobuf:"bytes,7,opt,name=null,oneof"`
71 } 71 }
72 72
73 func (*PropertyValue_Str) isPropertyValue_Value() {} 73 func (*PropertyValue_Str) isPropertyValue_Value() {}
74 func (*PropertyValue_Dat) isPropertyValue_Value() {} 74 func (*PropertyValue_Dat) isPropertyValue_Value() {}
75 func (*PropertyValue_Num) isPropertyValue_Value() {} 75 func (*PropertyValue_Num) isPropertyValue_Value() {}
76 func (*PropertyValue_Bin) isPropertyValue_Value() {} 76 func (*PropertyValue_Bin) isPropertyValue_Value() {}
77 func (*PropertyValue_Time) isPropertyValue_Value() {} 77 func (*PropertyValue_Time) isPropertyValue_Value() {}
78 func (*PropertyValue_Null) isPropertyValue_Value() {} 78 func (*PropertyValue_Null) isPropertyValue_Value() {}
79 79
80 func (m *PropertyValue) GetValue() isPropertyValue_Value { 80 func (m *PropertyValue) GetValue() isPropertyValue_Value {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 return false 112 return false
113 } 113 }
114 114
115 func (m *PropertyValue) GetTime() *google_protobuf.Timestamp { 115 func (m *PropertyValue) GetTime() *google_protobuf.Timestamp {
116 if x, ok := m.GetValue().(*PropertyValue_Time); ok { 116 if x, ok := m.GetValue().(*PropertyValue_Time); ok {
117 return x.Time 117 return x.Time
118 } 118 }
119 return nil 119 return nil
120 } 120 }
121 121
122 func (m *PropertyValue) GetNull() *google_protobuf1.Empty { 122 func (m *PropertyValue) GetNull() *google_protobuf2.Empty {
123 if x, ok := m.GetValue().(*PropertyValue_Null); ok { 123 if x, ok := m.GetValue().(*PropertyValue_Null); ok {
124 return x.Null 124 return x.Null
125 } 125 }
126 return nil 126 return nil
127 } 127 }
128 128
129 // XXX_OneofFuncs is for the internal use of the proto package. 129 // XXX_OneofFuncs is for the internal use of the proto package.
130 func (*PropertyValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), f unc(msg proto.Message) (n int), []interface{}) { 130 func (*PropertyValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), f unc(msg proto.Message) (n int), []interface{}) {
131 return _PropertyValue_OneofMarshaler, _PropertyValue_OneofUnmarshaler, _ PropertyValue_OneofSizer, []interface{}{ 131 return _PropertyValue_OneofMarshaler, _PropertyValue_OneofUnmarshaler, _ PropertyValue_OneofSizer, []interface{}{
132 (*PropertyValue_Str)(nil), 132 (*PropertyValue_Str)(nil),
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 return true, proto.ErrInternalBadWireType 211 return true, proto.ErrInternalBadWireType
212 } 212 }
213 msg := new(google_protobuf.Timestamp) 213 msg := new(google_protobuf.Timestamp)
214 err := b.DecodeMessage(msg) 214 err := b.DecodeMessage(msg)
215 m.Value = &PropertyValue_Time{msg} 215 m.Value = &PropertyValue_Time{msg}
216 return true, err 216 return true, err
217 case 7: // value.null 217 case 7: // value.null
218 if wire != proto.WireBytes { 218 if wire != proto.WireBytes {
219 return true, proto.ErrInternalBadWireType 219 return true, proto.ErrInternalBadWireType
220 } 220 }
221 » » msg := new(google_protobuf1.Empty) 221 » » msg := new(google_protobuf2.Empty)
222 err := b.DecodeMessage(msg) 222 err := b.DecodeMessage(msg)
223 m.Value = &PropertyValue_Null{msg} 223 m.Value = &PropertyValue_Null{msg}
224 return true, err 224 return true, err
225 default: 225 default:
226 return false, nil 226 return false, nil
227 } 227 }
228 } 228 }
229 229
230 func _PropertyValue_OneofSizer(msg proto.Message) (n int) { 230 func _PropertyValue_OneofSizer(msg proto.Message) (n int) {
231 m := msg.(*PropertyValue) 231 m := msg.(*PropertyValue)
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // { 271 // {
272 // "foo": [1, 2], 272 // "foo": [1, 2],
273 // "bar": [1], 273 // "bar": [1],
274 // } 274 // }
275 To map[string]*AttemptList_Nums `protobuf:"bytes,2,rep,name=to" json:"to ,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=v alue"` 275 To map[string]*AttemptList_Nums `protobuf:"bytes,2,rep,name=to" json:"to ,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=v alue"`
276 } 276 }
277 277
278 func (m *AttemptList) Reset() { *m = AttemptList{} } 278 func (m *AttemptList) Reset() { *m = AttemptList{} }
279 func (m *AttemptList) String() string { return proto.CompactTextStrin g(m) } 279 func (m *AttemptList) String() string { return proto.CompactTextStrin g(m) }
280 func (*AttemptList) ProtoMessage() {} 280 func (*AttemptList) ProtoMessage() {}
281 func (*AttemptList) Descriptor() ([]byte, []int) { return fileDescriptor7, []int {2} } 281 func (*AttemptList) Descriptor() ([]byte, []int) { return fileDescriptor6, []int {2} }
282 282
283 func (m *AttemptList) GetTo() map[string]*AttemptList_Nums { 283 func (m *AttemptList) GetTo() map[string]*AttemptList_Nums {
284 if m != nil { 284 if m != nil {
285 return m.To 285 return m.To
286 } 286 }
287 return nil 287 return nil
288 } 288 }
289 289
290 type AttemptList_Nums struct { 290 type AttemptList_Nums struct {
291 Nums []uint32 `protobuf:"varint,1,rep,packed,name=nums" json:"nums,omite mpty"` 291 Nums []uint32 `protobuf:"varint,1,rep,packed,name=nums" json:"nums,omite mpty"`
292 } 292 }
293 293
294 func (m *AttemptList_Nums) Reset() { *m = AttemptList_Nums{} } 294 func (m *AttemptList_Nums) Reset() { *m = AttemptList_Nums{} }
295 func (m *AttemptList_Nums) String() string { return proto.CompactText String(m) } 295 func (m *AttemptList_Nums) String() string { return proto.CompactText String(m) }
296 func (*AttemptList_Nums) ProtoMessage() {} 296 func (*AttemptList_Nums) ProtoMessage() {}
297 func (*AttemptList_Nums) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2, 0} } 297 func (*AttemptList_Nums) Descriptor() ([]byte, []int) { return fileDescriptor6, []int{2, 0} }
298 298
299 func init() { 299 func init() {
300 proto.RegisterType((*MultiPropertyValue)(nil), "dm.MultiPropertyValue") 300 proto.RegisterType((*MultiPropertyValue)(nil), "dm.MultiPropertyValue")
301 proto.RegisterType((*PropertyValue)(nil), "dm.PropertyValue") 301 proto.RegisterType((*PropertyValue)(nil), "dm.PropertyValue")
302 proto.RegisterType((*AttemptList)(nil), "dm.AttemptList") 302 proto.RegisterType((*AttemptList)(nil), "dm.AttemptList")
303 proto.RegisterType((*AttemptList_Nums)(nil), "dm.AttemptList.Nums") 303 proto.RegisterType((*AttemptList_Nums)(nil), "dm.AttemptList.Nums")
304 } 304 }
305 305
306 var fileDescriptor7 = []byte{ 306 var fileDescriptor6 = []byte{
307 // 340 bytes of a gzipped FileDescriptorProto 307 // 340 bytes of a gzipped FileDescriptorProto
308 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90, 0x5d, 0x4b, 0xc3, 0x30, 308 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x64, 0x90, 0x5d, 0x4b, 0xc3, 0x30,
309 0x14, 0x86, 0xed, 0xc7, 0x3e, 0x3c, 0x75, 0x30, 0x83, 0xcc, 0x52, 0x41, 0x65, 0x37, 0x4e, 0x91, 309 0x14, 0x86, 0xed, 0xc7, 0x3e, 0x3c, 0x75, 0x30, 0x83, 0xcc, 0x52, 0x41, 0x65, 0x37, 0x4e, 0x91,
310 0x4c, 0xe6, 0x8d, 0x78, 0x23, 0x0e, 0x06, 0xe2, 0x17, 0x52, 0x86, 0xf7, 0x1b, 0x8b, 0xa3, 0xd8, 310 0x4c, 0xe6, 0x8d, 0x78, 0x23, 0x0e, 0x06, 0xe2, 0x17, 0x52, 0x86, 0xf7, 0x1b, 0x8b, 0xa3, 0xd8,
311 0x34, 0xa5, 0x3d, 0x15, 0xfa, 0x7b, 0xfc, 0x3f, 0xfe, 0x26, 0x73, 0x92, 0x0d, 0xdc, 0xbc, 0xeb, 311 0x34, 0xa5, 0x3d, 0x15, 0xfa, 0x7b, 0xfc, 0x3f, 0xfe, 0x26, 0x73, 0x92, 0x0d, 0xdc, 0xbc, 0xeb,
312 0x79, 0xf2, 0x9c, 0x26, 0xef, 0x0b, 0x01, 0xd6, 0xb9, 0x28, 0x79, 0x5e, 0x28, 0x54, 0xcc, 0x5d, 312 0x79, 0xf2, 0x9c, 0x26, 0xef, 0x0b, 0x01, 0xd6, 0xb9, 0x28, 0x79, 0x5e, 0x28, 0x54, 0xcc, 0x5d,
313 0xc8, 0xe8, 0x64, 0xa9, 0xd4, 0x32, 0x15, 0x43, 0x43, 0xe6, 0xd5, 0xc7, 0x10, 0x13, 0x29, 0x4a, 313 0xc8, 0xe8, 0x64, 0xa9, 0xd4, 0x32, 0x15, 0x43, 0x43, 0xe6, 0xd5, 0xc7, 0x10, 0x13, 0x29, 0x4a,
314 0x9c, 0xc9, 0xdc, 0x4a, 0xd1, 0xd1, 0xb6, 0x20, 0x64, 0x8e, 0xb5, 0x3d, 0xec, 0xdf, 0x01, 0x7b, 314 0x9c, 0xc9, 0xdc, 0x4a, 0xd1, 0xd1, 0xb6, 0x20, 0x64, 0x8e, 0xb5, 0x3d, 0xec, 0xdf, 0x01, 0x7b,
315 0xa9, 0x52, 0x4c, 0xde, 0x0a, 0x95, 0x8b, 0x02, 0xeb, 0xf7, 0x59, 0x5a, 0x09, 0x76, 0x0e, 0xcd, 315 0xa9, 0x52, 0x4c, 0xde, 0x0a, 0x95, 0x8b, 0x02, 0xeb, 0xf7, 0x59, 0x5a, 0x09, 0x76, 0x0e, 0xcd,
316 0x2f, 0xfa, 0x28, 0x43, 0xe7, 0xd4, 0x1b, 0x04, 0xa3, 0x7d, 0xbe, 0x90, 0x7c, 0x43, 0x89, 0x57, 316 0x2f, 0xfa, 0x28, 0x43, 0xe7, 0xd4, 0x1b, 0x04, 0xa3, 0x7d, 0xbe, 0x90, 0x7c, 0x43, 0x89, 0x57,
317 0x42, 0xff, 0xc7, 0x81, 0xce, 0xe6, 0x32, 0x03, 0xaf, 0xc4, 0x42, 0x6f, 0x3a, 0x83, 0xdd, 0x87, 317 0x42, 0xff, 0xc7, 0x81, 0xce, 0xe6, 0x32, 0x03, 0xaf, 0xc4, 0x42, 0x6f, 0x3a, 0x83, 0xdd, 0x87,
318 0x9d, 0x98, 0x06, 0x62, 0x8b, 0x19, 0x86, 0xae, 0x66, 0x7b, 0xc4, 0xf4, 0x40, 0x2c, 0xab, 0x64, 318 0x9d, 0x98, 0x06, 0x62, 0x8b, 0x19, 0x86, 0xae, 0x66, 0x7b, 0xc4, 0xf4, 0x40, 0x2c, 0xab, 0x64,
319 0xe8, 0x69, 0xe6, 0x11, 0xd3, 0x03, 0xb1, 0x79, 0x92, 0x85, 0x0d, 0xcd, 0xda, 0xc4, 0xf4, 0xc0, 319 0xe8, 0x69, 0xe6, 0x11, 0xd3, 0x03, 0xb1, 0x79, 0x92, 0x85, 0x0d, 0xcd, 0xda, 0xc4, 0xf4, 0xc0,
320 0xae, 0xc0, 0xa7, 0x48, 0x61, 0x53, 0xc3, 0x60, 0x14, 0x71, 0x1b, 0x87, 0xaf, 0xe3, 0xf0, 0xe9, 320 0xae, 0xc0, 0xa7, 0x48, 0x61, 0x53, 0xc3, 0x60, 0x14, 0x71, 0x1b, 0x87, 0xaf, 0xe3, 0xf0, 0xe9,
321 0x3a, 0xaf, 0x5e, 0x30, 0x26, 0xbb, 0x04, 0x3f, 0xab, 0xd2, 0x34, 0x6c, 0x99, 0x8d, 0xde, 0xbf, 321 0x3a, 0xaf, 0x5e, 0x30, 0x26, 0xbb, 0x04, 0x3f, 0xab, 0xd2, 0x34, 0x6c, 0x99, 0x8d, 0xde, 0xbf,
322 0x8d, 0x09, 0x15, 0x40, 0x36, 0x59, 0xe3, 0x16, 0x34, 0x4c, 0x96, 0x47, 0xbf, 0xed, 0x77, 0x1b, 322 0x8d, 0x09, 0x15, 0x40, 0x36, 0x59, 0xe3, 0x16, 0x34, 0x4c, 0x96, 0x47, 0xbf, 0xed, 0x77, 0x1b,
323 0xfd, 0x6f, 0x07, 0x82, 0x7b, 0x44, 0x2a, 0xe9, 0x39, 0x29, 0x91, 0x9d, 0x81, 0x8b, 0x4a, 0xbf, 323 0xfd, 0x6f, 0x07, 0x82, 0x7b, 0x44, 0x2a, 0xe9, 0x39, 0x29, 0x91, 0x9d, 0x81, 0x8b, 0x4a, 0xbf,
324 0x9c, 0x7a, 0x38, 0xa4, 0x1e, 0xfe, 0x1c, 0xf2, 0xa9, 0x9a, 0x64, 0x58, 0xd4, 0xb1, 0x56, 0xa2, 324 0x9c, 0x7a, 0x38, 0xa4, 0x1e, 0xfe, 0x1c, 0xf2, 0xa9, 0x9a, 0x64, 0x58, 0xd4, 0xb1, 0x56, 0xa2,
325 0x63, 0xf0, 0x5f, 0x2b, 0x59, 0xb2, 0x1e, 0xdd, 0x2e, 0x6d, 0x75, 0x9d, 0xb1, 0xdb, 0x75, 0x62, 325 0x63, 0xf0, 0x5f, 0x2b, 0x59, 0xb2, 0x1e, 0xdd, 0x2e, 0x6d, 0x75, 0x9d, 0xb1, 0xdb, 0x75, 0x62,
326 0x33, 0x47, 0x4f, 0xd0, 0x5a, 0xe9, 0xac, 0x0b, 0xde, 0xa7, 0xa8, 0x6d, 0x45, 0x31, 0x7d, 0xb2, 326 0x33, 0x47, 0x4f, 0xd0, 0x5a, 0xe9, 0xac, 0x0b, 0xde, 0xa7, 0xa8, 0x6d, 0x45, 0x31, 0x7d, 0xb2,
327 0x8b, 0xd5, 0x23, 0x4c, 0x45, 0xc1, 0xe8, 0x60, 0xfb, 0x22, 0xfa, 0x73, 0x6c, 0x95, 0x5b, 0xf7, 327 0x8b, 0xd5, 0x23, 0x4c, 0x45, 0xc1, 0xe8, 0x60, 0xfb, 0x22, 0xfa, 0x73, 0x6c, 0x95, 0x5b, 0xf7,
328 0xc6, 0x99, 0x37, 0x4d, 0x98, 0xeb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x29, 0x51, 0x52, 0x94, 328 0xc6, 0x99, 0x37, 0x4d, 0x98, 0xeb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x29, 0x51, 0x52, 0x94,
329 0x0f, 0x02, 0x00, 0x00, 329 0x0f, 0x02, 0x00, 0x00,
330 } 330 }
OLDNEW
« no previous file with comments | « common/api/dm/service/v1/service.pb.go ('k') | common/api/dm/service/v1/walk_graph.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698