| 1 |
// Copyright 2021 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/devtools/resultstore/v2/common.proto |
| 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 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 30 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 34 |
// Verify that this generated code is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 36 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 38 |
) |
| 39 |
|
| 40 |
// These correspond to the prefix of the rule name. Eg cc_test has language CC. |
| 41 |
type Language int32 |
| 42 |
|
| 43 |
const ( |
| 44 |
// Language unspecified or not listed here. |
| 45 |
Language_LANGUAGE_UNSPECIFIED Language = 0 |
| 46 |
// Not related to any particular language |
| 47 |
Language_NONE Language = 1 |
| 48 |
// Android |
| 49 |
Language_ANDROID Language = 2 |
| 50 |
// ActionScript (Flash) |
| 51 |
Language_AS Language = 3 |
| 52 |
// C++ or C |
| 53 |
Language_CC Language = 4 |
| 54 |
// Cascading-Style-Sheets |
| 55 |
Language_CSS Language = 5 |
| 56 |
// Dart |
| 57 |
Language_DART Language = 6 |
| 58 |
// Go |
| 59 |
Language_GO Language = 7 |
| 60 |
// Google-Web-Toolkit |
| 61 |
Language_GWT Language = 8 |
| 62 |
// Haskell |
| 63 |
Language_HASKELL Language = 9 |
| 64 |
// Java |
| 65 |
Language_JAVA Language = 10 |
| 66 |
// Javascript |
| 67 |
Language_JS Language = 11 |
| 68 |
// Lisp |
| 69 |
Language_LISP Language = 12 |
| 70 |
// Objective-C |
| 71 |
Language_OBJC Language = 13 |
| 72 |
// Python |
| 73 |
Language_PY Language = 14 |
| 74 |
// Shell (Typically Bash) |
| 75 |
Language_SH Language = 15 |
| 76 |
// Swift |
| 77 |
Language_SWIFT Language = 16 |
| 78 |
// Typescript |
| 79 |
Language_TS Language = 18 |
| 80 |
// Webtesting |
| 81 |
Language_WEB Language = 19 |
| 82 |
// Scala |
| 83 |
Language_SCALA Language = 20 |
| 84 |
// Protocol Buffer |
| 85 |
Language_PROTO Language = 21 |
| 86 |
// Extensible Markup Language |
| 87 |
Language_XML Language = 22 |
| 88 |
) |
| 89 |
|
| 90 |
// Enum value maps for Language. |
| 91 |
var ( |
| 92 |
Language_name = map[int32]string{ |
| 93 |
0: "LANGUAGE_UNSPECIFIED", |
| 94 |
1: "NONE", |
| 95 |
2: "ANDROID", |
| 96 |
3: "AS", |
| 97 |
4: "CC", |
| 98 |
5: "CSS", |
| 99 |
6: "DART", |
| 100 |
7: "GO", |
| 101 |
8: "GWT", |
| 102 |
9: "HASKELL", |
| 103 |
10: "JAVA", |
| 104 |
11: "JS", |
| 105 |
12: "LISP", |
| 106 |
13: "OBJC", |
| 107 |
14: "PY", |
| 108 |
15: "SH", |
| 109 |
16: "SWIFT", |
| 110 |
18: "TS", |
| 111 |
19: "WEB", |
| 112 |
20: "SCALA", |
| 113 |
21: "PROTO", |
| 114 |
22: "XML", |
| 115 |
} |
| 116 |
Language_value = map[string]int32{ |
| 117 |
"LANGUAGE_UNSPECIFIED": 0, |
| 118 |
"NONE": 1, |
| 119 |
"ANDROID": 2, |
| 120 |
"AS": 3, |
| 121 |
"CC": 4, |
| 122 |
"CSS": 5, |
| 123 |
"DART": 6, |
| 124 |
"GO": 7, |
| 125 |
"GWT": 8, |
| 126 |
"HASKELL": 9, |
| 127 |
"JAVA": 10, |
| 128 |
"JS": 11, |
| 129 |
"LISP": 12, |
| 130 |
"OBJC": 13, |
| 131 |
"PY": 14, |
| 132 |
"SH": 15, |
| 133 |
"SWIFT": 16, |
| 134 |
"TS": 18, |
| 135 |
"WEB": 19, |
| 136 |
"SCALA": 20, |
| 137 |
"PROTO": 21, |
| 138 |
"XML": 22, |
| 139 |
} |
| 140 |
) |
| 141 |
|
| 142 |
func (x Language) Enum() *Language { |
| 143 |
p := new(Language) |
| 144 |
*p = x |
| 145 |
return p |
| 146 |
} |
| 147 |
|
| 148 |
func (x Language) String() string { |
| 149 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 150 |
} |
| 151 |
|
| 152 |
func (Language) Descriptor() protoreflect.EnumDescriptor { |
| 153 |
return file_google_devtools_resultstore_v2_common_proto_enumTypes[0].Descriptor() |
| 154 |
} |
| 155 |
|
| 156 |
func (Language) Type() protoreflect.EnumType { |
| 157 |
return &file_google_devtools_resultstore_v2_common_proto_enumTypes[0] |
| 158 |
} |
| 159 |
|
| 160 |
func (x Language) Number() protoreflect.EnumNumber { |
| 161 |
return protoreflect.EnumNumber(x) |
| 162 |
} |
| 163 |
|
| 164 |
// Deprecated: Use Language.Descriptor instead. |
| 165 |
func (Language) EnumDescriptor() ([]byte, []int) { |
| 166 |
return file_google_devtools_resultstore_v2_common_proto_rawDescGZIP(), []int{0} |
| 167 |
} |
| 168 |
|
| 169 |
// Status of a resource. |
| 170 |
type Status int32 |
| 171 |
|
| 172 |
const ( |
| 173 |
// The implicit default enum value. Should never be set. |
| 174 |
Status_STATUS_UNSPECIFIED Status = 0 |
| 175 |
// Displays as "Building". Means the target is compiling, linking, etc. |
| 176 |
Status_BUILDING Status = 1 |
| 177 |
// Displays as "Built". Means the target was built successfully. |
| 178 |
// If testing was requested, it should never reach this status: it should go |
| 179 |
// straight from BUILDING to TESTING. |
| 180 |
Status_BUILT Status = 2 |
| 181 |
// Displays as "Broken". Means build failure such as compile error. |
| 182 |
Status_FAILED_TO_BUILD Status = 3 |
| 183 |
// Displays as "Testing". Means the test is running. |
| 184 |
Status_TESTING Status = 4 |
| 185 |
// Displays as "Passed". Means the test was run and passed. |
| 186 |
Status_PASSED Status = 5 |
| 187 |
// Displays as "Failed". Means the test was run and failed. |
| 188 |
Status_FAILED Status = 6 |
| 189 |
// Displays as "Timed out". Means the test didn't finish in time. |
| 190 |
Status_TIMED_OUT Status = 7 |
| 191 |
// Displays as "Cancelled". Means the build or test was cancelled. |
| 192 |
// E.g. User hit control-C. |
| 193 |
Status_CANCELLED Status = 8 |
| 194 |
// Displays as "Tool Failed". Means the build or test had internal tool |
| 195 |
// failure. |
| 196 |
Status_TOOL_FAILED Status = 9 |
| 197 |
// Displays as "Incomplete". Means the build or test did not complete. This |
| 198 |
// might happen when a build breakage or test failure causes the tool to stop |
| 199 |
// trying to build anything more or run any more tests, with the default |
| 200 |
// bazel --nokeep_going option or the --notest_keep_going option. |
| 201 |
Status_INCOMPLETE Status = 10 |
| 202 |
// Displays as "Flaky". Means the aggregate status contains some runs that |
| 203 |
// were successful, and some that were not. |
| 204 |
Status_FLAKY Status = 11 |
| 205 |
// Displays as "Unknown". Means the tool uploading to the server died |
| 206 |
// mid-upload or does not know the state. |
| 207 |
Status_UNKNOWN Status = 12 |
| 208 |
// Displays as "Skipped". Means building and testing were skipped. |
| 209 |
// (E.g. Restricted to a different configuration.) |
| 210 |
Status_SKIPPED Status = 13 |
| 211 |
) |
| 212 |
|
| 213 |
// Enum value maps for Status. |
| 214 |
var ( |
| 215 |
Status_name = map[int32]string{ |
| 216 |
0: "STATUS_UNSPECIFIED", |
| 217 |
1: "BUILDING", |
| 218 |
2: "BUILT", |
| 219 |
3: "FAILED_TO_BUILD", |
| 220 |
4: "TESTING", |
| 221 |
5: "PASSED", |
| 222 |
6: "FAILED", |
| 223 |
7: "TIMED_OUT", |
| 224 |
8: "CANCELLED", |
| 225 |
9: "TOOL_FAILED", |
| 226 |
10: "INCOMPLETE", |
| 227 |
11: "FLAKY", |
| 228 |
12: "UNKNOWN", |
| 229 |
13: "SKIPPED", |
| 230 |
} |
| 231 |
Status_value = map[string]int32{ |
| 232 |
"STATUS_UNSPECIFIED": 0, |
| 233 |
"BUILDING": 1, |
| 234 |
"BUILT": 2, |
| 235 |
"FAILED_TO_BUILD": 3, |
| 236 |
"TESTING": 4, |
| 237 |
"PASSED": 5, |
| 238 |
"FAILED": 6, |
| 239 |
"TIMED_OUT": 7, |
| 240 |
"CANCELLED": 8, |
| 241 |
"TOOL_FAILED": 9, |
| 242 |
"INCOMPLETE": 10, |
| 243 |
"FLAKY": 11, |
| 244 |
"UNKNOWN": 12, |
| 245 |
"SKIPPED": 13, |
| 246 |
} |
| 247 |
) |
| 248 |
|
| 249 |
func (x Status) Enum() *Status { |
| 250 |
p := new(Status) |
| 251 |
*p = x |
| 252 |
return p |
| 253 |
} |
| 254 |
|
| 255 |
func (x Status) String() string { |
| 256 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 257 |
} |
| 258 |
|
| 259 |
func (Status) Descriptor() protoreflect.EnumDescriptor { |
| 260 |
return file_google_devtools_resultstore_v2_common_proto_enumTypes[1].Descriptor() |
| 261 |
} |
| 262 |
|
| 263 |
func (Status) Type() protoreflect.EnumType { |
| 264 |
return &file_google_devtools_resultstore_v2_common_proto_enumTypes[1] |
| 265 |
} |
| 266 |
|
| 267 |
func (x Status) Number() protoreflect.EnumNumber { |
| 268 |
return protoreflect.EnumNumber(x) |
| 269 |
} |
| 270 |
|
| 271 |
// Deprecated: Use Status.Descriptor instead. |
| 272 |
func (Status) EnumDescriptor() ([]byte, []int) { |
| 273 |
return file_google_devtools_resultstore_v2_common_proto_rawDescGZIP(), []int{1} |
| 274 |
} |
| 275 |
|
| 276 |
// Indicates the upload status of the invocation, whether it is |
| 277 |
// post-processing, or immutable, etc. |
| 278 |
type UploadStatus int32 |
| 279 |
|
| 280 |
const ( |
| 281 |
// The implicit default enum value. Should never be set. |
| 282 |
UploadStatus_UPLOAD_STATUS_UNSPECIFIED UploadStatus = 0 |
| 283 |
// The invocation is still uploading to the ResultStore. |
| 284 |
UploadStatus_UPLOADING UploadStatus = 1 |
| 285 |
// The invocation upload is complete. The ResultStore is still post-processing |
| 286 |
// the invocation. |
| 287 |
UploadStatus_POST_PROCESSING UploadStatus = 2 |
| 288 |
// All post-processing is complete, and the invocation is now immutable. |
| 289 |
UploadStatus_IMMUTABLE UploadStatus = 3 |
| 290 |
) |
| 291 |
|
| 292 |
// Enum value maps for UploadStatus. |
| 293 |
var ( |
| 294 |
UploadStatus_name = map[int32]string{ |
| 295 |
0: "UPLOAD_STATUS_UNSPECIFIED", |
| 296 |
1: "UPLOADING", |
| 297 |
2: "POST_PROCESSING", |
| 298 |
3: "IMMUTABLE", |
| 299 |
} |
| 300 |
UploadStatus_value = map[string]int32{ |
| 301 |
"UPLOAD_STATUS_UNSPECIFIED": 0, |
| 302 |
"UPLOADING": 1, |
| 303 |
"POST_PROCESSING": 2, |
| 304 |
"IMMUTABLE": 3, |
| 305 |
} |
| 306 |
) |
| 307 |
|
| 308 |
func (x UploadStatus) Enum() *UploadStatus { |
| 309 |
p := new(UploadStatus) |
| 310 |
*p = x |
| 311 |
return p |
| 312 |
} |
| 313 |
|
| 314 |
func (x UploadStatus) String() string { |
| 315 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 316 |
} |
| 317 |
|
| 318 |
func (UploadStatus) Descriptor() protoreflect.EnumDescriptor { |
| 319 |
return file_google_devtools_resultstore_v2_common_proto_enumTypes[2].Descriptor() |
| 320 |
} |
| 321 |
|
| 322 |
func (UploadStatus) Type() protoreflect.EnumType { |
| 323 |
return &file_google_devtools_resultstore_v2_common_proto_enumTypes[2] |
| 324 |
} |
| 325 |
|
| 326 |
func (x UploadStatus) Number() protoreflect.EnumNumber { |
| 327 |
return protoreflect.EnumNumber(x) |
| 328 |
} |
| 329 |
|
| 330 |
// Deprecated: Use UploadStatus.Descriptor instead. |
| 331 |
func (UploadStatus) EnumDescriptor() ([]byte, []int) { |
| 332 |
return file_google_devtools_resultstore_v2_common_proto_rawDescGZIP(), []int{2} |
| 333 |
} |
| 334 |
|
| 335 |
// Describes the status of a resource in both enum and string form. |
| 336 |
// Only use description when conveying additional info not captured in the enum |
| 337 |
// name. |
| 338 |
type StatusAttributes struct { |
| 339 |
state protoimpl.MessageState |
| 340 |
sizeCache protoimpl.SizeCache |
| 341 |
unknownFields protoimpl.UnknownFields |
| 342 |
|
| 343 |
// Enum representation of the status. |
| 344 |
Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=google.devtools.resultstore.v2.Status" json:"status,omitempty"` |
| 345 |
// A longer description about the status. |
| 346 |
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` |
| 347 |
} |
| 348 |
|
| 349 |
func (x *StatusAttributes) Reset() { |
| 350 |
*x = StatusAttributes{} |
| 351 |
if protoimpl.UnsafeEnabled { |
| 352 |
mi := &file_google_devtools_resultstore_v2_common_proto_msgTypes[0] |
| 353 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 354 |
ms.StoreMessageInfo(mi) |
| 355 |
} |
| 356 |
} |
| 357 |
|
| 358 |
func (x *StatusAttributes) String() string { |
| 359 |
return protoimpl.X.MessageStringOf(x) |
| 360 |
} |
| 361 |
|
| 362 |
func (*StatusAttributes) ProtoMessage() {} |
| 363 |
|
| 364 |
func (x *StatusAttributes) ProtoReflect() protoreflect.Message { |
| 365 |
mi := &file_google_devtools_resultstore_v2_common_proto_msgTypes[0] |
| 366 |
if protoimpl.UnsafeEnabled && x != nil { |
| 367 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 368 |
if ms.LoadMessageInfo() == nil { |
| 369 |
ms.StoreMessageInfo(mi) |
| 370 |
} |
| 371 |
return ms |
| 372 |
} |
| 373 |
return mi.MessageOf(x) |
| 374 |
} |
| 375 |
|
| 376 |
// Deprecated: Use StatusAttributes.ProtoReflect.Descriptor instead. |
| 377 |
func (*StatusAttributes) Descriptor() ([]byte, []int) { |
| 378 |
return file_google_devtools_resultstore_v2_common_proto_rawDescGZIP(), []int{0} |
| 379 |
} |
| 380 |
|
| 381 |
func (x *StatusAttributes) GetStatus() Status { |
| 382 |
if x != nil { |
| 383 |
return x.Status |
| 384 |
} |
| 385 |
return Status_STATUS_UNSPECIFIED |
| 386 |
} |
| 387 |
|
| 388 |
func (x *StatusAttributes) GetDescription() string { |
| 389 |
if x != nil { |
| 390 |
return x.Description |
| 391 |
} |
| 392 |
return "" |
| 393 |
} |
| 394 |
|
| 395 |
// A generic key-value property definition. |
| 396 |
type Property struct { |
| 397 |
state protoimpl.MessageState |
| 398 |
sizeCache protoimpl.SizeCache |
| 399 |
unknownFields protoimpl.UnknownFields |
| 400 |
|
| 401 |
// The key. |
| 402 |
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` |
| 403 |
// The value. |
| 404 |
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` |
| 405 |
} |
| 406 |
|
| 407 |
func (x *Property) Reset() { |
| 408 |
*x = Property{} |
| 409 |
if protoimpl.UnsafeEnabled { |
| 410 |
mi := &file_google_devtools_resultstore_v2_common_proto_msgTypes[1] |
| 411 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 412 |
ms.StoreMessageInfo(mi) |
| 413 |
} |
| 414 |
} |
| 415 |
|
| 416 |
func (x *Property) String() string { |
| 417 |
return protoimpl.X.MessageStringOf(x) |
| 418 |
} |
| 419 |
|
| 420 |
func (*Property) ProtoMessage() {} |
| 421 |
|
| 422 |
func (x *Property) ProtoReflect() protoreflect.Message { |
| 423 |
mi := &file_google_devtools_resultstore_v2_common_proto_msgTypes[1] |
| 424 |
if protoimpl.UnsafeEnabled && x != nil { |
| 425 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 426 |
if ms.LoadMessageInfo() == nil { |
| 427 |
ms.StoreMessageInfo(mi) |
| 428 |
} |
| 429 |
return ms |
| 430 |
} |
| 431 |
return mi.MessageOf(x) |
| 432 |
} |
| 433 |
|
| 434 |
// Deprecated: Use Property.ProtoReflect.Descriptor instead. |
| 435 |
func (*Property) Descriptor() ([]byte, []int) { |
| 436 |
return file_google_devtools_resultstore_v2_common_proto_rawDescGZIP(), []int{1} |
| 437 |
} |
| 438 |
|
| 439 |
func (x *Property) GetKey() string { |
| 440 |
if x != nil { |
| 441 |
return x.Key |
| 442 |
} |
| 443 |
return "" |
| 444 |
} |
| 445 |
|
| 446 |
func (x *Property) GetValue() string { |
| 447 |
if x != nil { |
| 448 |
return x.Value |
| 449 |
} |
| 450 |
return "" |
| 451 |
} |
| 452 |
|
| 453 |
// The timing of a particular Invocation, Action, etc. The start_time is |
| 454 |
// specified, stop time can be calculated by adding duration to start_time. |
| 455 |
type Timing struct { |
| 456 |
state protoimpl.MessageState |
| 457 |
sizeCache protoimpl.SizeCache |
| 458 |
unknownFields protoimpl.UnknownFields |
| 459 |
|
| 460 |
// The time the resource started running. This is in UTC Epoch time. |
| 461 |
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` |
| 462 |
// The duration for which the resource ran. |
| 463 |
Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` |
| 464 |
} |
| 465 |
|
| 466 |
func (x *Timing) Reset() { |
| 467 |
*x = Timing{} |
| 468 |
if protoimpl.UnsafeEnabled { |
| 469 |
mi := &file_google_devtools_resultstore_v2_common_proto_msgTypes[2] |
| 470 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 471 |
ms.StoreMessageInfo(mi) |
| 472 |
} |
| 473 |
} |
| 474 |
|
| 475 |
func (x *Timing) String() string { |
| 476 |
return protoimpl.X.MessageStringOf(x) |
| 477 |
} |
| 478 |
|
| 479 |
func (*Timing) ProtoMessage() {} |
| 480 |
|
| 481 |
func (x *Timing) ProtoReflect() protoreflect.Message { |
| 482 |
mi := &file_google_devtools_resultstore_v2_common_proto_msgTypes[2] |
| 483 |
if protoimpl.UnsafeEnabled && x != nil { |
| 484 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 485 |
if ms.LoadMessageInfo() == nil { |
| 486 |
ms.StoreMessageInfo(mi) |
| 487 |
} |
| 488 |
return ms |
| 489 |
} |
| 490 |
return mi.MessageOf(x) |
| 491 |
} |
| 492 |
|
| 493 |
// Deprecated: Use Timing.ProtoReflect.Descriptor instead. |
| 494 |
func (*Timing) Descriptor() ([]byte, []int) { |
| 495 |
return file_google_devtools_resultstore_v2_common_proto_rawDescGZIP(), []int{2} |
| 496 |
} |
| 497 |
|
| 498 |
func (x *Timing) GetStartTime() *timestamppb.Timestamp { |
| 499 |
if x != nil { |
| 500 |
return x.StartTime |
| 501 |
} |
| 502 |
return nil |
| 503 |
} |
| 504 |
|
| 505 |
func (x *Timing) GetDuration() *durationpb.Duration { |
| 506 |
if x != nil { |
| 507 |
return x.Duration |
| 508 |
} |
| 509 |
return nil |
| 510 |
} |
| 511 |
|
| 512 |
// Represents a dependency of a resource on another resource. This can be used |
| 513 |
// to define a graph or a workflow paradigm through resources. |
| 514 |
type Dependency struct { |
| 515 |
state protoimpl.MessageState |
| 516 |
sizeCache protoimpl.SizeCache |
| 517 |
unknownFields protoimpl.UnknownFields |
| 518 |
|
| 519 |
// The resource depended upon. It may be a Target, ConfiguredTarget, or |
| 520 |
// Action. |
| 521 |
// |
| 522 |
// Types that are assignable to Resource: |
| 523 |
// *Dependency_Target |
| 524 |
// *Dependency_ConfiguredTarget |
| 525 |
// *Dependency_Action |
| 526 |
Resource isDependency_Resource `protobuf_oneof:"resource"` |
| 527 |
// A label describing this dependency. |
| 528 |
// The label "Root Cause" is handled specially. It is used to point to the |
| 529 |
// exact resource that caused a resource to fail. |
| 530 |
Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` |
| 531 |
} |
| 532 |
|
| 533 |
func (x *Dependency) Reset() { |
| 534 |
*x = Dependency{} |
| 535 |
if protoimpl.UnsafeEnabled { |
| 536 |
mi := &file_google_devtools_resultstore_v2_common_proto_msgTypes[3] |
| 537 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 538 |
ms.StoreMessageInfo(mi) |
| 539 |
} |
| 540 |
} |
| 541 |
|
| 542 |
func (x *Dependency) String() string { |
| 543 |
return protoimpl.X.MessageStringOf(x) |
| 544 |
} |
| 545 |
|
| 546 |
func (*Dependency) ProtoMessage() {} |
| 547 |
|
| 548 |
func (x *Dependency) ProtoReflect() protoreflect.Message { |
| 549 |
mi := &file_google_devtools_resultstore_v2_common_proto_msgTypes[3] |
| 550 |
if protoimpl.UnsafeEnabled && x != nil { |
| 551 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 552 |
if ms.LoadMessageInfo() == nil { |
| 553 |
ms.StoreMessageInfo(mi) |
| 554 |
} |
| 555 |
return ms |
| 556 |
} |
| 557 |
return mi.MessageOf(x) |
| 558 |
} |
| 559 |
|
| 560 |
// Deprecated: Use Dependency.ProtoReflect.Descriptor instead. |
| 561 |
func (*Dependency) Descriptor() ([]byte, []int) { |
| 562 |
return file_google_devtools_resultstore_v2_common_proto_rawDescGZIP(), []int{3} |
| 563 |
} |
| 564 |
|
| 565 |
func (m *Dependency) GetResource() isDependency_Resource { |
| 566 |
if m != nil { |
| 567 |
return m.Resource |
| 568 |
} |
| 569 |
return nil |
| 570 |
} |
| 571 |
|
| 572 |
func (x *Dependency) GetTarget() string { |
| 573 |
if x, ok := x.GetResource().(*Dependency_Target); ok { |
| 574 |
return x.Target |
| 575 |
} |
| 576 |
return "" |
| 577 |
} |
| 578 |
|
| 579 |
func (x *Dependency) GetConfiguredTarget() string { |
| 580 |
if x, ok := x.GetResource().(*Dependency_ConfiguredTarget); ok { |
| 581 |
return x.ConfiguredTarget |
| 582 |
} |
| 583 |
return "" |
| 584 |
} |
| 585 |
|
| 586 |
func (x *Dependency) GetAction() string { |
| 587 |
if x, ok := x.GetResource().(*Dependency_Action); ok { |
| 588 |
return x.Action |
| 589 |
} |
| 590 |
return "" |
| 591 |
} |
| 592 |
|
| 593 |
func (x *Dependency) GetLabel() string { |
| 594 |
if x != nil { |
| 595 |
return x.Label |
| 596 |
} |
| 597 |
return "" |
| 598 |
} |
| 599 |
|
| 600 |
type isDependency_Resource interface { |
| 601 |
isDependency_Resource() |
| 602 |
} |
| 603 |
|
| 604 |
type Dependency_Target struct { |
| 605 |
// The name of a target. Its format must be: |
| 606 |
// invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)} |
| 607 |
// This must point to an target under the same invocation. |
| 608 |
Target string `protobuf:"bytes,1,opt,name=target,proto3,oneof"` |
| 609 |
} |
| 610 |
|
| 611 |
type Dependency_ConfiguredTarget struct { |
| 612 |
// The name of a configured target. Its format must be: |
| 613 |
// invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)} |
| 614 |
// This must point to an configured target under the same invocation. |
| 615 |
ConfiguredTarget string `protobuf:"bytes,2,opt,name=configured_target,json=configuredTarget,proto3,oneof"` |
| 616 |
} |
| 617 |
|
| 618 |
type Dependency_Action struct { |
| 619 |
// The name of an action. Its format must be: |
| 620 |
// invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)}/actions/${url_encode(ACTION_ID)} |
| 621 |
// This must point to an action under the same invocation. |
| 622 |
Action string `protobuf:"bytes,3,opt,name=action,proto3,oneof"` |
| 623 |
} |
| 624 |
|
| 625 |
func (*Dependency_Target) isDependency_Resource() {} |
| 626 |
|
| 627 |
func (*Dependency_ConfiguredTarget) isDependency_Resource() {} |
| 628 |
|
| 629 |
func (*Dependency_Action) isDependency_Resource() {} |
| 630 |
|
| 631 |
var File_google_devtools_resultstore_v2_common_proto protoreflect.FileDescriptor |
| 632 |
|
| 633 |
var file_google_devtools_resultstore_v2_common_proto_rawDesc = []byte{ |
| 634 |
0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, |
| 635 |
0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, |
| 636 |
0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, |
| 637 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, |
| 638 |
0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x1a, 0x1e, 0x67, |
| 639 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, |
| 640 |
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, |
| 641 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, |
| 642 |
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, |
| 643 |
0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, |
| 644 |
0x65, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, |
| 645 |
0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, |
| 646 |
0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, |
| 647 |
0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, |
| 648 |
0x75, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, |
| 649 |
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, |
| 650 |
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x32, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, |
| 651 |
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, |
| 652 |
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 653 |
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x7a, 0x0a, 0x06, 0x54, 0x69, 0x6d, 0x69, |
| 654 |
0x6e, 0x67, 0x12, 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, |
| 655 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 656 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, |
| 657 |
0x6d, 0x70, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, |
| 658 |
0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 659 |
0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 660 |
0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, |
| 661 |
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x91, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, |
| 662 |
0x6e, 0x63, 0x79, 0x12, 0x18, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, |
| 663 |
0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x2d, 0x0a, |
| 664 |
0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, |
| 665 |
0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, |
| 666 |
0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x06, |
| 667 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, |
| 668 |
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, |
| 669 |
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x42, 0x0a, 0x0a, 0x08, |
| 670 |
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2a, 0xed, 0x01, 0x0a, 0x08, 0x4c, 0x61, 0x6e, |
| 671 |
0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x41, 0x4e, 0x47, 0x55, 0x41, 0x47, |
| 672 |
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, |
| 673 |
0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x4e, 0x44, |
| 674 |
0x52, 0x4f, 0x49, 0x44, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x41, 0x53, 0x10, 0x03, 0x12, 0x06, |
| 675 |
0x0a, 0x02, 0x43, 0x43, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x43, 0x53, 0x53, 0x10, 0x05, 0x12, |
| 676 |
0x08, 0x0a, 0x04, 0x44, 0x41, 0x52, 0x54, 0x10, 0x06, 0x12, 0x06, 0x0a, 0x02, 0x47, 0x4f, 0x10, |
| 677 |
0x07, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x57, 0x54, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x48, 0x41, |
| 678 |
0x53, 0x4b, 0x45, 0x4c, 0x4c, 0x10, 0x09, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x41, 0x56, 0x41, 0x10, |
| 679 |
0x0a, 0x12, 0x06, 0x0a, 0x02, 0x4a, 0x53, 0x10, 0x0b, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, |
| 680 |
0x50, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x42, 0x4a, 0x43, 0x10, 0x0d, 0x12, 0x06, 0x0a, |
| 681 |
0x02, 0x50, 0x59, 0x10, 0x0e, 0x12, 0x06, 0x0a, 0x02, 0x53, 0x48, 0x10, 0x0f, 0x12, 0x09, 0x0a, |
| 682 |
0x05, 0x53, 0x57, 0x49, 0x46, 0x54, 0x10, 0x10, 0x12, 0x06, 0x0a, 0x02, 0x54, 0x53, 0x10, 0x12, |
| 683 |
0x12, 0x07, 0x0a, 0x03, 0x57, 0x45, 0x42, 0x10, 0x13, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x43, 0x41, |
| 684 |
0x4c, 0x41, 0x10, 0x14, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x10, 0x15, 0x12, |
| 685 |
0x07, 0x0a, 0x03, 0x58, 0x4d, 0x4c, 0x10, 0x16, 0x2a, 0xd7, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, |
| 686 |
0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, |
| 687 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x42, |
| 688 |
0x55, 0x49, 0x4c, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x55, 0x49, |
| 689 |
0x4c, 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x54, |
| 690 |
0x4f, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x45, 0x53, |
| 691 |
0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x53, 0x53, 0x45, 0x44, |
| 692 |
0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0d, |
| 693 |
0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x07, 0x12, 0x0d, 0x0a, |
| 694 |
0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, |
| 695 |
0x54, 0x4f, 0x4f, 0x4c, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x09, 0x12, 0x0e, 0x0a, |
| 696 |
0x0a, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x0a, 0x12, 0x09, 0x0a, |
| 697 |
0x05, 0x46, 0x4c, 0x41, 0x4b, 0x59, 0x10, 0x0b, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, |
| 698 |
0x4f, 0x57, 0x4e, 0x10, 0x0c, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, |
| 699 |
0x10, 0x0d, 0x2a, 0x60, 0x0a, 0x0c, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x53, 0x74, 0x61, 0x74, |
| 700 |
0x75, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x5f, 0x53, 0x54, 0x41, |
| 701 |
0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, |
| 702 |
0x00, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, |
| 703 |
0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x53, 0x53, |
| 704 |
0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4d, 0x4d, 0x55, 0x54, 0x41, 0x42, |
| 705 |
0x4c, 0x45, 0x10, 0x03, 0x42, 0x7e, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 706 |
0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, |
| 707 |
0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, |
| 708 |
0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 709 |
0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, |
| 710 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 711 |
0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, |
| 712 |
0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, |
| 713 |
0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 714 |
} |
| 715 |
|
| 716 |
var ( |
| 717 |
file_google_devtools_resultstore_v2_common_proto_rawDescOnce sync.Once |
| 718 |
file_google_devtools_resultstore_v2_common_proto_rawDescData = file_google_devtools_resultstore_v2_common_proto_rawDesc |
| 719 |
) |
| 720 |
|
| 721 |
func file_google_devtools_resultstore_v2_common_proto_rawDescGZIP() []byte { |
| 722 |
file_google_devtools_resultstore_v2_common_proto_rawDescOnce.Do(func() { |
| 723 |
file_google_devtools_resultstore_v2_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_resultstore_v2_common_proto_rawDescData) |
| 724 |
}) |
| 725 |
return file_google_devtools_resultstore_v2_common_proto_rawDescData |
| 726 |
} |
| 727 |
|
| 728 |
var file_google_devtools_resultstore_v2_common_proto_enumTypes = make([]protoimpl.EnumInfo, 3) |
| 729 |
var file_google_devtools_resultstore_v2_common_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| 730 |
var file_google_devtools_resultstore_v2_common_proto_goTypes = []interface{}{ |
| 731 |
(Language)(0), // 0: google.devtools.resultstore.v2.Language |
| 732 |
(Status)(0), // 1: google.devtools.resultstore.v2.Status |
| 733 |
(UploadStatus)(0), // 2: google.devtools.resultstore.v2.UploadStatus |
| 734 |
(*StatusAttributes)(nil), // 3: google.devtools.resultstore.v2.StatusAttributes |
| 735 |
(*Property)(nil), // 4: google.devtools.resultstore.v2.Property |
| 736 |
(*Timing)(nil), // 5: google.devtools.resultstore.v2.Timing |
| 737 |
(*Dependency)(nil), // 6: google.devtools.resultstore.v2.Dependency |
| 738 |
(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp |
| 739 |
(*durationpb.Duration)(nil), // 8: google.protobuf.Duration |
| 740 |
} |
| 741 |
var file_google_devtools_resultstore_v2_common_proto_depIdxs = []int32{ |
| 742 |
1, // 0: google.devtools.resultstore.v2.StatusAttributes.status:type_name -> google.devtools.resultstore.v2.Status |
| 743 |
7, // 1: google.devtools.resultstore.v2.Timing.start_time:type_name -> google.protobuf.Timestamp |
| 744 |
8, // 2: google.devtools.resultstore.v2.Timing.duration:type_name -> google.protobuf.Duration |
| 745 |
3, // [3:3] is the sub-list for method output_type |
| 746 |
3, // [3:3] is the sub-list for method input_type |
| 747 |
3, // [3:3] is the sub-list for extension type_name |
| 748 |
3, // [3:3] is the sub-list for extension extendee |
| 749 |
0, // [0:3] is the sub-list for field type_name |
| 750 |
} |
| 751 |
|
| 752 |
func init() { file_google_devtools_resultstore_v2_common_proto_init() } |
| 753 |
func file_google_devtools_resultstore_v2_common_proto_init() { |
| 754 |
if File_google_devtools_resultstore_v2_common_proto != nil { |
| 755 |
return |
| 756 |
} |
| 757 |
if !protoimpl.UnsafeEnabled { |
| 758 |
file_google_devtools_resultstore_v2_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 759 |
switch v := v.(*StatusAttributes); i { |
| 760 |
case 0: |
| 761 |
return &v.state |
| 762 |
case 1: |
| 763 |
return &v.sizeCache |
| 764 |
case 2: |
| 765 |
return &v.unknownFields |
| 766 |
default: |
| 767 |
return nil |
| 768 |
} |
| 769 |
} |
| 770 |
file_google_devtools_resultstore_v2_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 771 |
switch v := v.(*Property); i { |
| 772 |
case 0: |
| 773 |
return &v.state |
| 774 |
case 1: |
| 775 |
return &v.sizeCache |
| 776 |
case 2: |
| 777 |
return &v.unknownFields |
| 778 |
default: |
| 779 |
return nil |
| 780 |
} |
| 781 |
} |
| 782 |
file_google_devtools_resultstore_v2_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 783 |
switch v := v.(*Timing); i { |
| 784 |
case 0: |
| 785 |
return &v.state |
| 786 |
case 1: |
| 787 |
return &v.sizeCache |
| 788 |
case 2: |
| 789 |
return &v.unknownFields |
| 790 |
default: |
| 791 |
return nil |
| 792 |
} |
| 793 |
} |
| 794 |
file_google_devtools_resultstore_v2_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 795 |
switch v := v.(*Dependency); i { |
| 796 |
case 0: |
| 797 |
return &v.state |
| 798 |
case 1: |
| 799 |
return &v.sizeCache |
| 800 |
case 2: |
| 801 |
return &v.unknownFields |
| 802 |
default: |
| 803 |
return nil |
| 804 |
} |
| 805 |
} |
| 806 |
} |
| 807 |
file_google_devtools_resultstore_v2_common_proto_msgTypes[3].OneofWrappers = []interface{}{ |
| 808 |
(*Dependency_Target)(nil), |
| 809 |
(*Dependency_ConfiguredTarget)(nil), |
| 810 |
(*Dependency_Action)(nil), |
| 811 |
} |
| 812 |
type x struct{} |
| 813 |
out := protoimpl.TypeBuilder{ |
| 814 |
File: protoimpl.DescBuilder{ |
| 815 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 816 |
RawDescriptor: file_google_devtools_resultstore_v2_common_proto_rawDesc, |
| 817 |
NumEnums: 3, |
| 818 |
NumMessages: 4, |
| 819 |
NumExtensions: 0, |
| 820 |
NumServices: 0, |
| 821 |
}, |
| 822 |
GoTypes: file_google_devtools_resultstore_v2_common_proto_goTypes, |
| 823 |
DependencyIndexes: file_google_devtools_resultstore_v2_common_proto_depIdxs, |
| 824 |
EnumInfos: file_google_devtools_resultstore_v2_common_proto_enumTypes, |
| 825 |
MessageInfos: file_google_devtools_resultstore_v2_common_proto_msgTypes, |
| 826 |
}.Build() |
| 827 |
File_google_devtools_resultstore_v2_common_proto = out.File |
| 828 |
file_google_devtools_resultstore_v2_common_proto_rawDesc = nil |
| 829 |
file_google_devtools_resultstore_v2_common_proto_goTypes = nil |
| 830 |
file_google_devtools_resultstore_v2_common_proto_depIdxs = nil |
| 831 |
} |