-
Notifications
You must be signed in to change notification settings - Fork 55
/
recommendation_pb.ts
641 lines (523 loc) · 26.8 KB
/
recommendation_pb.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
// Copyright 2021-2024 Buf Technologies, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// @generated by protoc-gen-es v1.7.1 with parameter "ts_nocheck=false,target=ts"
// @generated from file buf/alpha/registry/v1alpha1/recommendation.proto (package buf.alpha.registry.v1alpha1, syntax proto3)
/* eslint-disable */
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
/**
* RecommendedRepository is the information about a repository needed to link to
* its owner page.
*
* @generated from message buf.alpha.registry.v1alpha1.RecommendedRepository
*/
export class RecommendedRepository extends Message<RecommendedRepository> {
/**
* @generated from field: string owner = 1;
*/
owner = "";
/**
* @generated from field: string name = 2;
*/
name = "";
/**
* @generated from field: google.protobuf.Timestamp create_time = 3;
*/
createTime?: Timestamp;
/**
* @generated from field: string description = 4;
*/
description = "";
/**
* @generated from field: string repository_id = 5;
*/
repositoryId = "";
constructor(data?: PartialMessage<RecommendedRepository>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.RecommendedRepository";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "create_time", kind: "message", T: Timestamp },
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "repository_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecommendedRepository {
return new RecommendedRepository().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecommendedRepository {
return new RecommendedRepository().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecommendedRepository {
return new RecommendedRepository().fromJsonString(jsonString, options);
}
static equals(a: RecommendedRepository | PlainMessage<RecommendedRepository> | undefined, b: RecommendedRepository | PlainMessage<RecommendedRepository> | undefined): boolean {
return proto3.util.equals(RecommendedRepository, a, b);
}
}
/**
* RecommendedTemplate is the information needed to recommend a template and link
* to its owner page.
*
* @generated from message buf.alpha.registry.v1alpha1.RecommendedTemplate
*/
export class RecommendedTemplate extends Message<RecommendedTemplate> {
/**
* @generated from field: string owner = 1;
*/
owner = "";
/**
* @generated from field: string name = 2;
*/
name = "";
/**
* @generated from field: string description = 3;
*/
description = "";
/**
* @generated from field: string template_id = 4;
*/
templateId = "";
constructor(data?: PartialMessage<RecommendedTemplate>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.RecommendedTemplate";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "template_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecommendedTemplate {
return new RecommendedTemplate().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecommendedTemplate {
return new RecommendedTemplate().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecommendedTemplate {
return new RecommendedTemplate().fromJsonString(jsonString, options);
}
static equals(a: RecommendedTemplate | PlainMessage<RecommendedTemplate> | undefined, b: RecommendedTemplate | PlainMessage<RecommendedTemplate> | undefined): boolean {
return proto3.util.equals(RecommendedTemplate, a, b);
}
}
/**
* SetRecommendedRepository is the information needed to configure a repository recommendation
*
* @generated from message buf.alpha.registry.v1alpha1.SetRecommendedRepository
*/
export class SetRecommendedRepository extends Message<SetRecommendedRepository> {
/**
* @generated from field: string repository_id = 1;
*/
repositoryId = "";
/**
* @generated from field: string description = 2;
*/
description = "";
constructor(data?: PartialMessage<SetRecommendedRepository>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.SetRecommendedRepository";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repository_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRecommendedRepository {
return new SetRecommendedRepository().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRecommendedRepository {
return new SetRecommendedRepository().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRecommendedRepository {
return new SetRecommendedRepository().fromJsonString(jsonString, options);
}
static equals(a: SetRecommendedRepository | PlainMessage<SetRecommendedRepository> | undefined, b: SetRecommendedRepository | PlainMessage<SetRecommendedRepository> | undefined): boolean {
return proto3.util.equals(SetRecommendedRepository, a, b);
}
}
/**
* SetRecommendedTemplate is the information needed to configure a template recommendation
*
* @generated from message buf.alpha.registry.v1alpha1.SetRecommendedTemplate
*/
export class SetRecommendedTemplate extends Message<SetRecommendedTemplate> {
/**
* @generated from field: string template_id = 1;
*/
templateId = "";
/**
* @generated from field: string description = 2;
*/
description = "";
constructor(data?: PartialMessage<SetRecommendedTemplate>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.SetRecommendedTemplate";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "template_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRecommendedTemplate {
return new SetRecommendedTemplate().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRecommendedTemplate {
return new SetRecommendedTemplate().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRecommendedTemplate {
return new SetRecommendedTemplate().fromJsonString(jsonString, options);
}
static equals(a: SetRecommendedTemplate | PlainMessage<SetRecommendedTemplate> | undefined, b: SetRecommendedTemplate | PlainMessage<SetRecommendedTemplate> | undefined): boolean {
return proto3.util.equals(SetRecommendedTemplate, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.RecommendedRepositoriesRequest
*/
export class RecommendedRepositoriesRequest extends Message<RecommendedRepositoriesRequest> {
constructor(data?: PartialMessage<RecommendedRepositoriesRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.RecommendedRepositoriesRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecommendedRepositoriesRequest {
return new RecommendedRepositoriesRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecommendedRepositoriesRequest {
return new RecommendedRepositoriesRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecommendedRepositoriesRequest {
return new RecommendedRepositoriesRequest().fromJsonString(jsonString, options);
}
static equals(a: RecommendedRepositoriesRequest | PlainMessage<RecommendedRepositoriesRequest> | undefined, b: RecommendedRepositoriesRequest | PlainMessage<RecommendedRepositoriesRequest> | undefined): boolean {
return proto3.util.equals(RecommendedRepositoriesRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.RecommendedRepositoriesResponse
*/
export class RecommendedRepositoriesResponse extends Message<RecommendedRepositoriesResponse> {
/**
* @generated from field: repeated buf.alpha.registry.v1alpha1.RecommendedRepository repositories = 1;
*/
repositories: RecommendedRepository[] = [];
constructor(data?: PartialMessage<RecommendedRepositoriesResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.RecommendedRepositoriesResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repositories", kind: "message", T: RecommendedRepository, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecommendedRepositoriesResponse {
return new RecommendedRepositoriesResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecommendedRepositoriesResponse {
return new RecommendedRepositoriesResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecommendedRepositoriesResponse {
return new RecommendedRepositoriesResponse().fromJsonString(jsonString, options);
}
static equals(a: RecommendedRepositoriesResponse | PlainMessage<RecommendedRepositoriesResponse> | undefined, b: RecommendedRepositoriesResponse | PlainMessage<RecommendedRepositoriesResponse> | undefined): boolean {
return proto3.util.equals(RecommendedRepositoriesResponse, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.RecommendedTemplatesRequest
*/
export class RecommendedTemplatesRequest extends Message<RecommendedTemplatesRequest> {
constructor(data?: PartialMessage<RecommendedTemplatesRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.RecommendedTemplatesRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecommendedTemplatesRequest {
return new RecommendedTemplatesRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecommendedTemplatesRequest {
return new RecommendedTemplatesRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecommendedTemplatesRequest {
return new RecommendedTemplatesRequest().fromJsonString(jsonString, options);
}
static equals(a: RecommendedTemplatesRequest | PlainMessage<RecommendedTemplatesRequest> | undefined, b: RecommendedTemplatesRequest | PlainMessage<RecommendedTemplatesRequest> | undefined): boolean {
return proto3.util.equals(RecommendedTemplatesRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.RecommendedTemplatesResponse
*/
export class RecommendedTemplatesResponse extends Message<RecommendedTemplatesResponse> {
/**
* @generated from field: repeated buf.alpha.registry.v1alpha1.RecommendedTemplate templates = 1;
*/
templates: RecommendedTemplate[] = [];
constructor(data?: PartialMessage<RecommendedTemplatesResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.RecommendedTemplatesResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "templates", kind: "message", T: RecommendedTemplate, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RecommendedTemplatesResponse {
return new RecommendedTemplatesResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RecommendedTemplatesResponse {
return new RecommendedTemplatesResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RecommendedTemplatesResponse {
return new RecommendedTemplatesResponse().fromJsonString(jsonString, options);
}
static equals(a: RecommendedTemplatesResponse | PlainMessage<RecommendedTemplatesResponse> | undefined, b: RecommendedTemplatesResponse | PlainMessage<RecommendedTemplatesResponse> | undefined): boolean {
return proto3.util.equals(RecommendedTemplatesResponse, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.ListRecommendedRepositoriesRequest
*/
export class ListRecommendedRepositoriesRequest extends Message<ListRecommendedRepositoriesRequest> {
constructor(data?: PartialMessage<ListRecommendedRepositoriesRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.ListRecommendedRepositoriesRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRecommendedRepositoriesRequest {
return new ListRecommendedRepositoriesRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRecommendedRepositoriesRequest {
return new ListRecommendedRepositoriesRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRecommendedRepositoriesRequest {
return new ListRecommendedRepositoriesRequest().fromJsonString(jsonString, options);
}
static equals(a: ListRecommendedRepositoriesRequest | PlainMessage<ListRecommendedRepositoriesRequest> | undefined, b: ListRecommendedRepositoriesRequest | PlainMessage<ListRecommendedRepositoriesRequest> | undefined): boolean {
return proto3.util.equals(ListRecommendedRepositoriesRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.ListRecommendedRepositoriesResponse
*/
export class ListRecommendedRepositoriesResponse extends Message<ListRecommendedRepositoriesResponse> {
/**
* @generated from field: repeated buf.alpha.registry.v1alpha1.RecommendedRepository repositories = 1;
*/
repositories: RecommendedRepository[] = [];
constructor(data?: PartialMessage<ListRecommendedRepositoriesResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.ListRecommendedRepositoriesResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repositories", kind: "message", T: RecommendedRepository, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRecommendedRepositoriesResponse {
return new ListRecommendedRepositoriesResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRecommendedRepositoriesResponse {
return new ListRecommendedRepositoriesResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRecommendedRepositoriesResponse {
return new ListRecommendedRepositoriesResponse().fromJsonString(jsonString, options);
}
static equals(a: ListRecommendedRepositoriesResponse | PlainMessage<ListRecommendedRepositoriesResponse> | undefined, b: ListRecommendedRepositoriesResponse | PlainMessage<ListRecommendedRepositoriesResponse> | undefined): boolean {
return proto3.util.equals(ListRecommendedRepositoriesResponse, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.ListRecommendedTemplatesRequest
*/
export class ListRecommendedTemplatesRequest extends Message<ListRecommendedTemplatesRequest> {
constructor(data?: PartialMessage<ListRecommendedTemplatesRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.ListRecommendedTemplatesRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRecommendedTemplatesRequest {
return new ListRecommendedTemplatesRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRecommendedTemplatesRequest {
return new ListRecommendedTemplatesRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRecommendedTemplatesRequest {
return new ListRecommendedTemplatesRequest().fromJsonString(jsonString, options);
}
static equals(a: ListRecommendedTemplatesRequest | PlainMessage<ListRecommendedTemplatesRequest> | undefined, b: ListRecommendedTemplatesRequest | PlainMessage<ListRecommendedTemplatesRequest> | undefined): boolean {
return proto3.util.equals(ListRecommendedTemplatesRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.ListRecommendedTemplatesResponse
*/
export class ListRecommendedTemplatesResponse extends Message<ListRecommendedTemplatesResponse> {
/**
* @generated from field: repeated buf.alpha.registry.v1alpha1.RecommendedTemplate templates = 1;
*/
templates: RecommendedTemplate[] = [];
constructor(data?: PartialMessage<ListRecommendedTemplatesResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.ListRecommendedTemplatesResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "templates", kind: "message", T: RecommendedTemplate, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRecommendedTemplatesResponse {
return new ListRecommendedTemplatesResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRecommendedTemplatesResponse {
return new ListRecommendedTemplatesResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRecommendedTemplatesResponse {
return new ListRecommendedTemplatesResponse().fromJsonString(jsonString, options);
}
static equals(a: ListRecommendedTemplatesResponse | PlainMessage<ListRecommendedTemplatesResponse> | undefined, b: ListRecommendedTemplatesResponse | PlainMessage<ListRecommendedTemplatesResponse> | undefined): boolean {
return proto3.util.equals(ListRecommendedTemplatesResponse, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.SetRecommendedRepositoriesRequest
*/
export class SetRecommendedRepositoriesRequest extends Message<SetRecommendedRepositoriesRequest> {
/**
* @generated from field: repeated buf.alpha.registry.v1alpha1.SetRecommendedRepository repositories = 1;
*/
repositories: SetRecommendedRepository[] = [];
constructor(data?: PartialMessage<SetRecommendedRepositoriesRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.SetRecommendedRepositoriesRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repositories", kind: "message", T: SetRecommendedRepository, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRecommendedRepositoriesRequest {
return new SetRecommendedRepositoriesRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRecommendedRepositoriesRequest {
return new SetRecommendedRepositoriesRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRecommendedRepositoriesRequest {
return new SetRecommendedRepositoriesRequest().fromJsonString(jsonString, options);
}
static equals(a: SetRecommendedRepositoriesRequest | PlainMessage<SetRecommendedRepositoriesRequest> | undefined, b: SetRecommendedRepositoriesRequest | PlainMessage<SetRecommendedRepositoriesRequest> | undefined): boolean {
return proto3.util.equals(SetRecommendedRepositoriesRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.SetRecommendedRepositoriesResponse
*/
export class SetRecommendedRepositoriesResponse extends Message<SetRecommendedRepositoriesResponse> {
constructor(data?: PartialMessage<SetRecommendedRepositoriesResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.SetRecommendedRepositoriesResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRecommendedRepositoriesResponse {
return new SetRecommendedRepositoriesResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRecommendedRepositoriesResponse {
return new SetRecommendedRepositoriesResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRecommendedRepositoriesResponse {
return new SetRecommendedRepositoriesResponse().fromJsonString(jsonString, options);
}
static equals(a: SetRecommendedRepositoriesResponse | PlainMessage<SetRecommendedRepositoriesResponse> | undefined, b: SetRecommendedRepositoriesResponse | PlainMessage<SetRecommendedRepositoriesResponse> | undefined): boolean {
return proto3.util.equals(SetRecommendedRepositoriesResponse, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.SetRecommendedTemplatesRequest
*/
export class SetRecommendedTemplatesRequest extends Message<SetRecommendedTemplatesRequest> {
/**
* @generated from field: repeated buf.alpha.registry.v1alpha1.SetRecommendedTemplate templates = 1;
*/
templates: SetRecommendedTemplate[] = [];
constructor(data?: PartialMessage<SetRecommendedTemplatesRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.SetRecommendedTemplatesRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "templates", kind: "message", T: SetRecommendedTemplate, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRecommendedTemplatesRequest {
return new SetRecommendedTemplatesRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRecommendedTemplatesRequest {
return new SetRecommendedTemplatesRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRecommendedTemplatesRequest {
return new SetRecommendedTemplatesRequest().fromJsonString(jsonString, options);
}
static equals(a: SetRecommendedTemplatesRequest | PlainMessage<SetRecommendedTemplatesRequest> | undefined, b: SetRecommendedTemplatesRequest | PlainMessage<SetRecommendedTemplatesRequest> | undefined): boolean {
return proto3.util.equals(SetRecommendedTemplatesRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.SetRecommendedTemplatesResponse
*/
export class SetRecommendedTemplatesResponse extends Message<SetRecommendedTemplatesResponse> {
constructor(data?: PartialMessage<SetRecommendedTemplatesResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.SetRecommendedTemplatesResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRecommendedTemplatesResponse {
return new SetRecommendedTemplatesResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRecommendedTemplatesResponse {
return new SetRecommendedTemplatesResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRecommendedTemplatesResponse {
return new SetRecommendedTemplatesResponse().fromJsonString(jsonString, options);
}
static equals(a: SetRecommendedTemplatesResponse | PlainMessage<SetRecommendedTemplatesResponse> | undefined, b: SetRecommendedTemplatesResponse | PlainMessage<SetRecommendedTemplatesResponse> | undefined): boolean {
return proto3.util.equals(SetRecommendedTemplatesResponse, a, b);
}
}