Skip to content

Commit 4356e0b

Browse files
committed
Update Proto Files
1 parent 2ae2d14 commit 4356e0b

File tree

6 files changed

+7
-496
lines changed

6 files changed

+7
-496
lines changed

lib/base/networking/apis/google/protobuf/empty.pb.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import 'package:protobuf/protobuf.dart' as $pb;
2020
/// service Foo {
2121
/// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
2222
/// }
23+
///
24+
/// The JSON representation for `Empty` is empty JSON object `{}`.
2325
class Empty extends $pb.GeneratedMessage {
2426
factory Empty() => create();
2527
Empty._() : super();

lib/base/networking/apis/google/protobuf/timestamp.pb.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
6565
/// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
6666
/// .setNanos((int) ((millis % 1000) * 1000000)).build();
6767
///
68+
///
6869
/// Example 5: Compute Timestamp from Java `Instant.now()`.
6970
///
7071
/// Instant now = Instant.now();
@@ -73,6 +74,7 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
7374
/// Timestamp.newBuilder().setSeconds(now.getEpochSecond())
7475
/// .setNanos(now.getNano()).build();
7576
///
77+
///
7678
/// Example 6: Compute Timestamp from current time in Python.
7779
///
7880
/// timestamp = Timestamp()
@@ -102,7 +104,7 @@ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
102104
/// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
103105
/// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
104106
/// the Joda Time's [`ISODateTimeFormat.dateTime()`](
105-
/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
107+
/// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
106108
/// ) to obtain a formatter capable of generating timestamps in this format.
107109
class Timestamp extends $pb.GeneratedMessage with $mixin.TimestampMixin {
108110
factory Timestamp({

lib/base/networking/apis/tumdev/campus_backend.pb.dart

Lines changed: 0 additions & 306 deletions
Original file line numberDiff line numberDiff line change
@@ -3788,56 +3788,6 @@ class GetMemberReply extends $pb.GeneratedMessage {
37883788
void clearMemberId() => clearField(3);
37893789
}
37903790

3791-
class GetUploadStatusRequest extends $pb.GeneratedMessage {
3792-
factory GetUploadStatusRequest({
3793-
$core.String? lrzId,
3794-
}) {
3795-
final $result = create();
3796-
if (lrzId != null) {
3797-
$result.lrzId = lrzId;
3798-
}
3799-
return $result;
3800-
}
3801-
GetUploadStatusRequest._() : super();
3802-
factory GetUploadStatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
3803-
factory GetUploadStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
3804-
3805-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetUploadStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
3806-
..aOS(1, _omitFieldNames ? '' : 'lrzId')
3807-
..hasRequiredFields = false
3808-
;
3809-
3810-
@$core.Deprecated(
3811-
'Using this can add significant overhead to your binary. '
3812-
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3813-
'Will be removed in next major version')
3814-
GetUploadStatusRequest clone() => GetUploadStatusRequest()..mergeFromMessage(this);
3815-
@$core.Deprecated(
3816-
'Using this can add significant overhead to your binary. '
3817-
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3818-
'Will be removed in next major version')
3819-
GetUploadStatusRequest copyWith(void Function(GetUploadStatusRequest) updates) => super.copyWith((message) => updates(message as GetUploadStatusRequest)) as GetUploadStatusRequest;
3820-
3821-
$pb.BuilderInfo get info_ => _i;
3822-
3823-
@$core.pragma('dart2js:noInline')
3824-
static GetUploadStatusRequest create() => GetUploadStatusRequest._();
3825-
GetUploadStatusRequest createEmptyInstance() => create();
3826-
static $pb.PbList<GetUploadStatusRequest> createRepeated() => $pb.PbList<GetUploadStatusRequest>();
3827-
@$core.pragma('dart2js:noInline')
3828-
static GetUploadStatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetUploadStatusRequest>(create);
3829-
static GetUploadStatusRequest? _defaultInstance;
3830-
3831-
@$pb.TagNumber(1)
3832-
$core.String get lrzId => $_getSZ(0);
3833-
@$pb.TagNumber(1)
3834-
set lrzId($core.String v) { $_setString(0, v); }
3835-
@$pb.TagNumber(1)
3836-
$core.bool hasLrzId() => $_has(0);
3837-
@$pb.TagNumber(1)
3838-
void clearLrzId() => clearField(1);
3839-
}
3840-
38413791
class GetUploadStatusReply extends $pb.GeneratedMessage {
38423792
factory GetUploadStatusReply({
38433793
$core.String? fcmToken,
@@ -3944,262 +3894,6 @@ class GetUploadStatusReply extends $pb.GeneratedMessage {
39443894
void clearExternalId() => clearField(5);
39453895
}
39463896

3947-
class GetNotificationRequest extends $pb.GeneratedMessage {
3948-
factory GetNotificationRequest({
3949-
$core.int? notificationId,
3950-
}) {
3951-
final $result = create();
3952-
if (notificationId != null) {
3953-
$result.notificationId = notificationId;
3954-
}
3955-
return $result;
3956-
}
3957-
GetNotificationRequest._() : super();
3958-
factory GetNotificationRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
3959-
factory GetNotificationRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
3960-
3961-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNotificationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
3962-
..a<$core.int>(1, _omitFieldNames ? '' : 'notificationId', $pb.PbFieldType.O3)
3963-
..hasRequiredFields = false
3964-
;
3965-
3966-
@$core.Deprecated(
3967-
'Using this can add significant overhead to your binary. '
3968-
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
3969-
'Will be removed in next major version')
3970-
GetNotificationRequest clone() => GetNotificationRequest()..mergeFromMessage(this);
3971-
@$core.Deprecated(
3972-
'Using this can add significant overhead to your binary. '
3973-
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
3974-
'Will be removed in next major version')
3975-
GetNotificationRequest copyWith(void Function(GetNotificationRequest) updates) => super.copyWith((message) => updates(message as GetNotificationRequest)) as GetNotificationRequest;
3976-
3977-
$pb.BuilderInfo get info_ => _i;
3978-
3979-
@$core.pragma('dart2js:noInline')
3980-
static GetNotificationRequest create() => GetNotificationRequest._();
3981-
GetNotificationRequest createEmptyInstance() => create();
3982-
static $pb.PbList<GetNotificationRequest> createRepeated() => $pb.PbList<GetNotificationRequest>();
3983-
@$core.pragma('dart2js:noInline')
3984-
static GetNotificationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetNotificationRequest>(create);
3985-
static GetNotificationRequest? _defaultInstance;
3986-
3987-
@$pb.TagNumber(1)
3988-
$core.int get notificationId => $_getIZ(0);
3989-
@$pb.TagNumber(1)
3990-
set notificationId($core.int v) { $_setSignedInt32(0, v); }
3991-
@$pb.TagNumber(1)
3992-
$core.bool hasNotificationId() => $_has(0);
3993-
@$pb.TagNumber(1)
3994-
void clearNotificationId() => clearField(1);
3995-
}
3996-
3997-
class GetNotificationReply extends $pb.GeneratedMessage {
3998-
factory GetNotificationReply({
3999-
$core.int? notificationId,
4000-
$core.int? type,
4001-
$core.String? title,
4002-
$core.String? description,
4003-
$core.String? signature,
4004-
}) {
4005-
final $result = create();
4006-
if (notificationId != null) {
4007-
$result.notificationId = notificationId;
4008-
}
4009-
if (type != null) {
4010-
$result.type = type;
4011-
}
4012-
if (title != null) {
4013-
$result.title = title;
4014-
}
4015-
if (description != null) {
4016-
$result.description = description;
4017-
}
4018-
if (signature != null) {
4019-
$result.signature = signature;
4020-
}
4021-
return $result;
4022-
}
4023-
GetNotificationReply._() : super();
4024-
factory GetNotificationReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
4025-
factory GetNotificationReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
4026-
4027-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNotificationReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
4028-
..a<$core.int>(1, _omitFieldNames ? '' : 'notificationId', $pb.PbFieldType.O3)
4029-
..a<$core.int>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.O3)
4030-
..aOS(3, _omitFieldNames ? '' : 'title')
4031-
..aOS(4, _omitFieldNames ? '' : 'description')
4032-
..aOS(5, _omitFieldNames ? '' : 'signature')
4033-
..hasRequiredFields = false
4034-
;
4035-
4036-
@$core.Deprecated(
4037-
'Using this can add significant overhead to your binary. '
4038-
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4039-
'Will be removed in next major version')
4040-
GetNotificationReply clone() => GetNotificationReply()..mergeFromMessage(this);
4041-
@$core.Deprecated(
4042-
'Using this can add significant overhead to your binary. '
4043-
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4044-
'Will be removed in next major version')
4045-
GetNotificationReply copyWith(void Function(GetNotificationReply) updates) => super.copyWith((message) => updates(message as GetNotificationReply)) as GetNotificationReply;
4046-
4047-
$pb.BuilderInfo get info_ => _i;
4048-
4049-
@$core.pragma('dart2js:noInline')
4050-
static GetNotificationReply create() => GetNotificationReply._();
4051-
GetNotificationReply createEmptyInstance() => create();
4052-
static $pb.PbList<GetNotificationReply> createRepeated() => $pb.PbList<GetNotificationReply>();
4053-
@$core.pragma('dart2js:noInline')
4054-
static GetNotificationReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetNotificationReply>(create);
4055-
static GetNotificationReply? _defaultInstance;
4056-
4057-
@$pb.TagNumber(1)
4058-
$core.int get notificationId => $_getIZ(0);
4059-
@$pb.TagNumber(1)
4060-
set notificationId($core.int v) { $_setSignedInt32(0, v); }
4061-
@$pb.TagNumber(1)
4062-
$core.bool hasNotificationId() => $_has(0);
4063-
@$pb.TagNumber(1)
4064-
void clearNotificationId() => clearField(1);
4065-
4066-
@$pb.TagNumber(2)
4067-
$core.int get type => $_getIZ(1);
4068-
@$pb.TagNumber(2)
4069-
set type($core.int v) { $_setSignedInt32(1, v); }
4070-
@$pb.TagNumber(2)
4071-
$core.bool hasType() => $_has(1);
4072-
@$pb.TagNumber(2)
4073-
void clearType() => clearField(2);
4074-
4075-
@$pb.TagNumber(3)
4076-
$core.String get title => $_getSZ(2);
4077-
@$pb.TagNumber(3)
4078-
set title($core.String v) { $_setString(2, v); }
4079-
@$pb.TagNumber(3)
4080-
$core.bool hasTitle() => $_has(2);
4081-
@$pb.TagNumber(3)
4082-
void clearTitle() => clearField(3);
4083-
4084-
@$pb.TagNumber(4)
4085-
$core.String get description => $_getSZ(3);
4086-
@$pb.TagNumber(4)
4087-
set description($core.String v) { $_setString(3, v); }
4088-
@$pb.TagNumber(4)
4089-
$core.bool hasDescription() => $_has(3);
4090-
@$pb.TagNumber(4)
4091-
void clearDescription() => clearField(4);
4092-
4093-
@$pb.TagNumber(5)
4094-
$core.String get signature => $_getSZ(4);
4095-
@$pb.TagNumber(5)
4096-
set signature($core.String v) { $_setString(4, v); }
4097-
@$pb.TagNumber(5)
4098-
$core.bool hasSignature() => $_has(4);
4099-
@$pb.TagNumber(5)
4100-
void clearSignature() => clearField(5);
4101-
}
4102-
4103-
class GetNotificationConfirmRequest extends $pb.GeneratedMessage {
4104-
factory GetNotificationConfirmRequest({
4105-
$core.int? notificationId,
4106-
}) {
4107-
final $result = create();
4108-
if (notificationId != null) {
4109-
$result.notificationId = notificationId;
4110-
}
4111-
return $result;
4112-
}
4113-
GetNotificationConfirmRequest._() : super();
4114-
factory GetNotificationConfirmRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
4115-
factory GetNotificationConfirmRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
4116-
4117-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNotificationConfirmRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
4118-
..a<$core.int>(1, _omitFieldNames ? '' : 'notificationId', $pb.PbFieldType.O3)
4119-
..hasRequiredFields = false
4120-
;
4121-
4122-
@$core.Deprecated(
4123-
'Using this can add significant overhead to your binary. '
4124-
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4125-
'Will be removed in next major version')
4126-
GetNotificationConfirmRequest clone() => GetNotificationConfirmRequest()..mergeFromMessage(this);
4127-
@$core.Deprecated(
4128-
'Using this can add significant overhead to your binary. '
4129-
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4130-
'Will be removed in next major version')
4131-
GetNotificationConfirmRequest copyWith(void Function(GetNotificationConfirmRequest) updates) => super.copyWith((message) => updates(message as GetNotificationConfirmRequest)) as GetNotificationConfirmRequest;
4132-
4133-
$pb.BuilderInfo get info_ => _i;
4134-
4135-
@$core.pragma('dart2js:noInline')
4136-
static GetNotificationConfirmRequest create() => GetNotificationConfirmRequest._();
4137-
GetNotificationConfirmRequest createEmptyInstance() => create();
4138-
static $pb.PbList<GetNotificationConfirmRequest> createRepeated() => $pb.PbList<GetNotificationConfirmRequest>();
4139-
@$core.pragma('dart2js:noInline')
4140-
static GetNotificationConfirmRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetNotificationConfirmRequest>(create);
4141-
static GetNotificationConfirmRequest? _defaultInstance;
4142-
4143-
@$pb.TagNumber(1)
4144-
$core.int get notificationId => $_getIZ(0);
4145-
@$pb.TagNumber(1)
4146-
set notificationId($core.int v) { $_setSignedInt32(0, v); }
4147-
@$pb.TagNumber(1)
4148-
$core.bool hasNotificationId() => $_has(0);
4149-
@$pb.TagNumber(1)
4150-
void clearNotificationId() => clearField(1);
4151-
}
4152-
4153-
class GetNotificationConfirmReply extends $pb.GeneratedMessage {
4154-
factory GetNotificationConfirmReply({
4155-
$core.String? status,
4156-
}) {
4157-
final $result = create();
4158-
if (status != null) {
4159-
$result.status = status;
4160-
}
4161-
return $result;
4162-
}
4163-
GetNotificationConfirmReply._() : super();
4164-
factory GetNotificationConfirmReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
4165-
factory GetNotificationConfirmReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
4166-
4167-
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetNotificationConfirmReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
4168-
..aOS(1, _omitFieldNames ? '' : 'status')
4169-
..hasRequiredFields = false
4170-
;
4171-
4172-
@$core.Deprecated(
4173-
'Using this can add significant overhead to your binary. '
4174-
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
4175-
'Will be removed in next major version')
4176-
GetNotificationConfirmReply clone() => GetNotificationConfirmReply()..mergeFromMessage(this);
4177-
@$core.Deprecated(
4178-
'Using this can add significant overhead to your binary. '
4179-
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
4180-
'Will be removed in next major version')
4181-
GetNotificationConfirmReply copyWith(void Function(GetNotificationConfirmReply) updates) => super.copyWith((message) => updates(message as GetNotificationConfirmReply)) as GetNotificationConfirmReply;
4182-
4183-
$pb.BuilderInfo get info_ => _i;
4184-
4185-
@$core.pragma('dart2js:noInline')
4186-
static GetNotificationConfirmReply create() => GetNotificationConfirmReply._();
4187-
GetNotificationConfirmReply createEmptyInstance() => create();
4188-
static $pb.PbList<GetNotificationConfirmReply> createRepeated() => $pb.PbList<GetNotificationConfirmReply>();
4189-
@$core.pragma('dart2js:noInline')
4190-
static GetNotificationConfirmReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetNotificationConfirmReply>(create);
4191-
static GetNotificationConfirmReply? _defaultInstance;
4192-
4193-
@$pb.TagNumber(1)
4194-
$core.String get status => $_getSZ(0);
4195-
@$pb.TagNumber(1)
4196-
set status($core.String v) { $_setString(0, v); }
4197-
@$pb.TagNumber(1)
4198-
$core.bool hasStatus() => $_has(0);
4199-
@$pb.TagNumber(1)
4200-
void clearStatus() => clearField(1);
4201-
}
4202-
42033897
class GetCanteenHeadCountRequest extends $pb.GeneratedMessage {
42043898
factory GetCanteenHeadCountRequest({
42053899
$core.String? canteenId,

0 commit comments

Comments
 (0)