You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Generated code. Do not modify.
|
||||
// source: notification.proto
|
||||
//
|
||||
// @dart = 2.12
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names, library_prefixes
|
||||
@@ -16,6 +16,8 @@ import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'notification.pbenum.dart';
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
export 'notification.pbenum.dart';
|
||||
|
||||
class Notification extends $pb.GeneratedMessage {
|
||||
@@ -90,16 +92,16 @@ class Notification extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasPayload() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearPayload() => clearField(1);
|
||||
void clearPayload() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
NotificationType get type => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set type(NotificationType v) { setField(2, v); }
|
||||
set type(NotificationType v) { $_setField(2, v); }
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasType() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearType() => clearField(2);
|
||||
void clearType() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get templateName => $_getSZ(2);
|
||||
@@ -108,7 +110,7 @@ class Notification extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasTemplateName() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearTemplateName() => clearField(3);
|
||||
void clearTemplateName() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$core.String get ackID => $_getSZ(3);
|
||||
@@ -117,16 +119,16 @@ class Notification extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasAckID() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearAckID() => clearField(4);
|
||||
void clearAckID() => $_clearField(4);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
NotificationCategory get category => $_getN(4);
|
||||
@$pb.TagNumber(5)
|
||||
set category(NotificationCategory v) { setField(5, v); }
|
||||
set category(NotificationCategory v) { $_setField(5, v); }
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasCategory() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearCategory() => clearField(5);
|
||||
void clearCategory() => $_clearField(5);
|
||||
|
||||
@$pb.TagNumber(6)
|
||||
$core.String get iD => $_getSZ(5);
|
||||
@@ -135,7 +137,7 @@ class Notification extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasID() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearID() => clearField(6);
|
||||
void clearID() => $_clearField(6);
|
||||
}
|
||||
|
||||
class NotificationRequest extends $pb.GeneratedMessage {
|
||||
@@ -200,16 +202,16 @@ class NotificationRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasPayload() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearPayload() => clearField(1);
|
||||
void clearPayload() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
NotificationType get type => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set type(NotificationType v) { setField(2, v); }
|
||||
set type(NotificationType v) { $_setField(2, v); }
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasType() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearType() => clearField(2);
|
||||
void clearType() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get templateName => $_getSZ(2);
|
||||
@@ -218,16 +220,16 @@ class NotificationRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasTemplateName() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearTemplateName() => clearField(3);
|
||||
void clearTemplateName() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
NotificationCategory get category => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set category(NotificationCategory v) { setField(4, v); }
|
||||
set category(NotificationCategory v) { $_setField(4, v); }
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasCategory() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearCategory() => clearField(4);
|
||||
void clearCategory() => $_clearField(4);
|
||||
}
|
||||
|
||||
class PublishToUserRequest extends $pb.GeneratedMessage {
|
||||
@@ -287,7 +289,7 @@ class PublishToUserRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasUserID() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearUserID() => clearField(1);
|
||||
void clearUserID() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$fixnum.Int64 get expirationDate => $_getI64(1);
|
||||
@@ -296,16 +298,16 @@ class PublishToUserRequest extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasExpirationDate() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearExpirationDate() => clearField(2);
|
||||
void clearExpirationDate() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
NotificationRequest get notification => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set notification(NotificationRequest v) { setField(3, v); }
|
||||
set notification(NotificationRequest v) { $_setField(3, v); }
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasNotification() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearNotification() => clearField(3);
|
||||
void clearNotification() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
NotificationRequest ensureNotification() => $_ensure(2);
|
||||
}
|
||||
@@ -409,16 +411,16 @@ class NotificationListItem extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasPayload() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearPayload() => clearField(1);
|
||||
void clearPayload() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
NotificationType get type => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set type(NotificationType v) { setField(2, v); }
|
||||
set type(NotificationType v) { $_setField(2, v); }
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasType() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearType() => clearField(2);
|
||||
void clearType() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get templateName => $_getSZ(2);
|
||||
@@ -427,16 +429,16 @@ class NotificationListItem extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasTemplateName() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearTemplateName() => clearField(3);
|
||||
void clearTemplateName() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
NotificationCategory get category => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set category(NotificationCategory v) { setField(4, v); }
|
||||
set category(NotificationCategory v) { $_setField(4, v); }
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasCategory() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearCategory() => clearField(4);
|
||||
void clearCategory() => $_clearField(4);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
$core.String get iD => $_getSZ(4);
|
||||
@@ -445,7 +447,7 @@ class NotificationListItem extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasID() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearID() => clearField(5);
|
||||
void clearID() => $_clearField(5);
|
||||
}
|
||||
|
||||
class ListNotificationRequest extends $pb.GeneratedMessage {
|
||||
@@ -521,7 +523,7 @@ class ListNotificationResult extends $pb.GeneratedMessage {
|
||||
static ListNotificationResult? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.List<NotificationListItem> get notifications => $_getList(0);
|
||||
$pb.PbList<NotificationListItem> get notifications => $_getList(0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user