Latest generation

This commit is contained in:
ci core model
2025-11-18 09:20:12 +00:00
parent 8c89c90f3f
commit e0365ef548
11 changed files with 11 additions and 131 deletions

View File

@@ -49,10 +49,6 @@ export interface ClaimByIdQuery {
* @generated from protobuf field: api.ClaimQueryOptions Options = 3
*/
Options?: ClaimQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.ClaimByIdResult
@@ -222,14 +218,12 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
super("api.ClaimByIdQuery", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QueryEntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ClaimQueryOptions },
{ no: 4, name: "RefIDs", kind: "scalar", localName: "RefIDs", jsonName: "RefIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ClaimQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<ClaimByIdQuery>): ClaimByIdQuery {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<ClaimByIdQuery>(this, message, value);
return message;
@@ -248,9 +242,6 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
case /* api.ClaimQueryOptions Options */ 3:
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
break;
case /* repeated string RefIDs */ 4:
message.RefIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -272,9 +263,6 @@ class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
/* api.ClaimQueryOptions Options = 3; */
if (message.Options)
ClaimQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* repeated string RefIDs = 4; */
for (let i = 0; i < message.RefIDs.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.RefIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);