@actions/cache 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cache.js CHANGED
@@ -213,7 +213,7 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
213
213
  };
214
214
  const response = yield twirpClient.GetCacheEntryDownloadURL(request);
215
215
  if (!response.ok) {
216
- core.warning(`Cache not found for keys: ${keys.join(', ')}`);
216
+ core.debug(`Cache not found for keys: ${keys.join(', ')}`);
217
217
  return undefined;
218
218
  }
219
219
  core.info(`Cache hit for: ${request.key}`);
package/lib/cache.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cache.js","sourceRoot":"","sources":["../src/cache.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAqC;AACrC,2CAA4B;AAC5B,6DAA8C;AAC9C,4EAA6D;AAC7D,qFAAsE;AACtE,8CAAgE;AAEhE,wCAA6D;AAO7D,oDAAuD;AACvD,MAAa,eAAgB,SAAQ,KAAK;IACxC,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAA;QACd,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAA;QAC7B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACxD,CAAC;CACF;AAND,0CAMC;AAED,MAAa,iBAAkB,SAAQ,KAAK;IAC1C,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAA;QACd,IAAI,CAAC,IAAI,GAAG,mBAAmB,CAAA;QAC/B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAA;IAC1D,CAAC;CACF;AAND,8CAMC;AAED,SAAS,UAAU,CAAC,KAAe;IACjC,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;QAChC,MAAM,IAAI,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C,eAAe,EACxB,OAAO,CACR,CAAA;YAED,MAAM,eAAe,GAAoC;gBACvD,GAAG;gBACH,OAAO;gBACP,SAAS,EAAE,GAAG,eAAe,EAAE;aAChC,CAAA;YAED,MAAM,gBAAgB,GACpB,MAAM,WAAW,CAAC,wBAAwB,CAAC,eAAe,CAAC,CAAA;YAC7D,IAAI,CAAC,KAAK,CAAC,qCAAqC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAA;YAEtE,IAAI,CAAC,gBAAgB,CAAC,EAAE,EAAE;gBACxB,MAAM,IAAI,KAAK,CACb,qCAAqC,GAAG,6CAA6C,CACtF,CAAA;aACF;YAED,OAAO,GAAG,QAAQ,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAA;SAC7C;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,UAAU,GAAG,KAAc,CAAA;YACjC,IAAI,UAAU,CAAC,IAAI,KAAK,eAAe,CAAC,IAAI,EAAE;gBAC5C,MAAM,KAAK,CAAA;aACZ;iBAAM,IAAI,UAAU,CAAC,IAAI,KAAK,iBAAiB,CAAC,IAAI,EAAE;gBACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;aACnD;iBAAM;gBACL,IAAI,CAAC,OAAO,CAAC,mBAAmB,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;aACtD;SACF;gBAAS;YACR,0CAA0C;YAC1C,IAAI;gBACF,MAAM,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAA;aACpC;YAAC,OAAO,KAAK,EAAE;gBACd,IAAI,CAAC,KAAK,CAAC,6BAA6B,KAAK,EAAE,CAAC,CAAA;aACjD;SACF;QAED,OAAO,OAAO,CAAA;IAChB,CAAC;CAAA"}
@@ -5,7 +5,6 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
5
5
  import type { IBinaryReader } from "@protobuf-ts/runtime";
6
6
  import type { PartialMessage } from "@protobuf-ts/runtime";
7
7
  import { MessageType } from "@protobuf-ts/runtime";
8
- import { CacheEntry } from "../../entities/v1/cacheentry";
9
8
  import { CacheMetadata } from "../../entities/v1/cachemetadata";
10
9
  /**
11
10
  * @generated from protobuf message github.actions.results.api.v1.CreateCacheEntryRequest
@@ -139,118 +138,6 @@ export interface GetCacheEntryDownloadURLResponse {
139
138
  */
140
139
  matchedKey: string;
141
140
  }
