Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Update Protos to v0.9.2 #287

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
306 changes: 0 additions & 306 deletions lib/base/networking/apis/tumdev/campus_backend.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3788,56 +3788,6 @@ class GetMemberReply extends $pb.GeneratedMessage {
void clearMemberId() => clearField(3);
}

class GetUploadStatusRequest extends $pb.GeneratedMessage {
factory GetUploadStatusRequest({
$core.String? lrzId,
}) {
final $result = create();
if (lrzId != null) {
$result.lrzId = lrzId;
}
return $result;
}
GetUploadStatusRequest._() : super();
factory GetUploadStatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetUploadStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetUploadStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'lrzId')
..hasRequiredFields = false
;

@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
GetUploadStatusRequest clone() => GetUploadStatusRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
GetUploadStatusRequest copyWith(void Function(GetUploadStatusRequest) updates) => super.copyWith((message) => updates(message as GetUploadStatusRequest)) as GetUploadStatusRequest;

$pb.BuilderInfo get info_ => _i;

@$core.pragma('dart2js:noInline')
static GetUploadStatusRequest create() => GetUploadStatusRequest._();
GetUploadStatusRequest createEmptyInstance() => create();
static $pb.PbList<GetUploadStatusRequest> createRepeated() => $pb.PbList<GetUploadStatusRequest>();
@$core.pragma('dart2js:noInline')
static GetUploadStatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetUploadStatusRequest>(create);
static GetUploadStatusRequest? _defaultInstance;

@$pb.TagNumber(1)
$core.String get lrzId => $_getSZ(0);
@$pb.TagNumber(1)
set lrzId($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasLrzId() => $_has(0);
@$pb.TagNumber(1)
void clearLrzId() => clearField(1);
}

