go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/api/v0/service_gerrit.pb.go (about) 1 // Copyright 2023 The LUCI Authors. 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.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/cv/api/v0/service_gerrit.proto 20 21 package cvpb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 27 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 type GetCLRunInfoRequest struct { 39 state protoimpl.MessageState 40 sizeCache protoimpl.SizeCache 41 unknownFields protoimpl.UnknownFields 42 43 // GerritChange is the change that Gerrit is currently rendering. 44 GerritChange *GerritChange `protobuf:"bytes,1,opt,name=gerrit_change,json=gerritChange,proto3" json:"gerrit_change,omitempty"` 45 } 46 47 func (x *GetCLRunInfoRequest) Reset() { 48 *x = GetCLRunInfoRequest{} 49 if protoimpl.UnsafeEnabled { 50 mi := &file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[0] 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 ms.StoreMessageInfo(mi) 53 } 54 } 55 56 func (x *GetCLRunInfoRequest) String() string { 57 return protoimpl.X.MessageStringOf(x) 58 } 59 60 func (*GetCLRunInfoRequest) ProtoMessage() {} 61 62 func (x *GetCLRunInfoRequest) ProtoReflect() protoreflect.Message { 63 mi := &file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[0] 64 if protoimpl.UnsafeEnabled && x != nil { 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 if ms.LoadMessageInfo() == nil { 67 ms.StoreMessageInfo(mi) 68 } 69 return ms 70 } 71 return mi.MessageOf(x) 72 } 73 74 // Deprecated: Use GetCLRunInfoRequest.ProtoReflect.Descriptor instead. 75 func (*GetCLRunInfoRequest) Descriptor() ([]byte, []int) { 76 return file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescGZIP(), []int{0} 77 } 78 79 func (x *GetCLRunInfoRequest) GetGerritChange() *GerritChange { 80 if x != nil { 81 return x.GerritChange 82 } 83 return nil 84 } 85 86 type GetCLRunInfoResponse struct { 87 state protoimpl.MessageState 88 sizeCache protoimpl.SizeCache 89 unknownFields protoimpl.UnknownFields 90 91 // RunsAsOrigin are the ongoing runs originating from this CL. 92 // 93 // Typically, there would only be 1 that is the Run triggered by the 94 // CQ vote on this CL. 95 RunsAsOrigin []*GetCLRunInfoResponse_RunInfo `protobuf:"bytes,1,rep,name=runs_as_origin,json=runsAsOrigin,proto3" json:"runs_as_origin,omitempty"` 96 // RunsAsDep are the ongoing runs that involves this CL but not originates 97 // from the CL. 98 // 99 // Those Runs should be triggered by the CL that transitively depends on this 100 // CL. 101 RunsAsDep []*GetCLRunInfoResponse_RunInfo `protobuf:"bytes,2,rep,name=runs_as_dep,json=runsAsDep,proto3" json:"runs_as_dep,omitempty"` 102 // DepChangeInfos are the information about the CLs that this CL depends on. 103 // 104 // If the developer ends up voting CQ+1/+2 on this CL, these would be all the 105 // CLs that will be involved in the Run. 106 // 107 // Note that only active CLs will be returned. 108 DepChangeInfos []*GetCLRunInfoResponse_DepChangeInfo `protobuf:"bytes,3,rep,name=dep_change_infos,json=depChangeInfos,proto3" json:"dep_change_infos,omitempty"` 109 } 110 111 func (x *GetCLRunInfoResponse) Reset() { 112 *x = GetCLRunInfoResponse{} 113 if protoimpl.UnsafeEnabled { 114 mi := &file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[1] 115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 116 ms.StoreMessageInfo(mi) 117 } 118 } 119 120 func (x *GetCLRunInfoResponse) String() string { 121 return protoimpl.X.MessageStringOf(x) 122 } 123 124 func (*GetCLRunInfoResponse) ProtoMessage() {} 125 126 func (x *GetCLRunInfoResponse) ProtoReflect() protoreflect.Message { 127 mi := &file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[1] 128 if protoimpl.UnsafeEnabled && x != nil { 129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 130 if ms.LoadMessageInfo() == nil { 131 ms.StoreMessageInfo(mi) 132 } 133 return ms 134 } 135 return mi.MessageOf(x) 136 } 137 138 // Deprecated: Use GetCLRunInfoResponse.ProtoReflect.Descriptor instead. 139 func (*GetCLRunInfoResponse) Descriptor() ([]byte, []int) { 140 return file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescGZIP(), []int{1} 141 } 142 143 func (x *GetCLRunInfoResponse) GetRunsAsOrigin() []*GetCLRunInfoResponse_RunInfo { 144 if x != nil { 145 return x.RunsAsOrigin 146 } 147 return nil 148 } 149 150 func (x *GetCLRunInfoResponse) GetRunsAsDep() []*GetCLRunInfoResponse_RunInfo { 151 if x != nil { 152 return x.RunsAsDep 153 } 154 return nil 155 } 156 157 func (x *GetCLRunInfoResponse) GetDepChangeInfos() []*GetCLRunInfoResponse_DepChangeInfo { 158 if x != nil { 159 return x.DepChangeInfos 160 } 161 return nil 162 } 163 164 type GetCLRunInfoResponse_RunInfo struct { 165 state protoimpl.MessageState 166 sizeCache protoimpl.SizeCache 167 unknownFields protoimpl.UnknownFields 168 169 // ID of the Run. 170 // 171 // The format of an ID is "projects/$luci-project/runs/$id", where 172 // - luci-project is the name of the LUCI project the Run belongs to 173 // - id is an opaque key unique in the LUCI project. 174 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 175 // The time when the Run was created. 176 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 177 // The time when the Run was started. 178 StartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` 179 // The change that receives the vote and triggers this Run. 180 OriginChange *GerritChange `protobuf:"bytes,4,opt,name=origin_change,json=originChange,proto3" json:"origin_change,omitempty"` 181 // The mode of the Run. 182 Mode string `protobuf:"bytes,5,opt,name=mode,proto3" json:"mode,omitempty"` 183 } 184 185 func (x *GetCLRunInfoResponse_RunInfo) Reset() { 186 *x = GetCLRunInfoResponse_RunInfo{} 187 if protoimpl.UnsafeEnabled { 188 mi := &file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[2] 189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 190 ms.StoreMessageInfo(mi) 191 } 192 } 193 194 func (x *GetCLRunInfoResponse_RunInfo) String() string { 195 return protoimpl.X.MessageStringOf(x) 196 } 197 198 func (*GetCLRunInfoResponse_RunInfo) ProtoMessage() {} 199 200 func (x *GetCLRunInfoResponse_RunInfo) ProtoReflect() protoreflect.Message { 201 mi := &file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[2] 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 // Deprecated: Use GetCLRunInfoResponse_RunInfo.ProtoReflect.Descriptor instead. 213 func (*GetCLRunInfoResponse_RunInfo) Descriptor() ([]byte, []int) { 214 return file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescGZIP(), []int{1, 0} 215 } 216 217 func (x *GetCLRunInfoResponse_RunInfo) GetId() string { 218 if x != nil { 219 return x.Id 220 } 221 return "" 222 } 223 224 func (x *GetCLRunInfoResponse_RunInfo) GetCreateTime() *timestamppb.Timestamp { 225 if x != nil { 226 return x.CreateTime 227 } 228 return nil 229 } 230 231 func (x *GetCLRunInfoResponse_RunInfo) GetStartTime() *timestamppb.Timestamp { 232 if x != nil { 233 return x.StartTime 234 } 235 return nil 236 } 237 238 func (x *GetCLRunInfoResponse_RunInfo) GetOriginChange() *GerritChange { 239 if x != nil { 240 return x.OriginChange 241 } 242 return nil 243 } 244 245 func (x *GetCLRunInfoResponse_RunInfo) GetMode() string { 246 if x != nil { 247 return x.Mode 248 } 249 return "" 250 } 251 252 type GetCLRunInfoResponse_DepChangeInfo struct { 253 state protoimpl.MessageState 254 sizeCache protoimpl.SizeCache 255 unknownFields protoimpl.UnknownFields 256 257 // GerritChange describes the dependency CL. 258 GerritChange *GerritChange `protobuf:"bytes,1,opt,name=gerrit_change,json=gerritChange,proto3" json:"gerrit_change,omitempty"` 259 // Runs are ongoing Runs that involves the dependency CLs. 260 Runs []*GetCLRunInfoResponse_RunInfo `protobuf:"bytes,2,rep,name=runs,proto3" json:"runs,omitempty"` 261 // ChangeOwner is the owner of the dependency CL. 262 ChangeOwner string `protobuf:"bytes,3,opt,name=change_owner,json=changeOwner,proto3" json:"change_owner,omitempty"` 263 } 264 265 func (x *GetCLRunInfoResponse_DepChangeInfo) Reset() { 266 *x = GetCLRunInfoResponse_DepChangeInfo{} 267 if protoimpl.UnsafeEnabled { 268 mi := &file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[3] 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 ms.StoreMessageInfo(mi) 271 } 272 } 273 274 func (x *GetCLRunInfoResponse_DepChangeInfo) String() string { 275 return protoimpl.X.MessageStringOf(x) 276 } 277 278 func (*GetCLRunInfoResponse_DepChangeInfo) ProtoMessage() {} 279 280 func (x *GetCLRunInfoResponse_DepChangeInfo) ProtoReflect() protoreflect.Message { 281 mi := &file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[3] 282 if protoimpl.UnsafeEnabled && x != nil { 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 if ms.LoadMessageInfo() == nil { 285 ms.StoreMessageInfo(mi) 286 } 287 return ms 288 } 289 return mi.MessageOf(x) 290 } 291 292 // Deprecated: Use GetCLRunInfoResponse_DepChangeInfo.ProtoReflect.Descriptor instead. 293 func (*GetCLRunInfoResponse_DepChangeInfo) Descriptor() ([]byte, []int) { 294 return file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescGZIP(), []int{1, 1} 295 } 296 297 func (x *GetCLRunInfoResponse_DepChangeInfo) GetGerritChange() *GerritChange { 298 if x != nil { 299 return x.GerritChange 300 } 301 return nil 302 } 303 304 func (x *GetCLRunInfoResponse_DepChangeInfo) GetRuns() []*GetCLRunInfoResponse_RunInfo { 305 if x != nil { 306 return x.Runs 307 } 308 return nil 309 } 310 311 func (x *GetCLRunInfoResponse_DepChangeInfo) GetChangeOwner() string { 312 if x != nil { 313 return x.ChangeOwner 314 } 315 return "" 316 } 317 318 var File_go_chromium_org_luci_cv_api_v0_service_gerrit_proto protoreflect.FileDescriptor 319 320 var file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDesc = []byte{ 321 0x0a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 322 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 323 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x2e, 324 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x1a, 0x1f, 0x67, 0x6f, 325 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 326 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 327 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 328 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 0x2f, 0x72, 0x75, 329 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x4c, 330 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 331 0x0a, 0x0d, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 332 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 333 0x72, 0x72, 0x69, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0c, 0x67, 0x65, 0x72, 0x72, 334 0x69, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x85, 0x05, 0x0a, 0x14, 0x47, 0x65, 0x74, 335 0x43, 0x4c, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 336 0x65, 0x12, 0x49, 0x0a, 0x0e, 0x72, 0x75, 0x6e, 0x73, 0x5f, 0x61, 0x73, 0x5f, 0x6f, 0x72, 0x69, 337 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x76, 0x2e, 0x76, 338 0x30, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x4c, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 339 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 340 0x72, 0x75, 0x6e, 0x73, 0x41, 0x73, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x43, 0x0a, 0x0b, 341 0x72, 0x75, 0x6e, 0x73, 0x5f, 0x61, 0x73, 0x5f, 0x64, 0x65, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 342 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x4c, 0x52, 343 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 344 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x72, 0x75, 0x6e, 0x73, 0x41, 0x73, 0x44, 0x65, 345 0x70, 0x12, 0x53, 0x0a, 0x10, 0x64, 0x65, 0x70, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 346 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x76, 347 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x4c, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 348 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x43, 0x68, 0x61, 0x6e, 349 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0e, 0x64, 0x65, 0x70, 0x43, 0x68, 0x61, 0x6e, 0x67, 350 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x1a, 0xdf, 0x01, 0x0a, 0x07, 0x52, 0x75, 0x6e, 0x49, 0x6e, 351 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 352 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 353 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 354 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 355 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 356 0x39, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 357 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 358 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 359 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0d, 0x6f, 0x72, 360 0x69, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 361 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 362 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0c, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x43, 0x68, 363 0x61, 0x6e, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 364 0x28, 0x09, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x1a, 0xa5, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x70, 365 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x38, 0x0a, 0x0d, 0x67, 0x65, 366 0x72, 0x72, 0x69, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 367 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 368 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0c, 0x67, 0x65, 0x72, 0x72, 0x69, 0x74, 0x43, 0x68, 369 0x61, 0x6e, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x72, 0x75, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 370 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x4c, 371 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 372 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x72, 0x75, 0x6e, 0x73, 0x12, 0x21, 0x0a, 373 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 374 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 375 0x32, 0x5c, 0x0a, 0x11, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 376 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x43, 0x4c, 0x52, 0x75, 377 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 378 0x74, 0x43, 0x4c, 0x52, 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 379 0x74, 0x1a, 0x1b, 0x2e, 0x63, 0x76, 0x2e, 0x76, 0x30, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x4c, 0x52, 380 0x75, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x25, 381 0x5a, 0x23, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 382 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x30, 383 0x3b, 0x63, 0x76, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 384 } 385 386 var ( 387 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescOnce sync.Once 388 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescData = file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDesc 389 ) 390 391 func file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescGZIP() []byte { 392 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescOnce.Do(func() { 393 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescData) 394 }) 395 return file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDescData 396 } 397 398 var file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 399 var file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_goTypes = []interface{}{ 400 (*GetCLRunInfoRequest)(nil), // 0: cv.v0.GetCLRunInfoRequest 401 (*GetCLRunInfoResponse)(nil), // 1: cv.v0.GetCLRunInfoResponse 402 (*GetCLRunInfoResponse_RunInfo)(nil), // 2: cv.v0.GetCLRunInfoResponse.RunInfo 403 (*GetCLRunInfoResponse_DepChangeInfo)(nil), // 3: cv.v0.GetCLRunInfoResponse.DepChangeInfo 404 (*GerritChange)(nil), // 4: cv.v0.GerritChange 405 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp 406 } 407 var file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_depIdxs = []int32{ 408 4, // 0: cv.v0.GetCLRunInfoRequest.gerrit_change:type_name -> cv.v0.GerritChange 409 2, // 1: cv.v0.GetCLRunInfoResponse.runs_as_origin:type_name -> cv.v0.GetCLRunInfoResponse.RunInfo 410 2, // 2: cv.v0.GetCLRunInfoResponse.runs_as_dep:type_name -> cv.v0.GetCLRunInfoResponse.RunInfo 411 3, // 3: cv.v0.GetCLRunInfoResponse.dep_change_infos:type_name -> cv.v0.GetCLRunInfoResponse.DepChangeInfo 412 5, // 4: cv.v0.GetCLRunInfoResponse.RunInfo.create_time:type_name -> google.protobuf.Timestamp 413 5, // 5: cv.v0.GetCLRunInfoResponse.RunInfo.start_time:type_name -> google.protobuf.Timestamp 414 4, // 6: cv.v0.GetCLRunInfoResponse.RunInfo.origin_change:type_name -> cv.v0.GerritChange 415 4, // 7: cv.v0.GetCLRunInfoResponse.DepChangeInfo.gerrit_change:type_name -> cv.v0.GerritChange 416 2, // 8: cv.v0.GetCLRunInfoResponse.DepChangeInfo.runs:type_name -> cv.v0.GetCLRunInfoResponse.RunInfo 417 0, // 9: cv.v0.GerritIntegration.GetCLRunInfo:input_type -> cv.v0.GetCLRunInfoRequest 418 1, // 10: cv.v0.GerritIntegration.GetCLRunInfo:output_type -> cv.v0.GetCLRunInfoResponse 419 10, // [10:11] is the sub-list for method output_type 420 9, // [9:10] is the sub-list for method input_type 421 9, // [9:9] is the sub-list for extension type_name 422 9, // [9:9] is the sub-list for extension extendee 423 0, // [0:9] is the sub-list for field type_name 424 } 425 426 func init() { file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_init() } 427 func file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_init() { 428 if File_go_chromium_org_luci_cv_api_v0_service_gerrit_proto != nil { 429 return 430 } 431 file_go_chromium_org_luci_cv_api_v0_run_proto_init() 432 if !protoimpl.UnsafeEnabled { 433 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 434 switch v := v.(*GetCLRunInfoRequest); i { 435 case 0: 436 return &v.state 437 case 1: 438 return &v.sizeCache 439 case 2: 440 return &v.unknownFields 441 default: 442 return nil 443 } 444 } 445 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 446 switch v := v.(*GetCLRunInfoResponse); i { 447 case 0: 448 return &v.state 449 case 1: 450 return &v.sizeCache 451 case 2: 452 return &v.unknownFields 453 default: 454 return nil 455 } 456 } 457 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 458 switch v := v.(*GetCLRunInfoResponse_RunInfo); i { 459 case 0: 460 return &v.state 461 case 1: 462 return &v.sizeCache 463 case 2: 464 return &v.unknownFields 465 default: 466 return nil 467 } 468 } 469 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 470 switch v := v.(*GetCLRunInfoResponse_DepChangeInfo); i { 471 case 0: 472 return &v.state 473 case 1: 474 return &v.sizeCache 475 case 2: 476 return &v.unknownFields 477 default: 478 return nil 479 } 480 } 481 } 482 type x struct{} 483 out := protoimpl.TypeBuilder{ 484 File: protoimpl.DescBuilder{ 485 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 486 RawDescriptor: file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDesc, 487 NumEnums: 0, 488 NumMessages: 4, 489 NumExtensions: 0, 490 NumServices: 1, 491 }, 492 GoTypes: file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_goTypes, 493 DependencyIndexes: file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_depIdxs, 494 MessageInfos: file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_msgTypes, 495 }.Build() 496 File_go_chromium_org_luci_cv_api_v0_service_gerrit_proto = out.File 497 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_rawDesc = nil 498 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_goTypes = nil 499 file_go_chromium_org_luci_cv_api_v0_service_gerrit_proto_depIdxs = nil 500 }