Latest generation

This commit is contained in:
ci core model
2025-04-28 12:35:42 +00:00
parent 595d5e3e36
commit 09d656c554
197 changed files with 25094 additions and 25094 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.9.6
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated from protobuf file "notifAction.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -27,35 +27,35 @@ export interface NotifNotifyByMailPayload {
/**
* @generated from protobuf field: api.NotifTypeEnum NotificationType = 1 [json_name = "NotificationType"];
*/
notificationType: NotifTypeEnum;
NotificationType: NotifTypeEnum;
/**
* @generated from protobuf field: string IssuerID = 2 [json_name = "IssuerID"];
*/
issuerID: string;
IssuerID: string;
/**
* @generated from protobuf field: repeated string Contacts = 3 [json_name = "Contacts"];
*/
contacts: string[];
Contacts: string[];
/**
* @generated from protobuf field: string Details = 4 [json_name = "Details"];
*/
details: string;
Details: string;
/**
* @generated from protobuf field: string EntityDomain = 5 [json_name = "EntityDomain"];
*/
entityDomain: string;
EntityDomain: string;
/**
* @generated from protobuf field: string EntityType = 6 [json_name = "EntityType"];
*/
entityType: string;
EntityType: string;
/**
* @generated from protobuf field: string EntityRefID = 7 [json_name = "EntityRefID"];
*/
entityRefID: string;
EntityRefID: string;
/**
* @generated from protobuf field: string Tags = 8 [json_name = "Tags"];
*/
tags: string;
Tags: string;
}
/**
* @generated from protobuf message api.NotifNotifyByMail
@@ -64,23 +64,23 @@ export interface NotifNotifyByMail {
/**
* @generated from protobuf field: api.CommandHeader Header = 1 [json_name = "Header"];
*/
header?: CommandHeader;
Header?: CommandHeader;
/**
* @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"];
*/
iD?: EntityID;
ID?: EntityID;
/**
* @generated from protobuf field: api.NotifNotifyByMailPayload Payload = 3 [json_name = "Payload"];
*/
payload?: NotifNotifyByMailPayload;
Payload?: NotifNotifyByMailPayload;
/**
* @generated from protobuf field: api.NotifNotifyByMailPayload EventPayload = 4 [json_name = "EventPayload"];
*/
eventPayload?: NotifNotifyByMailPayload;
EventPayload?: NotifNotifyByMailPayload;
/**
* @generated from protobuf field: api.NotifNotifyByMailPayload PreviousPayload = 5 [json_name = "PreviousPayload"];
*/
previousPayload?: NotifNotifyByMailPayload;
PreviousPayload?: NotifNotifyByMailPayload;
}
/**
*
@@ -92,35 +92,35 @@ export interface NotifNotifyChatRoomPayload {
/**
* @generated from protobuf field: api.NotifTypeEnum NotificationType = 1 [json_name = "NotificationType"];
*/
notificationType: NotifTypeEnum;
NotificationType: NotifTypeEnum;
/**
* @generated from protobuf field: string IssuerID = 2 [json_name = "IssuerID"];
*/
issuerID: string;
IssuerID: string;
/**
* @generated from protobuf field: repeated string Contacts = 3 [json_name = "Contacts"];
*/
contacts: string[];
Contacts: string[];
/**
* @generated from protobuf field: string Details = 4 [json_name = "Details"];
*/
details: string;
Details: string;
/**
* @generated from protobuf field: string EntityDomain = 5 [json_name = "EntityDomain"];
*/
entityDomain: string;
EntityDomain: string;
/**
* @generated from protobuf field: string EntityType = 6 [json_name = "EntityType"];
*/
entityType: string;
EntityType: string;
/**
* @generated from protobuf field: string EntityRefID = 7 [json_name = "EntityRefID"];
*/
entityRefID: string;
EntityRefID: string;
/**
* @generated from protobuf field: string Tags = 8 [json_name = "Tags"];
*/
tags: string;
Tags: string;
}
/**
* @generated from protobuf message api.NotifNotifyChatRoom
@@ -129,48 +129,48 @@ export interface NotifNotifyChatRoom {
/**
* @generated from protobuf field: api.CommandHeader Header = 1 [json_name = "Header"];
*/
header?: CommandHeader;
Header?: CommandHeader;
/**
* @generated from protobuf field: api.EntityID ID = 2 [json_name = "ID"];
*/
iD?: EntityID;
ID?: EntityID;
/**
* @generated from protobuf field: api.NotifNotifyChatRoomPayload Payload = 3 [json_name = "Payload"];
*/
payload?: NotifNotifyChatRoomPayload;
Payload?: NotifNotifyChatRoomPayload;
/**
* @generated from protobuf field: api.NotifNotifyChatRoomPayload EventPayload = 4 [json_name = "EventPayload"];
*/
eventPayload?: NotifNotifyChatRoomPayload;
EventPayload?: NotifNotifyChatRoomPayload;
/**
* @generated from protobuf field: api.NotifNotifyChatRoomPayload PreviousPayload = 5 [json_name = "PreviousPayload"];
*/
previousPayload?: NotifNotifyChatRoomPayload;
PreviousPayload?: NotifNotifyChatRoomPayload;
}
// @generated message type with reflection information, may provide speed optimized methods
class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload> {
constructor() {
super("api.NotifNotifyByMailPayload", [
{ no: 1, name: "NotificationType", kind: "enum", jsonName: "NotificationType", T: () => ["api.NotifTypeEnum", NotifTypeEnum] },
{ no: 2, name: "IssuerID", kind: "scalar", jsonName: "IssuerID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Contacts", kind: "scalar", jsonName: "Contacts", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Details", kind: "scalar", jsonName: "Details", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "EntityDomain", kind: "scalar", jsonName: "EntityDomain", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "EntityType", kind: "scalar", jsonName: "EntityType", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "EntityRefID", kind: "scalar", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "Tags", kind: "scalar", jsonName: "Tags", T: 9 /*ScalarType.STRING*/ }
{ no: 1, name: "NotificationType", kind: "enum", localName: "NotificationType", jsonName: "NotificationType", T: () => ["api.NotifTypeEnum", NotifTypeEnum] },
{ no: 2, name: "IssuerID", kind: "scalar", localName: "IssuerID", jsonName: "IssuerID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Contacts", kind: "scalar", localName: "Contacts", jsonName: "Contacts", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Details", kind: "scalar", localName: "Details", jsonName: "Details", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "EntityDomain", kind: "scalar", localName: "EntityDomain", jsonName: "EntityDomain", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "EntityType", kind: "scalar", localName: "EntityType", jsonName: "EntityType", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/ }
], { "api.messageType": "Command", "api.payload": true, "api.action": "NotifyByMail" });
}
create(value?: PartialMessage<NotifNotifyByMailPayload>): NotifNotifyByMailPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.notificationType = 0;
message.issuerID = "";
message.contacts = [];
message.details = "";
message.entityDomain = "";
message.entityType = "";
message.entityRefID = "";
message.tags = "";
message.NotificationType = 0;
message.IssuerID = "";
message.Contacts = [];
message.Details = "";
message.EntityDomain = "";
message.EntityType = "";
message.EntityRefID = "";
message.Tags = "";
if (value !== undefined)
reflectionMergePartial<NotifNotifyByMailPayload>(this, message, value);
return message;
@@ -181,28 +181,28 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.NotifTypeEnum NotificationType = 1 [json_name = "NotificationType"];*/ 1:
message.notificationType = reader.int32();
message.NotificationType = reader.int32();
break;
case /* string IssuerID = 2 [json_name = "IssuerID"];*/ 2:
message.issuerID = reader.string();
message.IssuerID = reader.string();
break;
case /* repeated string Contacts = 3 [json_name = "Contacts"];*/ 3:
message.contacts.push(reader.string());
message.Contacts.push(reader.string());
break;
case /* string Details = 4 [json_name = "Details"];*/ 4:
message.details = reader.string();
message.Details = reader.string();
break;
case /* string EntityDomain = 5 [json_name = "EntityDomain"];*/ 5:
message.entityDomain = reader.string();
message.EntityDomain = reader.string();
break;
case /* string EntityType = 6 [json_name = "EntityType"];*/ 6:
message.entityType = reader.string();
message.EntityType = reader.string();
break;
case /* string EntityRefID = 7 [json_name = "EntityRefID"];*/ 7:
message.entityRefID = reader.string();
message.EntityRefID = reader.string();
break;
case /* string Tags = 8 [json_name = "Tags"];*/ 8:
message.tags = reader.string();
message.Tags = reader.string();
break;
default:
let u = options.readUnknownField;
@@ -217,29 +217,29 @@ class NotifNotifyByMailPayload$Type extends MessageType<NotifNotifyByMailPayload
}
internalBinaryWrite(message: NotifNotifyByMailPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.NotifTypeEnum NotificationType = 1 [json_name = "NotificationType"]; */
if (message.notificationType !== 0)
writer.tag(1, WireType.Varint).int32(message.notificationType);
if (message.NotificationType !== 0)
writer.tag(1, WireType.Varint).int32(message.NotificationType);
/* string IssuerID = 2 [json_name = "IssuerID"]; */
if (message.issuerID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.issuerID);
if (message.IssuerID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.IssuerID);
/* repeated string Contacts = 3 [json_name = "Contacts"]; */
for (let i = 0; i < message.contacts.length; i++)
writer.tag(3, WireType.LengthDelimited).string(message.contacts[i]);
for (let i = 0; i < message.Contacts.length; i++)
writer.tag(3, WireType.LengthDelimited).string(message.Contacts[i]);
/* string Details = 4 [json_name = "Details"]; */
if (message.details !== "")
writer.tag(4, WireType.LengthDelimited).string(message.details);
if (message.Details !== "")
writer.tag(4, WireType.LengthDelimited).string(message.Details);
/* string EntityDomain = 5 [json_name = "EntityDomain"]; */
if (message.entityDomain !== "")
writer.tag(5, WireType.LengthDelimited).string(message.entityDomain);
if (message.EntityDomain !== "")
writer.tag(5, WireType.LengthDelimited).string(message.EntityDomain);
/* string EntityType = 6 [json_name = "EntityType"]; */
if (message.entityType !== "")
writer.tag(6, WireType.LengthDelimited).string(message.entityType);
if (message.EntityType !== "")
writer.tag(6, WireType.LengthDelimited).string(message.EntityType);
/* string EntityRefID = 7 [json_name = "EntityRefID"]; */
if (message.entityRefID !== "")
writer.tag(7, WireType.LengthDelimited).string(message.entityRefID);
if (message.EntityRefID !== "")
writer.tag(7, WireType.LengthDelimited).string(message.EntityRefID);
/* string Tags = 8 [json_name = "Tags"]; */
if (message.tags !== "")
writer.tag(8, WireType.LengthDelimited).string(message.tags);
if (message.Tags !== "")
writer.tag(8, WireType.LengthDelimited).string(message.Tags);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -254,11 +254,11 @@ export const NotifNotifyByMailPayload = new NotifNotifyByMailPayload$Type();
class NotifNotifyByMail$Type extends MessageType<NotifNotifyByMail> {
constructor() {
super("api.NotifNotifyByMail", [
{ no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => CommandHeader },
{ no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => NotifNotifyByMailPayload },
{ no: 4, name: "EventPayload", kind: "message", jsonName: "EventPayload", T: () => NotifNotifyByMailPayload },
{ no: 5, name: "PreviousPayload", kind: "message", jsonName: "PreviousPayload", T: () => NotifNotifyByMailPayload }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => CommandHeader },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => NotifNotifyByMailPayload },
{ no: 4, name: "EventPayload", kind: "message", localName: "EventPayload", jsonName: "EventPayload", T: () => NotifNotifyByMailPayload },
{ no: 5, name: "PreviousPayload", kind: "message", localName: "PreviousPayload", jsonName: "PreviousPayload", T: () => NotifNotifyByMailPayload }
], { "api.messageType": "Command", "api.action": "NotifyByMail", "api.windowMethod": "TumblingProcessingTimeWindows", "api.keyByExpression": "obj.getHeader().getProject()+'-'+obj.getPayload().getEntityType()+'-'+obj.getPayload().getEntityRefID()" });
}
create(value?: PartialMessage<NotifNotifyByMail>): NotifNotifyByMail {
@@ -273,19 +273,19 @@ class NotifNotifyByMail$Type extends MessageType<NotifNotifyByMail> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.CommandHeader Header = 1 [json_name = "Header"];*/ 1:
message.header = CommandHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
message.Header = CommandHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2:
message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD);
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
break;
case /* api.NotifNotifyByMailPayload Payload = 3 [json_name = "Payload"];*/ 3:
message.payload = NotifNotifyByMailPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload);
message.Payload = NotifNotifyByMailPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
break;
case /* api.NotifNotifyByMailPayload EventPayload = 4 [json_name = "EventPayload"];*/ 4:
message.eventPayload = NotifNotifyByMailPayload.internalBinaryRead(reader, reader.uint32(), options, message.eventPayload);
message.EventPayload = NotifNotifyByMailPayload.internalBinaryRead(reader, reader.uint32(), options, message.EventPayload);
break;
case /* api.NotifNotifyByMailPayload PreviousPayload = 5 [json_name = "PreviousPayload"];*/ 5:
message.previousPayload = NotifNotifyByMailPayload.internalBinaryRead(reader, reader.uint32(), options, message.previousPayload);
message.PreviousPayload = NotifNotifyByMailPayload.internalBinaryRead(reader, reader.uint32(), options, message.PreviousPayload);
break;
default:
let u = options.readUnknownField;
@@ -300,20 +300,20 @@ class NotifNotifyByMail$Type extends MessageType<NotifNotifyByMail> {
}
internalBinaryWrite(message: NotifNotifyByMail, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.CommandHeader Header = 1 [json_name = "Header"]; */
if (message.header)
CommandHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.Header)
CommandHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.EntityID ID = 2 [json_name = "ID"]; */
if (message.iD)
EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
if (message.ID)
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.NotifNotifyByMailPayload Payload = 3 [json_name = "Payload"]; */
if (message.payload)
NotifNotifyByMailPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
if (message.Payload)
NotifNotifyByMailPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* api.NotifNotifyByMailPayload EventPayload = 4 [json_name = "EventPayload"]; */
if (message.eventPayload)
NotifNotifyByMailPayload.internalBinaryWrite(message.eventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
if (message.EventPayload)
NotifNotifyByMailPayload.internalBinaryWrite(message.EventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.NotifNotifyByMailPayload PreviousPayload = 5 [json_name = "PreviousPayload"]; */
if (message.previousPayload)
NotifNotifyByMailPayload.internalBinaryWrite(message.previousPayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
if (message.PreviousPayload)
NotifNotifyByMailPayload.internalBinaryWrite(message.PreviousPayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -328,26 +328,26 @@ export const NotifNotifyByMail = new NotifNotifyByMail$Type();
class NotifNotifyChatRoomPayload$Type extends MessageType<NotifNotifyChatRoomPayload> {
constructor() {
super("api.NotifNotifyChatRoomPayload", [
{ no: 1, name: "NotificationType", kind: "enum", jsonName: "NotificationType", T: () => ["api.NotifTypeEnum", NotifTypeEnum] },
{ no: 2, name: "IssuerID", kind: "scalar", jsonName: "IssuerID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Contacts", kind: "scalar", jsonName: "Contacts", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Details", kind: "scalar", jsonName: "Details", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "EntityDomain", kind: "scalar", jsonName: "EntityDomain", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "EntityType", kind: "scalar", jsonName: "EntityType", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "EntityRefID", kind: "scalar", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "Tags", kind: "scalar", jsonName: "Tags", T: 9 /*ScalarType.STRING*/ }
{ no: 1, name: "NotificationType", kind: "enum", localName: "NotificationType", jsonName: "NotificationType", T: () => ["api.NotifTypeEnum", NotifTypeEnum] },
{ no: 2, name: "IssuerID", kind: "scalar", localName: "IssuerID", jsonName: "IssuerID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Contacts", kind: "scalar", localName: "Contacts", jsonName: "Contacts", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Details", kind: "scalar", localName: "Details", jsonName: "Details", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "EntityDomain", kind: "scalar", localName: "EntityDomain", jsonName: "EntityDomain", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "EntityType", kind: "scalar", localName: "EntityType", jsonName: "EntityType", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "EntityRefID", kind: "scalar", localName: "EntityRefID", jsonName: "EntityRefID", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "Tags", kind: "scalar", localName: "Tags", jsonName: "Tags", T: 9 /*ScalarType.STRING*/ }
], { "api.messageType": "Command", "api.payload": true, "api.action": "NotifyChatRoom" });
}
create(value?: PartialMessage<NotifNotifyChatRoomPayload>): NotifNotifyChatRoomPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.notificationType = 0;
message.issuerID = "";
message.contacts = [];
message.details = "";
message.entityDomain = "";
message.entityType = "";
message.entityRefID = "";
message.tags = "";
message.NotificationType = 0;
message.IssuerID = "";
message.Contacts = [];
message.Details = "";
message.EntityDomain = "";
message.EntityType = "";
message.EntityRefID = "";
message.Tags = "";
if (value !== undefined)
reflectionMergePartial<NotifNotifyChatRoomPayload>(this, message, value);
return message;
@@ -358,28 +358,28 @@ class NotifNotifyChatRoomPayload$Type extends MessageType<NotifNotifyChatRoomPay
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.NotifTypeEnum NotificationType = 1 [json_name = "NotificationType"];*/ 1:
message.notificationType = reader.int32();
message.NotificationType = reader.int32();
break;
case /* string IssuerID = 2 [json_name = "IssuerID"];*/ 2:
message.issuerID = reader.string();
message.IssuerID = reader.string();
break;
case /* repeated string Contacts = 3 [json_name = "Contacts"];*/ 3:
message.contacts.push(reader.string());
message.Contacts.push(reader.string());
break;
case /* string Details = 4 [json_name = "Details"];*/ 4:
message.details = reader.string();
message.Details = reader.string();
break;
case /* string EntityDomain = 5 [json_name = "EntityDomain"];*/ 5:
message.entityDomain = reader.string();
message.EntityDomain = reader.string();
break;
case /* string EntityType = 6 [json_name = "EntityType"];*/ 6:
message.entityType = reader.string();
message.EntityType = reader.string();
break;
case /* string EntityRefID = 7 [json_name = "EntityRefID"];*/ 7:
message.entityRefID = reader.string();
message.EntityRefID = reader.string();
break;
case /* string Tags = 8 [json_name = "Tags"];*/ 8:
message.tags = reader.string();
message.Tags = reader.string();
break;
default:
let u = options.readUnknownField;
@@ -394,29 +394,29 @@ class NotifNotifyChatRoomPayload$Type extends MessageType<NotifNotifyChatRoomPay
}
internalBinaryWrite(message: NotifNotifyChatRoomPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.NotifTypeEnum NotificationType = 1 [json_name = "NotificationType"]; */
if (message.notificationType !== 0)
writer.tag(1, WireType.Varint).int32(message.notificationType);
if (message.NotificationType !== 0)
writer.tag(1, WireType.Varint).int32(message.NotificationType);
/* string IssuerID = 2 [json_name = "IssuerID"]; */
if (message.issuerID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.issuerID);
if (message.IssuerID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.IssuerID);
/* repeated string Contacts = 3 [json_name = "Contacts"]; */
for (let i = 0; i < message.contacts.length; i++)
writer.tag(3, WireType.LengthDelimited).string(message.contacts[i]);
for (let i = 0; i < message.Contacts.length; i++)
writer.tag(3, WireType.LengthDelimited).string(message.Contacts[i]);
/* string Details = 4 [json_name = "Details"]; */
if (message.details !== "")
writer.tag(4, WireType.LengthDelimited).string(message.details);
if (message.Details !== "")
writer.tag(4, WireType.LengthDelimited).string(message.Details);
/* string EntityDomain = 5 [json_name = "EntityDomain"]; */
if (message.entityDomain !== "")
writer.tag(5, WireType.LengthDelimited).string(message.entityDomain);
if (message.EntityDomain !== "")
writer.tag(5, WireType.LengthDelimited).string(message.EntityDomain);
/* string EntityType = 6 [json_name = "EntityType"]; */
if (message.entityType !== "")
writer.tag(6, WireType.LengthDelimited).string(message.entityType);
if (message.EntityType !== "")
writer.tag(6, WireType.LengthDelimited).string(message.EntityType);
/* string EntityRefID = 7 [json_name = "EntityRefID"]; */
if (message.entityRefID !== "")
writer.tag(7, WireType.LengthDelimited).string(message.entityRefID);
if (message.EntityRefID !== "")
writer.tag(7, WireType.LengthDelimited).string(message.EntityRefID);
/* string Tags = 8 [json_name = "Tags"]; */
if (message.tags !== "")
writer.tag(8, WireType.LengthDelimited).string(message.tags);
if (message.Tags !== "")
writer.tag(8, WireType.LengthDelimited).string(message.Tags);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -431,11 +431,11 @@ export const NotifNotifyChatRoomPayload = new NotifNotifyChatRoomPayload$Type();
class NotifNotifyChatRoom$Type extends MessageType<NotifNotifyChatRoom> {
constructor() {
super("api.NotifNotifyChatRoom", [
{ no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => CommandHeader },
{ no: 2, name: "ID", kind: "message", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", jsonName: "Payload", T: () => NotifNotifyChatRoomPayload },
{ no: 4, name: "EventPayload", kind: "message", jsonName: "EventPayload", T: () => NotifNotifyChatRoomPayload },
{ no: 5, name: "PreviousPayload", kind: "message", jsonName: "PreviousPayload", T: () => NotifNotifyChatRoomPayload }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => CommandHeader },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => NotifNotifyChatRoomPayload },
{ no: 4, name: "EventPayload", kind: "message", localName: "EventPayload", jsonName: "EventPayload", T: () => NotifNotifyChatRoomPayload },
{ no: 5, name: "PreviousPayload", kind: "message", localName: "PreviousPayload", jsonName: "PreviousPayload", T: () => NotifNotifyChatRoomPayload }
], { "api.messageType": "Command", "api.action": "NotifyChatRoom" });
}
create(value?: PartialMessage<NotifNotifyChatRoom>): NotifNotifyChatRoom {
@@ -450,19 +450,19 @@ class NotifNotifyChatRoom$Type extends MessageType<NotifNotifyChatRoom> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.CommandHeader Header = 1 [json_name = "Header"];*/ 1:
message.header = CommandHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
message.Header = CommandHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* api.EntityID ID = 2 [json_name = "ID"];*/ 2:
message.iD = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.iD);
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
break;
case /* api.NotifNotifyChatRoomPayload Payload = 3 [json_name = "Payload"];*/ 3:
message.payload = NotifNotifyChatRoomPayload.internalBinaryRead(reader, reader.uint32(), options, message.payload);
message.Payload = NotifNotifyChatRoomPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload);
break;
case /* api.NotifNotifyChatRoomPayload EventPayload = 4 [json_name = "EventPayload"];*/ 4:
message.eventPayload = NotifNotifyChatRoomPayload.internalBinaryRead(reader, reader.uint32(), options, message.eventPayload);
message.EventPayload = NotifNotifyChatRoomPayload.internalBinaryRead(reader, reader.uint32(), options, message.EventPayload);
break;
case /* api.NotifNotifyChatRoomPayload PreviousPayload = 5 [json_name = "PreviousPayload"];*/ 5:
message.previousPayload = NotifNotifyChatRoomPayload.internalBinaryRead(reader, reader.uint32(), options, message.previousPayload);
message.PreviousPayload = NotifNotifyChatRoomPayload.internalBinaryRead(reader, reader.uint32(), options, message.PreviousPayload);
break;
default:
let u = options.readUnknownField;
@@ -477,20 +477,20 @@ class NotifNotifyChatRoom$Type extends MessageType<NotifNotifyChatRoom> {
}
internalBinaryWrite(message: NotifNotifyChatRoom, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.CommandHeader Header = 1 [json_name = "Header"]; */
if (message.header)
CommandHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.Header)
CommandHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.EntityID ID = 2 [json_name = "ID"]; */
if (message.iD)
EntityID.internalBinaryWrite(message.iD, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
if (message.ID)
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* api.NotifNotifyChatRoomPayload Payload = 3 [json_name = "Payload"]; */
if (message.payload)
NotifNotifyChatRoomPayload.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
if (message.Payload)
NotifNotifyChatRoomPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* api.NotifNotifyChatRoomPayload EventPayload = 4 [json_name = "EventPayload"]; */
if (message.eventPayload)
NotifNotifyChatRoomPayload.internalBinaryWrite(message.eventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
if (message.EventPayload)
NotifNotifyChatRoomPayload.internalBinaryWrite(message.EventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.NotifNotifyChatRoomPayload PreviousPayload = 5 [json_name = "PreviousPayload"]; */
if (message.previousPayload)
NotifNotifyChatRoomPayload.internalBinaryWrite(message.previousPayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
if (message.PreviousPayload)
NotifNotifyChatRoomPayload.internalBinaryWrite(message.PreviousPayload, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);