You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -90,6 +90,10 @@ export interface ClaimNotifyPayload {
|
||||
* @generated from protobuf field: string DisplayID = 14
|
||||
*/
|
||||
DisplayID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Message = 15
|
||||
*/
|
||||
Message: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ClaimNotify
|
||||
@@ -398,7 +402,8 @@ class ClaimNotifyPayload$Type extends MessageType<ClaimNotifyPayload> {
|
||||
{ no: 11, name: "EntityID", kind: "scalar", localName: "EntityID", jsonName: "EntityID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 12, name: "Title", kind: "scalar", localName: "Title", jsonName: "Title", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 13, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||
{ no: 14, name: "DisplayID", kind: "scalar", localName: "DisplayID", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 14, name: "DisplayID", kind: "scalar", localName: "DisplayID", jsonName: "DisplayID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 15, name: "Message", kind: "scalar", localName: "Message", jsonName: "Message", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "Notify" });
|
||||
}
|
||||
create(value?: PartialMessage<ClaimNotifyPayload>): ClaimNotifyPayload {
|
||||
@@ -414,6 +419,7 @@ class ClaimNotifyPayload$Type extends MessageType<ClaimNotifyPayload> {
|
||||
message.Title = "";
|
||||
message.MetaData = [];
|
||||
message.DisplayID = "";
|
||||
message.Message = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ClaimNotifyPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -465,6 +471,9 @@ class ClaimNotifyPayload$Type extends MessageType<ClaimNotifyPayload> {
|
||||
case /* string DisplayID */ 14:
|
||||
message.DisplayID = reader.string();
|
||||
break;
|
||||
case /* string Message */ 15:
|
||||
message.Message = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -519,6 +528,9 @@ class ClaimNotifyPayload$Type extends MessageType<ClaimNotifyPayload> {
|
||||
/* string DisplayID = 14; */
|
||||
if (message.DisplayID !== "")
|
||||
writer.tag(14, WireType.LengthDelimited).string(message.DisplayID);
|
||||
/* string Message = 15; */
|
||||
if (message.Message !== "")
|
||||
writer.tag(15, WireType.LengthDelimited).string(message.Message);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user