| // Copyright 2021 The LUCI Authors. |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.28.0 |
| // protoc v3.17.3 |
| // source: go.chromium.org/luci/cv/api/v0/tryjob.proto |
| |
| package cvpb |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // Status is a high level status of a Tryjob. |
| type Tryjob_Status int32 |
| |
| const ( |
| // STATUS_UNSPECIFIED is never used. |
| Tryjob_STATUS_UNSPECIFIED Tryjob_Status = 0 |
| // PENDING means Tryjob is being triggered by CV. |
| // |
| // *must* have no Result. |
| Tryjob_PENDING Tryjob_Status = 1 |
| // TRIGGERED means Tryjob was triggered. |
| // |
| // *may* have been triggered by not CV but another user, service, etc. |
| // *may* have a Result, which *may* still change. |
| Tryjob_TRIGGERED Tryjob_Status = 2 |
| // ENDED is a completed Tryjob. Final status. |
| // |
| // *must* have a Result, whose Status is not UNKNOWN. |
| Tryjob_ENDED Tryjob_Status = 3 |
| // CANCELLED is Tryjob cancelled by CV. Final status. |
| // |
| // *must* have no Result. |
| Tryjob_CANCELLED Tryjob_Status = 4 |
| // UNTRIGGERED means Tryjob was not triggered. Final status. |
| // |
| // *must* have no Result. |
| Tryjob_UNTRIGGERED Tryjob_Status = 5 |
| ) |
| |
| // Enum value maps for Tryjob_Status. |
| var ( |
| Tryjob_Status_name = map[int32]string{ |
| 0: "STATUS_UNSPECIFIED", |
| 1: "PENDING", |
| 2: "TRIGGERED", |
| 3: "ENDED", |
| 4: "CANCELLED", |
| 5: "UNTRIGGERED", |
| } |
| Tryjob_Status_value = map[string]int32{ |
| "STATUS_UNSPECIFIED": 0, |
| "PENDING": 1, |
| "TRIGGERED": 2, |
| "ENDED": 3, |
| "CANCELLED": 4, |
| "UNTRIGGERED": 5, |
| } |
| ) |
| |
| func (x Tryjob_Status) Enum() *Tryjob_Status { |
| p := new(Tryjob_Status) |
| *p = x |
| return p |
| } |
| |
| func (x Tryjob_Status) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Tryjob_Status) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_luci_cv_api_v0_tryjob_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (Tryjob_Status) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_luci_cv_api_v0_tryjob_proto_enumTypes[0] |
| } |
| |
| func (x Tryjob_Status) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Tryjob_Status.Descriptor instead. |
| func (Tryjob_Status) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| type Tryjob_Result_Status int32 |
| |
| const ( |
| // RESULT_STATUS_UNSPECIFIED is never used. |
| Tryjob_Result_RESULT_STATUS_UNSPECIFIED Tryjob_Result_Status = 0 |
| // UNKNOWN means Tryjob didn't reach a conclusion. |
| Tryjob_Result_UNKNOWN Tryjob_Result_Status = 1 |
| // SUCCEEDED means that Run's CLs are considered OK by this Tryjob. |
| Tryjob_Result_SUCCEEDED Tryjob_Result_Status = 2 |
| // FAILED_PERMANENTLY means that Run's CLs are most likely not good. |
| Tryjob_Result_FAILED_PERMANENTLY Tryjob_Result_Status = 3 |
| // FAILED_TRANSIENTLY means that Run's CLs are most likely not to blame |
| // for the failure. |
| // TODO(crbug/1227363): consider removing transiency aspect if possible. |
| Tryjob_Result_FAILED_TRANSIENTLY Tryjob_Result_Status = 4 |
| // TIMEOUT means the Tryjob ran over some deadline and did not make a |
| // decision about this Run's CLs. |
| Tryjob_Result_TIMEOUT Tryjob_Result_Status = 5 |
| ) |
| |
| // Enum value maps for Tryjob_Result_Status. |
| var ( |
| Tryjob_Result_Status_name = map[int32]string{ |
| 0: "RESULT_STATUS_UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "SUCCEEDED", |
| 3: "FAILED_PERMANENTLY", |
| 4: "FAILED_TRANSIENTLY", |
| 5: "TIMEOUT", |
| } |
| Tryjob_Result_Status_value = map[string]int32{ |
| "RESULT_STATUS_UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "SUCCEEDED": 2, |
| "FAILED_PERMANENTLY": 3, |
| "FAILED_TRANSIENTLY": 4, |
| "TIMEOUT": 5, |
| } |
| ) |
| |
| func (x Tryjob_Result_Status) Enum() *Tryjob_Result_Status { |
| p := new(Tryjob_Result_Status) |
| *p = x |
| return p |
| } |
| |
| func (x Tryjob_Result_Status) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Tryjob_Result_Status) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_luci_cv_api_v0_tryjob_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (Tryjob_Result_Status) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_luci_cv_api_v0_tryjob_proto_enumTypes[1] |
| } |
| |
| func (x Tryjob_Result_Status) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Tryjob_Result_Status.Descriptor instead. |
| func (Tryjob_Result_Status) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescGZIP(), []int{0, 0, 0} |
| } |
| |
| // Tryjob represents a Run's view of a Tryjob. |
| type Tryjob struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Status of the Tryjob. |
| Status Tryjob_Status `protobuf:"varint,2,opt,name=status,proto3,enum=cv.v0.Tryjob_Status" json:"status,omitempty"` |
| // Result of the Tryjob. |
| Result *Tryjob_Result `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` |
| // Indicates whether this Tryjob is considered critical to a Run's final |
| // status. If true, failure of this Tryjob will fail the Run immediately. |
| // Run is considered SUCCEEDED iff all critical Tryjobs have passed. |
| // |
| // As of Mar. 2022, a Tryjob is considered critical if it is not experimental |
| // or it is triggered directly by `Cq-Include-Trybots` footer. |
| Critical bool `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"` |
| // Indicates whether a Run is reusing this Tryjob rather than triggering |
| // its own Tryjob. A Run may reuse Tryjobs triggered by some previous Runs or |
| // maually by users as long as CV sees fit. |
| Reuse bool `protobuf:"varint,5,opt,name=reuse,proto3" json:"reuse,omitempty"` |
| } |
| |
| func (x *Tryjob) Reset() { |
| *x = Tryjob{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Tryjob) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Tryjob) ProtoMessage() {} |
| |
| func (x *Tryjob) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Tryjob.ProtoReflect.Descriptor instead. |
| func (*Tryjob) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Tryjob) GetStatus() Tryjob_Status { |
| if x != nil { |
| return x.Status |
| } |
| return Tryjob_STATUS_UNSPECIFIED |
| } |
| |
| func (x *Tryjob) GetResult() *Tryjob_Result { |
| if x != nil { |
| return x.Result |
| } |
| return nil |
| } |
| |
| func (x *Tryjob) GetCritical() bool { |
| if x != nil { |
| return x.Critical |
| } |
| return false |
| } |
| |
| func (x *Tryjob) GetReuse() bool { |
| if x != nil { |
| return x.Reuse |
| } |
| return false |
| } |
| |
| // Result of a Tryjob. |
| type Tryjob_Result struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Status of the Result. |
| // |
| // This is the verdict of verification of Run's CLs by this Tryjob. |
| Status Tryjob_Result_Status `protobuf:"varint,1,opt,name=status,proto3,enum=cv.v0.Tryjob_Result_Status" json:"status,omitempty"` |
| // Backend houses backend-specific output. |
| // |
| // Types that are assignable to Backend: |
| // *Tryjob_Result_Buildbucket_ |
| Backend isTryjob_Result_Backend `protobuf_oneof:"backend"` |
| } |
| |
| func (x *Tryjob_Result) Reset() { |
| *x = Tryjob_Result{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Tryjob_Result) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Tryjob_Result) ProtoMessage() {} |
| |
| func (x *Tryjob_Result) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Tryjob_Result.ProtoReflect.Descriptor instead. |
| func (*Tryjob_Result) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| func (x *Tryjob_Result) GetStatus() Tryjob_Result_Status { |
| if x != nil { |
| return x.Status |
| } |
| return Tryjob_Result_RESULT_STATUS_UNSPECIFIED |
| } |
| |
| func (m *Tryjob_Result) GetBackend() isTryjob_Result_Backend { |
| if m != nil { |
| return m.Backend |
| } |
| return nil |
| } |
| |
| func (x *Tryjob_Result) GetBuildbucket() *Tryjob_Result_Buildbucket { |
| if x, ok := x.GetBackend().(*Tryjob_Result_Buildbucket_); ok { |
| return x.Buildbucket |
| } |
| return nil |
| } |
| |
| type isTryjob_Result_Backend interface { |
| isTryjob_Result_Backend() |
| } |
| |
| type Tryjob_Result_Buildbucket_ struct { |
| Buildbucket *Tryjob_Result_Buildbucket `protobuf:"bytes,5,opt,name=buildbucket,proto3,oneof"` |
| } |
| |
| func (*Tryjob_Result_Buildbucket_) isTryjob_Result_Backend() {} |
| |
| type Tryjob_Result_Buildbucket struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| } |
| |
| func (x *Tryjob_Result_Buildbucket) Reset() { |
| *x = Tryjob_Result_Buildbucket{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Tryjob_Result_Buildbucket) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Tryjob_Result_Buildbucket) ProtoMessage() {} |
| |
| func (x *Tryjob_Result_Buildbucket) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Tryjob_Result_Buildbucket.ProtoReflect.Descriptor instead. |
| func (*Tryjob_Result_Buildbucket) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescGZIP(), []int{0, 0, 0} |
| } |
| |
| func (x *Tryjob_Result_Buildbucket) GetId() int64 { |
| if x != nil { |
| return x.Id |
| } |
| return 0 |
| } |
| |
| var File_go_chromium_org_luci_cv_api_v0_tryjob_proto protoreflect.FileDescriptor |
| |
| var file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDesc = []byte{ |
| 0x0a, 0x2b, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, |
| 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, |
| 0x2f, 0x74, 0x72, 0x79, 0x6a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x63, |
| 0x76, 0x2e, 0x76, 0x30, 0x22, 0xbe, 0x04, 0x0a, 0x06, 0x54, 0x72, 0x79, 0x6a, 0x6f, 0x62, 0x12, |
| 0x2c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 0x14, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x54, 0x72, 0x79, 0x6a, 0x6f, 0x62, 0x2e, 0x53, |
| 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c, 0x0a, |
| 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, |
| 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x54, 0x72, 0x79, 0x6a, 0x6f, 0x62, 0x2e, 0x52, 0x65, 0x73, |
| 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, |
| 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, |
| 0x72, 0x69, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x75, 0x73, 0x65, |
| 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x75, 0x73, 0x65, 0x1a, 0xb6, 0x02, |
| 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, |
| 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, |
| 0x2e, 0x54, 0x72, 0x79, 0x6a, 0x6f, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, |
| 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x44, 0x0a, |
| 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, |
| 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x54, 0x72, 0x79, 0x6a, 0x6f, |
| 0x62, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, |
| 0x63, 0x6b, 0x65, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, |
| 0x6b, 0x65, 0x74, 0x1a, 0x23, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, |
| 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, |
| 0x69, 0x64, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x80, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, |
| 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x53, 0x54, |
| 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, |
| 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, |
| 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x02, 0x12, 0x16, |
| 0x0a, 0x12, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x41, 0x4e, 0x45, |
| 0x4e, 0x54, 0x4c, 0x59, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, |
| 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x49, 0x45, 0x4e, 0x54, 0x4c, 0x59, 0x10, 0x04, 0x12, 0x0b, |
| 0x0a, 0x07, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x05, 0x42, 0x09, 0x0a, 0x07, 0x62, |
| 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x22, 0x67, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, |
| 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, |
| 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x45, 0x4e, 0x44, |
| 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, |
| 0x45, 0x44, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x03, 0x12, |
| 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0f, |
| 0x0a, 0x0b, 0x55, 0x4e, 0x54, 0x52, 0x49, 0x47, 0x47, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x4a, |
| 0x04, 0x08, 0x01, 0x10, 0x02, 0x42, 0x25, 0x5a, 0x23, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, |
| 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x3b, 0x63, 0x76, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, |
| 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescOnce sync.Once |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescData = file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDesc |
| ) |
| |
| func file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescGZIP() []byte { |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescOnce.Do(func() { |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescData) |
| }) |
| return file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDescData |
| } |
| |
| var file_go_chromium_org_luci_cv_api_v0_tryjob_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| var file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| var file_go_chromium_org_luci_cv_api_v0_tryjob_proto_goTypes = []interface{}{ |
| (Tryjob_Status)(0), // 0: cv.v0.Tryjob.Status |
| (Tryjob_Result_Status)(0), // 1: cv.v0.Tryjob.Result.Status |
| (*Tryjob)(nil), // 2: cv.v0.Tryjob |
| (*Tryjob_Result)(nil), // 3: cv.v0.Tryjob.Result |
| (*Tryjob_Result_Buildbucket)(nil), // 4: cv.v0.Tryjob.Result.Buildbucket |
| } |
| var file_go_chromium_org_luci_cv_api_v0_tryjob_proto_depIdxs = []int32{ |
| 0, // 0: cv.v0.Tryjob.status:type_name -> cv.v0.Tryjob.Status |
| 3, // 1: cv.v0.Tryjob.result:type_name -> cv.v0.Tryjob.Result |
| 1, // 2: cv.v0.Tryjob.Result.status:type_name -> cv.v0.Tryjob.Result.Status |
| 4, // 3: cv.v0.Tryjob.Result.buildbucket:type_name -> cv.v0.Tryjob.Result.Buildbucket |
| 4, // [4:4] is the sub-list for method output_type |
| 4, // [4:4] is the sub-list for method input_type |
| 4, // [4:4] is the sub-list for extension type_name |
| 4, // [4:4] is the sub-list for extension extendee |
| 0, // [0:4] is the sub-list for field type_name |
| } |
| |
| func init() { file_go_chromium_org_luci_cv_api_v0_tryjob_proto_init() } |
| func file_go_chromium_org_luci_cv_api_v0_tryjob_proto_init() { |
| if File_go_chromium_org_luci_cv_api_v0_tryjob_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Tryjob); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Tryjob_Result); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Tryjob_Result_Buildbucket); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| (*Tryjob_Result_Buildbucket_)(nil), |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDesc, |
| NumEnums: 2, |
| NumMessages: 3, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_go_chromium_org_luci_cv_api_v0_tryjob_proto_goTypes, |
| DependencyIndexes: file_go_chromium_org_luci_cv_api_v0_tryjob_proto_depIdxs, |
| EnumInfos: file_go_chromium_org_luci_cv_api_v0_tryjob_proto_enumTypes, |
| MessageInfos: file_go_chromium_org_luci_cv_api_v0_tryjob_proto_msgTypes, |
| }.Build() |
| File_go_chromium_org_luci_cv_api_v0_tryjob_proto = out.File |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_rawDesc = nil |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_goTypes = nil |
| file_go_chromium_org_luci_cv_api_v0_tryjob_proto_depIdxs = nil |
| } |