-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.pb.go
144 lines (125 loc) · 5.45 KB
/
tasks.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: go.chromium.org/luci/cipd/appengine/impl/cas/tasks/tasks.proto
package tasks
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
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
// VerifyUpload task verifies data uploaded by a user and closes the upload
// session based on the result.
type VerifyUpload struct {
UploadOperationId int64 `protobuf:"varint,1,opt,name=upload_operation_id,json=uploadOperationId,proto3" json:"upload_operation_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VerifyUpload) Reset() { *m = VerifyUpload{} }
func (m *VerifyUpload) String() string { return proto.CompactTextString(m) }
func (*VerifyUpload) ProtoMessage() {}
func (*VerifyUpload) Descriptor() ([]byte, []int) {
return fileDescriptor_898f171f35cf6881, []int{0}
}
func (m *VerifyUpload) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VerifyUpload.Unmarshal(m, b)
}
func (m *VerifyUpload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VerifyUpload.Marshal(b, m, deterministic)
}
func (m *VerifyUpload) XXX_Merge(src proto.Message) {
xxx_messageInfo_VerifyUpload.Merge(m, src)
}
func (m *VerifyUpload) XXX_Size() int {
return xxx_messageInfo_VerifyUpload.Size(m)
}
func (m *VerifyUpload) XXX_DiscardUnknown() {
xxx_messageInfo_VerifyUpload.DiscardUnknown(m)
}
var xxx_messageInfo_VerifyUpload proto.InternalMessageInfo
func (m *VerifyUpload) GetUploadOperationId() int64 {
if m != nil {
return m.UploadOperationId
}
return 0
}
// CleanupUpload task cleans up garbage after canceled upload.
type CleanupUpload struct {
UploadOperationId int64 `protobuf:"varint,1,opt,name=upload_operation_id,json=uploadOperationId,proto3" json:"upload_operation_id,omitempty"`
UploadUrl string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
PathToCleanup string `protobuf:"bytes,3,opt,name=path_to_cleanup,json=pathToCleanup,proto3" json:"path_to_cleanup,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CleanupUpload) Reset() { *m = CleanupUpload{} }
func (m *CleanupUpload) String() string { return proto.CompactTextString(m) }
func (*CleanupUpload) ProtoMessage() {}
func (*CleanupUpload) Descriptor() ([]byte, []int) {
return fileDescriptor_898f171f35cf6881, []int{1}
}
func (m *CleanupUpload) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CleanupUpload.Unmarshal(m, b)
}
func (m *CleanupUpload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CleanupUpload.Marshal(b, m, deterministic)
}
func (m *CleanupUpload) XXX_Merge(src proto.Message) {
xxx_messageInfo_CleanupUpload.Merge(m, src)
}
func (m *CleanupUpload) XXX_Size() int {
return xxx_messageInfo_CleanupUpload.Size(m)
}
func (m *CleanupUpload) XXX_DiscardUnknown() {
xxx_messageInfo_CleanupUpload.DiscardUnknown(m)
}
var xxx_messageInfo_CleanupUpload proto.InternalMessageInfo
func (m *CleanupUpload) GetUploadOperationId() int64 {
if m != nil {
return m.UploadOperationId
}
return 0
}
func (m *CleanupUpload) GetUploadUrl() string {
if m != nil {
return m.UploadUrl
}
return ""
}
func (m *CleanupUpload) GetPathToCleanup() string {
if m != nil {
return m.PathToCleanup
}
return ""
}
func init() {
proto.RegisterType((*VerifyUpload)(nil), "tasks.VerifyUpload")
proto.RegisterType((*CleanupUpload)(nil), "tasks.CleanupUpload")
}
func init() {
proto.RegisterFile("github.com/TriggerMail/luci-go/cipd/appengine/impl/cas/tasks/tasks.proto", fileDescriptor_898f171f35cf6881)
}
var fileDescriptor_898f171f35cf6881 = []byte{
// 205 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x4b, 0xcf, 0xd7, 0x4b,
0xce, 0x28, 0xca, 0xcf, 0xcd, 0x2c, 0xcd, 0xd5, 0xcb, 0x2f, 0x4a, 0xd7, 0xcf, 0x29, 0x4d, 0xce,
0xd4, 0x4f, 0xce, 0x2c, 0x48, 0xd1, 0x4f, 0x2c, 0x28, 0x48, 0xcd, 0x4b, 0xcf, 0xcc, 0x4b, 0xd5,
0xcf, 0xcc, 0x2d, 0xc8, 0xd1, 0x4f, 0x4e, 0x2c, 0xd6, 0x2f, 0x49, 0x2c, 0xce, 0x86, 0x92, 0x7a,
0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0xac, 0x60, 0x8e, 0x92, 0x1d, 0x17, 0x4f, 0x58, 0x6a, 0x51,
0x66, 0x5a, 0x65, 0x68, 0x41, 0x4e, 0x7e, 0x62, 0x8a, 0x90, 0x1e, 0x97, 0x70, 0x29, 0x98, 0x15,
0x9f, 0x5f, 0x90, 0x5a, 0x94, 0x58, 0x92, 0x99, 0x9f, 0x17, 0x9f, 0x99, 0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