1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package resultstore
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type FileProcessingErrorType int32
40
41 const (
42
43 FileProcessingErrorType_FILE_PROCESSING_ERROR_TYPE_UNSPECIFIED FileProcessingErrorType = 0
44
45 FileProcessingErrorType_GENERIC_READ_ERROR FileProcessingErrorType = 1
46
47 FileProcessingErrorType_GENERIC_PARSE_ERROR FileProcessingErrorType = 2
48
49 FileProcessingErrorType_FILE_TOO_LARGE FileProcessingErrorType = 3
50
51 FileProcessingErrorType_OUTPUT_TOO_LARGE FileProcessingErrorType = 4
52
53 FileProcessingErrorType_ACCESS_DENIED FileProcessingErrorType = 5
54
55 FileProcessingErrorType_DEADLINE_EXCEEDED FileProcessingErrorType = 6
56
57 FileProcessingErrorType_NOT_FOUND FileProcessingErrorType = 7
58
59 FileProcessingErrorType_FILE_EMPTY FileProcessingErrorType = 8
60 )
61
62
63 var (
64 FileProcessingErrorType_name = map[int32]string{
65 0: "FILE_PROCESSING_ERROR_TYPE_UNSPECIFIED",
66 1: "GENERIC_READ_ERROR",
67 2: "GENERIC_PARSE_ERROR",
68 3: "FILE_TOO_LARGE",
69 4: "OUTPUT_TOO_LARGE",
70 5: "ACCESS_DENIED",
71 6: "DEADLINE_EXCEEDED",
72 7: "NOT_FOUND",
73 8: "FILE_EMPTY",
74 }
75 FileProcessingErrorType_value = map[string]int32{
76 "FILE_PROCESSING_ERROR_TYPE_UNSPECIFIED": 0,
77 "GENERIC_READ_ERROR": 1,
78 "GENERIC_PARSE_ERROR": 2,
79 "FILE_TOO_LARGE": 3,
80 "OUTPUT_TOO_LARGE": 4,
81 "ACCESS_DENIED": 5,
82 "DEADLINE_EXCEEDED": 6,
83 "NOT_FOUND": 7,
84 "FILE_EMPTY": 8,
85 }
86 )
87
88 func (x FileProcessingErrorType) Enum() *FileProcessingErrorType {
89 p := new(FileProcessingErrorType)
90 *p = x
91 return p
92 }
93
94 func (x FileProcessingErrorType) String() string {
95 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
96 }
97
98 func (FileProcessingErrorType) Descriptor() protoreflect.EnumDescriptor {
99 return file_google_devtools_resultstore_v2_file_processing_error_proto_enumTypes[0].Descriptor()
100 }
101
102 func (FileProcessingErrorType) Type() protoreflect.EnumType {
103 return &file_google_devtools_resultstore_v2_file_processing_error_proto_enumTypes[0]
104 }
105
106 func (x FileProcessingErrorType) Number() protoreflect.EnumNumber {
107 return protoreflect.EnumNumber(x)
108 }
109
110
111 func (FileProcessingErrorType) EnumDescriptor() ([]byte, []int) {
112 return file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescGZIP(), []int{0}
113 }
114
115
116 type FileProcessingErrors struct {
117 state protoimpl.MessageState
118 sizeCache protoimpl.SizeCache
119 unknownFields protoimpl.UnknownFields
120
121
122 FileUid string `protobuf:"bytes,1,opt,name=file_uid,json=fileUid,proto3" json:"file_uid,omitempty"`
123
124 FileProcessingErrors []*FileProcessingError `protobuf:"bytes,3,rep,name=file_processing_errors,json=fileProcessingErrors,proto3" json:"file_processing_errors,omitempty"`
125 }
126
127 func (x *FileProcessingErrors) Reset() {
128 *x = FileProcessingErrors{}
129 if protoimpl.UnsafeEnabled {
130 mi := &file_google_devtools_resultstore_v2_file_processing_error_proto_msgTypes[0]
131 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
132 ms.StoreMessageInfo(mi)
133 }
134 }
135
136 func (x *FileProcessingErrors) String() string {
137 return protoimpl.X.MessageStringOf(x)
138 }
139
140 func (*FileProcessingErrors) ProtoMessage() {}
141
142 func (x *FileProcessingErrors) ProtoReflect() protoreflect.Message {
143 mi := &file_google_devtools_resultstore_v2_file_processing_error_proto_msgTypes[0]
144 if protoimpl.UnsafeEnabled && x != nil {
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 if ms.LoadMessageInfo() == nil {
147 ms.StoreMessageInfo(mi)
148 }
149 return ms
150 }
151 return mi.MessageOf(x)
152 }
153
154
155 func (*FileProcessingErrors) Descriptor() ([]byte, []int) {
156 return file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescGZIP(), []int{0}
157 }
158
159 func (x *FileProcessingErrors) GetFileUid() string {
160 if x != nil {
161 return x.FileUid
162 }
163 return ""
164 }
165
166 func (x *FileProcessingErrors) GetFileProcessingErrors() []*FileProcessingError {
167 if x != nil {
168 return x.FileProcessingErrors
169 }
170 return nil
171 }
172
173
174 type FileProcessingError struct {
175 state protoimpl.MessageState
176 sizeCache protoimpl.SizeCache
177 unknownFields protoimpl.UnknownFields
178
179
180 Type FileProcessingErrorType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.resultstore.v2.FileProcessingErrorType" json:"type,omitempty"`
181
182 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
183 }
184
185 func (x *FileProcessingError) Reset() {
186 *x = FileProcessingError{}
187 if protoimpl.UnsafeEnabled {
188 mi := &file_google_devtools_resultstore_v2_file_processing_error_proto_msgTypes[1]
189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190 ms.StoreMessageInfo(mi)
191 }
192 }
193
194 func (x *FileProcessingError) String() string {
195 return protoimpl.X.MessageStringOf(x)
196 }
197
198 func (*FileProcessingError) ProtoMessage() {}
199
200 func (x *FileProcessingError) ProtoReflect() protoreflect.Message {
201 mi := &file_google_devtools_resultstore_v2_file_processing_error_proto_msgTypes[1]
202 if protoimpl.UnsafeEnabled && x != nil {
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 if ms.LoadMessageInfo() == nil {
205 ms.StoreMessageInfo(mi)
206 }
207 return ms
208 }
209 return mi.MessageOf(x)
210 }
211
212
213 func (*FileProcessingError) Descriptor() ([]byte, []int) {
214 return file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescGZIP(), []int{1}
215 }
216
217 func (x *FileProcessingError) GetType() FileProcessingErrorType {
218 if x != nil {
219 return x.Type
220 }
221 return FileProcessingErrorType_FILE_PROCESSING_ERROR_TYPE_UNSPECIFIED
222 }
223
224 func (x *FileProcessingError) GetMessage() string {
225 if x != nil {
226 return x.Message
227 }
228 return ""
229 }
230
231 var File_google_devtools_resultstore_v2_file_processing_error_proto protoreflect.FileDescriptor
232
233 var file_google_devtools_resultstore_v2_file_processing_error_proto_rawDesc = []byte{
234 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
235 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32,
236 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67,
237 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f,
238 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65,
239 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x22, 0x9c, 0x01, 0x0a,
240 0x14, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x45,
241 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x75, 0x69,
242 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x55, 0x69, 0x64,
243 0x12, 0x69, 0x0a, 0x16, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73,
244 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
245 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
246 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
247 0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67,
248 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x14, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65,
249 0x73, 0x73, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0x7c, 0x0a, 0x13, 0x46,
250 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72,
251 0x6f, 0x72, 0x12, 0x4b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
252 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f,
253 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76,
254 0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67,
255 0x45, 0x72, 0x72, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
256 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
257 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2a, 0xe9, 0x01, 0x0a, 0x17, 0x46, 0x69,
258 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f,
259 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x26, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x50, 0x52,
260 0x4f, 0x43, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x54,
261 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
262 0x00, 0x12, 0x16, 0x0a, 0x12, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x49, 0x43, 0x5f, 0x52, 0x45, 0x41,
263 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x47, 0x45, 0x4e,
264 0x45, 0x52, 0x49, 0x43, 0x5f, 0x50, 0x41, 0x52, 0x53, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52,
265 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c,
266 0x41, 0x52, 0x47, 0x45, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54,
267 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d,
268 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x05, 0x12,
269 0x15, 0x0a, 0x11, 0x44, 0x45, 0x41, 0x44, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45,
270 0x45, 0x44, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f,
271 0x55, 0x4e, 0x44, 0x10, 0x07, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x49, 0x4c, 0x45, 0x5f, 0x45, 0x4d,
272 0x50, 0x54, 0x59, 0x10, 0x08, 0x42, 0x8b, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
273 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65,
274 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x42, 0x18, 0x46, 0x69,
275 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f,
276 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
277 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
278 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
279 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73,
280 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74,
281 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
282 }
283
284 var (
285 file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescOnce sync.Once
286 file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescData = file_google_devtools_resultstore_v2_file_processing_error_proto_rawDesc
287 )
288
289 func file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescGZIP() []byte {
290 file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescOnce.Do(func() {
291 file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescData)
292 })
293 return file_google_devtools_resultstore_v2_file_processing_error_proto_rawDescData
294 }
295
296 var file_google_devtools_resultstore_v2_file_processing_error_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
297 var file_google_devtools_resultstore_v2_file_processing_error_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
298 var file_google_devtools_resultstore_v2_file_processing_error_proto_goTypes = []interface{}{
299 (FileProcessingErrorType)(0),
300 (*FileProcessingErrors)(nil),
301 (*FileProcessingError)(nil),
302 }
303 var file_google_devtools_resultstore_v2_file_processing_error_proto_depIdxs = []int32{
304 2,
305 0,
306 2,
307 2,
308 2,
309 2,
310 0,
311 }
312
313 func init() { file_google_devtools_resultstore_v2_file_processing_error_proto_init() }
314 func file_google_devtools_resultstore_v2_file_processing_error_proto_init() {
315 if File_google_devtools_resultstore_v2_file_processing_error_proto != nil {
316 return
317 }
318 if !protoimpl.UnsafeEnabled {
319 file_google_devtools_resultstore_v2_file_processing_error_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
320 switch v := v.(*FileProcessingErrors); i {
321 case 0:
322 return &v.state
323 case 1:
324 return &v.sizeCache
325 case 2:
326 return &v.unknownFields
327 default:
328 return nil
329 }
330 }
331 file_google_devtools_resultstore_v2_file_processing_error_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
332 switch v := v.(*FileProcessingError); i {
333 case 0:
334 return &v.state
335 case 1:
336 return &v.sizeCache
337 case 2:
338 return &v.unknownFields
339 default:
340 return nil
341 }
342 }
343 }
344 type x struct{}
345 out := protoimpl.TypeBuilder{
346 File: protoimpl.DescBuilder{
347 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
348 RawDescriptor: file_google_devtools_resultstore_v2_file_processing_error_proto_rawDesc,
349 NumEnums: 1,
350 NumMessages: 2,
351 NumExtensions: 0,
352 NumServices: 0,
353 },
354 GoTypes: file_google_devtools_resultstore_v2_file_processing_error_proto_goTypes,
355 DependencyIndexes: file_google_devtools_resultstore_v2_file_processing_error_proto_depIdxs,
356 EnumInfos: file_google_devtools_resultstore_v2_file_processing_error_proto_enumTypes,
357 MessageInfos: file_google_devtools_resultstore_v2_file_processing_error_proto_msgTypes,
358 }.Build()
359 File_google_devtools_resultstore_v2_file_processing_error_proto = out.File
360 file_google_devtools_resultstore_v2_file_processing_error_proto_rawDesc = nil
361 file_google_devtools_resultstore_v2_file_processing_error_proto_goTypes = nil
362 file_google_devtools_resultstore_v2_file_processing_error_proto_depIdxs = nil
363 }
364
View as plain text