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

@@ -44,10 +44,6 @@ export interface ActorByIdQuery {
* @generated from protobuf field: api.ActorQueryOptions Options = 3
*/
Options?: ActorQueryOptions;
/**
* @generated from protobuf field: repeated string RefIDs = 4
*/
RefIDs: string[];
}
/**
* @generated from protobuf message api.ActorByIdResult
@@ -169,14 +165,12 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
super("api.ActorByIdQuery", [
{ 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: () => ActorQueryOptions },
{ 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: () => ActorQueryOptions }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<ActorByIdQuery>): ActorByIdQuery {
const message = globalThis.Object.create((this.messagePrototype!));
message.IDs = [];
message.RefIDs = [];
if (value !== undefined)
reflectionMergePartial<ActorByIdQuery>(this, message, value);
return message;
@@ -195,9 +189,6 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
case /* api.ActorQueryOptions Options */ 3:
message.Options = ActorQueryOptions.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")
@@ -219,9 +210,6 @@ class ActorByIdQuery$Type extends MessageType<ActorByIdQuery> {
/* api.ActorQueryOptions Options = 3; */
if (message.Options)
ActorQueryOptions.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);