gitea源码

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059
  1. // Copyright 2024 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. // Code generated by protoc-gen-go. DO NOT EDIT.
  4. // versions:
  5. // protoc-gen-go v1.32.0
  6. // protoc v4.25.2
  7. // source: artifact.proto
  8. package actions
  9. import (
  10. reflect "reflect"
  11. sync "sync"
  12. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  13. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  14. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  15. wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type CreateArtifactRequest struct {
  24. state protoimpl.MessageState
  25. sizeCache protoimpl.SizeCache
  26. unknownFields protoimpl.UnknownFields
  27. WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
  28. WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"`
  29. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  30. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
  31. Version int32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
  32. }
  33. func (x *CreateArtifactRequest) Reset() {
  34. *x = CreateArtifactRequest{}
  35. if protoimpl.UnsafeEnabled {
  36. mi := &file_artifact_proto_msgTypes[0]
  37. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  38. ms.StoreMessageInfo(mi)
  39. }
  40. }
  41. func (x *CreateArtifactRequest) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*CreateArtifactRequest) ProtoMessage() {}
  45. func (x *CreateArtifactRequest) ProtoReflect() protoreflect.Message {
  46. mi := &file_artifact_proto_msgTypes[0]
  47. if protoimpl.UnsafeEnabled && x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead.
  57. func (*CreateArtifactRequest) Descriptor() ([]byte, []int) {
  58. return file_artifact_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *CreateArtifactRequest) GetWorkflowRunBackendId() string {
  61. if x != nil {
  62. return x.WorkflowRunBackendId
  63. }
  64. return ""
  65. }
  66. func (x *CreateArtifactRequest) GetWorkflowJobRunBackendId() string {
  67. if x != nil {
  68. return x.WorkflowJobRunBackendId
  69. }
  70. return ""
  71. }
  72. func (x *CreateArtifactRequest) GetName() string {
  73. if x != nil {
  74. return x.Name
  75. }
  76. return ""
  77. }
  78. func (x *CreateArtifactRequest) GetExpiresAt() *timestamppb.Timestamp {
  79. if x != nil {
  80. return x.ExpiresAt
  81. }
  82. return nil
  83. }
  84. func (x *CreateArtifactRequest) GetVersion() int32 {
  85. if x != nil {
  86. return x.Version
  87. }
  88. return 0
  89. }
  90. type CreateArtifactResponse struct {
  91. state protoimpl.MessageState
  92. sizeCache protoimpl.SizeCache
  93. unknownFields protoimpl.UnknownFields
  94. Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
  95. SignedUploadUrl string `protobuf:"bytes,2,opt,name=signed_upload_url,json=signedUploadUrl,proto3" json:"signed_upload_url,omitempty"`
  96. }
  97. func (x *CreateArtifactResponse) Reset() {
  98. *x = CreateArtifactResponse{}
  99. if protoimpl.UnsafeEnabled {
  100. mi := &file_artifact_proto_msgTypes[1]
  101. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  102. ms.StoreMessageInfo(mi)
  103. }
  104. }
  105. func (x *CreateArtifactResponse) String() string {
  106. return protoimpl.X.MessageStringOf(x)
  107. }
  108. func (*CreateArtifactResponse) ProtoMessage() {}
  109. func (x *CreateArtifactResponse) ProtoReflect() protoreflect.Message {
  110. mi := &file_artifact_proto_msgTypes[1]
  111. if protoimpl.UnsafeEnabled && x != nil {
  112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  113. if ms.LoadMessageInfo() == nil {
  114. ms.StoreMessageInfo(mi)
  115. }
  116. return ms
  117. }
  118. return mi.MessageOf(x)
  119. }
  120. // Deprecated: Use CreateArtifactResponse.ProtoReflect.Descriptor instead.
  121. func (*CreateArtifactResponse) Descriptor() ([]byte, []int) {
  122. return file_artifact_proto_rawDescGZIP(), []int{1}
  123. }
  124. func (x *CreateArtifactResponse) GetOk() bool {
  125. if x != nil {
  126. return x.Ok
  127. }
  128. return false
  129. }
  130. func (x *CreateArtifactResponse) GetSignedUploadUrl() string {
  131. if x != nil {
  132. return x.SignedUploadUrl
  133. }
  134. return ""
  135. }
  136. type FinalizeArtifactRequest struct {
  137. state protoimpl.MessageState
  138. sizeCache protoimpl.SizeCache
  139. unknownFields protoimpl.UnknownFields
  140. WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
  141. WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"`
  142. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  143. Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"`
  144. Hash *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
  145. }
  146. func (x *FinalizeArtifactRequest) Reset() {
  147. *x = FinalizeArtifactRequest{}
  148. if protoimpl.UnsafeEnabled {
  149. mi := &file_artifact_proto_msgTypes[2]
  150. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  151. ms.StoreMessageInfo(mi)
  152. }
  153. }
  154. func (x *FinalizeArtifactRequest) String() string {
  155. return protoimpl.X.MessageStringOf(x)
  156. }
  157. func (*FinalizeArtifactRequest) ProtoMessage() {}
  158. func (x *FinalizeArtifactRequest) ProtoReflect() protoreflect.Message {
  159. mi := &file_artifact_proto_msgTypes[2]
  160. if protoimpl.UnsafeEnabled && x != nil {
  161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  162. if ms.LoadMessageInfo() == nil {
  163. ms.StoreMessageInfo(mi)
  164. }
  165. return ms
  166. }
  167. return mi.MessageOf(x)
  168. }
  169. // Deprecated: Use FinalizeArtifactRequest.ProtoReflect.Descriptor instead.
  170. func (*FinalizeArtifactRequest) Descriptor() ([]byte, []int) {
  171. return file_artifact_proto_rawDescGZIP(), []int{2}
  172. }
  173. func (x *FinalizeArtifactRequest) GetWorkflowRunBackendId() string {
  174. if x != nil {
  175. return x.WorkflowRunBackendId
  176. }
  177. return ""
  178. }
  179. func (x *FinalizeArtifactRequest) GetWorkflowJobRunBackendId() string {
  180. if x != nil {
  181. return x.WorkflowJobRunBackendId
  182. }
  183. return ""
  184. }
  185. func (x *FinalizeArtifactRequest) GetName() string {
  186. if x != nil {
  187. return x.Name
  188. }
  189. return ""
  190. }
  191. func (x *FinalizeArtifactRequest) GetSize() int64 {
  192. if x != nil {
  193. return x.Size
  194. }
  195. return 0
  196. }
  197. func (x *FinalizeArtifactRequest) GetHash() *wrapperspb.StringValue {
  198. if x != nil {
  199. return x.Hash
  200. }
  201. return nil
  202. }
  203. type FinalizeArtifactResponse struct {
  204. state protoimpl.MessageState
  205. sizeCache protoimpl.SizeCache
  206. unknownFields protoimpl.UnknownFields
  207. Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
  208. ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
  209. }
  210. func (x *FinalizeArtifactResponse) Reset() {
  211. *x = FinalizeArtifactResponse{}
  212. if protoimpl.UnsafeEnabled {
  213. mi := &file_artifact_proto_msgTypes[3]
  214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  215. ms.StoreMessageInfo(mi)
  216. }
  217. }
  218. func (x *FinalizeArtifactResponse) String() string {
  219. return protoimpl.X.MessageStringOf(x)
  220. }
  221. func (*FinalizeArtifactResponse) ProtoMessage() {}
  222. func (x *FinalizeArtifactResponse) ProtoReflect() protoreflect.Message {
  223. mi := &file_artifact_proto_msgTypes[3]
  224. if protoimpl.UnsafeEnabled && x != nil {
  225. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  226. if ms.LoadMessageInfo() == nil {
  227. ms.StoreMessageInfo(mi)
  228. }
  229. return ms
  230. }
  231. return mi.MessageOf(x)
  232. }
  233. // Deprecated: Use FinalizeArtifactResponse.ProtoReflect.Descriptor instead.
  234. func (*FinalizeArtifactResponse) Descriptor() ([]byte, []int) {
  235. return file_artifact_proto_rawDescGZIP(), []int{3}
  236. }
  237. func (x *FinalizeArtifactResponse) GetOk() bool {
  238. if x != nil {
  239. return x.Ok
  240. }
  241. return false
  242. }
  243. func (x *FinalizeArtifactResponse) GetArtifactId() int64 {
  244. if x != nil {
  245. return x.ArtifactId
  246. }
  247. return 0
  248. }
  249. type ListArtifactsRequest struct {
  250. state protoimpl.MessageState
  251. sizeCache protoimpl.SizeCache
  252. unknownFields protoimpl.UnknownFields
  253. WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
  254. WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"`
  255. NameFilter *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name_filter,json=nameFilter,proto3" json:"name_filter,omitempty"`
  256. IdFilter *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=id_filter,json=idFilter,proto3" json:"id_filter,omitempty"`
  257. }
  258. func (x *ListArtifactsRequest) Reset() {
  259. *x = ListArtifactsRequest{}
  260. if protoimpl.UnsafeEnabled {
  261. mi := &file_artifact_proto_msgTypes[4]
  262. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  263. ms.StoreMessageInfo(mi)
  264. }
  265. }
  266. func (x *ListArtifactsRequest) String() string {
  267. return protoimpl.X.MessageStringOf(x)
  268. }
  269. func (*ListArtifactsRequest) ProtoMessage() {}
  270. func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message {
  271. mi := &file_artifact_proto_msgTypes[4]
  272. if protoimpl.UnsafeEnabled && x != nil {
  273. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  274. if ms.LoadMessageInfo() == nil {
  275. ms.StoreMessageInfo(mi)
  276. }
  277. return ms
  278. }
  279. return mi.MessageOf(x)
  280. }
  281. // Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.
  282. func (*ListArtifactsRequest) Descriptor() ([]byte, []int) {
  283. return file_artifact_proto_rawDescGZIP(), []int{4}
  284. }
  285. func (x *ListArtifactsRequest) GetWorkflowRunBackendId() string {
  286. if x != nil {
  287. return x.WorkflowRunBackendId
  288. }
  289. return ""
  290. }
  291. func (x *ListArtifactsRequest) GetWorkflowJobRunBackendId() string {
  292. if x != nil {
  293. return x.WorkflowJobRunBackendId
  294. }
  295. return ""
  296. }
  297. func (x *ListArtifactsRequest) GetNameFilter() *wrapperspb.StringValue {
  298. if x != nil {
  299. return x.NameFilter
  300. }
  301. return nil
  302. }
  303. func (x *ListArtifactsRequest) GetIdFilter() *wrapperspb.Int64Value {
  304. if x != nil {
  305. return x.IdFilter
  306. }
  307. return nil
  308. }
  309. type ListArtifactsResponse struct {
  310. state protoimpl.MessageState
  311. sizeCache protoimpl.SizeCache
  312. unknownFields protoimpl.UnknownFields
  313. Artifacts []*ListArtifactsResponse_MonolithArtifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
  314. }
  315. func (x *ListArtifactsResponse) Reset() {
  316. *x = ListArtifactsResponse{}
  317. if protoimpl.UnsafeEnabled {
  318. mi := &file_artifact_proto_msgTypes[5]
  319. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  320. ms.StoreMessageInfo(mi)
  321. }
  322. }
  323. func (x *ListArtifactsResponse) String() string {
  324. return protoimpl.X.MessageStringOf(x)
  325. }
  326. func (*ListArtifactsResponse) ProtoMessage() {}
  327. func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message {
  328. mi := &file_artifact_proto_msgTypes[5]
  329. if protoimpl.UnsafeEnabled && x != nil {
  330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  331. if ms.LoadMessageInfo() == nil {
  332. ms.StoreMessageInfo(mi)
  333. }
  334. return ms
  335. }
  336. return mi.MessageOf(x)
  337. }
  338. // Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.
  339. func (*ListArtifactsResponse) Descriptor() ([]byte, []int) {
  340. return file_artifact_proto_rawDescGZIP(), []int{5}
  341. }
  342. func (x *ListArtifactsResponse) GetArtifacts() []*ListArtifactsResponse_MonolithArtifact {
  343. if x != nil {
  344. return x.Artifacts
  345. }
  346. return nil
  347. }
  348. type ListArtifactsResponse_MonolithArtifact struct {
  349. state protoimpl.MessageState
  350. sizeCache protoimpl.SizeCache
  351. unknownFields protoimpl.UnknownFields
  352. WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
  353. WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"`
  354. DatabaseId int64 `protobuf:"varint,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
  355. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  356. Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
  357. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
  358. }
  359. func (x *ListArtifactsResponse_MonolithArtifact) Reset() {
  360. *x = ListArtifactsResponse_MonolithArtifact{}
  361. if protoimpl.UnsafeEnabled {
  362. mi := &file_artifact_proto_msgTypes[6]
  363. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  364. ms.StoreMessageInfo(mi)
  365. }
  366. }
  367. func (x *ListArtifactsResponse_MonolithArtifact) String() string {
  368. return protoimpl.X.MessageStringOf(x)
  369. }
  370. func (*ListArtifactsResponse_MonolithArtifact) ProtoMessage() {}
  371. func (x *ListArtifactsResponse_MonolithArtifact) ProtoReflect() protoreflect.Message {
  372. mi := &file_artifact_proto_msgTypes[6]
  373. if protoimpl.UnsafeEnabled && x != nil {
  374. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  375. if ms.LoadMessageInfo() == nil {
  376. ms.StoreMessageInfo(mi)
  377. }
  378. return ms
  379. }
  380. return mi.MessageOf(x)
  381. }
  382. // Deprecated: Use ListArtifactsResponse_MonolithArtifact.ProtoReflect.Descriptor instead.
  383. func (*ListArtifactsResponse_MonolithArtifact) Descriptor() ([]byte, []int) {
  384. return file_artifact_proto_rawDescGZIP(), []int{6}
  385. }
  386. func (x *ListArtifactsResponse_MonolithArtifact) GetWorkflowRunBackendId() string {
  387. if x != nil {
  388. return x.WorkflowRunBackendId
  389. }
  390. return ""
  391. }
  392. func (x *ListArtifactsResponse_MonolithArtifact) GetWorkflowJobRunBackendId() string {
  393. if x != nil {
  394. return x.WorkflowJobRunBackendId
  395. }
  396. return ""
  397. }
  398. func (x *ListArtifactsResponse_MonolithArtifact) GetDatabaseId() int64 {
  399. if x != nil {
  400. return x.DatabaseId
  401. }
  402. return 0
  403. }
  404. func (x *ListArtifactsResponse_MonolithArtifact) GetName() string {
  405. if x != nil {
  406. return x.Name
  407. }
  408. return ""
  409. }
  410. func (x *ListArtifactsResponse_MonolithArtifact) GetSize() int64 {
  411. if x != nil {
  412. return x.Size
  413. }
  414. return 0
  415. }
  416. func (x *ListArtifactsResponse_MonolithArtifact) GetCreatedAt() *timestamppb.Timestamp {
  417. if x != nil {
  418. return x.CreatedAt
  419. }
  420. return nil
  421. }
  422. type GetSignedArtifactURLRequest struct {
  423. state protoimpl.MessageState
  424. sizeCache protoimpl.SizeCache
  425. unknownFields protoimpl.UnknownFields
  426. WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
  427. WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"`
  428. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  429. }
  430. func (x *GetSignedArtifactURLRequest) Reset() {
  431. *x = GetSignedArtifactURLRequest{}
  432. if protoimpl.UnsafeEnabled {
  433. mi := &file_artifact_proto_msgTypes[7]
  434. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  435. ms.StoreMessageInfo(mi)
  436. }
  437. }
  438. func (x *GetSignedArtifactURLRequest) String() string {
  439. return protoimpl.X.MessageStringOf(x)
  440. }
  441. func (*GetSignedArtifactURLRequest) ProtoMessage() {}
  442. func (x *GetSignedArtifactURLRequest) ProtoReflect() protoreflect.Message {
  443. mi := &file_artifact_proto_msgTypes[7]
  444. if protoimpl.UnsafeEnabled && x != nil {
  445. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  446. if ms.LoadMessageInfo() == nil {
  447. ms.StoreMessageInfo(mi)
  448. }
  449. return ms
  450. }
  451. return mi.MessageOf(x)
  452. }
  453. // Deprecated: Use GetSignedArtifactURLRequest.ProtoReflect.Descriptor instead.
  454. func (*GetSignedArtifactURLRequest) Descriptor() ([]byte, []int) {
  455. return file_artifact_proto_rawDescGZIP(), []int{7}
  456. }
  457. func (x *GetSignedArtifactURLRequest) GetWorkflowRunBackendId() string {
  458. if x != nil {
  459. return x.WorkflowRunBackendId
  460. }
  461. return ""
  462. }
  463. func (x *GetSignedArtifactURLRequest) GetWorkflowJobRunBackendId() string {
  464. if x != nil {
  465. return x.WorkflowJobRunBackendId
  466. }
  467. return ""
  468. }
  469. func (x *GetSignedArtifactURLRequest) GetName() string {
  470. if x != nil {
  471. return x.Name
  472. }
  473. return ""
  474. }
  475. type GetSignedArtifactURLResponse struct {
  476. state protoimpl.MessageState
  477. sizeCache protoimpl.SizeCache
  478. unknownFields protoimpl.UnknownFields
  479. SignedUrl string `protobuf:"bytes,1,opt,name=signed_url,json=signedUrl,proto3" json:"signed_url,omitempty"`
  480. }
  481. func (x *GetSignedArtifactURLResponse) Reset() {
  482. *x = GetSignedArtifactURLResponse{}
  483. if protoimpl.UnsafeEnabled {
  484. mi := &file_artifact_proto_msgTypes[8]
  485. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  486. ms.StoreMessageInfo(mi)
  487. }
  488. }
  489. func (x *GetSignedArtifactURLResponse) String() string {
  490. return protoimpl.X.MessageStringOf(x)
  491. }
  492. func (*GetSignedArtifactURLResponse) ProtoMessage() {}
  493. func (x *GetSignedArtifactURLResponse) ProtoReflect() protoreflect.Message {
  494. mi := &file_artifact_proto_msgTypes[8]
  495. if protoimpl.UnsafeEnabled && x != nil {
  496. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  497. if ms.LoadMessageInfo() == nil {
  498. ms.StoreMessageInfo(mi)
  499. }
  500. return ms
  501. }
  502. return mi.MessageOf(x)
  503. }
  504. // Deprecated: Use GetSignedArtifactURLResponse.ProtoReflect.Descriptor instead.
  505. func (*GetSignedArtifactURLResponse) Descriptor() ([]byte, []int) {
  506. return file_artifact_proto_rawDescGZIP(), []int{8}
  507. }
  508. func (x *GetSignedArtifactURLResponse) GetSignedUrl() string {
  509. if x != nil {
  510. return x.SignedUrl
  511. }
  512. return ""
  513. }
  514. type DeleteArtifactRequest struct {
  515. state protoimpl.MessageState
  516. sizeCache protoimpl.SizeCache
  517. unknownFields protoimpl.UnknownFields
  518. WorkflowRunBackendId string `protobuf:"bytes,1,opt,name=workflow_run_backend_id,json=workflowRunBackendId,proto3" json:"workflow_run_backend_id,omitempty"`
  519. WorkflowJobRunBackendId string `protobuf:"bytes,2,opt,name=workflow_job_run_backend_id,json=workflowJobRunBackendId,proto3" json:"workflow_job_run_backend_id,omitempty"`
  520. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
  521. }
  522. func (x *DeleteArtifactRequest) Reset() {
  523. *x = DeleteArtifactRequest{}
  524. if protoimpl.UnsafeEnabled {
  525. mi := &file_artifact_proto_msgTypes[9]
  526. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  527. ms.StoreMessageInfo(mi)
  528. }
  529. }
  530. func (x *DeleteArtifactRequest) String() string {
  531. return protoimpl.X.MessageStringOf(x)
  532. }
  533. func (*DeleteArtifactRequest) ProtoMessage() {}
  534. func (x *DeleteArtifactRequest) ProtoReflect() protoreflect.Message {
  535. mi := &file_artifact_proto_msgTypes[9]
  536. if protoimpl.UnsafeEnabled && x != nil {
  537. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  538. if ms.LoadMessageInfo() == nil {
  539. ms.StoreMessageInfo(mi)
  540. }
  541. return ms
  542. }
  543. return mi.MessageOf(x)
  544. }
  545. // Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead.
  546. func (*DeleteArtifactRequest) Descriptor() ([]byte, []int) {
  547. return file_artifact_proto_rawDescGZIP(), []int{9}
  548. }
  549. func (x *DeleteArtifactRequest) GetWorkflowRunBackendId() string {
  550. if x != nil {
  551. return x.WorkflowRunBackendId
  552. }
  553. return ""
  554. }
  555. func (x *DeleteArtifactRequest) GetWorkflowJobRunBackendId() string {
  556. if x != nil {
  557. return x.WorkflowJobRunBackendId
  558. }
  559. return ""
  560. }
  561. func (x *DeleteArtifactRequest) GetName() string {
  562. if x != nil {
  563. return x.Name
  564. }
  565. return ""
  566. }
  567. type DeleteArtifactResponse struct {
  568. state protoimpl.MessageState
  569. sizeCache protoimpl.SizeCache
  570. unknownFields protoimpl.UnknownFields
  571. Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
  572. ArtifactId int64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
  573. }
  574. func (x *DeleteArtifactResponse) Reset() {
  575. *x = DeleteArtifactResponse{}
  576. if protoimpl.UnsafeEnabled {
  577. mi := &file_artifact_proto_msgTypes[10]
  578. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  579. ms.StoreMessageInfo(mi)
  580. }
  581. }
  582. func (x *DeleteArtifactResponse) String() string {
  583. return protoimpl.X.MessageStringOf(x)
  584. }
  585. func (*DeleteArtifactResponse) ProtoMessage() {}
  586. func (x *DeleteArtifactResponse) ProtoReflect() protoreflect.Message {
  587. mi := &file_artifact_proto_msgTypes[10]
  588. if protoimpl.UnsafeEnabled && x != nil {
  589. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  590. if ms.LoadMessageInfo() == nil {
  591. ms.StoreMessageInfo(mi)
  592. }
  593. return ms
  594. }
  595. return mi.MessageOf(x)
  596. }
  597. // Deprecated: Use DeleteArtifactResponse.ProtoReflect.Descriptor instead.
  598. func (*DeleteArtifactResponse) Descriptor() ([]byte, []int) {
  599. return file_artifact_proto_rawDescGZIP(), []int{10}
  600. }
  601. func (x *DeleteArtifactResponse) GetOk() bool {
  602. if x != nil {
  603. return x.Ok
  604. }
  605. return false
  606. }
  607. func (x *DeleteArtifactResponse) GetArtifactId() int64 {
  608. if x != nil {
  609. return x.ArtifactId
  610. }
  611. return 0
  612. }
  613. var File_artifact_proto protoreflect.FileDescriptor
  614. var file_artifact_proto_rawDesc = []byte{
  615. 0x0a, 0x0e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  616. 0x12, 0x1d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  617. 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a,
  618. 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  619. 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  620. 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  621. 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  622. 0x22, 0xf5, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66,
  623. 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x77, 0x6f,
  624. 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65,
  625. 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x77, 0x6f, 0x72,
  626. 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49,
  627. 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6a, 0x6f,
  628. 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64,
  629. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77,
  630. 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12,
  631. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  632. 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61,
  633. 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  634. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
  635. 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x12, 0x18,
  636. 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
  637. 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x54, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61,
  638. 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  639. 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02,
  640. 0x6f, 0x6b, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x70, 0x6c,
  641. 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73,
  642. 0x69, 0x67, 0x6e, 0x65, 0x64, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x22, 0xe8,
  643. 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66,
  644. 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x77, 0x6f,
  645. 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65,
  646. 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x77, 0x6f, 0x72,
  647. 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49,
  648. 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6a, 0x6f,
  649. 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64,
  650. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77,
  651. 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12,
  652. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  653. 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
  654. 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18,
  655. 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  656. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
  657. 0x6c, 0x75, 0x65, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x4b, 0x0a, 0x18, 0x46, 0x69, 0x6e,
  658. 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73,
  659. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
  660. 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
  661. 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69,
  662. 0x66, 0x61, 0x63, 0x74, 0x49, 0x64, 0x22, 0x84, 0x02, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x41,
  663. 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  664. 0x35, 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f,
  665. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  666. 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63,
  667. 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c,
  668. 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65,
  669. 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72,
  670. 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65,
  671. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x66, 0x69, 0x6c,
  672. 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  673. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69,
  674. 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c,
  675. 0x74, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x09, 0x69, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
  676. 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  677. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61,
  678. 0x6c, 0x75, 0x65, 0x52, 0x08, 0x69, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x7c, 0x0a,
  679. 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65,
  680. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
  681. 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x69, 0x74, 0x68,
  682. 0x75, 0x62, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c,
  683. 0x74, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72,
  684. 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f,
  685. 0x4d, 0x6f, 0x6e, 0x6f, 0x6c, 0x69, 0x74, 0x68, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
  686. 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x22, 0xa1, 0x02, 0x0a, 0x26,
  687. 0x4c, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73,
  688. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x4d, 0x6f, 0x6e, 0x6f, 0x6c, 0x69, 0x74, 0x68, 0x41, 0x72,
  689. 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c,
  690. 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69,
  691. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f,
  692. 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3c, 0x0a,
  693. 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x72, 0x75,
  694. 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
  695. 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4a, 0x6f, 0x62, 0x52,
  696. 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x64,
  697. 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
  698. 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04,
  699. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  700. 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
  701. 0x73, 0x69, 0x7a, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
  702. 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  703. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
  704. 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22,
  705. 0xa6, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x72, 0x74,
  706. 0x69, 0x66, 0x61, 0x63, 0x74, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  707. 0x35, 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75, 0x6e, 0x5f,
  708. 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  709. 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63,
  710. 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c,
  711. 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65,
  712. 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77, 0x6f, 0x72,
  713. 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x65,
  714. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
  715. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3d, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x53,
  716. 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x55, 0x52, 0x4c,
  717. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e,
  718. 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69,
  719. 0x67, 0x6e, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x22, 0xa0, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65,
  720. 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  721. 0x74, 0x12, 0x35, 0x0a, 0x17, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x72, 0x75,
  722. 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  723. 0x28, 0x09, 0x52, 0x14, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x52, 0x75, 0x6e, 0x42,
  724. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1b, 0x77, 0x6f, 0x72, 0x6b,
  725. 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 0x62, 0x61, 0x63,
  726. 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x77,
  727. 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x4a, 0x6f, 0x62, 0x52, 0x75, 0x6e, 0x42, 0x61, 0x63,
  728. 0x6b, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
  729. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x49, 0x0a, 0x16, 0x44, 0x65,
  730. 0x6c, 0x65, 0x74, 0x65, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70,
  731. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
  732. 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74,
  733. 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x66,
  734. 0x61, 0x63, 0x74, 0x49, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  735. }
  736. var (
  737. file_artifact_proto_rawDescOnce sync.Once
  738. file_artifact_proto_rawDescData = file_artifact_proto_rawDesc
  739. )
  740. func file_artifact_proto_rawDescGZIP() []byte {
  741. file_artifact_proto_rawDescOnce.Do(func() {
  742. file_artifact_proto_rawDescData = protoimpl.X.CompressGZIP(file_artifact_proto_rawDescData)
  743. })
  744. return file_artifact_proto_rawDescData
  745. }
  746. var (
  747. file_artifact_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
  748. file_artifact_proto_goTypes = []interface{}{
  749. (*CreateArtifactRequest)(nil), // 0: github.actions.results.api.v1.CreateArtifactRequest
  750. (*CreateArtifactResponse)(nil), // 1: github.actions.results.api.v1.CreateArtifactResponse
  751. (*FinalizeArtifactRequest)(nil), // 2: github.actions.results.api.v1.FinalizeArtifactRequest
  752. (*FinalizeArtifactResponse)(nil), // 3: github.actions.results.api.v1.FinalizeArtifactResponse
  753. (*ListArtifactsRequest)(nil), // 4: github.actions.results.api.v1.ListArtifactsRequest
  754. (*ListArtifactsResponse)(nil), // 5: github.actions.results.api.v1.ListArtifactsResponse
  755. (*ListArtifactsResponse_MonolithArtifact)(nil), // 6: github.actions.results.api.v1.ListArtifactsResponse_MonolithArtifact
  756. (*GetSignedArtifactURLRequest)(nil), // 7: github.actions.results.api.v1.GetSignedArtifactURLRequest
  757. (*GetSignedArtifactURLResponse)(nil), // 8: github.actions.results.api.v1.GetSignedArtifactURLResponse
  758. (*DeleteArtifactRequest)(nil), // 9: github.actions.results.api.v1.DeleteArtifactRequest
  759. (*DeleteArtifactResponse)(nil), // 10: github.actions.results.api.v1.DeleteArtifactResponse
  760. (*timestamppb.Timestamp)(nil), // 11: google.protobuf.Timestamp
  761. (*wrapperspb.StringValue)(nil), // 12: google.protobuf.StringValue
  762. (*wrapperspb.Int64Value)(nil), // 13: google.protobuf.Int64Value
  763. }
  764. )
  765. var file_artifact_proto_depIdxs = []int32{
  766. 11, // 0: github.actions.results.api.v1.CreateArtifactRequest.expires_at:type_name -> google.protobuf.Timestamp
  767. 12, // 1: github.actions.results.api.v1.FinalizeArtifactRequest.hash:type_name -> google.protobuf.StringValue
  768. 12, // 2: github.actions.results.api.v1.ListArtifactsRequest.name_filter:type_name -> google.protobuf.StringValue
  769. 13, // 3: github.actions.results.api.v1.ListArtifactsRequest.id_filter:type_name -> google.protobuf.Int64Value
  770. 6, // 4: github.actions.results.api.v1.ListArtifactsResponse.artifacts:type_name -> github.actions.results.api.v1.ListArtifactsResponse_MonolithArtifact
  771. 11, // 5: github.actions.results.api.v1.ListArtifactsResponse_MonolithArtifact.created_at:type_name -> google.protobuf.Timestamp
  772. 6, // [6:6] is the sub-list for method output_type
  773. 6, // [6:6] is the sub-list for method input_type
  774. 6, // [6:6] is the sub-list for extension type_name
  775. 6, // [6:6] is the sub-list for extension extendee
  776. 0, // [0:6] is the sub-list for field type_name
  777. }
  778. func init() { file_artifact_proto_init() }
  779. func file_artifact_proto_init() {
  780. if File_artifact_proto != nil {
  781. return
  782. }
  783. if !protoimpl.UnsafeEnabled {
  784. file_artifact_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  785. switch v := v.(*CreateArtifactRequest); i {
  786. case 0:
  787. return &v.state
  788. case 1:
  789. return &v.sizeCache
  790. case 2:
  791. return &v.unknownFields
  792. default:
  793. return nil
  794. }
  795. }
  796. file_artifact_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  797. switch v := v.(*CreateArtifactResponse); i {
  798. case 0:
  799. return &v.state
  800. case 1:
  801. return &v.sizeCache
  802. case 2:
  803. return &v.unknownFields
  804. default:
  805. return nil
  806. }
  807. }
  808. file_artifact_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  809. switch v := v.(*FinalizeArtifactRequest); i {
  810. case 0:
  811. return &v.state
  812. case 1:
  813. return &v.sizeCache
  814. case 2:
  815. return &v.unknownFields
  816. default:
  817. return nil
  818. }
  819. }
  820. file_artifact_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  821. switch v := v.(*FinalizeArtifactResponse); i {
  822. case 0:
  823. return &v.state
  824. case 1:
  825. return &v.sizeCache
  826. case 2:
  827. return &v.unknownFields
  828. default:
  829. return nil
  830. }
  831. }
  832. file_artifact_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  833. switch v := v.(*ListArtifactsRequest); i {
  834. case 0:
  835. return &v.state
  836. case 1:
  837. return &v.sizeCache
  838. case 2:
  839. return &v.unknownFields
  840. default:
  841. return nil
  842. }
  843. }
  844. file_artifact_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  845. switch v := v.(*ListArtifactsResponse); i {
  846. case 0:
  847. return &v.state
  848. case 1:
  849. return &v.sizeCache
  850. case 2:
  851. return &v.unknownFields
  852. default:
  853. return nil
  854. }
  855. }
  856. file_artifact_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  857. switch v := v.(*ListArtifactsResponse_MonolithArtifact); i {
  858. case 0:
  859. return &v.state
  860. case 1:
  861. return &v.sizeCache
  862. case 2:
  863. return &v.unknownFields
  864. default:
  865. return nil
  866. }
  867. }
  868. file_artifact_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  869. switch v := v.(*GetSignedArtifactURLRequest); i {
  870. case 0:
  871. return &v.state
  872. case 1:
  873. return &v.sizeCache
  874. case 2:
  875. return &v.unknownFields
  876. default:
  877. return nil
  878. }
  879. }
  880. file_artifact_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  881. switch v := v.(*GetSignedArtifactURLResponse); i {
  882. case 0:
  883. return &v.state
  884. case 1:
  885. return &v.sizeCache
  886. case 2:
  887. return &v.unknownFields
  888. default:
  889. return nil
  890. }
  891. }
  892. file_artifact_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  893. switch v := v.(*DeleteArtifactRequest); i {
  894. case 0:
  895. return &v.state
  896. case 1:
  897. return &v.sizeCache
  898. case 2:
  899. return &v.unknownFields
  900. default:
  901. return nil
  902. }
  903. }
  904. file_artifact_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  905. switch v := v.(*DeleteArtifactResponse); i {
  906. case 0:
  907. return &v.state
  908. case 1:
  909. return &v.sizeCache
  910. case 2:
  911. return &v.unknownFields
  912. default:
  913. return nil
  914. }
  915. }
  916. }
  917. type x struct{}
  918. out := protoimpl.TypeBuilder{
  919. File: protoimpl.DescBuilder{
  920. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  921. RawDescriptor: file_artifact_proto_rawDesc,
  922. NumEnums: 0,
  923. NumMessages: 11,
  924. NumExtensions: 0,
  925. NumServices: 0,
  926. },
  927. GoTypes: file_artifact_proto_goTypes,
  928. DependencyIndexes: file_artifact_proto_depIdxs,
  929. MessageInfos: file_artifact_proto_msgTypes,
  930. }.Build()
  931. File_artifact_proto = out.File
  932. file_artifact_proto_rawDesc = nil
  933. file_artifact_proto_goTypes = nil
  934. file_artifact_proto_depIdxs = nil
  935. }