class GetUploadStatusReply extends $pb.GeneratedMessage {
factory GetUploadStatusReply({
$core.String? fcmToken,
Expand Down Expand Up @@ -3944,262 +3894,6 @@ class GetUploadStatusReply extends $pb.GeneratedMessage {
void clearExternalId() => clearField(5);
}

class GetNotificationRequest extends $pb.GeneratedMessage {
factory GetNotificationRequest({
$core.int? notificationId,
}) {
final $result = create();
if (notificationId != null) {
$result.notificationId = notificationId;
}
return $result;
}
GetNotificationRequest._() : super();
factory GetNotificationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetNotificationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNotificationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..a<$core.int>(1, _omitFieldNames ? '' : 'notificationId', $pb.PbFieldType.O3)
..hasRequiredFields = false
;

@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
GetNotificationRequest clone() => GetNotificationRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
GetNotificationRequest copyWith(void Function(GetNotificationRequest) updates) => super.copyWith((message) => updates(message as GetNotificationRequest)) as GetNotificationRequest;

$pb.BuilderInfo get info_ => _i;

@$core.pragma('dart2js:noInline')
static GetNotificationRequest create() => GetNotificationRequest._();
GetNotificationRequest createEmptyInstance() => create();
static $pb.PbList<GetNotificationRequest> createRepeated() => $pb.PbList<GetNotificationRequest>();
@$core.pragma('dart2js:noInline')
static GetNotificationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetNotificationRequest>(create);
static GetNotificationRequest? _defaultInstance;

@$pb.TagNumber(1)
$core.int get notificationId => $_getIZ(0);
@$pb.TagNumber(1)
set notificationId($core.int v) { $_setSignedInt32(0, v); }
@$pb.TagNumber(1)
$core.bool hasNotificationId() => $_has(0);
@$pb.TagNumber(1)
void clearNotificationId() => clearField(1);
}

class GetNotificationReply extends $pb.GeneratedMessage {
factory GetNotificationReply({
$core.int? notificationId,
$core.int? type,
$core.String? title,
$core.String? description,
$core.String? signature,
}) {
final $result = create();
if (notificationId != null) {
$result.notificationId = notificationId;
}
if (type != null) {
$result.type = type;
}
if (title != null) {
$result.title = title;
}
if (description != null) {
$result.description = description;
}
if (signature != null) {
$result.signature = signature;
}
return $result;
}
GetNotificationReply._() : super();
factory GetNotificationReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetNotificationReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNotificationReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..a<$core.int>(1, _omitFieldNames ? '' : 'notificationId', $pb.PbFieldType.O3)
..a<$core.int>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.O3)
..aOS(3, _omitFieldNames ? '' : 'title')
..aOS(4, _omitFieldNames ? '' : 'description')
..aOS(5, _omitFieldNames ? '' : 'signature')
..hasRequiredFields = false
;

@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
GetNotificationReply clone() => GetNotificationReply()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
GetNotificationReply copyWith(void Function(GetNotificationReply) updates) => super.copyWith((message) => updates(message as GetNotificationReply)) as GetNotificationReply;

$pb.BuilderInfo get info_ => _i;

@$core.pragma('dart2js:noInline')
static GetNotificationReply create() => GetNotificationReply._();
GetNotificationReply createEmptyInstance() => create();
static $pb.PbList<GetNotificationReply> createRepeated() => $pb.PbList<GetNotificationReply>();
@$core.pragma('dart2js:noInline')
static GetNotificationReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetNotificationReply>(create);
static GetNotificationReply? _defaultInstance;

@$pb.TagNumber(1)
$core.int get notificationId => $_getIZ(0);
@$pb.TagNumber(1)
set notificationId($core.int v) { $_setSignedInt32(0, v); }
@$pb.TagNumber(1)
$core.bool hasNotificationId() => $_has(0);
@$pb.TagNumber(1)
void clearNotificationId() => clearField(1);

@$pb.TagNumber(2)
$core.int get type => $_getIZ(1);
@$pb.TagNumber(2)
set type($core.int v) { $_setSignedInt32(1, v); }
@$pb.TagNumber(2)
$core.bool hasType() => $_has(1);
@$pb.TagNumber(2)
void clearType() => clearField(2);

@$pb.TagNumber(3)
$core.String get title => $_getSZ(2);
@$pb.TagNumber(3)
set title($core.String v) { $_setString(2, v); }
@$pb.TagNumber(3)
$core.bool hasTitle() => $_has(2);
@$pb.TagNumber(3)
void clearTitle() => clearField(3);

@$pb.TagNumber(4)
$core.String get description => $_getSZ(3);
@$pb.TagNumber(4)
set description($core.String v) { $_setString(3, v); }
@$pb.TagNumber(4)
$core.bool hasDescription() => $_has(3);
@$pb.TagNumber(4)
void clearDescription() => clearField(4);

@$pb.TagNumber(5)
$core.String get signature => $_getSZ(4);
@$pb.TagNumber(5)
set signature($core.String v) { $_setString(4, v); }
@$pb.TagNumber(5)
$core.bool hasSignature() => $_has(4);
@$pb.TagNumber(5)
void clearSignature() => clearField(5);
}

class GetNotificationConfirmRequest extends $pb.GeneratedMessage {
factory GetNotificationConfirmRequest({
$core.int? notificationId,
}) {
final $result = create();
if (notificationId != null) {
$result.notificationId = notificationId;
}
return $result;
}
GetNotificationConfirmRequest._() : super();
factory GetNotificationConfirmRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetNotificationConfirmRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNotificationConfirmRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..a<$core.int>(1, _omitFieldNames ? '' : 'notificationId', $pb.PbFieldType.O3)
..hasRequiredFields = false
;

@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
GetNotificationConfirmRequest clone() => GetNotificationConfirmRequest()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
GetNotificationConfirmRequest copyWith(void Function(GetNotificationConfirmRequest) updates) => super.copyWith((message) => updates(message as GetNotificationConfirmRequest)) as GetNotificationConfirmRequest;

$pb.BuilderInfo get info_ => _i;

@$core.pragma('dart2js:noInline')
static GetNotificationConfirmRequest create() => GetNotificationConfirmRequest._();
GetNotificationConfirmRequest createEmptyInstance() => create();
static $pb.PbList<GetNotificationConfirmRequest> createRepeated() => $pb.PbList<GetNotificationConfirmRequest>();
@$core.pragma('dart2js:noInline')
static GetNotificationConfirmRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetNotificationConfirmRequest>(create);
static GetNotificationConfirmRequest? _defaultInstance;

@$pb.TagNumber(1)
$core.int get notificationId => $_getIZ(0);
@$pb.TagNumber(1)
set notificationId($core.int v) { $_setSignedInt32(0, v); }
@$pb.TagNumber(1)
$core.bool hasNotificationId() => $_has(0);
@$pb.TagNumber(1)
void clearNotificationId() => clearField(1);
}

class GetNotificationConfirmReply extends $pb.GeneratedMessage {
factory GetNotificationConfirmReply({
$core.String? status,
}) {
final $result = create();
if (status != null) {
$result.status = status;
}
return $result;
}
GetNotificationConfirmReply._() : super();
factory GetNotificationConfirmReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetNotificationConfirmReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNotificationConfirmReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'status')
..hasRequiredFields = false
;

@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
GetNotificationConfirmReply clone() => GetNotificationConfirmReply()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
GetNotificationConfirmReply copyWith(void Function(GetNotificationConfirmReply) updates) => super.copyWith((message) => updates(message as GetNotificationConfirmReply)) as GetNotificationConfirmReply;

$pb.BuilderInfo get info_ => _i;

@$core.pragma('dart2js:noInline')
static GetNotificationConfirmReply create() => GetNotificationConfirmReply._();
GetNotificationConfirmReply createEmptyInstance() => create();
static $pb.PbList<GetNotificationConfirmReply> createRepeated() => $pb.PbList<GetNotificationConfirmReply>();
@$core.pragma('dart2js:noInline')
static GetNotificationConfirmReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetNotificationConfirmReply>(create);
static GetNotificationConfirmReply? _defaultInstance;

@$pb.TagNumber(1)
$core.String get status => $_getSZ(0);
@$pb.TagNumber(1)
set status($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasStatus() => $_has(0);
@$pb.TagNumber(1)
void clearStatus() => clearField(1);
}

class GetCanteenHeadCountRequest extends $pb.GeneratedMessage {
factory GetCanteenHeadCountRequest({
$core.String? canteenId,
Expand Down
Loading
Loading