Latest generation

This commit is contained in:
ci core model
2025-05-26 12:14:28 +00:00
parent 65247e7fe4
commit cc9c6d0b4c
197 changed files with 15132 additions and 15052 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "collabClickhouseStatement.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -19,11 +19,11 @@ import { MetadatasToApply } from "./metadata";
*/
export interface CollabClickHouseInput {
/**
* @generated from protobuf field: api.CollabClickhouseElements ClickhouseElements = 1 [json_name = "ClickhouseElements"];
* @generated from protobuf field: api.CollabClickhouseElements ClickhouseElements = 1
*/
ClickhouseElements?: CollabClickhouseElements;
/**
* @generated from protobuf field: repeated api.MetadatasToApply MetadatasToApply = 2 [json_name = "MetadatasToApply"];
* @generated from protobuf field: repeated api.MetadatasToApply MetadatasToApply = 2
*/
MetadatasToApply: MetadatasToApply[];
}
@@ -37,7 +37,7 @@ export interface CollabClickhouseElement {
Content: {
oneofKind: "Claim";
/**
* @generated from protobuf field: api.Claim Claim = 1 [json_name = "Claim"];
* @generated from protobuf field: api.Claim Claim = 1
*/
Claim: Claim;
} | {
@@ -49,7 +49,7 @@ export interface CollabClickhouseElement {
*/
export interface CollabClickhouseElements {
/**
* @generated from protobuf field: repeated api.CollabClickhouseElement ClickhouseElements = 1 [json_name = "ClickhouseElements"];
* @generated from protobuf field: repeated api.CollabClickhouseElement ClickhouseElements = 1
*/
ClickhouseElements: CollabClickhouseElement[];
}
@@ -60,15 +60,15 @@ export interface CollabClickhouseElements {
*/
export interface CollabCheckpointData {
/**
* @generated from protobuf field: int64 IdCheckpoint = 1 [json_name = "IdCheckpoint"];
* @generated from protobuf field: int64 IdCheckpoint = 1
*/
IdCheckpoint: bigint;
/**
* @generated from protobuf field: string Project = 2 [json_name = "Project"];
* @generated from protobuf field: string Project = 2
*/
Project: string;
/**
* @generated from protobuf field: repeated api.CollabClickHouseInput ClickHouseInput = 3 [json_name = "ClickHouseInput"];
* @generated from protobuf field: repeated api.CollabClickHouseInput ClickHouseInput = 3
*/
ClickHouseInput: CollabClickHouseInput[];
}
@@ -92,10 +92,10 @@ class CollabClickHouseInput$Type extends MessageType<CollabClickHouseInput> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.CollabClickhouseElements ClickhouseElements = 1 [json_name = "ClickhouseElements"];*/ 1:
case /* api.CollabClickhouseElements ClickhouseElements */ 1:
message.ClickhouseElements = CollabClickhouseElements.internalBinaryRead(reader, reader.uint32(), options, message.ClickhouseElements);
break;
case /* repeated api.MetadatasToApply MetadatasToApply = 2 [json_name = "MetadatasToApply"];*/ 2:
case /* repeated api.MetadatasToApply MetadatasToApply */ 2:
message.MetadatasToApply.push(MetadatasToApply.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -110,10 +110,10 @@ class CollabClickHouseInput$Type extends MessageType<CollabClickHouseInput> {
return message;
}
internalBinaryWrite(message: CollabClickHouseInput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.CollabClickhouseElements ClickhouseElements = 1 [json_name = "ClickhouseElements"]; */
/* api.CollabClickhouseElements ClickhouseElements = 1; */
if (message.ClickhouseElements)
CollabClickhouseElements.internalBinaryWrite(message.ClickhouseElements, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.MetadatasToApply MetadatasToApply = 2 [json_name = "MetadatasToApply"]; */
/* repeated api.MetadatasToApply MetadatasToApply = 2; */
for (let i = 0; i < message.MetadatasToApply.length; i++)
MetadatasToApply.internalBinaryWrite(message.MetadatasToApply[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -145,7 +145,7 @@ class CollabClickhouseElement$Type extends MessageType<CollabClickhouseElement>
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.Claim Claim = 1 [json_name = "Claim"];*/ 1:
case /* api.Claim Claim */ 1:
message.Content = {
oneofKind: "Claim",
Claim: Claim.internalBinaryRead(reader, reader.uint32(), options, (message.Content as any).Claim)
@@ -163,7 +163,7 @@ class CollabClickhouseElement$Type extends MessageType<CollabClickhouseElement>
return message;
}
internalBinaryWrite(message: CollabClickhouseElement, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.Claim Claim = 1 [json_name = "Claim"]; */
/* api.Claim Claim = 1; */
if (message.Content.oneofKind === "Claim")
Claim.internalBinaryWrite(message.Content.Claim, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -195,7 +195,7 @@ class CollabClickhouseElements$Type extends MessageType<CollabClickhouseElements
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.CollabClickhouseElement ClickhouseElements = 1 [json_name = "ClickhouseElements"];*/ 1:
case /* repeated api.CollabClickhouseElement ClickhouseElements */ 1:
message.ClickhouseElements.push(CollabClickhouseElement.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -210,7 +210,7 @@ class CollabClickhouseElements$Type extends MessageType<CollabClickhouseElements
return message;
}
internalBinaryWrite(message: CollabClickhouseElements, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.CollabClickhouseElement ClickhouseElements = 1 [json_name = "ClickhouseElements"]; */
/* repeated api.CollabClickhouseElement ClickhouseElements = 1; */
for (let i = 0; i < message.ClickhouseElements.length; i++)
CollabClickhouseElement.internalBinaryWrite(message.ClickhouseElements[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
@@ -246,13 +246,13 @@ class CollabCheckpointData$Type extends MessageType<CollabCheckpointData> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* int64 IdCheckpoint = 1 [json_name = "IdCheckpoint"];*/ 1:
case /* int64 IdCheckpoint */ 1:
message.IdCheckpoint = reader.int64().toBigInt();
break;
case /* string Project = 2 [json_name = "Project"];*/ 2:
case /* string Project */ 2:
message.Project = reader.string();
break;
case /* repeated api.CollabClickHouseInput ClickHouseInput = 3 [json_name = "ClickHouseInput"];*/ 3:
case /* repeated api.CollabClickHouseInput ClickHouseInput */ 3:
message.ClickHouseInput.push(CollabClickHouseInput.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -267,13 +267,13 @@ class CollabCheckpointData$Type extends MessageType<CollabCheckpointData> {
return message;
}
internalBinaryWrite(message: CollabCheckpointData, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* int64 IdCheckpoint = 1 [json_name = "IdCheckpoint"]; */
/* int64 IdCheckpoint = 1; */
if (message.IdCheckpoint !== 0n)
writer.tag(1, WireType.Varint).int64(message.IdCheckpoint);
/* string Project = 2 [json_name = "Project"]; */
/* string Project = 2; */
if (message.Project !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Project);
/* repeated api.CollabClickHouseInput ClickHouseInput = 3 [json_name = "ClickHouseInput"]; */
/* repeated api.CollabClickHouseInput ClickHouseInput = 3; */
for (let i = 0; i < message.ClickHouseInput.length; i++)
CollabClickHouseInput.internalBinaryWrite(message.ClickHouseInput[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;