142
- /**
143
- * @generated from protobuf message github.actions.results.api.v1.DeleteCacheEntryRequest
144
- */
145
- export interface DeleteCacheEntryRequest {
146
- /**
147
- * Scope and other metadata for the cache entry
148
- *
149
- * @generated from protobuf field: github.actions.results.entities.v1.CacheMetadata metadata = 1;
150
- */
151
- metadata?: CacheMetadata;
152
- /**
153
- * An explicit key for a cache entry
154
- *
155
- * @generated from protobuf field: string key = 2;
156
- */
157
- key: string;
158
- }
159
- /**
160
- * @generated from protobuf message github.actions.results.api.v1.DeleteCacheEntryResponse
161
- */
162
- export interface DeleteCacheEntryResponse {
163
- /**
164
- * @generated from protobuf field: bool ok = 1;
165
- */
166
- ok: boolean;
167
- /**
168
- * Cache entry database ID
169
- *
170
- * @generated from protobuf field: int64 entry_id = 2;
171
- */
172
- entryId: string;
173
- }
174
- /**
175
- * @generated from protobuf message github.actions.results.api.v1.ListCacheEntriesRequest
176
- */
177
- export interface ListCacheEntriesRequest {
178
- /**
179
- * Scope and other metadata for the cache entry
180
- *
181
- * @generated from protobuf field: github.actions.results.entities.v1.CacheMetadata metadata = 1;
182
- */
183
- metadata?: CacheMetadata;
184
- /**
185
- * An explicit key for a cache entry
186
- *
187
- * @generated from protobuf field: string key = 2;
188
- */
189
- key: string;
190
- /**
191
- * Restore keys used for prefix searching
192
- *
193
- * @generated from protobuf field: repeated string restore_keys = 3;
194
- */
195
- restoreKeys: string[];
196
- }
197
- /**
198
- * @generated from protobuf message github.actions.results.api.v1.ListCacheEntriesResponse
199
- */
200
- export interface ListCacheEntriesResponse {
201
- /**
202
- * Cache entries in the defined scope
203
- *
204
- * @generated from protobuf field: repeated github.actions.results.entities.v1.CacheEntry entries = 1;
205
- */
206
- entries: CacheEntry[];
207
- }
208
- /**
209
- * @generated from protobuf message github.actions.results.api.v1.LookupCacheEntryRequest
210
- */
211
- export interface LookupCacheEntryRequest {
212
- /**
213
- * Scope and other metadata for the cache entry
214
- *
215
- * @generated from protobuf field: github.actions.results.entities.v1.CacheMetadata metadata = 1;
216
- */
217
- metadata?: CacheMetadata;
218
- /**
219
- * An explicit key for a cache entry
220
- *
221
- * @generated from protobuf field: string key = 2;
222
- */
223
- key: string;
224
- /**
225
- * Restore keys used for prefix searching
226
- *
227
- * @generated from protobuf field: repeated string restore_keys = 3;
228
- */
229
- restoreKeys: string[];
230
- /**
231
- * Hash of the compression tool, runner OS and paths cached
232
- *
233
- * @generated from protobuf field: string version = 4;
234
- */
235
- version: string;
236
- }
237
- /**
238
- * @generated from protobuf message github.actions.results.api.v1.LookupCacheEntryResponse
239
- */
240
- export interface LookupCacheEntryResponse {
241
- /**
242
- * Indicates whether the cache entry exists or not
243
- *
244
- * @generated from protobuf field: bool exists = 1;
245
- */
246
- exists: boolean;
247
- /**
248
- * Matched cache entry metadata
249
- *
250
- * @generated from protobuf field: github.actions.results.entities.v1.CacheEntry entry = 2;
251
- */
252
- entry?: CacheEntry;
253
- }
254
141
  declare class CreateCacheEntryRequest$Type extends MessageType<CreateCacheEntryRequest> {
255
142
  constructor();
256
143
  create(value?: PartialMessage<CreateCacheEntryRequest>): CreateCacheEntryRequest;
@@ -311,66 +198,6 @@ declare class GetCacheEntryDownloadURLResponse$Type extends MessageType<GetCache
311
198
  * @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLResponse
312
199
  */
313
200
  export declare const GetCacheEntryDownloadURLResponse: GetCacheEntryDownloadURLResponse$Type;
314
- declare class DeleteCacheEntryRequest$Type extends MessageType<DeleteCacheEntryRequest> {
315
- constructor();
316
- create(value?: PartialMessage<DeleteCacheEntryRequest>): DeleteCacheEntryRequest;
317
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteCacheEntryRequest): DeleteCacheEntryRequest;
318
- internalBinaryWrite(message: DeleteCacheEntryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
319
- }
320
- /**
321
- * @generated MessageType for protobuf message github.actions.results.api.v1.DeleteCacheEntryRequest
322
- */
323
- export declare const DeleteCacheEntryRequest: DeleteCacheEntryRequest$Type;
324
- declare class DeleteCacheEntryResponse$Type extends MessageType<DeleteCacheEntryResponse> {
325
- constructor();
326
- create(value?: PartialMessage<DeleteCacheEntryResponse>): DeleteCacheEntryResponse;
327
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteCacheEntryResponse): DeleteCacheEntryResponse;
328
- internalBinaryWrite(message: DeleteCacheEntryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
329
- }
330
- /**
331
- * @generated MessageType for protobuf message github.actions.results.api.v1.DeleteCacheEntryResponse
332
- */
333
- export declare const DeleteCacheEntryResponse: DeleteCacheEntryResponse$Type;
334
- declare class ListCacheEntriesRequest$Type extends MessageType<ListCacheEntriesRequest> {
335
- constructor();
336
- create(value?: PartialMessage<ListCacheEntriesRequest>): ListCacheEntriesRequest;
337
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListCacheEntriesRequest): ListCacheEntriesRequest;
338
- internalBinaryWrite(message: ListCacheEntriesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
339
- }
340
- /**
341
- * @generated MessageType for protobuf message github.actions.results.api.v1.ListCacheEntriesRequest
342
- */
343
- export declare const ListCacheEntriesRequest: ListCacheEntriesRequest$Type;
344
- declare class ListCacheEntriesResponse$Type extends MessageType<ListCacheEntriesResponse> {
345
- constructor();
346
- create(value?: PartialMessage<ListCacheEntriesResponse>): ListCacheEntriesResponse;
347
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListCacheEntriesResponse): ListCacheEntriesResponse;
348
- internalBinaryWrite(message: ListCacheEntriesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
349
- }
350
- /**
351
- * @generated MessageType for protobuf message github.actions.results.api.v1.ListCacheEntriesResponse
352
- */
353
- export declare const ListCacheEntriesResponse: ListCacheEntriesResponse$Type;
354
- declare class LookupCacheEntryRequest$Type extends MessageType<LookupCacheEntryRequest> {
355
- constructor();
356
- create(value?: PartialMessage<LookupCacheEntryRequest>): LookupCacheEntryRequest;
357
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LookupCacheEntryRequest): LookupCacheEntryRequest;
358
- internalBinaryWrite(message: LookupCacheEntryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
359
- }
360
- /**
361
- * @generated MessageType for protobuf message github.actions.results.api.v1.LookupCacheEntryRequest
362
- */
363
- export declare const LookupCacheEntryRequest: LookupCacheEntryRequest$Type;
364
- declare class LookupCacheEntryResponse$Type extends MessageType<LookupCacheEntryResponse> {
365
- constructor();
366
- create(value?: PartialMessage<LookupCacheEntryResponse>): LookupCacheEntryResponse;
367
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LookupCacheEntryResponse): LookupCacheEntryResponse;
368
- internalBinaryWrite(message: LookupCacheEntryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
369
- }
370
- /**
371
- * @generated MessageType for protobuf message github.actions.results.api.v1.LookupCacheEntryResponse
372
- */
373
- export declare const LookupCacheEntryResponse: LookupCacheEntryResponse$Type;
374
201
  /**
375
202
  * @generated ServiceType for protobuf service github.actions.results.api.v1.CacheService
376
203
  */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CacheService = exports.LookupCacheEntryResponse = exports.LookupCacheEntryRequest = exports.ListCacheEntriesResponse = exports.ListCacheEntriesRequest = exports.DeleteCacheEntryResponse = exports.DeleteCacheEntryRequest = exports.GetCacheEntryDownloadURLResponse = exports.GetCacheEntryDownloadURLRequest = exports.FinalizeCacheEntryUploadResponse = exports.FinalizeCacheEntryUploadRequest = exports.CreateCacheEntryResponse = exports.CreateCacheEntryRequest = void 0;
3
+ exports.CacheService = exports.GetCacheEntryDownloadURLResponse = exports.GetCacheEntryDownloadURLRequest = exports.FinalizeCacheEntryUploadResponse = exports.FinalizeCacheEntryUploadRequest = exports.CreateCacheEntryResponse = exports.CreateCacheEntryRequest = void 0;
4
4
  // @generated by protobuf-ts 2.9.1 with parameter long_type_string,client_none,generate_dependencies
5
5
  // @generated from protobuf file "results/api/v1/cache.proto" (package "github.actions.results.api.v1", syntax proto3)
6
6
  // tslint:disable
@@ -10,7 +10,6 @@ const runtime_2 = require("@protobuf-ts/runtime");
10
10
  const runtime_3 = require("@protobuf-ts/runtime");
11
11
  const runtime_4 = require("@protobuf-ts/runtime");
12
12
  const runtime_5 = require("@protobuf-ts/runtime");
13
- const cacheentry_1 = require("../../entities/v1/cacheentry");
14
13
  const cachemetadata_1 = require("../../entities/v1/cachemetadata");
15
14
  // @generated message type with reflection information, may provide speed optimized methods
16
15
  class CreateCacheEntryRequest$Type extends runtime_5.MessageType {
@@ -378,353 +377,12 @@ class GetCacheEntryDownloadURLResponse$Type extends runtime_5.MessageType {
378
377
  * @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLResponse
379
378
  */
380
379
  exports.GetCacheEntryDownloadURLResponse = new GetCacheEntryDownloadURLResponse$Type();
381
- // @generated message type with reflection information, may provide speed optimized methods
382
- class DeleteCacheEntryRequest$Type extends runtime_5.MessageType {
383
- constructor() {
384
- super("github.actions.results.api.v1.DeleteCacheEntryRequest", [
385
- { no: 1, name: "metadata", kind: "message", T: () => cachemetadata_1.CacheMetadata },
386
- { no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
387
- ]);
388
- }
389
- create(value) {
390
- const message = { key: "" };
391
- globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
392
- if (value !== undefined)
393
- (0, runtime_3.reflectionMergePartial)(this, message, value);
394
- return message;
395
- }
396
- internalBinaryRead(reader, length, options, target) {
397
- let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
398
- while (reader.pos < end) {
399
- let [fieldNo, wireType] = reader.tag();
400
- switch (fieldNo) {
401
- case /* github.actions.results.entities.v1.CacheMetadata metadata */ 1:
402
- message.metadata = cachemetadata_1.CacheMetadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);
403
- break;
404
- case /* string key */ 2:
405
- message.key = reader.string();
406
- break;
407
- default:
408
- let u = options.readUnknownField;
409
- if (u === "throw")
410
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
411
- let d = reader.skip(wireType);
412
- if (u !== false)
413
- (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
414
- }
415
- }
416
- return message;
417
- }
418
- internalBinaryWrite(message, writer, options) {
419
- /* github.actions.results.entities.v1.CacheMetadata metadata = 1; */
420
- if (message.metadata)
421
- cachemetadata_1.CacheMetadata.internalBinaryWrite(message.metadata, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
422
- /* string key = 2; */
423
- if (message.key !== "")
424
- writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.key);
425
- let u = options.writeUnknownFields;
426
- if (u !== false)
427
- (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
428
- return writer;
429
- }
430
- }
431
- /**
432
- * @generated MessageType for protobuf message github.actions.results.api.v1.DeleteCacheEntryRequest
433
- */
434
- exports.DeleteCacheEntryRequest = new DeleteCacheEntryRequest$Type();
435
- // @generated message type with reflection information, may provide speed optimized methods
436
- class DeleteCacheEntryResponse$Type extends runtime_5.MessageType {
437
- constructor() {
438
- super("github.actions.results.api.v1.DeleteCacheEntryResponse", [
439
- { no: 1, name: "ok", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
440
- { no: 2, name: "entry_id", kind: "scalar", T: 3 /*ScalarType.INT64*/ }
441
- ]);
442
- }
443
- create(value) {
444
- const message = { ok: false, entryId: "0" };
445
- globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
446
- if (value !== undefined)
447
- (0, runtime_3.reflectionMergePartial)(this, message, value);
448
- return message;
449
- }
450
- internalBinaryRead(reader, length, options, target) {
451
- let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
452
- while (reader.pos < end) {
453
- let [fieldNo, wireType] = reader.tag();
454
- switch (fieldNo) {
455
- case /* bool ok */ 1:
456
- message.ok = reader.bool();
457
- break;
458
- case /* int64 entry_id */ 2:
459
- message.entryId = reader.int64().toString();
460
- break;
461
- default:
462
- let u = options.readUnknownField;
463
- if (u === "throw")
464
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
465
- let d = reader.skip(wireType);
466
- if (u !== false)
467
- (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
468
- }
469
- }
470
- return message;
471
- }
472
- internalBinaryWrite(message, writer, options) {
473
- /* bool ok = 1; */
474
- if (message.ok !== false)
475
- writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);
476
- /* int64 entry_id = 2; */
477
- if (message.entryId !== "0")
478
- writer.tag(2, runtime_1.WireType.Varint).int64(message.entryId);
479
- let u = options.writeUnknownFields;
480
- if (u !== false)
481
- (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
482
- return writer;
483
- }
484
- }
485
- /**
486
- * @generated MessageType for protobuf message github.actions.results.api.v1.DeleteCacheEntryResponse
487
- */
488
- exports.DeleteCacheEntryResponse = new DeleteCacheEntryResponse$Type();
489
- // @generated message type with reflection information, may provide speed optimized methods
490
- class ListCacheEntriesRequest$Type extends runtime_5.MessageType {
491
- constructor() {
492
- super("github.actions.results.api.v1.ListCacheEntriesRequest", [
493
- { no: 1, name: "metadata", kind: "message", T: () => cachemetadata_1.CacheMetadata },
494
- { no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
495
- { no: 3, name: "restore_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
496
- ]);
497
- }
498
- create(value) {
499
- const message = { key: "", restoreKeys: [] };
500
- globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
501
- if (value !== undefined)
502
- (0, runtime_3.reflectionMergePartial)(this, message, value);
503
- return message;
504
- }
505
- internalBinaryRead(reader, length, options, target) {
506
- let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
507
- while (reader.pos < end) {
508
- let [fieldNo, wireType] = reader.tag();
509
- switch (fieldNo) {
510
- case /* github.actions.results.entities.v1.CacheMetadata metadata */ 1:
511
- message.metadata = cachemetadata_1.CacheMetadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);
512
- break;
513
- case /* string key */ 2:
514
- message.key = reader.string();
515
- break;
516
- case /* repeated string restore_keys */ 3:
517
- message.restoreKeys.push(reader.string());
518
- break;
519
- default:
520
- let u = options.readUnknownField;
521
- if (u === "throw")
522
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
523
- let d = reader.skip(wireType);
524
- if (u !== false)
525
- (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
526
- }
527
- }
528
- return message;
529
- }
530
- internalBinaryWrite(message, writer, options) {
531
- /* github.actions.results.entities.v1.CacheMetadata metadata = 1; */
532
- if (message.metadata)
533
- cachemetadata_1.CacheMetadata.internalBinaryWrite(message.metadata, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
534
- /* string key = 2; */
535
- if (message.key !== "")
536
- writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.key);
537
- /* repeated string restore_keys = 3; */
538
- for (let i = 0; i < message.restoreKeys.length; i++)
539
- writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.restoreKeys[i]);
540
- let u = options.writeUnknownFields;
541
- if (u !== false)
542
- (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
543
- return writer;
544
- }
545
- }
546
- /**
547
- * @generated MessageType for protobuf message github.actions.results.api.v1.ListCacheEntriesRequest
548
- */
549
- exports.ListCacheEntriesRequest = new ListCacheEntriesRequest$Type();
550
- // @generated message type with reflection information, may provide speed optimized methods
551
- class ListCacheEntriesResponse$Type extends runtime_5.MessageType {
552
- constructor() {
553
- super("github.actions.results.api.v1.ListCacheEntriesResponse", [
554
- { no: 1, name: "entries", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => cacheentry_1.CacheEntry }
555
- ]);
556
- }
557
- create(value) {
558
- const message = { entries: [] };
559
- globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
560
- if (value !== undefined)
561
- (0, runtime_3.reflectionMergePartial)(this, message, value);
562
- return message;
563
- }
564
- internalBinaryRead(reader, length, options, target) {
565
- let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
566
- while (reader.pos < end) {
567
- let [fieldNo, wireType] = reader.tag();
568
- switch (fieldNo) {
569
- case /* repeated github.actions.results.entities.v1.CacheEntry entries */ 1:
570
- message.entries.push(cacheentry_1.CacheEntry.internalBinaryRead(reader, reader.uint32(), options));
571
- break;
572
- default:
573
- let u = options.readUnknownField;
574
- if (u === "throw")
575
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
576
- let d = reader.skip(wireType);
577
- if (u !== false)
578
- (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
579
- }
580
- }
581
- return message;
582
- }
583
- internalBinaryWrite(message, writer, options) {
584
- /* repeated github.actions.results.entities.v1.CacheEntry entries = 1; */
585
- for (let i = 0; i < message.entries.length; i++)
586
- cacheentry_1.CacheEntry.internalBinaryWrite(message.entries[i], writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
587
- let u = options.writeUnknownFields;
588
- if (u !== false)
589
- (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
590
- return writer;
591
- }
592
- }
593
- /**
594
- * @generated MessageType for protobuf message github.actions.results.api.v1.ListCacheEntriesResponse
595
- */
596
- exports.ListCacheEntriesResponse = new ListCacheEntriesResponse$Type();
597
- // @generated message type with reflection information, may provide speed optimized methods
598
- class LookupCacheEntryRequest$Type extends runtime_5.MessageType {
599
- constructor() {
600
- super("github.actions.results.api.v1.LookupCacheEntryRequest", [
601
- { no: 1, name: "metadata", kind: "message", T: () => cachemetadata_1.CacheMetadata },
602
- { no: 2, name: "key", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
603
- { no: 3, name: "restore_keys", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
604
- { no: 4, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
605
- ]);
606
- }
607
- create(value) {
608
- const message = { key: "", restoreKeys: [], version: "" };
609
- globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
610
- if (value !== undefined)
611
- (0, runtime_3.reflectionMergePartial)(this, message, value);
612
- return message;
613
- }
614
- internalBinaryRead(reader, length, options, target) {
615
- let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
616
- while (reader.pos < end) {
617
- let [fieldNo, wireType] = reader.tag();
618
- switch (fieldNo) {
619
- case /* github.actions.results.entities.v1.CacheMetadata metadata */ 1:
620
- message.metadata = cachemetadata_1.CacheMetadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);
621
- break;
622
- case /* string key */ 2:
623
- message.key = reader.string();
624
- break;
625
- case /* repeated string restore_keys */ 3:
626
- message.restoreKeys.push(reader.string());
627
- break;
628
- case /* string version */ 4:
629
- message.version = reader.string();
630
- break;
631
- default:
632
- let u = options.readUnknownField;
633
- if (u === "throw")
634
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
635
- let d = reader.skip(wireType);
636
- if (u !== false)
637
- (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
638
- }
639
- }
640
- return message;
641
- }
642
- internalBinaryWrite(message, writer, options) {
643
- /* github.actions.results.entities.v1.CacheMetadata metadata = 1; */
644
- if (message.metadata)
645
- cachemetadata_1.CacheMetadata.internalBinaryWrite(message.metadata, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();
646
- /* string key = 2; */
647
- if (message.key !== "")
648
- writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.key);
649
- /* repeated string restore_keys = 3; */
650
- for (let i = 0; i < message.restoreKeys.length; i++)
651
- writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.restoreKeys[i]);
652
- /* string version = 4; */
653
- if (message.version !== "")
654
- writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.version);
655
- let u = options.writeUnknownFields;
656
- if (u !== false)
657
- (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
658
- return writer;
659
- }
660
- }
661
- /**
662
- * @generated MessageType for protobuf message github.actions.results.api.v1.LookupCacheEntryRequest
663
- */
664
- exports.LookupCacheEntryRequest = new LookupCacheEntryRequest$Type();
665
- // @generated message type with reflection information, may provide speed optimized methods
666
- class LookupCacheEntryResponse$Type extends runtime_5.MessageType {
667
- constructor() {
668
- super("github.actions.results.api.v1.LookupCacheEntryResponse", [
669
- { no: 1, name: "exists", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
670
- { no: 2, name: "entry", kind: "message", T: () => cacheentry_1.CacheEntry }
671
- ]);
672
- }
673
- create(value) {
674
- const message = { exists: false };
675
- globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });
676
- if (value !== undefined)
677
- (0, runtime_3.reflectionMergePartial)(this, message, value);
678
- return message;
679
- }
680
- internalBinaryRead(reader, length, options, target) {
681
- let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;
682
- while (reader.pos < end) {
683
- let [fieldNo, wireType] = reader.tag();
684
- switch (fieldNo) {
685
- case /* bool exists */ 1:
686
- message.exists = reader.bool();
687
- break;
688
- case /* github.actions.results.entities.v1.CacheEntry entry */ 2:
689
- message.entry = cacheentry_1.CacheEntry.internalBinaryRead(reader, reader.uint32(), options, message.entry);
690
- break;
691
- default:
692
- let u = options.readUnknownField;
693
- if (u === "throw")
694
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
695
- let d = reader.skip(wireType);
696
- if (u !== false)
697
- (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
698
- }
699
- }
700
- return message;
701
- }
702
- internalBinaryWrite(message, writer, options) {
703
- /* bool exists = 1; */
704
- if (message.exists !== false)
705
- writer.tag(1, runtime_1.WireType.Varint).bool(message.exists);
706
- /* github.actions.results.entities.v1.CacheEntry entry = 2; */
707
- if (message.entry)
708
- cacheentry_1.CacheEntry.internalBinaryWrite(message.entry, writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();
709
- let u = options.writeUnknownFields;
710
- if (u !== false)
711
- (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
712
- return writer;
713
- }
714
- }
715
- /**
716
- * @generated MessageType for protobuf message github.actions.results.api.v1.LookupCacheEntryResponse
717
- */
718
- exports.LookupCacheEntryResponse = new LookupCacheEntryResponse$Type();
719
380
  /**
720
381
  * @generated ServiceType for protobuf service github.actions.results.api.v1.CacheService
721
382
  */
722
383
  exports.CacheService = new runtime_rpc_1.ServiceType("github.actions.results.api.v1.CacheService", [
723
384
  { name: "CreateCacheEntry", options: {}, I: exports.CreateCacheEntryRequest, O: exports.CreateCacheEntryResponse },
724
385
  { name: "FinalizeCacheEntryUpload", options: {}, I: exports.FinalizeCacheEntryUploadRequest, O: exports.FinalizeCacheEntryUploadResponse },
725
- { name: "GetCacheEntryDownloadURL", options: {}, I: exports.GetCacheEntryDownloadURLRequest, O: exports.GetCacheEntryDownloadURLResponse },
726
- { name: "DeleteCacheEntry", options: {}, I: exports.DeleteCacheEntryRequest, O: exports.DeleteCacheEntryResponse },
727
- { name: "ListCacheEntries", options: {}, I: exports.ListCacheEntriesRequest, O: exports.ListCacheEntriesResponse },
728
- { name: "LookupCacheEntry", options: {}, I: exports.LookupCacheEntryRequest, O: exports.LookupCacheEntryResponse }
386
+ { name: "GetCacheEntryDownloadURL", options: {}, I: exports.GetCacheEntryDownloadURLRequest, O: exports.GetCacheEntryDownloadURLResponse }
729
387
  ]);
730
388
  //# sourceMappingURL=cache.js.map