OLD | NEW |
1 // Code generated by protoc-gen-go. | 1 // Code generated by protoc-gen-go. |
2 // source: ensure_graph_data.proto | 2 // source: ensure_graph_data.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 template "github.com/luci/luci-go/common/api/template" | 10 import template "github.com/luci/luci-go/common/api/template" |
(...skipping 12 matching lines...) Expand all Loading... |
23 // 'refs/heads/master'). | 23 // 'refs/heads/master'). |
24 Ref string `protobuf:"bytes,2,opt,name=ref" json:"ref,omitempty"` | 24 Ref string `protobuf:"bytes,2,opt,name=ref" json:"ref,omitempty"` |
25 // specifier specifies the actual template name, as well as any substitu
tion | 25 // specifier specifies the actual template name, as well as any substitu
tion |
26 // parameters which that template might require. | 26 // parameters which that template might require. |
27 Specifier *template.Specifier `protobuf:"bytes,4,opt,name=specifier" jso
n:"specifier,omitempty"` | 27 Specifier *template.Specifier `protobuf:"bytes,4,opt,name=specifier" jso
n:"specifier,omitempty"` |
28 } | 28 } |
29 | 29 |
30 func (m *TemplateInstantiation) Reset() { *m = TemplateInstan
tiation{} } | 30 func (m *TemplateInstantiation) Reset() { *m = TemplateInstan
tiation{} } |
31 func (m *TemplateInstantiation) String() string { return proto.Compac
tTextString(m) } | 31 func (m *TemplateInstantiation) String() string { return proto.Compac
tTextString(m) } |
32 func (*TemplateInstantiation) ProtoMessage() {} | 32 func (*TemplateInstantiation) ProtoMessage() {} |
33 func (*TemplateInstantiation) Descriptor() ([]byte, []int) { return fileDescript
or2, []int{0} } | 33 func (*TemplateInstantiation) Descriptor() ([]byte, []int) { return fileDescript
or1, []int{0} } |
34 | 34 |
35 func (m *TemplateInstantiation) GetSpecifier() *template.Specifier { | 35 func (m *TemplateInstantiation) GetSpecifier() *template.Specifier { |
36 if m != nil { | 36 if m != nil { |
37 return m.Specifier | 37 return m.Specifier |
38 } | 38 } |
39 return nil | 39 return nil |
40 } | 40 } |
41 | 41 |
42 // EnsureGraphDataReq allows you to assert some things about the state of DM's | 42 // EnsureGraphDataReq allows you to assert some things about the state of DM's |
43 // graph: | 43 // graph: |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // and any quests/attempts provided will be made standalone (e.g. nothin
g will | 80 // and any quests/attempts provided will be made standalone (e.g. nothin
g will |
81 // depend on them). | 81 // depend on them). |
82 ForExecution *Execution_Auth `protobuf:"bytes,5,opt,name=for
_execution,json=forExecution" json:"for_execution,omitempty"` | 82 ForExecution *Execution_Auth `protobuf:"bytes,5,opt,name=for
_execution,json=forExecution" json:"for_execution,omitempty"` |
83 Limit *EnsureGraphDataReq_Limit `protobuf:"bytes,6,opt,name=lim
it" json:"limit,omitempty"` | 83 Limit *EnsureGraphDataReq_Limit `protobuf:"bytes,6,opt,name=lim
it" json:"limit,omitempty"` |
84 Include *EnsureGraphDataReq_Include `protobuf:"bytes,7,opt,name=inc
lude" json:"include,omitempty"` | 84 Include *EnsureGraphDataReq_Include `protobuf:"bytes,7,opt,name=inc
lude" json:"include,omitempty"` |
85 } | 85 } |
86 | 86 |
87 func (m *EnsureGraphDataReq) Reset() { *m = EnsureGraphDataRe
q{} } | 87 func (m *EnsureGraphDataReq) Reset() { *m = EnsureGraphDataRe
q{} } |
88 func (m *EnsureGraphDataReq) String() string { return proto.CompactTe
xtString(m) } | 88 func (m *EnsureGraphDataReq) String() string { return proto.CompactTe
xtString(m) } |
89 func (*EnsureGraphDataReq) ProtoMessage() {} | 89 func (*EnsureGraphDataReq) ProtoMessage() {} |
90 func (*EnsureGraphDataReq) Descriptor() ([]byte, []int) { return fileDescriptor2
, []int{1} } | 90 func (*EnsureGraphDataReq) Descriptor() ([]byte, []int) { return fileDescriptor1
, []int{1} } |
91 | 91 |
92 func (m *EnsureGraphDataReq) GetQuest() []*Quest_Desc { | 92 func (m *EnsureGraphDataReq) GetQuest() []*Quest_Desc { |
93 if m != nil { | 93 if m != nil { |
94 return m.Quest | 94 return m.Quest |
95 } | 95 } |
96 return nil | 96 return nil |
97 } | 97 } |
98 | 98 |
99 func (m *EnsureGraphDataReq) GetAttempts() *AttemptList { | 99 func (m *EnsureGraphDataReq) GetAttempts() *AttemptList { |
100 if m != nil { | 100 if m != nil { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // object would still be included in the result. | 145 // object would still be included in the result. |
146 // | 146 // |
147 // If this limit is 0, a default limit of 16MB will be used. If this lim
it | 147 // If this limit is 0, a default limit of 16MB will be used. If this lim
it |
148 // exceeds 30MB, it will be reduced to 30MB. | 148 // exceeds 30MB, it will be reduced to 30MB. |
149 MaxDataSize uint32 `protobuf:"varint,3,opt,name=max_data_size,json=maxDa
taSize" json:"max_data_size,omitempty"` | 149 MaxDataSize uint32 `protobuf:"varint,3,opt,name=max_data_size,json=maxDa
taSize" json:"max_data_size,omitempty"` |
150 } | 150 } |
151 | 151 |
152 func (m *EnsureGraphDataReq_Limit) Reset() { *m = EnsureGraph
DataReq_Limit{} } | 152 func (m *EnsureGraphDataReq_Limit) Reset() { *m = EnsureGraph
DataReq_Limit{} } |
153 func (m *EnsureGraphDataReq_Limit) String() string { return proto.Com
pactTextString(m) } | 153 func (m *EnsureGraphDataReq_Limit) String() string { return proto.Com
pactTextString(m) } |
154 func (*EnsureGraphDataReq_Limit) ProtoMessage() {} | 154 func (*EnsureGraphDataReq_Limit) ProtoMessage() {} |
155 func (*EnsureGraphDataReq_Limit) Descriptor() ([]byte, []int) { return fileDescr
iptor2, []int{1, 0} } | 155 func (*EnsureGraphDataReq_Limit) Descriptor() ([]byte, []int) { return fileDescr
iptor1, []int{1, 0} } |
156 | 156 |
157 type EnsureGraphDataReq_Include struct { | 157 type EnsureGraphDataReq_Include struct { |
158 // AttemptResult will include the Attempt result payloads for any Attemp
ts | 158 // AttemptResult will include the Attempt result payloads for any Attemp
ts |
159 // that it returns were already in the Finished state. | 159 // that it returns were already in the Finished state. |
160 // | 160 // |
161 // If the request would return more than limit.max_data_size of data, th
e | 161 // If the request would return more than limit.max_data_size of data, th
e |
162 // remaining attempt results will have their Partial.Data field set to t
rue. | 162 // remaining attempt results will have their Partial.Data field set to t
rue. |
163 AttemptResult bool `protobuf:"varint,4,opt,name=attempt_result,json=atte
mptResult" json:"attempt_result,omitempty"` | 163 AttemptResult bool `protobuf:"varint,4,opt,name=attempt_result,json=atte
mptResult" json:"attempt_result,omitempty"` |
164 } | 164 } |
165 | 165 |
166 func (m *EnsureGraphDataReq_Include) Reset() { *m = EnsureGra
phDataReq_Include{} } | 166 func (m *EnsureGraphDataReq_Include) Reset() { *m = EnsureGra
phDataReq_Include{} } |
167 func (m *EnsureGraphDataReq_Include) String() string { return proto.C
ompactTextString(m) } | 167 func (m *EnsureGraphDataReq_Include) String() string { return proto.C
ompactTextString(m) } |
168 func (*EnsureGraphDataReq_Include) ProtoMessage() {} | 168 func (*EnsureGraphDataReq_Include) ProtoMessage() {} |
169 func (*EnsureGraphDataReq_Include) Descriptor() ([]byte, []int) { return fileDes
criptor2, []int{1, 1} } | 169 func (*EnsureGraphDataReq_Include) Descriptor() ([]byte, []int) { return fileDes
criptor1, []int{1, 1} } |
170 | 170 |
171 type EnsureGraphDataRsp struct { | 171 type EnsureGraphDataRsp struct { |
172 // accepted is true when all new graph data was journaled successfully.
This | 172 // accepted is true when all new graph data was journaled successfully.
This |
173 // means that `quests`, `attempts`, `template_quest`, `template_attempt`
were | 173 // means that `quests`, `attempts`, `template_quest`, `template_attempt`
were |
174 // all well-formed and are scheduled to be added. They will 'eventually'
be | 174 // all well-formed and are scheduled to be added. They will 'eventually'
be |
175 // readable via other APIs (like WalkGraph), but when they are, they'll
have | 175 // readable via other APIs (like WalkGraph), but when they are, they'll
have |
176 // the IDs reflected in this response. | 176 // the IDs reflected in this response. |
177 // | 177 // |
178 // If `attempts` referrs to quests that don't exist and weren't provided
in | 178 // If `attempts` referrs to quests that don't exist and weren't provided
in |
179 // `quests`, those quests will be listed in `result` with the DNE flag s
et. | 179 // `quests`, those quests will be listed in `result` with the DNE flag s
et. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 // auth Token is also revoked and will no longer work for futher API cal
ls. | 214 // auth Token is also revoked and will no longer work for futher API cal
ls. |
215 // | 215 // |
216 // If `for_execution` was provided in the request and this is false, it
means | 216 // If `for_execution` was provided in the request and this is false, it
means |
217 // that the execution may continue executing. | 217 // that the execution may continue executing. |
218 ShouldHalt bool `protobuf:"varint,5,opt,name=should_halt,json=shouldHalt
" json:"should_halt,omitempty"` | 218 ShouldHalt bool `protobuf:"varint,5,opt,name=should_halt,json=shouldHalt
" json:"should_halt,omitempty"` |
219 } | 219 } |
220 | 220 |
221 func (m *EnsureGraphDataRsp) Reset() { *m = EnsureGraphDataRs
p{} } | 221 func (m *EnsureGraphDataRsp) Reset() { *m = EnsureGraphDataRs
p{} } |
222 func (m *EnsureGraphDataRsp) String() string { return proto.CompactTe
xtString(m) } | 222 func (m *EnsureGraphDataRsp) String() string { return proto.CompactTe
xtString(m) } |
223 func (*EnsureGraphDataRsp) ProtoMessage() {} | 223 func (*EnsureGraphDataRsp) ProtoMessage() {} |
224 func (*EnsureGraphDataRsp) Descriptor() ([]byte, []int) { return fileDescriptor2
, []int{2} } | 224 func (*EnsureGraphDataRsp) Descriptor() ([]byte, []int) { return fileDescriptor1
, []int{2} } |
225 | 225 |
226 func (m *EnsureGraphDataRsp) GetTemplateIds() []*Quest_ID { | 226 func (m *EnsureGraphDataRsp) GetTemplateIds() []*Quest_ID { |
227 if m != nil { | 227 if m != nil { |
228 return m.TemplateIds | 228 return m.TemplateIds |
229 } | 229 } |
230 return nil | 230 return nil |
231 } | 231 } |
232 | 232 |
233 func (m *EnsureGraphDataRsp) GetResult() *GraphData { | 233 func (m *EnsureGraphDataRsp) GetResult() *GraphData { |
234 if m != nil { | 234 if m != nil { |
235 return m.Result | 235 return m.Result |
236 } | 236 } |
237 return nil | 237 return nil |
238 } | 238 } |
239 | 239 |
240 func init() { | 240 func init() { |
241 proto.RegisterType((*TemplateInstantiation)(nil), "dm.TemplateInstantiat
ion") | 241 proto.RegisterType((*TemplateInstantiation)(nil), "dm.TemplateInstantiat
ion") |
242 proto.RegisterType((*EnsureGraphDataReq)(nil), "dm.EnsureGraphDataReq") | 242 proto.RegisterType((*EnsureGraphDataReq)(nil), "dm.EnsureGraphDataReq") |
243 proto.RegisterType((*EnsureGraphDataReq_Limit)(nil), "dm.EnsureGraphData
Req.Limit") | 243 proto.RegisterType((*EnsureGraphDataReq_Limit)(nil), "dm.EnsureGraphData
Req.Limit") |
244 proto.RegisterType((*EnsureGraphDataReq_Include)(nil), "dm.EnsureGraphDa
taReq.Include") | 244 proto.RegisterType((*EnsureGraphDataReq_Include)(nil), "dm.EnsureGraphDa
taReq.Include") |
245 proto.RegisterType((*EnsureGraphDataRsp)(nil), "dm.EnsureGraphDataRsp") | 245 proto.RegisterType((*EnsureGraphDataRsp)(nil), "dm.EnsureGraphDataRsp") |
246 } | 246 } |
247 | 247 |
248 var fileDescriptor2 = []byte{ | 248 var fileDescriptor1 = []byte{ |
249 // 561 bytes of a gzipped FileDescriptorProto | 249 // 561 bytes of a gzipped FileDescriptorProto |
250 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x53,
0x5d, 0x8b, 0xd3, 0x40, | 250 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x53,
0x5d, 0x8b, 0xd3, 0x40, |
251 0x14, 0xa5, 0x1f, 0x69, 0xd2, 0x49, 0xd3, 0x0d, 0xa3, 0x62, 0x0c, 0xa2,
0x52, 0x14, 0x16, 0xc4, | 251 0x14, 0xa5, 0x1f, 0x69, 0xd2, 0x49, 0xd3, 0x0d, 0xa3, 0x62, 0x0c, 0xa2,
0x52, 0x14, 0x16, 0xc4, |
252 0x14, 0xeb, 0xc3, 0x8a, 0x2f, 0xba, 0xd0, 0xa2, 0x95, 0x45, 0x70, 0xd6,
0x27, 0x5f, 0x42, 0x36, | 252 0x14, 0xeb, 0xc3, 0x8a, 0x2f, 0xba, 0xd0, 0xa2, 0x95, 0x45, 0x70, 0xd6,
0x27, 0x5f, 0x42, 0x36, |
253 0x99, 0x36, 0x23, 0xf9, 0xda, 0xcc, 0x0c, 0xac, 0xe2, 0xef, 0xf1, 0xf7,
0xf8, 0x93, 0xbc, 0x33, | 253 0x99, 0x36, 0x23, 0xf9, 0xda, 0xcc, 0x0c, 0xac, 0xe2, 0xef, 0xf1, 0xf7,
0xf8, 0x93, 0xbc, 0x33, |
254 0xf9, 0xe8, 0xb2, 0xeb, 0xbe, 0x5c, 0x9a, 0x33, 0xe7, 0x9c, 0x7b, 0xef,
0xcc, 0x29, 0x7a, 0x48, | 254 0xf9, 0xe8, 0xb2, 0xeb, 0xbe, 0x5c, 0x9a, 0x33, 0xe7, 0x9c, 0x7b, 0xef,
0xcc, 0x29, 0x7a, 0x48, |
255 0x0b, 0x2e, 0x6b, 0x1a, 0xee, 0xeb, 0xa8, 0x4a, 0xc3, 0x24, 0x12, 0x51,
0x50, 0xd5, 0xa5, 0x28, | 255 0x0b, 0x2e, 0x6b, 0x1a, 0xee, 0xeb, 0xa8, 0x4a, 0xc3, 0x24, 0x12, 0x51,
0x50, 0xd5, 0xa5, 0x28, |
256 0xf1, 0x30, 0xc9, 0x7d, 0x5b, 0xfc, 0xac, 0x28, 0x6f, 0x00, 0xdf, 0xbd,
0x49, 0xf1, 0xdf, 0xed, | 256 0xf1, 0x30, 0xc9, 0x7d, 0x5b, 0xfc, 0xac, 0x28, 0x6f, 0x00, 0xdf, 0xbd,
0x49, 0xf1, 0xdf, 0xed, |
257 0x99, 0x48, 0xe5, 0x45, 0x10, 0x97, 0xf9, 0x32, 0x93, 0x31, 0xd3, 0xe5,
0xd5, 0xbe, 0x5c, 0x02, | 257 0x99, 0x48, 0xe5, 0x45, 0x10, 0x97, 0xf9, 0x32, 0x93, 0x31, 0xd3, 0xe5,
0xd5, 0xbe, 0x5c, 0x02, |
258 0x90, 0x97, 0xc5, 0x32, 0xaa, 0xd8, 0x52, 0xd0, 0xbc, 0xca, 0x22, 0x41,
0xfb, 0x1f, 0x8d, 0x76, | 258 0x90, 0x97, 0xc5, 0x32, 0xaa, 0xd8, 0x52, 0xd0, 0xbc, 0xca, 0x22, 0x41,
0xfb, 0x1f, 0x8d, 0x76, |
(...skipping 18 matching lines...) Expand all Loading... |
277 0x58, 0xc4, 0x69, 0x51, 0xa2, 0xc1, 0xeb, 0xea, 0x26, 0x10, 0x50, 0x0d,
0x77, 0x02, 0x75, 0xe2, | 277 0x58, 0xc4, 0x69, 0x51, 0xa2, 0xc1, 0xeb, 0xea, 0x26, 0x10, 0x50, 0x0d,
0x77, 0x02, 0x75, 0xe2, |
278 0x9a, 0x50, 0x4d, 0xd7, 0x82, 0x6a, 0xb9, 0xd3, 0xc5, 0xdf, 0xc1, 0xed,
0xa0, 0xf0, 0x0a, 0xfb, | 278 0x9a, 0x50, 0x4d, 0xd7, 0x82, 0x6a, 0xb9, 0xd3, 0xc5, 0xdf, 0xc1, 0xed,
0xa0, 0xf0, 0x0a, 0xfb, |
279 0x10, 0x81, 0x38, 0xa6, 0x95, 0xa0, 0x89, 0x4e, 0xa9, 0x45, 0xfa, 0x6f,
0xbc, 0x44, 0xb3, 0xfe, | 279 0x10, 0x81, 0x38, 0xa6, 0x95, 0xa0, 0x89, 0x4e, 0xa9, 0x45, 0xfa, 0x6f,
0xbc, 0x44, 0xb3, 0xfe, |
280 0xbd, 0x58, 0xa2, 0x22, 0xa2, 0xde, 0x6a, 0x76, 0xc8, 0xd2, 0x76, 0x4d,
0xec, 0x8e, 0xb1, 0x4d, | 280 0xbd, 0x58, 0xa2, 0x22, 0xa2, 0xde, 0x6a, 0x76, 0xc8, 0xd2, 0x76, 0x4d,
0xec, 0x8e, 0xb1, 0x4d, |
281 0xb8, 0x1a, 0xba, 0x17, 0xd0, 0xba, 0x2e, 0x6b, 0x1d, 0x91, 0xe9, 0x21,
0x07, 0x1b, 0x05, 0x02, | 281 0xb8, 0x1a, 0xba, 0x17, 0xd0, 0xba, 0x2e, 0x6b, 0x1d, 0x91, 0xe9, 0x21,
0x07, 0x1b, 0x05, 0x02, |
282 0x6d, 0x72, 0x6d, 0x27, 0x7b, 0xe5, 0x28, 0xc7, 0xc3, 0x54, 0xed, 0x21,
0x7e, 0x8a, 0x6c, 0x9e, | 282 0x6d, 0x72, 0x6d, 0x27, 0x7b, 0xe5, 0x28, 0xc7, 0xc3, 0x54, 0xed, 0x21,
0x7e, 0x8a, 0x6c, 0x9e, |
283 0x96, 0x32, 0x4b, 0xc2, 0x34, 0x02, 0xae, 0xa1, 0xa7, 0x43, 0x0d, 0xf4,
0x09, 0x90, 0x8b, 0x89, | 283 0x96, 0x32, 0x4b, 0xc2, 0x34, 0x02, 0xae, 0xa1, 0xa7, 0x43, 0x0d, 0xf4,
0x09, 0x90, 0x8b, 0x89, |
284 0xfe, 0x03, 0xbe, 0xf9, 0x17, 0x00, 0x00, 0xff, 0xff, 0x68, 0x1b, 0xe7,
0xe4, 0xfa, 0x03, 0x00, | 284 0xfe, 0x03, 0xbe, 0xf9, 0x17, 0x00, 0x00, 0xff, 0xff, 0x68, 0x1b, 0xe7,
0xe4, 0xfa, 0x03, 0x00, |
285 0x00, | 285 0x00, |
286 } | 286 } |
OLD | NEW |