Latest generation

This commit is contained in:
ci core model
2025-05-22 14:37:25 +00:00
parent 54568fbb6d
commit ad4b070125
4 changed files with 84 additions and 84 deletions

View File

@@ -10,6 +10,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { ValueType } from "./shared";
import { TimeRange } from "./shared";
import { WeekDay } from "./shared";
import { LabelByLanguage } from "./shared";
@@ -380,6 +381,19 @@ export interface CarrierInformation {
*/
FormatCheck: boolean;
}
/**
* @generated from protobuf message api.CarrierInformationWithValue
*/
export interface CarrierInformationWithValue {
/**
* @generated from protobuf field: api.CarrierInformation CarrierInformation = 1 [json_name = "CarrierInformation"];
*/
CarrierInformation?: CarrierInformation;
/**
* @generated from protobuf field: api.ValueType Value = 2 [json_name = "Value"];
*/
Value?: ValueType;
}
/**
* Document
* We anticipate that they want to put several but if they only have one with all the language, it should still work
@@ -1698,6 +1712,59 @@ class CarrierInformation$Type extends MessageType<CarrierInformation> {
*/
export const CarrierInformation = new CarrierInformation$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CarrierInformationWithValue$Type extends MessageType<CarrierInformationWithValue> {
constructor() {
super("api.CarrierInformationWithValue", [
{ no: 1, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", T: () => CarrierInformation },
{ no: 2, name: "Value", kind: "message", localName: "Value", jsonName: "Value", T: () => ValueType }
]);
}
create(value?: PartialMessage<CarrierInformationWithValue>): CarrierInformationWithValue {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<CarrierInformationWithValue>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CarrierInformationWithValue): CarrierInformationWithValue {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.CarrierInformation CarrierInformation = 1 [json_name = "CarrierInformation"];*/ 1:
message.CarrierInformation = CarrierInformation.internalBinaryRead(reader, reader.uint32(), options, message.CarrierInformation);
break;
case /* api.ValueType Value = 2 [json_name = "Value"];*/ 2:
message.Value = ValueType.internalBinaryRead(reader, reader.uint32(), options, message.Value);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: CarrierInformationWithValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.CarrierInformation CarrierInformation = 1 [json_name = "CarrierInformation"]; */
if (message.CarrierInformation)
CarrierInformation.internalBinaryWrite(message.CarrierInformation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.ValueType Value = 2 [json_name = "Value"]; */
if (message.Value)
ValueType.internalBinaryWrite(message.Value, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.CarrierInformationWithValue
*/
export const CarrierInformationWithValue = new CarrierInformationWithValue$Type();
// @generated message type with reflection information, may provide speed optimized methods
class Document$Type extends MessageType<Document> {
constructor() {
super("api.Document", [