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

Unified Diff: scheduler/appengine/engine/internal/tq_tasks.pb.go

Issue 2981043002: Add a task queue task router to reduce amount of boilerplate. (Closed)
Patch Set: nits Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scheduler/appengine/engine/internal/tq_tasks.proto ('k') | scheduler/appengine/engine/tq/tq.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scheduler/appengine/engine/internal/tq_tasks.pb.go
diff --git a/scheduler/appengine/engine/internal/tq_tasks.pb.go b/scheduler/appengine/engine/internal/tq_tasks.pb.go
new file mode 100644
index 0000000000000000000000000000000000000000..dd656e1bf3ae45258619e7f6192c2612dcbc808c
--- /dev/null
+++ b/scheduler/appengine/engine/internal/tq_tasks.pb.go
@@ -0,0 +1,94 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// source: github.com/luci/luci-go/scheduler/appengine/engine/internal/tq_tasks.proto
+
+/*
+Package internal is a generated protocol buffer package.
+
+It is generated from these files:
+ github.com/luci/luci-go/scheduler/appengine/engine/internal/tq_tasks.proto
+
+It has these top-level messages:
+ TickLaterTask
+ StartInvocationTask
+*/
+package internal
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import 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.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type TickLaterTask struct {
+ JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
+ TickNonce int64 `protobuf:"varint,2,opt,name=tick_nonce,json=tickNonce" json:"tick_nonce,omitempty"`
+}
+
+func (m *TickLaterTask) Reset() { *m = TickLaterTask{} }
+func (m *TickLaterTask) String() string { return proto.CompactTextString(m) }
+func (*TickLaterTask) ProtoMessage() {}
+func (*TickLaterTask) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+func (m *TickLaterTask) GetJobId() string {
+ if m != nil {
+ return m.JobId
+ }
+ return ""
+}
+
+func (m *TickLaterTask) GetTickNonce() int64 {
+ if m != nil {
+ return m.TickNonce
+ }
+ return 0
+}
+
+type StartInvocationTask struct {
+ JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
+}
+
+func (m *StartInvocationTask) Reset() { *m = StartInvocationTask{} }
+func (m *StartInvocationTask) String() string { return proto.CompactTextString(m) }
+func (*StartInvocationTask) ProtoMessage() {}
+func (*StartInvocationTask) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+
+func (m *StartInvocationTask) GetJobId() string {
+ if m != nil {
+ return m.JobId
+ }
+ return ""
+}
+
+func init() {
+ proto.RegisterType((*TickLaterTask)(nil), "internal.tq_tasks.TickLaterTask")
+ proto.RegisterType((*StartInvocationTask)(nil), "internal.tq_tasks.StartInvocationTask")
+}
+
+func init() {
+ proto.RegisterFile("github.com/luci/luci-go/scheduler/appengine/engine/internal/tq_tasks.proto", fileDescriptor0)
+}
+
+var fileDescriptor0 = []byte{
+ // 189 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x8e, 0x31, 0x6b, 0x84, 0x40,
+ 0x10, 0x85, 0x31, 0x21, 0x82, 0x0b, 0x29, 0x62, 0x08, 0xd8, 0x04, 0xc4, 0xca, 0x22, 0x71, 0x8b,
+ 0xfc, 0x86, 0x14, 0x86, 0x90, 0xc2, 0xd8, 0xcb, 0xee, 0xba, 0xe8, 0xb8, 0xde, 0x8c, 0xb7, 0x3b,
+ 0xde, 0xef, 0x3f, 0x94, 0xb3, 0xbd, 0xe6, 0x3d, 0xf8, 0x3e, 0x78, 0x3c, 0xf1, 0x33, 0x00, 0x8f,
+ 0xab, 0xae, 0x0c, 0x9d, 0xe4, 0xbc, 0x1a, 0xd8, 0xe3, 0x73, 0x20, 0x19, 0xcc, 0x68, 0xfb, 0x75,
+ 0xb6, 0x5e, 0xaa, 0x65, 0xb1, 0x38, 0x00, 0x5a, 0x79, 0x2b, 0x40, 0xb6, 0x1e, 0xd5, 0x2c, 0xf9,
+ 0xdc, 0xb1, 0x0a, 0x2e, 0x54, 0x8b, 0x27, 0xa6, 0xf4, 0xe5, 0x10, 0xd5, 0x21, 0x8a, 0x6f, 0xf1,
+ 0xdc, 0x82, 0x71, 0xbf, 0x8a, 0xad, 0x6f, 0x55, 0x70, 0xe9, 0x9b, 0x88, 0x27, 0xd2, 0x1d, 0xf4,
+ 0x59, 0x94, 0x47, 0x65, 0xd2, 0x3c, 0x4d, 0xa4, 0xeb, 0x3e, 0x7d, 0x17, 0x82, 0xc1, 0xb8, 0x0e,
+ 0x09, 0x8d, 0xcd, 0x1e, 0xf2, 0xa8, 0x7c, 0x6c, 0x92, 0x8d, 0xfc, 0x6d, 0xa0, 0xf8, 0x10, 0xaf,
+ 0xff, 0xac, 0x3c, 0xd7, 0x78, 0x21, 0xa3, 0x18, 0x08, 0xef, 0x8c, 0xe9, 0x78, 0xbf, 0xf3, 0x75,
+ 0x0d, 0x00, 0x00, 0xff, 0xff, 0x0a, 0xae, 0x77, 0x6f, 0xdc, 0x00, 0x00, 0x00,
+}
« no previous file with comments | « scheduler/appengine/engine/internal/tq_tasks.proto ('k') | scheduler/appengine/engine/tq/tq.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698