Skip to content

Commit

Permalink
chore: apply auto code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabing010102 authored and github-actions[bot] committed Feb 27, 2024
1 parent 2b33ef0 commit 9230ef2
Show file tree
Hide file tree
Showing 8 changed files with 4,378 additions and 4,219 deletions.
149 changes: 98 additions & 51 deletions Assets/src/TuiHub/Protos/Librarian/Sephirah/V1/Gebura.cs

Large diffs are not rendered by default.

70 changes: 43 additions & 27 deletions lib/librarian/sephirah/v1/gebura.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4267,6 +4267,7 @@ class AppBinary_Chunk extends $pb.GeneratedMessage {

class AppBinary extends $pb.GeneratedMessage {
factory AppBinary({
$7.InternalID? id,
$core.String? name,
$fixnum.Int64? sizeBytes,
$core.String? publicUrl,
Expand All @@ -4275,6 +4276,9 @@ class AppBinary extends $pb.GeneratedMessage {
$core.Iterable<AppBinary_Chunk>? chunks,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (name != null) {
$result.name = name;
}
Expand All @@ -4300,12 +4304,13 @@ class AppBinary extends $pb.GeneratedMessage {
factory AppBinary.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppBinary', package: const $pb.PackageName(_omitMessageNames ? '' : 'librarian.sephirah.v1'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name')
..aInt64(2, _omitFieldNames ? '' : 'sizeBytes')
..aOS(3, _omitFieldNames ? '' : 'publicUrl')
..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'sha256', $pb.PbFieldType.OY)
..aOS(5, _omitFieldNames ? '' : 'tokenServerUrl')
..pc<AppBinary_Chunk>(6, _omitFieldNames ? '' : 'chunks', $pb.PbFieldType.PM, subBuilder: AppBinary_Chunk.create)
..aOM<$7.InternalID>(1, _omitFieldNames ? '' : 'id', subBuilder: $7.InternalID.create)
..aOS(2, _omitFieldNames ? '' : 'name')
..aInt64(3, _omitFieldNames ? '' : 'sizeBytes')
..aOS(4, _omitFieldNames ? '' : 'publicUrl')
..a<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'sha256', $pb.PbFieldType.OY)
..aOS(6, _omitFieldNames ? '' : 'tokenServerUrl')
..pc<AppBinary_Chunk>(7, _omitFieldNames ? '' : 'chunks', $pb.PbFieldType.PM, subBuilder: AppBinary_Chunk.create)
..hasRequiredFields = false
;

Expand All @@ -4331,52 +4336,63 @@ class AppBinary extends $pb.GeneratedMessage {
static AppBinary? _defaultInstance;

@$pb.TagNumber(1)
$core.String get name => $_getSZ(0);
$7.InternalID get id => $_getN(0);
@$pb.TagNumber(1)
set name($core.String v) { $_setString(0, v); }
set id($7.InternalID v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
$core.bool hasId() => $_has(0);
@$pb.TagNumber(1)
void clearId() => clearField(1);
@$pb.TagNumber(1)
void clearName() => clearField(1);
$7.InternalID ensureId() => $_ensure(0);

@$pb.TagNumber(2)
$fixnum.Int64 get sizeBytes => $_getI64(1);
$core.String get name => $_getSZ(1);
@$pb.TagNumber(2)
set sizeBytes($fixnum.Int64 v) { $_setInt64(1, v); }
set name($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasSizeBytes() => $_has(1);
$core.bool hasName() => $_has(1);
@$pb.TagNumber(2)
void clearSizeBytes() => clearField(2);
void clearName() => clearField(2);

@$pb.TagNumber(3)
$core.String get publicUrl => $_getSZ(2);
$fixnum.Int64 get sizeBytes => $_getI64(2);
@$pb.TagNumber(3)
set publicUrl($core.String v) { $_setString(2, v); }
set sizeBytes($fixnum.Int64 v) { $_setInt64(2, v); }
@$pb.TagNumber(3)
$core.bool hasPublicUrl() => $_has(2);
$core.bool hasSizeBytes() => $_has(2);
@$pb.TagNumber(3)
void clearPublicUrl() => clearField(3);
void clearSizeBytes() => clearField(3);

@$pb.TagNumber(4)
$core.List<$core.int> get sha256 => $_getN(3);
$core.String get publicUrl => $_getSZ(3);
@$pb.TagNumber(4)
set sha256($core.List<$core.int> v) { $_setBytes(3, v); }
set publicUrl($core.String v) { $_setString(3, v); }
@$pb.TagNumber(4)
$core.bool hasSha256() => $_has(3);
$core.bool hasPublicUrl() => $_has(3);
@$pb.TagNumber(4)
void clearSha256() => clearField(4);
void clearPublicUrl() => clearField(4);

@$pb.TagNumber(5)
$core.String get tokenServerUrl => $_getSZ(4);
$core.List<$core.int> get sha256 => $_getN(4);
@$pb.TagNumber(5)
set tokenServerUrl($core.String v) { $_setString(4, v); }
set sha256($core.List<$core.int> v) { $_setBytes(4, v); }
@$pb.TagNumber(5)
$core.bool hasTokenServerUrl() => $_has(4);
$core.bool hasSha256() => $_has(4);
@$pb.TagNumber(5)
void clearTokenServerUrl() => clearField(5);
void clearSha256() => clearField(5);

@$pb.TagNumber(6)
$core.List<AppBinary_Chunk> get chunks => $_getList(5);
$core.String get tokenServerUrl => $_getSZ(5);
@$pb.TagNumber(6)
set tokenServerUrl($core.String v) { $_setString(5, v); }
@$pb.TagNumber(6)
$core.bool hasTokenServerUrl() => $_has(5);
@$pb.TagNumber(6)
void clearTokenServerUrl() => clearField(6);

@$pb.TagNumber(7)
$core.List<AppBinary_Chunk> get chunks => $_getList(6);
}

class AppCategory extends $pb.GeneratedMessage {
Expand Down
28 changes: 15 additions & 13 deletions lib/librarian/sephirah/v1/gebura.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1054,12 +1054,13 @@ final $typed_data.Uint8List appDescriptor = $convert.base64Decode(
const AppBinary$json = {
'1': 'AppBinary',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{'1': 'size_bytes', '3': 2, '4': 1, '5': 3, '10': 'sizeBytes'},
{'1': 'public_url', '3': 3, '4': 1, '5': 9, '10': 'publicUrl'},
{'1': 'sha256', '3': 4, '4': 1, '5': 12, '10': 'sha256'},
{'1': 'token_server_url', '3': 5, '4': 1, '5': 9, '10': 'tokenServerUrl'},
{'1': 'chunks', '3': 6, '4': 3, '5': 11, '6': '.librarian.sephirah.v1.AppBinary.Chunk', '10': 'chunks'},
{'1': 'id', '3': 1, '4': 1, '5': 11, '6': '.librarian.v1.InternalID', '10': 'id'},
{'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'},
{'1': 'size_bytes', '3': 3, '4': 1, '5': 3, '10': 'sizeBytes'},
{'1': 'public_url', '3': 4, '4': 1, '5': 9, '10': 'publicUrl'},
{'1': 'sha256', '3': 5, '4': 1, '5': 12, '10': 'sha256'},
{'1': 'token_server_url', '3': 6, '4': 1, '5': 9, '10': 'tokenServerUrl'},
{'1': 'chunks', '3': 7, '4': 3, '5': 11, '6': '.librarian.sephirah.v1.AppBinary.Chunk', '10': 'chunks'},
],
'3': [AppBinary_Chunk$json],
};
Expand All @@ -1077,13 +1078,14 @@ const AppBinary_Chunk$json = {

/// Descriptor for `AppBinary`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List appBinaryDescriptor = $convert.base64Decode(
'CglBcHBCaW5hcnkSEgoEbmFtZRgBIAEoCVIEbmFtZRIdCgpzaXplX2J5dGVzGAIgASgDUglzaX'
'plQnl0ZXMSHQoKcHVibGljX3VybBgDIAEoCVIJcHVibGljVXJsEhYKBnNoYTI1NhgEIAEoDFIG'
'c2hhMjU2EigKEHRva2VuX3NlcnZlcl91cmwYBSABKAlSDnRva2VuU2VydmVyVXJsEj4KBmNodW'
'5rcxgGIAMoCzImLmxpYnJhcmlhbi5zZXBoaXJhaC52MS5BcHBCaW5hcnkuQ2h1bmtSBmNodW5r'
'cxp5CgVDaHVuaxIaCghzZXF1ZW5jZRgBIAEoA1IIc2VxdWVuY2USHQoKc2l6ZV9ieXRlcxgCIA'
'EoA1IJc2l6ZUJ5dGVzEh0KCnB1YmxpY191cmwYAyABKAlSCXB1YmxpY1VybBIWCgZzaGEyNTYY'
'BCABKAxSBnNoYTI1Ng==');
'CglBcHBCaW5hcnkSKAoCaWQYASABKAsyGC5saWJyYXJpYW4udjEuSW50ZXJuYWxJRFICaWQSEg'
'oEbmFtZRgCIAEoCVIEbmFtZRIdCgpzaXplX2J5dGVzGAMgASgDUglzaXplQnl0ZXMSHQoKcHVi'
'bGljX3VybBgEIAEoCVIJcHVibGljVXJsEhYKBnNoYTI1NhgFIAEoDFIGc2hhMjU2EigKEHRva2'
'VuX3NlcnZlcl91cmwYBiABKAlSDnRva2VuU2VydmVyVXJsEj4KBmNodW5rcxgHIAMoCzImLmxp'
'YnJhcmlhbi5zZXBoaXJhaC52MS5BcHBCaW5hcnkuQ2h1bmtSBmNodW5rcxp5CgVDaHVuaxIaCg'
'hzZXF1ZW5jZRgBIAEoA1IIc2VxdWVuY2USHQoKc2l6ZV9ieXRlcxgCIAEoA1IJc2l6ZUJ5dGVz'
'Eh0KCnB1YmxpY191cmwYAyABKAlSCXB1YmxpY1VybBIWCgZzaGEyNTYYBCABKAxSBnNoYTI1Ng'
'==');

@$core.Deprecated('Use appCategoryDescriptor instead')
const AppCategory$json = {
Expand Down
6 changes: 6 additions & 0 deletions node/librarian/sephirah/v1/gebura_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,11 @@ export namespace App {
}

export class AppBinary extends jspb.Message {
hasId(): boolean;
clearId(): void;
getId(): librarian_v1_common_pb.InternalID | undefined;
setId(value?: librarian_v1_common_pb.InternalID): void;

getName(): string;
setName(value: string): void;

Expand Down Expand Up @@ -1861,6 +1866,7 @@ export class AppBinary extends jspb.Message {

export namespace AppBinary {
export type AsObject = {
id?: librarian_v1_common_pb.InternalID.AsObject,
name: string,
sizeBytes: number,
publicUrl: string,
Expand Down
Loading

0 comments on commit 9230ef2

Please sign in to comment.