-
Notifications
You must be signed in to change notification settings - Fork 55
/
repository_commit_pb.ts
545 lines (455 loc) · 21.6 KB
/
repository_commit_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
// 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.0 with parameter "ts_nocheck=false,target=ts"
// @generated from file buf/alpha/registry/v1alpha1/repository_commit.proto (package buf.alpha.registry.v1alpha1, syntax proto3)
/* eslint-disable */
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
import { RepositoryTag } from "./repository_tag_pb.js";
/**
* @generated from message buf.alpha.registry.v1alpha1.RepositoryCommit
*/
export class RepositoryCommit extends Message<RepositoryCommit> {
/**
* primary key, unique, immutable
*
* @generated from field: string id = 1;
*/
id = "";
/**
* immutable
*
* @generated from field: google.protobuf.Timestamp create_time = 2;
*/
createTime?: Timestamp;
/**
* The digest of the commit.
*
* @generated from field: string digest = 3;
*/
digest = "";
/**
* The name of the commit.
* This is what is referenced by users.
* Unique, immutable.
*
* @generated from field: string name = 4;
*/
name = "";
/**
* The branch on which this commit was created.
*
* @generated from field: string branch = 5;
*/
branch = "";
/**
* The commit sequence ID for this commit. This
* is essentially what number commit this is on
* the branch.
*
* @generated from field: int64 commit_sequence_id = 6;
*/
commitSequenceId = protoInt64.zero;
/**
* The username of the user who authored this commit.
*
* @generated from field: string author = 7;
*/
author = "";
/**
* The tags associated with this commit
*
* @generated from field: repeated buf.alpha.registry.v1alpha1.RepositoryTag tags = 8;
*/
tags: RepositoryTag[] = [];
constructor(data?: PartialMessage<RepositoryCommit>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.RepositoryCommit";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "create_time", kind: "message", T: Timestamp },
{ no: 3, name: "digest", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "branch", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "commit_sequence_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
{ no: 7, name: "author", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 8, name: "tags", kind: "message", T: RepositoryTag, repeated: true },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RepositoryCommit {
return new RepositoryCommit().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RepositoryCommit {
return new RepositoryCommit().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RepositoryCommit {
return new RepositoryCommit().fromJsonString(jsonString, options);
}
static equals(a: RepositoryCommit | PlainMessage<RepositoryCommit> | undefined, b: RepositoryCommit | PlainMessage<RepositoryCommit> | undefined): boolean {
return proto3.util.equals(RepositoryCommit, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.ListRepositoryCommitsByBranchRequest
*/
export class ListRepositoryCommitsByBranchRequest extends Message<ListRepositoryCommitsByBranchRequest> {
/**
* The owner of the repository which the repository branch belongs to.
*
* @generated from field: string repository_owner = 1;
*/
repositoryOwner = "";
/**
* The name of the repository which the repository branch belongs to.
*
* @generated from field: string repository_name = 2;
*/
repositoryName = "";
/**
* The name of the repository branch whose commits should be listed.
*
* @generated from field: string repository_branch_name = 3;
*/
repositoryBranchName = "";
/**
* @generated from field: uint32 page_size = 4;
*/
pageSize = 0;
/**
* @generated from field: string page_token = 5;
*/
pageToken = "";
/**
* @generated from field: bool reverse = 6;
*/
reverse = false;
constructor(data?: PartialMessage<ListRepositoryCommitsByBranchRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.ListRepositoryCommitsByBranchRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repository_owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "repository_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "repository_branch_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
{ no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "reverse", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRepositoryCommitsByBranchRequest {
return new ListRepositoryCommitsByBranchRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRepositoryCommitsByBranchRequest {
return new ListRepositoryCommitsByBranchRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRepositoryCommitsByBranchRequest {
return new ListRepositoryCommitsByBranchRequest().fromJsonString(jsonString, options);
}
static equals(a: ListRepositoryCommitsByBranchRequest | PlainMessage<ListRepositoryCommitsByBranchRequest> | undefined, b: ListRepositoryCommitsByBranchRequest | PlainMessage<ListRepositoryCommitsByBranchRequest> | undefined): boolean {
return proto3.util.equals(ListRepositoryCommitsByBranchRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.ListRepositoryCommitsByBranchResponse
*/
export class ListRepositoryCommitsByBranchResponse extends Message<ListRepositoryCommitsByBranchResponse> {
/**
* @generated from field: repeated buf.alpha.registry.v1alpha1.RepositoryCommit repository_commits = 1;
*/
repositoryCommits: RepositoryCommit[] = [];
/**
* @generated from field: string next_page_token = 2;
*/
nextPageToken = "";
constructor(data?: PartialMessage<ListRepositoryCommitsByBranchResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.ListRepositoryCommitsByBranchResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repository_commits", kind: "message", T: RepositoryCommit, repeated: true },
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRepositoryCommitsByBranchResponse {
return new ListRepositoryCommitsByBranchResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRepositoryCommitsByBranchResponse {
return new ListRepositoryCommitsByBranchResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRepositoryCommitsByBranchResponse {
return new ListRepositoryCommitsByBranchResponse().fromJsonString(jsonString, options);
}
static equals(a: ListRepositoryCommitsByBranchResponse | PlainMessage<ListRepositoryCommitsByBranchResponse> | undefined, b: ListRepositoryCommitsByBranchResponse | PlainMessage<ListRepositoryCommitsByBranchResponse> | undefined): boolean {
return proto3.util.equals(ListRepositoryCommitsByBranchResponse, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.ListRepositoryCommitsByReferenceRequest
*/
export class ListRepositoryCommitsByReferenceRequest extends Message<ListRepositoryCommitsByReferenceRequest> {
/**
* The owner of the repository which the repository reference belongs to.
*
* @generated from field: string repository_owner = 1;
*/
repositoryOwner = "";
/**
* The name of the repository which the repository reference belongs to.
*
* @generated from field: string repository_name = 2;
*/
repositoryName = "";
/**
* The reference used to resolve repository commits. Can be a branch, tag or commit.
*
* @generated from field: string reference = 3;
*/
reference = "";
/**
* @generated from field: uint32 page_size = 4;
*/
pageSize = 0;
/**
* @generated from field: string page_token = 5;
*/
pageToken = "";
/**
* @generated from field: bool reverse = 6;
*/
reverse = false;
constructor(data?: PartialMessage<ListRepositoryCommitsByReferenceRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.ListRepositoryCommitsByReferenceRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repository_owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "repository_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "reference", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "page_size", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
{ no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "reverse", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRepositoryCommitsByReferenceRequest {
return new ListRepositoryCommitsByReferenceRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRepositoryCommitsByReferenceRequest {
return new ListRepositoryCommitsByReferenceRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRepositoryCommitsByReferenceRequest {
return new ListRepositoryCommitsByReferenceRequest().fromJsonString(jsonString, options);
}
static equals(a: ListRepositoryCommitsByReferenceRequest | PlainMessage<ListRepositoryCommitsByReferenceRequest> | undefined, b: ListRepositoryCommitsByReferenceRequest | PlainMessage<ListRepositoryCommitsByReferenceRequest> | undefined): boolean {
return proto3.util.equals(ListRepositoryCommitsByReferenceRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.ListRepositoryCommitsByReferenceResponse
*/
export class ListRepositoryCommitsByReferenceResponse extends Message<ListRepositoryCommitsByReferenceResponse> {
/**
* @generated from field: repeated buf.alpha.registry.v1alpha1.RepositoryCommit repository_commits = 1;
*/
repositoryCommits: RepositoryCommit[] = [];
/**
* @generated from field: string next_page_token = 2;
*/
nextPageToken = "";
constructor(data?: PartialMessage<ListRepositoryCommitsByReferenceResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.ListRepositoryCommitsByReferenceResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repository_commits", kind: "message", T: RepositoryCommit, repeated: true },
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListRepositoryCommitsByReferenceResponse {
return new ListRepositoryCommitsByReferenceResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListRepositoryCommitsByReferenceResponse {
return new ListRepositoryCommitsByReferenceResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListRepositoryCommitsByReferenceResponse {
return new ListRepositoryCommitsByReferenceResponse().fromJsonString(jsonString, options);
}
static equals(a: ListRepositoryCommitsByReferenceResponse | PlainMessage<ListRepositoryCommitsByReferenceResponse> | undefined, b: ListRepositoryCommitsByReferenceResponse | PlainMessage<ListRepositoryCommitsByReferenceResponse> | undefined): boolean {
return proto3.util.equals(ListRepositoryCommitsByReferenceResponse, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.GetRepositoryCommitByReferenceRequest
*/
export class GetRepositoryCommitByReferenceRequest extends Message<GetRepositoryCommitByReferenceRequest> {
/**
* The owner of the repository which the repository branch belongs to.
*
* @generated from field: string repository_owner = 1;
*/
repositoryOwner = "";
/**
* The name of the repository which the repository branch belongs to.
*
* @generated from field: string repository_name = 2;
*/
repositoryName = "";
/**
* The reference that should be resolved to a commit. Can be a branch, tag or commit.
*
* @generated from field: string reference = 3;
*/
reference = "";
constructor(data?: PartialMessage<GetRepositoryCommitByReferenceRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.GetRepositoryCommitByReferenceRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repository_owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "repository_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "reference", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRepositoryCommitByReferenceRequest {
return new GetRepositoryCommitByReferenceRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRepositoryCommitByReferenceRequest {
return new GetRepositoryCommitByReferenceRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRepositoryCommitByReferenceRequest {
return new GetRepositoryCommitByReferenceRequest().fromJsonString(jsonString, options);
}
static equals(a: GetRepositoryCommitByReferenceRequest | PlainMessage<GetRepositoryCommitByReferenceRequest> | undefined, b: GetRepositoryCommitByReferenceRequest | PlainMessage<GetRepositoryCommitByReferenceRequest> | undefined): boolean {
return proto3.util.equals(GetRepositoryCommitByReferenceRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.GetRepositoryCommitByReferenceResponse
*/
export class GetRepositoryCommitByReferenceResponse extends Message<GetRepositoryCommitByReferenceResponse> {
/**
* @generated from field: buf.alpha.registry.v1alpha1.RepositoryCommit repository_commit = 1;
*/
repositoryCommit?: RepositoryCommit;
constructor(data?: PartialMessage<GetRepositoryCommitByReferenceResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.GetRepositoryCommitByReferenceResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repository_commit", kind: "message", T: RepositoryCommit },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRepositoryCommitByReferenceResponse {
return new GetRepositoryCommitByReferenceResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRepositoryCommitByReferenceResponse {
return new GetRepositoryCommitByReferenceResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRepositoryCommitByReferenceResponse {
return new GetRepositoryCommitByReferenceResponse().fromJsonString(jsonString, options);
}
static equals(a: GetRepositoryCommitByReferenceResponse | PlainMessage<GetRepositoryCommitByReferenceResponse> | undefined, b: GetRepositoryCommitByReferenceResponse | PlainMessage<GetRepositoryCommitByReferenceResponse> | undefined): boolean {
return proto3.util.equals(GetRepositoryCommitByReferenceResponse, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.GetRepositoryCommitBySequenceIdRequest
*/
export class GetRepositoryCommitBySequenceIdRequest extends Message<GetRepositoryCommitBySequenceIdRequest> {
/**
* The owner of the repository which the repository branch belongs to.
*
* @generated from field: string repository_owner = 1;
*/
repositoryOwner = "";
/**
* The name of the repository which the repository branch belongs to.
*
* @generated from field: string repository_name = 2;
*/
repositoryName = "";
/**
* The name of the repository branch which the sequence ID is relative to.
*
* @generated from field: string repository_branch_name = 3;
*/
repositoryBranchName = "";
/**
* The sequence ID to look up.
*
* @generated from field: int64 commit_sequence_id = 4;
*/
commitSequenceId = protoInt64.zero;
constructor(data?: PartialMessage<GetRepositoryCommitBySequenceIdRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.GetRepositoryCommitBySequenceIdRequest";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repository_owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 2, name: "repository_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "repository_branch_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "commit_sequence_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRepositoryCommitBySequenceIdRequest {
return new GetRepositoryCommitBySequenceIdRequest().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRepositoryCommitBySequenceIdRequest {
return new GetRepositoryCommitBySequenceIdRequest().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRepositoryCommitBySequenceIdRequest {
return new GetRepositoryCommitBySequenceIdRequest().fromJsonString(jsonString, options);
}
static equals(a: GetRepositoryCommitBySequenceIdRequest | PlainMessage<GetRepositoryCommitBySequenceIdRequest> | undefined, b: GetRepositoryCommitBySequenceIdRequest | PlainMessage<GetRepositoryCommitBySequenceIdRequest> | undefined): boolean {
return proto3.util.equals(GetRepositoryCommitBySequenceIdRequest, a, b);
}
}
/**
* @generated from message buf.alpha.registry.v1alpha1.GetRepositoryCommitBySequenceIdResponse
*/
export class GetRepositoryCommitBySequenceIdResponse extends Message<GetRepositoryCommitBySequenceIdResponse> {
/**
* @generated from field: buf.alpha.registry.v1alpha1.RepositoryCommit repository_commit = 1;
*/
repositoryCommit?: RepositoryCommit;
constructor(data?: PartialMessage<GetRepositoryCommitBySequenceIdResponse>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = "buf.alpha.registry.v1alpha1.GetRepositoryCommitBySequenceIdResponse";
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "repository_commit", kind: "message", T: RepositoryCommit },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRepositoryCommitBySequenceIdResponse {
return new GetRepositoryCommitBySequenceIdResponse().fromBinary(bytes, options);
}
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRepositoryCommitBySequenceIdResponse {
return new GetRepositoryCommitBySequenceIdResponse().fromJson(jsonValue, options);
}
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRepositoryCommitBySequenceIdResponse {
return new GetRepositoryCommitBySequenceIdResponse().fromJsonString(jsonString, options);
}
static equals(a: GetRepositoryCommitBySequenceIdResponse | PlainMessage<GetRepositoryCommitBySequenceIdResponse> | undefined, b: GetRepositoryCommitBySequenceIdResponse | PlainMessage<GetRepositoryCommitBySequenceIdResponse> | undefined): boolean {
return proto3.util.equals(GetRepositoryCommitBySequenceIdResponse, a, b);
}
}