// @generated by protobuf-ts 2.9.6
// @generated from protobuf file "org.proto" (package "api", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
import type { IBinaryWriter } from "@protobuf-ts/runtime";
import { WireType } from "@protobuf-ts/runtime";
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
import type { IBinaryReader } from "@protobuf-ts/runtime";
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 { WorkflowExecutionResult } from "./shared";
import { RequestOrganisationHeader } from "./shared";
import { Module } from "./module";
import { IDP } from "./idp";
/**
 * @generated from protobuf message api.Organisation
 */
export interface Organisation {
    /**
     * @generated from protobuf field: string ID = 1 [json_name = "ID"];
     */
    iD: string;
    /**
     * @generated from protobuf field: string Name = 2 [json_name = "Name"];
     */
    name: string;
    /**
     * @generated from protobuf field: repeated api.IDP IDPs = 3 [json_name = "IDPs"];
     */
    iDPs: IDP[];
    /**
     * @generated from protobuf field: api.StatusEnum status = 4;
     */
    status: StatusEnum;
    /**
     * @generated from protobuf field: repeated api.Module Modules = 5 [json_name = "Modules"];
     */
    modules: Module[];
}
/**
 * @generated from protobuf message api.DeleteOrganisationRequest
 */
export interface DeleteOrganisationRequest {
    // RequestOrganisationHeader Header = 2 
    //    [
    //        (validate.rules).message.required = true
    //    ];

    /**
     * @generated from protobuf field: string ID = 1 [json_name = "ID"];
     */
    iD: string;
}
/**
 * @generated from protobuf message api.GetOrganisationRequest
 */
export interface GetOrganisationRequest {
    /**
     * @generated from protobuf field: api.RequestOrganisationHeader Header = 2 [json_name = "Header"];
     */
    header?: RequestOrganisationHeader;
}
/**
 * @generated from protobuf message api.CreateOrganisationRequest
 */
export interface CreateOrganisationRequest {
    /**
     * @generated from protobuf field: api.Organisation Organisation = 1 [json_name = "Organisation"];
     */
    organisation?: Organisation;
    /**
     * @generated from protobuf field: string ManagerMail = 2 [json_name = "ManagerMail"];
     */
    managerMail: string;
}
/**
 * @generated from protobuf message api.UpdateOrganisationRequest
 */
export interface UpdateOrganisationRequest {
    /**
     * @generated from protobuf field: api.RequestOrganisationHeader Header = 2 [json_name = "Header"];
     */
    header?: RequestOrganisationHeader;
    // Organisation Organisation = 1 
    //    [
    //         (validate.rules).message.required = true 
    //    ];

    /**
     * @generated from protobuf field: string Name = 3 [json_name = "Name"];
     */
    name: string;
}
/**
 * @generated from protobuf message api.SetModulesOrganisationRequest
 */
export interface SetModulesOrganisationRequest {
    /**
     * @generated from protobuf field: string OrganisationID = 1 [json_name = "OrganisationID"];
     */
    organisationID: string;
    /**
     * @generated from protobuf field: repeated api.Module Modules = 2 [json_name = "Modules"];
     */
    modules: Module[];
}
/**
 * @generated from protobuf message api.UpdateOrganisationStatusRequest
 */
export interface UpdateOrganisationStatusRequest {
    /**
     * @generated from protobuf field: string OrganisationID = 1 [json_name = "OrganisationID"];
     */
    organisationID: string;
    /**
     * @generated from protobuf field: api.StatusEnum status = 2;
     */
    status: StatusEnum;
}
/**
 * @generated from protobuf message api.ListOrganisationRequest
 */
export interface ListOrganisationRequest {
}
/**
 * @generated from protobuf message api.CreateOrganisationResult
 */
export interface CreateOrganisationResult {
    /**
     * @generated from protobuf field: api.Organisation Result = 1 [json_name = "Result"];
     */
    result?: Organisation;
    /**
     * @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 2 [json_name = "WorkflowExecution"];
     */
    workflowExecution?: WorkflowExecutionResult;
}
/**
 * @generated from protobuf message api.SetModulesOrganisationResult
 */
export interface SetModulesOrganisationResult {
    /**
     * @generated from protobuf field: api.Organisation Result = 1 [json_name = "Result"];
     */
    result?: Organisation;
}
/**
 * @generated from protobuf message api.UpdateOrganisationResult
 */
export interface UpdateOrganisationResult {
    /**
     * @generated from protobuf field: api.Organisation Result = 1 [json_name = "Result"];
     */
    result?: Organisation;
}
/**
 * @generated from protobuf message api.GetOrganisationResult
 */
export interface GetOrganisationResult {
    /**
     * @generated from protobuf field: api.Organisation Result = 1 [json_name = "Result"];
     */
    result?: Organisation;
}
/**
 * @generated from protobuf message api.ListOrganisationResult
 */
export interface ListOrganisationResult {
    /**
     * @generated from protobuf field: repeated api.Organisation Organisations = 1 [json_name = "Organisations"];
     */
    organisations: Organisation[];
}
/**
 * @generated from protobuf message api.DeleteOrganisationResult
 */
export interface DeleteOrganisationResult {
    /**
     * @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1 [json_name = "WorkflowExecution"];
     */
    workflowExecution?: WorkflowExecutionResult;
}
/**
 * @generated from protobuf message api.UpdateOrganisationStatusResult
 */
export interface UpdateOrganisationStatusResult {
    /**
     * @generated from protobuf field: api.StatusEnum status = 1;
     */
    status: StatusEnum;
}
/**
 * @generated from protobuf message api.StartStreamingJobsRequest
 */
export interface StartStreamingJobsRequest {
    // RequestOrganisationHeader Header = 1 
    //    [
    //        (validate.rules).message.required = true
    //    ];

    /**
     * @generated from protobuf field: string OrgID = 2 [json_name = "OrgID"];
     */
    orgID: string;
}
/**
 * @generated from protobuf message api.StopStreamingJobsRequest
 */
export interface StopStreamingJobsRequest {
    // RequestOrganisationHeader Header = 1 
    //    [
    //        (validate.rules).message.required = true
    //    ];

    /**
     * @generated from protobuf field: string OrgID = 2 [json_name = "OrgID"];
     */
    orgID: string;
}
/**
 * @generated from protobuf message api.StartIndividualStreamingJobRequest
 */
export interface StartIndividualStreamingJobRequest {
    /**
     * @generated from protobuf field: string OrgID = 1 [json_name = "OrgID"];
     */
    orgID: string;
    /**
     * @generated from protobuf field: string Domain = 5 [json_name = "Domain"];
     */
    domain: string;
    /**
     * @generated from protobuf field: string Entity = 2 [json_name = "Entity"];
     */
    entity: string;
    /**
     * @generated from protobuf field: string ClassName = 3 [json_name = "ClassName"];
     */
    className: string;
    /**
     * @generated from protobuf field: string Arguments = 4 [json_name = "Arguments"];
     */
    arguments: string;
}
/**
 * @generated from protobuf message api.StartIndividualStreamingJobResult
 */
export interface StartIndividualStreamingJobResult {
    /**
     * @generated from protobuf field: string ID = 1 [json_name = "ID"];
     */
    iD: string;
}
/**
 * @generated from protobuf message api.StopIndividualStreamingJobRequest
 */
export interface StopIndividualStreamingJobRequest {
    /**
     * @generated from protobuf field: string OrgID = 1 [json_name = "OrgID"];
     */
    orgID: string;
    /**
     * @generated from protobuf field: string Domain = 5 [json_name = "Domain"];
     */
    domain: string;
    /**
     * @generated from protobuf field: string Entity = 2 [json_name = "Entity"];
     */
    entity: string;
    /**
     * @generated from protobuf field: string ClassName = 3 [json_name = "ClassName"];
     */
    className: string;
    /**
     * @generated from protobuf field: bool Force = 4 [json_name = "Force"];
     */
    force: boolean;
}
/**
 * @generated from protobuf message api.StopIndividualStreamingJobResult
 */
export interface StopIndividualStreamingJobResult {
}
/**
 * @generated from protobuf message api.StartStreamingJobsResult
 */
export interface StartStreamingJobsResult {
    /**
     * @generated from protobuf field: string ID = 1 [json_name = "ID"];
     */
    iD: string;
}
/**
 * @generated from protobuf message api.StopStreamingJobsResult
 */
export interface StopStreamingJobsResult {
    /**
     * @generated from protobuf field: string ID = 1 [json_name = "ID"];
     */
    iD: string;
}
/**
 * @generated from protobuf message api.StopAllStreamingJobsRequest
 */
export interface StopAllStreamingJobsRequest {
}
/**
 * @generated from protobuf message api.StopAllStreamingJobsResult
 */
export interface StopAllStreamingJobsResult {
    /**
     * @generated from protobuf field: repeated string IDs = 1 [json_name = "IDs"];
     */
    iDs: string[];
}
/**
 * @generated from protobuf message api.RestartAllStreamingJobsRequest
 */
export interface RestartAllStreamingJobsRequest {
}
/**
 * @generated from protobuf message api.RestartAllStreamingJobsResult
 */
export interface RestartAllStreamingJobsResult {
    /**
     * @generated from protobuf field: repeated string IDs = 1 [json_name = "IDs"];
     */
    iDs: string[];
}
/**
 * @generated from protobuf message api.StartAllStreamingJobsRequest
 */
export interface StartAllStreamingJobsRequest {
}
/**
 * @generated from protobuf message api.StartAllStreamingJobsResult
 */
export interface StartAllStreamingJobsResult {
    /**
     * @generated from protobuf field: repeated string IDs = 1 [json_name = "IDs"];
     */
    iDs: string[];
}
/**
 * @generated from protobuf message api.ForceStopAllStreamingJobsRequest
 */
export interface ForceStopAllStreamingJobsRequest {
}
/**
 * @generated from protobuf message api.ForceStopAllStreamingJobsResult
 */
export interface ForceStopAllStreamingJobsResult {
    /**
     * @generated from protobuf field: repeated string IDs = 1 [json_name = "IDs"];
     */
    iDs: string[];
}
/**
 * @generated from protobuf message api.StartStreamingMetricsJobRequest
 */
export interface StartStreamingMetricsJobRequest {
}
/**
 * @generated from protobuf message api.StartStreamingMetricsJobResult
 */
export interface StartStreamingMetricsJobResult {
}
/**
 * @generated from protobuf message api.StopStreamingMetricsJobRequest
 */
export interface StopStreamingMetricsJobRequest {
}
/**
 * @generated from protobuf message api.StopStreamingMetricsJobResult
 */
export interface StopStreamingMetricsJobResult {
}
/**
 * @generated from protobuf message api.CheckStreamingStatusRequest
 */
export interface CheckStreamingStatusRequest {
    // RequestOrganisationHeader Header = 3 
    //    [
    //        (validate.rules).message.required = true
    //    ];

    /**
     * @generated from protobuf field: string OrgID = 4 [json_name = "OrgID"];
     */
    orgID: string;
}
/**
 * @generated from protobuf message api.CheckStreamingStatusResult
 */
export interface CheckStreamingStatusResult {
}
/**
 * @generated from protobuf message api.ProvisionGitOrgRequest
 */
export interface ProvisionGitOrgRequest {
    /**
     * @generated from protobuf field: string OrgID = 1 [json_name = "OrgID"];
     */
    orgID: string;
    /**
     * @generated from protobuf field: string ManagerMail = 2 [json_name = "ManagerMail"];
     */
    managerMail: string;
}
/**
 * @generated from protobuf message api.ProvisionGitOrgResult
 */
export interface ProvisionGitOrgResult {
}
/**
 * @generated from protobuf message api.DeprovisionGitOrgRequest
 */
export interface DeprovisionGitOrgRequest {
    /**
     * @generated from protobuf field: string OrgID = 1 [json_name = "OrgID"];
     */
    orgID: string;
}
/**
 * @generated from protobuf message api.DeprovisionGitOrgResult
 */
export interface DeprovisionGitOrgResult {
}
/**
 * @generated from protobuf message api.CreatePulsarRequest
 */
export interface CreatePulsarRequest {
    /**
     * @generated from protobuf field: string OrganisationID = 2 [json_name = "OrganisationID"];
     */
    organisationID: string;
    /**
     * @generated from protobuf field: bool CreateSubscriptions = 3 [json_name = "CreateSubscriptions"];
     */
    createSubscriptions: boolean;
}
/**
 * @generated from protobuf message api.CreatePulsarSubscriptionsRequest
 */
export interface CreatePulsarSubscriptionsRequest {
    /**
     * @generated from protobuf field: string OrganisationID = 2 [json_name = "OrganisationID"];
     */
    organisationID: string;
}
/**
 * @generated from protobuf message api.CreatePulsarMissPartitionsRequest
 */
export interface CreatePulsarMissPartitionsRequest {
    /**
     * @generated from protobuf field: string OrganisationID = 1 [json_name = "OrganisationID"];
     */
    organisationID: string;
}
/**
 * @generated from protobuf message api.CreatePulsarResult
 */
export interface CreatePulsarResult {
    /**
     * @generated from protobuf field: string ID = 1 [json_name = "ID"];
     */
    iD: string;
}
/**
 * @generated from protobuf message api.CreatePulsarSubscriptionsResult
 */
export interface CreatePulsarSubscriptionsResult {
}
/**
 * @generated from protobuf message api.CreatePulsarMissPartitionsResult
 */
export interface CreatePulsarMissPartitionsResult {
}
/**
 * @generated from protobuf message api.CreateAllPulsarMissPartitionsRequest
 */
export interface CreateAllPulsarMissPartitionsRequest {
}
/**
 * @generated from protobuf message api.CreateAllPulsarMissPartitionsResult
 */
export interface CreateAllPulsarMissPartitionsResult {
}
/**
 * @generated from protobuf message api.DeletePulsarRequest
 */
export interface DeletePulsarRequest {
    /**
     * @generated from protobuf field: string OrganisationID = 2 [json_name = "OrganisationID"];
     */
    organisationID: string;
}
/**
 * @generated from protobuf message api.DeletePulsarResult
 */
export interface DeletePulsarResult {
}
/**
 * @generated from protobuf message api.DeleteOrganisationInDBRequest
 */
export interface DeleteOrganisationInDBRequest {
    /**
     * @generated from protobuf field: string OrganisationID = 1 [json_name = "OrganisationID"];
     */
    organisationID: string;
}
/**
 * @generated from protobuf message api.DeleteOrganisationInDBResult
 */
export interface DeleteOrganisationInDBResult {
}
/**
 * @generated from protobuf enum api.StatusEnum
 */
export enum StatusEnum {
    /**
     * @generated from protobuf enum value: STATUS_UNDEFINED = 0;
     */
    STATUS_UNDEFINED = 0,
    /**
     * @generated from protobuf enum value: CREATED = 1;
     */
    CREATED = 1,
    /**
     * @generated from protobuf enum value: INITIALIZED = 2;
     */
    INITIALIZED = 2,
    /**
     * @generated from protobuf enum value: RUNNING = 3;
     */
    RUNNING = 3,
    /**
     * @generated from protobuf enum value: PAUSE = 4;
     */
    PAUSE = 4,
    /**
     * @generated from protobuf enum value: ARCHIVED = 5;
     */
    ARCHIVED = 5,
    /**
     * @generated from protobuf enum value: DELETED = 6;
     */
    DELETED = 6,
    /**
     * @generated from protobuf enum value: STOPPED = 7;
     */
    STOPPED = 7,
    /**
     * @generated from protobuf enum value: STARTING = 8;
     */
    STARTING = 8,
    /**
     * @generated from protobuf enum value: STOPPING = 9;
     */
    STOPPING = 9,
    /**
     * @generated from protobuf enum value: PARTIALLY_RUNNING = 10;
     */
    PARTIALLY_RUNNING = 10,
    /**
     * @generated from protobuf enum value: PARTIALLY_STOPPED = 11;
     */
    PARTIALLY_STOPPED = 11,
    /**
     * @generated from protobuf enum value: PAUSING = 12;
     */
    PAUSING = 12,
    /**
     * @generated from protobuf enum value: PROVISIONING = 13;
     */
    PROVISIONING = 13,
    /**
     * @generated from protobuf enum value: DEPROVISIONING = 14;
     */
    DEPROVISIONING = 14,
    /**
     * @generated from protobuf enum value: IN_ERROR = 15;
     */
    IN_ERROR = 15
}
// @generated message type with reflection information, may provide speed optimized methods
class Organisation$Type extends MessageType<Organisation> {
    constructor() {
        super("api.Organisation", [
            { no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$" } } },
            { no: 2, name: "Name", kind: "scalar", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } } },
            { no: 3, name: "IDPs", kind: "message", jsonName: "IDPs", repeat: 1 /*RepeatType.PACKED*/, T: () => IDP },
            { no: 4, name: "status", kind: "enum", T: () => ["api.StatusEnum", StatusEnum], options: { "validate.rules": { enum: { definedOnly: true } } } },
            { no: 5, name: "Modules", kind: "message", jsonName: "Modules", repeat: 1 /*RepeatType.PACKED*/, T: () => Module }
        ]);
    }
    create(value?: PartialMessage<Organisation>): Organisation {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iD = "";
        message.name = "";
        message.iDPs = [];
        message.status = 0;
        message.modules = [];
        if (value !== undefined)
            reflectionMergePartial<Organisation>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Organisation): Organisation {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string ID = 1 [json_name = "ID"];*/ 1:
                    message.iD = reader.string();
                    break;
                case /* string Name = 2 [json_name = "Name"];*/ 2:
                    message.name = reader.string();
                    break;
                case /* repeated api.IDP IDPs = 3 [json_name = "IDPs"];*/ 3:
                    message.iDPs.push(IDP.internalBinaryRead(reader, reader.uint32(), options));
                    break;
                case /* api.StatusEnum status */ 4:
                    message.status = reader.int32();
                    break;
                case /* repeated api.Module Modules = 5 [json_name = "Modules"];*/ 5:
                    message.modules.push(Module.internalBinaryRead(reader, reader.uint32(), options));
                    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: Organisation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string ID = 1 [json_name = "ID"]; */
        if (message.iD !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.iD);
        /* string Name = 2 [json_name = "Name"]; */
        if (message.name !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.name);
        /* repeated api.IDP IDPs = 3 [json_name = "IDPs"]; */
        for (let i = 0; i < message.iDPs.length; i++)
            IDP.internalBinaryWrite(message.iDPs[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
        /* api.StatusEnum status = 4; */
        if (message.status !== 0)
            writer.tag(4, WireType.Varint).int32(message.status);
        /* repeated api.Module Modules = 5 [json_name = "Modules"]; */
        for (let i = 0; i < message.modules.length; i++)
            Module.internalBinaryWrite(message.modules[i], writer.tag(5, 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.Organisation
 */
export const Organisation = new Organisation$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteOrganisationRequest$Type extends MessageType<DeleteOrganisationRequest> {
    constructor() {
        super("api.DeleteOrganisationRequest", [
            { no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ]);
    }
    create(value?: PartialMessage<DeleteOrganisationRequest>): DeleteOrganisationRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iD = "";
        if (value !== undefined)
            reflectionMergePartial<DeleteOrganisationRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteOrganisationRequest): DeleteOrganisationRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string ID = 1 [json_name = "ID"];*/ 1:
                    message.iD = reader.string();
                    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: DeleteOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string ID = 1 [json_name = "ID"]; */
        if (message.iD !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.iD);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.DeleteOrganisationRequest
 */
export const DeleteOrganisationRequest = new DeleteOrganisationRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetOrganisationRequest$Type extends MessageType<GetOrganisationRequest> {
    constructor() {
        super("api.GetOrganisationRequest", [
            { no: 2, name: "Header", kind: "message", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } }
        ]);
    }
    create(value?: PartialMessage<GetOrganisationRequest>): GetOrganisationRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<GetOrganisationRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOrganisationRequest): GetOrganisationRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.RequestOrganisationHeader Header = 2 [json_name = "Header"];*/ 2:
                    message.header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
                    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: GetOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.RequestOrganisationHeader Header = 2 [json_name = "Header"]; */
        if (message.header)
            RequestOrganisationHeader.internalBinaryWrite(message.header, 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.GetOrganisationRequest
 */
export const GetOrganisationRequest = new GetOrganisationRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreateOrganisationRequest$Type extends MessageType<CreateOrganisationRequest> {
    constructor() {
        super("api.CreateOrganisationRequest", [
            { no: 1, name: "Organisation", kind: "message", jsonName: "Organisation", T: () => Organisation, options: { "validate.rules": { message: { required: true } } } },
            { no: 2, name: "ManagerMail", kind: "scalar", jsonName: "ManagerMail", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { email: true } } } }
        ]);
    }
    create(value?: PartialMessage<CreateOrganisationRequest>): CreateOrganisationRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.managerMail = "";
        if (value !== undefined)
            reflectionMergePartial<CreateOrganisationRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateOrganisationRequest): CreateOrganisationRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.Organisation Organisation = 1 [json_name = "Organisation"];*/ 1:
                    message.organisation = Organisation.internalBinaryRead(reader, reader.uint32(), options, message.organisation);
                    break;
                case /* string ManagerMail = 2 [json_name = "ManagerMail"];*/ 2:
                    message.managerMail = reader.string();
                    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: CreateOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.Organisation Organisation = 1 [json_name = "Organisation"]; */
        if (message.organisation)
            Organisation.internalBinaryWrite(message.organisation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
        /* string ManagerMail = 2 [json_name = "ManagerMail"]; */
        if (message.managerMail !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.managerMail);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CreateOrganisationRequest
 */
export const CreateOrganisationRequest = new CreateOrganisationRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class UpdateOrganisationRequest$Type extends MessageType<UpdateOrganisationRequest> {
    constructor() {
        super("api.UpdateOrganisationRequest", [
            { no: 2, name: "Header", kind: "message", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
            { no: 3, name: "Name", kind: "scalar", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9]+(?:[- ][a-zA-Z0-9]+)*$" } } }
        ]);
    }
    create(value?: PartialMessage<UpdateOrganisationRequest>): UpdateOrganisationRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.name = "";
        if (value !== undefined)
            reflectionMergePartial<UpdateOrganisationRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateOrganisationRequest): UpdateOrganisationRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.RequestOrganisationHeader Header = 2 [json_name = "Header"];*/ 2:
                    message.header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
                    break;
                case /* string Name = 3 [json_name = "Name"];*/ 3:
                    message.name = reader.string();
                    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: UpdateOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.RequestOrganisationHeader Header = 2 [json_name = "Header"]; */
        if (message.header)
            RequestOrganisationHeader.internalBinaryWrite(message.header, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
        /* string Name = 3 [json_name = "Name"]; */
        if (message.name !== "")
            writer.tag(3, WireType.LengthDelimited).string(message.name);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.UpdateOrganisationRequest
 */
export const UpdateOrganisationRequest = new UpdateOrganisationRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetModulesOrganisationRequest$Type extends MessageType<SetModulesOrganisationRequest> {
    constructor() {
        super("api.SetModulesOrganisationRequest", [
            { no: 1, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 2, name: "Modules", kind: "message", jsonName: "Modules", repeat: 1 /*RepeatType.PACKED*/, T: () => Module }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID"] } } });
    }
    create(value?: PartialMessage<SetModulesOrganisationRequest>): SetModulesOrganisationRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.organisationID = "";
        message.modules = [];
        if (value !== undefined)
            reflectionMergePartial<SetModulesOrganisationRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetModulesOrganisationRequest): SetModulesOrganisationRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrganisationID = 1 [json_name = "OrganisationID"];*/ 1:
                    message.organisationID = reader.string();
                    break;
                case /* repeated api.Module Modules = 2 [json_name = "Modules"];*/ 2:
                    message.modules.push(Module.internalBinaryRead(reader, reader.uint32(), options));
                    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: SetModulesOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrganisationID = 1 [json_name = "OrganisationID"]; */
        if (message.organisationID !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.organisationID);
        /* repeated api.Module Modules = 2 [json_name = "Modules"]; */
        for (let i = 0; i < message.modules.length; i++)
            Module.internalBinaryWrite(message.modules[i], 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.SetModulesOrganisationRequest
 */
export const SetModulesOrganisationRequest = new SetModulesOrganisationRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class UpdateOrganisationStatusRequest$Type extends MessageType<UpdateOrganisationStatusRequest> {
    constructor() {
        super("api.UpdateOrganisationStatusRequest", [
            { no: 1, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 2, name: "status", kind: "enum", T: () => ["api.StatusEnum", StatusEnum], options: { "validate.rules": { enum: { definedOnly: true } } } }
        ]);
    }
    create(value?: PartialMessage<UpdateOrganisationStatusRequest>): UpdateOrganisationStatusRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.organisationID = "";
        message.status = 0;
        if (value !== undefined)
            reflectionMergePartial<UpdateOrganisationStatusRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateOrganisationStatusRequest): UpdateOrganisationStatusRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrganisationID = 1 [json_name = "OrganisationID"];*/ 1:
                    message.organisationID = reader.string();
                    break;
                case /* api.StatusEnum status */ 2:
                    message.status = reader.int32();
                    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: UpdateOrganisationStatusRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrganisationID = 1 [json_name = "OrganisationID"]; */
        if (message.organisationID !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.organisationID);
        /* api.StatusEnum status = 2; */
        if (message.status !== 0)
            writer.tag(2, WireType.Varint).int32(message.status);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.UpdateOrganisationStatusRequest
 */
export const UpdateOrganisationStatusRequest = new UpdateOrganisationStatusRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListOrganisationRequest$Type extends MessageType<ListOrganisationRequest> {
    constructor() {
        super("api.ListOrganisationRequest", []);
    }
    create(value?: PartialMessage<ListOrganisationRequest>): ListOrganisationRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<ListOrganisationRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListOrganisationRequest): ListOrganisationRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: ListOrganisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.ListOrganisationRequest
 */
export const ListOrganisationRequest = new ListOrganisationRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreateOrganisationResult$Type extends MessageType<CreateOrganisationResult> {
    constructor() {
        super("api.CreateOrganisationResult", [
            { no: 1, name: "Result", kind: "message", jsonName: "Result", T: () => Organisation },
            { no: 2, name: "WorkflowExecution", kind: "message", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
        ]);
    }
    create(value?: PartialMessage<CreateOrganisationResult>): CreateOrganisationResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<CreateOrganisationResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateOrganisationResult): CreateOrganisationResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.Organisation Result = 1 [json_name = "Result"];*/ 1:
                    message.result = Organisation.internalBinaryRead(reader, reader.uint32(), options, message.result);
                    break;
                case /* api.WorkflowExecutionResult WorkflowExecution = 2 [json_name = "WorkflowExecution"];*/ 2:
                    message.workflowExecution = WorkflowExecutionResult.internalBinaryRead(reader, reader.uint32(), options, message.workflowExecution);
                    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: CreateOrganisationResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.Organisation Result = 1 [json_name = "Result"]; */
        if (message.result)
            Organisation.internalBinaryWrite(message.result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
        /* api.WorkflowExecutionResult WorkflowExecution = 2 [json_name = "WorkflowExecution"]; */
        if (message.workflowExecution)
            WorkflowExecutionResult.internalBinaryWrite(message.workflowExecution, 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.CreateOrganisationResult
 */
export const CreateOrganisationResult = new CreateOrganisationResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SetModulesOrganisationResult$Type extends MessageType<SetModulesOrganisationResult> {
    constructor() {
        super("api.SetModulesOrganisationResult", [
            { no: 1, name: "Result", kind: "message", jsonName: "Result", T: () => Organisation }
        ]);
    }
    create(value?: PartialMessage<SetModulesOrganisationResult>): SetModulesOrganisationResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<SetModulesOrganisationResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetModulesOrganisationResult): SetModulesOrganisationResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.Organisation Result = 1 [json_name = "Result"];*/ 1:
                    message.result = Organisation.internalBinaryRead(reader, reader.uint32(), options, message.result);
                    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: SetModulesOrganisationResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.Organisation Result = 1 [json_name = "Result"]; */
        if (message.result)
            Organisation.internalBinaryWrite(message.result, writer.tag(1, 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.SetModulesOrganisationResult
 */
export const SetModulesOrganisationResult = new SetModulesOrganisationResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class UpdateOrganisationResult$Type extends MessageType<UpdateOrganisationResult> {
    constructor() {
        super("api.UpdateOrganisationResult", [
            { no: 1, name: "Result", kind: "message", jsonName: "Result", T: () => Organisation }
        ]);
    }
    create(value?: PartialMessage<UpdateOrganisationResult>): UpdateOrganisationResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<UpdateOrganisationResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateOrganisationResult): UpdateOrganisationResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.Organisation Result = 1 [json_name = "Result"];*/ 1:
                    message.result = Organisation.internalBinaryRead(reader, reader.uint32(), options, message.result);
                    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: UpdateOrganisationResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.Organisation Result = 1 [json_name = "Result"]; */
        if (message.result)
            Organisation.internalBinaryWrite(message.result, writer.tag(1, 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.UpdateOrganisationResult
 */
export const UpdateOrganisationResult = new UpdateOrganisationResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetOrganisationResult$Type extends MessageType<GetOrganisationResult> {
    constructor() {
        super("api.GetOrganisationResult", [
            { no: 1, name: "Result", kind: "message", jsonName: "Result", T: () => Organisation }
        ]);
    }
    create(value?: PartialMessage<GetOrganisationResult>): GetOrganisationResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<GetOrganisationResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetOrganisationResult): GetOrganisationResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.Organisation Result = 1 [json_name = "Result"];*/ 1:
                    message.result = Organisation.internalBinaryRead(reader, reader.uint32(), options, message.result);
                    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: GetOrganisationResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.Organisation Result = 1 [json_name = "Result"]; */
        if (message.result)
            Organisation.internalBinaryWrite(message.result, writer.tag(1, 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.GetOrganisationResult
 */
export const GetOrganisationResult = new GetOrganisationResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListOrganisationResult$Type extends MessageType<ListOrganisationResult> {
    constructor() {
        super("api.ListOrganisationResult", [
            { no: 1, name: "Organisations", kind: "message", jsonName: "Organisations", repeat: 1 /*RepeatType.PACKED*/, T: () => Organisation }
        ]);
    }
    create(value?: PartialMessage<ListOrganisationResult>): ListOrganisationResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.organisations = [];
        if (value !== undefined)
            reflectionMergePartial<ListOrganisationResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListOrganisationResult): ListOrganisationResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* repeated api.Organisation Organisations = 1 [json_name = "Organisations"];*/ 1:
                    message.organisations.push(Organisation.internalBinaryRead(reader, reader.uint32(), options));
                    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: ListOrganisationResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* repeated api.Organisation Organisations = 1 [json_name = "Organisations"]; */
        for (let i = 0; i < message.organisations.length; i++)
            Organisation.internalBinaryWrite(message.organisations[i], writer.tag(1, 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.ListOrganisationResult
 */
export const ListOrganisationResult = new ListOrganisationResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteOrganisationResult$Type extends MessageType<DeleteOrganisationResult> {
    constructor() {
        super("api.DeleteOrganisationResult", [
            { no: 1, name: "WorkflowExecution", kind: "message", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
        ]);
    }
    create(value?: PartialMessage<DeleteOrganisationResult>): DeleteOrganisationResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<DeleteOrganisationResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteOrganisationResult): DeleteOrganisationResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.WorkflowExecutionResult WorkflowExecution = 1 [json_name = "WorkflowExecution"];*/ 1:
                    message.workflowExecution = WorkflowExecutionResult.internalBinaryRead(reader, reader.uint32(), options, message.workflowExecution);
                    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: DeleteOrganisationResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.WorkflowExecutionResult WorkflowExecution = 1 [json_name = "WorkflowExecution"]; */
        if (message.workflowExecution)
            WorkflowExecutionResult.internalBinaryWrite(message.workflowExecution, writer.tag(1, 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.DeleteOrganisationResult
 */
export const DeleteOrganisationResult = new DeleteOrganisationResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class UpdateOrganisationStatusResult$Type extends MessageType<UpdateOrganisationStatusResult> {
    constructor() {
        super("api.UpdateOrganisationStatusResult", [
            { no: 1, name: "status", kind: "enum", T: () => ["api.StatusEnum", StatusEnum] }
        ]);
    }
    create(value?: PartialMessage<UpdateOrganisationStatusResult>): UpdateOrganisationStatusResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.status = 0;
        if (value !== undefined)
            reflectionMergePartial<UpdateOrganisationStatusResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateOrganisationStatusResult): UpdateOrganisationStatusResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* api.StatusEnum status */ 1:
                    message.status = reader.int32();
                    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: UpdateOrganisationStatusResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* api.StatusEnum status = 1; */
        if (message.status !== 0)
            writer.tag(1, WireType.Varint).int32(message.status);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.UpdateOrganisationStatusResult
 */
export const UpdateOrganisationStatusResult = new UpdateOrganisationStatusResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartStreamingJobsRequest$Type extends MessageType<StartStreamingJobsRequest> {
    constructor() {
        super("api.StartStreamingJobsRequest", [
            { no: 2, name: "OrgID", kind: "scalar", jsonName: "OrgID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ]);
    }
    create(value?: PartialMessage<StartStreamingJobsRequest>): StartStreamingJobsRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.orgID = "";
        if (value !== undefined)
            reflectionMergePartial<StartStreamingJobsRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartStreamingJobsRequest): StartStreamingJobsRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrgID = 2 [json_name = "OrgID"];*/ 2:
                    message.orgID = reader.string();
                    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: StartStreamingJobsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrgID = 2 [json_name = "OrgID"]; */
        if (message.orgID !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.orgID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StartStreamingJobsRequest
 */
export const StartStreamingJobsRequest = new StartStreamingJobsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopStreamingJobsRequest$Type extends MessageType<StopStreamingJobsRequest> {
    constructor() {
        super("api.StopStreamingJobsRequest", [
            { no: 2, name: "OrgID", kind: "scalar", jsonName: "OrgID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ]);
    }
    create(value?: PartialMessage<StopStreamingJobsRequest>): StopStreamingJobsRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.orgID = "";
        if (value !== undefined)
            reflectionMergePartial<StopStreamingJobsRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopStreamingJobsRequest): StopStreamingJobsRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrgID = 2 [json_name = "OrgID"];*/ 2:
                    message.orgID = reader.string();
                    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: StopStreamingJobsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrgID = 2 [json_name = "OrgID"]; */
        if (message.orgID !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.orgID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StopStreamingJobsRequest
 */
export const StopStreamingJobsRequest = new StopStreamingJobsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartIndividualStreamingJobRequest$Type extends MessageType<StartIndividualStreamingJobRequest> {
    constructor() {
        super("api.StartIndividualStreamingJobRequest", [
            { no: 1, name: "OrgID", kind: "scalar", jsonName: "OrgID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 5, name: "Domain", kind: "scalar", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 2, name: "Entity", kind: "scalar", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 3, name: "ClassName", kind: "scalar", jsonName: "ClassName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 4, name: "Arguments", kind: "scalar", jsonName: "Arguments", T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<StartIndividualStreamingJobRequest>): StartIndividualStreamingJobRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.orgID = "";
        message.domain = "";
        message.entity = "";
        message.className = "";
        message.arguments = "";
        if (value !== undefined)
            reflectionMergePartial<StartIndividualStreamingJobRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartIndividualStreamingJobRequest): StartIndividualStreamingJobRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrgID = 1 [json_name = "OrgID"];*/ 1:
                    message.orgID = reader.string();
                    break;
                case /* string Domain = 5 [json_name = "Domain"];*/ 5:
                    message.domain = reader.string();
                    break;
                case /* string Entity = 2 [json_name = "Entity"];*/ 2:
                    message.entity = reader.string();
                    break;
                case /* string ClassName = 3 [json_name = "ClassName"];*/ 3:
                    message.className = reader.string();
                    break;
                case /* string Arguments = 4 [json_name = "Arguments"];*/ 4:
                    message.arguments = reader.string();
                    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: StartIndividualStreamingJobRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrgID = 1 [json_name = "OrgID"]; */
        if (message.orgID !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.orgID);
        /* string Domain = 5 [json_name = "Domain"]; */
        if (message.domain !== "")
            writer.tag(5, WireType.LengthDelimited).string(message.domain);
        /* string Entity = 2 [json_name = "Entity"]; */
        if (message.entity !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.entity);
        /* string ClassName = 3 [json_name = "ClassName"]; */
        if (message.className !== "")
            writer.tag(3, WireType.LengthDelimited).string(message.className);
        /* string Arguments = 4 [json_name = "Arguments"]; */
        if (message.arguments !== "")
            writer.tag(4, WireType.LengthDelimited).string(message.arguments);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StartIndividualStreamingJobRequest
 */
export const StartIndividualStreamingJobRequest = new StartIndividualStreamingJobRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartIndividualStreamingJobResult$Type extends MessageType<StartIndividualStreamingJobResult> {
    constructor() {
        super("api.StartIndividualStreamingJobResult", [
            { no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<StartIndividualStreamingJobResult>): StartIndividualStreamingJobResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iD = "";
        if (value !== undefined)
            reflectionMergePartial<StartIndividualStreamingJobResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartIndividualStreamingJobResult): StartIndividualStreamingJobResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string ID = 1 [json_name = "ID"];*/ 1:
                    message.iD = reader.string();
                    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: StartIndividualStreamingJobResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string ID = 1 [json_name = "ID"]; */
        if (message.iD !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.iD);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StartIndividualStreamingJobResult
 */
export const StartIndividualStreamingJobResult = new StartIndividualStreamingJobResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopIndividualStreamingJobRequest$Type extends MessageType<StopIndividualStreamingJobRequest> {
    constructor() {
        super("api.StopIndividualStreamingJobRequest", [
            { no: 1, name: "OrgID", kind: "scalar", jsonName: "OrgID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 5, name: "Domain", kind: "scalar", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 2, name: "Entity", kind: "scalar", jsonName: "Entity", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 3, name: "ClassName", kind: "scalar", jsonName: "ClassName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 4, name: "Force", kind: "scalar", jsonName: "Force", T: 8 /*ScalarType.BOOL*/ }
        ]);
    }
    create(value?: PartialMessage<StopIndividualStreamingJobRequest>): StopIndividualStreamingJobRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.orgID = "";
        message.domain = "";
        message.entity = "";
        message.className = "";
        message.force = false;
        if (value !== undefined)
            reflectionMergePartial<StopIndividualStreamingJobRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopIndividualStreamingJobRequest): StopIndividualStreamingJobRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrgID = 1 [json_name = "OrgID"];*/ 1:
                    message.orgID = reader.string();
                    break;
                case /* string Domain = 5 [json_name = "Domain"];*/ 5:
                    message.domain = reader.string();
                    break;
                case /* string Entity = 2 [json_name = "Entity"];*/ 2:
                    message.entity = reader.string();
                    break;
                case /* string ClassName = 3 [json_name = "ClassName"];*/ 3:
                    message.className = reader.string();
                    break;
                case /* bool Force = 4 [json_name = "Force"];*/ 4:
                    message.force = reader.bool();
                    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: StopIndividualStreamingJobRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrgID = 1 [json_name = "OrgID"]; */
        if (message.orgID !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.orgID);
        /* string Domain = 5 [json_name = "Domain"]; */
        if (message.domain !== "")
            writer.tag(5, WireType.LengthDelimited).string(message.domain);
        /* string Entity = 2 [json_name = "Entity"]; */
        if (message.entity !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.entity);
        /* string ClassName = 3 [json_name = "ClassName"]; */
        if (message.className !== "")
            writer.tag(3, WireType.LengthDelimited).string(message.className);
        /* bool Force = 4 [json_name = "Force"]; */
        if (message.force !== false)
            writer.tag(4, WireType.Varint).bool(message.force);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StopIndividualStreamingJobRequest
 */
export const StopIndividualStreamingJobRequest = new StopIndividualStreamingJobRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopIndividualStreamingJobResult$Type extends MessageType<StopIndividualStreamingJobResult> {
    constructor() {
        super("api.StopIndividualStreamingJobResult", []);
    }
    create(value?: PartialMessage<StopIndividualStreamingJobResult>): StopIndividualStreamingJobResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<StopIndividualStreamingJobResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopIndividualStreamingJobResult): StopIndividualStreamingJobResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: StopIndividualStreamingJobResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StopIndividualStreamingJobResult
 */
export const StopIndividualStreamingJobResult = new StopIndividualStreamingJobResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartStreamingJobsResult$Type extends MessageType<StartStreamingJobsResult> {
    constructor() {
        super("api.StartStreamingJobsResult", [
            { no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<StartStreamingJobsResult>): StartStreamingJobsResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iD = "";
        if (value !== undefined)
            reflectionMergePartial<StartStreamingJobsResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartStreamingJobsResult): StartStreamingJobsResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string ID = 1 [json_name = "ID"];*/ 1:
                    message.iD = reader.string();
                    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: StartStreamingJobsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string ID = 1 [json_name = "ID"]; */
        if (message.iD !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.iD);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StartStreamingJobsResult
 */
export const StartStreamingJobsResult = new StartStreamingJobsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopStreamingJobsResult$Type extends MessageType<StopStreamingJobsResult> {
    constructor() {
        super("api.StopStreamingJobsResult", [
            { no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<StopStreamingJobsResult>): StopStreamingJobsResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iD = "";
        if (value !== undefined)
            reflectionMergePartial<StopStreamingJobsResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopStreamingJobsResult): StopStreamingJobsResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string ID = 1 [json_name = "ID"];*/ 1:
                    message.iD = reader.string();
                    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: StopStreamingJobsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string ID = 1 [json_name = "ID"]; */
        if (message.iD !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.iD);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StopStreamingJobsResult
 */
export const StopStreamingJobsResult = new StopStreamingJobsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopAllStreamingJobsRequest$Type extends MessageType<StopAllStreamingJobsRequest> {
    constructor() {
        super("api.StopAllStreamingJobsRequest", []);
    }
    create(value?: PartialMessage<StopAllStreamingJobsRequest>): StopAllStreamingJobsRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<StopAllStreamingJobsRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopAllStreamingJobsRequest): StopAllStreamingJobsRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: StopAllStreamingJobsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StopAllStreamingJobsRequest
 */
export const StopAllStreamingJobsRequest = new StopAllStreamingJobsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopAllStreamingJobsResult$Type extends MessageType<StopAllStreamingJobsResult> {
    constructor() {
        super("api.StopAllStreamingJobsResult", [
            { no: 1, name: "IDs", kind: "scalar", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<StopAllStreamingJobsResult>): StopAllStreamingJobsResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iDs = [];
        if (value !== undefined)
            reflectionMergePartial<StopAllStreamingJobsResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopAllStreamingJobsResult): StopAllStreamingJobsResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* repeated string IDs = 1 [json_name = "IDs"];*/ 1:
                    message.iDs.push(reader.string());
                    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: StopAllStreamingJobsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* repeated string IDs = 1 [json_name = "IDs"]; */
        for (let i = 0; i < message.iDs.length; i++)
            writer.tag(1, WireType.LengthDelimited).string(message.iDs[i]);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StopAllStreamingJobsResult
 */
export const StopAllStreamingJobsResult = new StopAllStreamingJobsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class RestartAllStreamingJobsRequest$Type extends MessageType<RestartAllStreamingJobsRequest> {
    constructor() {
        super("api.RestartAllStreamingJobsRequest", []);
    }
    create(value?: PartialMessage<RestartAllStreamingJobsRequest>): RestartAllStreamingJobsRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<RestartAllStreamingJobsRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RestartAllStreamingJobsRequest): RestartAllStreamingJobsRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: RestartAllStreamingJobsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.RestartAllStreamingJobsRequest
 */
export const RestartAllStreamingJobsRequest = new RestartAllStreamingJobsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class RestartAllStreamingJobsResult$Type extends MessageType<RestartAllStreamingJobsResult> {
    constructor() {
        super("api.RestartAllStreamingJobsResult", [
            { no: 1, name: "IDs", kind: "scalar", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<RestartAllStreamingJobsResult>): RestartAllStreamingJobsResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iDs = [];
        if (value !== undefined)
            reflectionMergePartial<RestartAllStreamingJobsResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RestartAllStreamingJobsResult): RestartAllStreamingJobsResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* repeated string IDs = 1 [json_name = "IDs"];*/ 1:
                    message.iDs.push(reader.string());
                    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: RestartAllStreamingJobsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* repeated string IDs = 1 [json_name = "IDs"]; */
        for (let i = 0; i < message.iDs.length; i++)
            writer.tag(1, WireType.LengthDelimited).string(message.iDs[i]);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.RestartAllStreamingJobsResult
 */
export const RestartAllStreamingJobsResult = new RestartAllStreamingJobsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartAllStreamingJobsRequest$Type extends MessageType<StartAllStreamingJobsRequest> {
    constructor() {
        super("api.StartAllStreamingJobsRequest", []);
    }
    create(value?: PartialMessage<StartAllStreamingJobsRequest>): StartAllStreamingJobsRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<StartAllStreamingJobsRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartAllStreamingJobsRequest): StartAllStreamingJobsRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: StartAllStreamingJobsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StartAllStreamingJobsRequest
 */
export const StartAllStreamingJobsRequest = new StartAllStreamingJobsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartAllStreamingJobsResult$Type extends MessageType<StartAllStreamingJobsResult> {
    constructor() {
        super("api.StartAllStreamingJobsResult", [
            { no: 1, name: "IDs", kind: "scalar", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<StartAllStreamingJobsResult>): StartAllStreamingJobsResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iDs = [];
        if (value !== undefined)
            reflectionMergePartial<StartAllStreamingJobsResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartAllStreamingJobsResult): StartAllStreamingJobsResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* repeated string IDs = 1 [json_name = "IDs"];*/ 1:
                    message.iDs.push(reader.string());
                    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: StartAllStreamingJobsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* repeated string IDs = 1 [json_name = "IDs"]; */
        for (let i = 0; i < message.iDs.length; i++)
            writer.tag(1, WireType.LengthDelimited).string(message.iDs[i]);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StartAllStreamingJobsResult
 */
export const StartAllStreamingJobsResult = new StartAllStreamingJobsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ForceStopAllStreamingJobsRequest$Type extends MessageType<ForceStopAllStreamingJobsRequest> {
    constructor() {
        super("api.ForceStopAllStreamingJobsRequest", []);
    }
    create(value?: PartialMessage<ForceStopAllStreamingJobsRequest>): ForceStopAllStreamingJobsRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<ForceStopAllStreamingJobsRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ForceStopAllStreamingJobsRequest): ForceStopAllStreamingJobsRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: ForceStopAllStreamingJobsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.ForceStopAllStreamingJobsRequest
 */
export const ForceStopAllStreamingJobsRequest = new ForceStopAllStreamingJobsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ForceStopAllStreamingJobsResult$Type extends MessageType<ForceStopAllStreamingJobsResult> {
    constructor() {
        super("api.ForceStopAllStreamingJobsResult", [
            { no: 1, name: "IDs", kind: "scalar", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<ForceStopAllStreamingJobsResult>): ForceStopAllStreamingJobsResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iDs = [];
        if (value !== undefined)
            reflectionMergePartial<ForceStopAllStreamingJobsResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ForceStopAllStreamingJobsResult): ForceStopAllStreamingJobsResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* repeated string IDs = 1 [json_name = "IDs"];*/ 1:
                    message.iDs.push(reader.string());
                    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: ForceStopAllStreamingJobsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* repeated string IDs = 1 [json_name = "IDs"]; */
        for (let i = 0; i < message.iDs.length; i++)
            writer.tag(1, WireType.LengthDelimited).string(message.iDs[i]);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.ForceStopAllStreamingJobsResult
 */
export const ForceStopAllStreamingJobsResult = new ForceStopAllStreamingJobsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartStreamingMetricsJobRequest$Type extends MessageType<StartStreamingMetricsJobRequest> {
    constructor() {
        super("api.StartStreamingMetricsJobRequest", []);
    }
    create(value?: PartialMessage<StartStreamingMetricsJobRequest>): StartStreamingMetricsJobRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<StartStreamingMetricsJobRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartStreamingMetricsJobRequest): StartStreamingMetricsJobRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: StartStreamingMetricsJobRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StartStreamingMetricsJobRequest
 */
export const StartStreamingMetricsJobRequest = new StartStreamingMetricsJobRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StartStreamingMetricsJobResult$Type extends MessageType<StartStreamingMetricsJobResult> {
    constructor() {
        super("api.StartStreamingMetricsJobResult", []);
    }
    create(value?: PartialMessage<StartStreamingMetricsJobResult>): StartStreamingMetricsJobResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<StartStreamingMetricsJobResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartStreamingMetricsJobResult): StartStreamingMetricsJobResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: StartStreamingMetricsJobResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StartStreamingMetricsJobResult
 */
export const StartStreamingMetricsJobResult = new StartStreamingMetricsJobResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopStreamingMetricsJobRequest$Type extends MessageType<StopStreamingMetricsJobRequest> {
    constructor() {
        super("api.StopStreamingMetricsJobRequest", []);
    }
    create(value?: PartialMessage<StopStreamingMetricsJobRequest>): StopStreamingMetricsJobRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<StopStreamingMetricsJobRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopStreamingMetricsJobRequest): StopStreamingMetricsJobRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: StopStreamingMetricsJobRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StopStreamingMetricsJobRequest
 */
export const StopStreamingMetricsJobRequest = new StopStreamingMetricsJobRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StopStreamingMetricsJobResult$Type extends MessageType<StopStreamingMetricsJobResult> {
    constructor() {
        super("api.StopStreamingMetricsJobResult", []);
    }
    create(value?: PartialMessage<StopStreamingMetricsJobResult>): StopStreamingMetricsJobResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<StopStreamingMetricsJobResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StopStreamingMetricsJobResult): StopStreamingMetricsJobResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: StopStreamingMetricsJobResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.StopStreamingMetricsJobResult
 */
export const StopStreamingMetricsJobResult = new StopStreamingMetricsJobResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CheckStreamingStatusRequest$Type extends MessageType<CheckStreamingStatusRequest> {
    constructor() {
        super("api.CheckStreamingStatusRequest", [
            { no: 4, name: "OrgID", kind: "scalar", jsonName: "OrgID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ]);
    }
    create(value?: PartialMessage<CheckStreamingStatusRequest>): CheckStreamingStatusRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.orgID = "";
        if (value !== undefined)
            reflectionMergePartial<CheckStreamingStatusRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckStreamingStatusRequest): CheckStreamingStatusRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrgID = 4 [json_name = "OrgID"];*/ 4:
                    message.orgID = reader.string();
                    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: CheckStreamingStatusRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrgID = 4 [json_name = "OrgID"]; */
        if (message.orgID !== "")
            writer.tag(4, WireType.LengthDelimited).string(message.orgID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CheckStreamingStatusRequest
 */
export const CheckStreamingStatusRequest = new CheckStreamingStatusRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CheckStreamingStatusResult$Type extends MessageType<CheckStreamingStatusResult> {
    constructor() {
        super("api.CheckStreamingStatusResult", []);
    }
    create(value?: PartialMessage<CheckStreamingStatusResult>): CheckStreamingStatusResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<CheckStreamingStatusResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CheckStreamingStatusResult): CheckStreamingStatusResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: CheckStreamingStatusResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CheckStreamingStatusResult
 */
export const CheckStreamingStatusResult = new CheckStreamingStatusResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ProvisionGitOrgRequest$Type extends MessageType<ProvisionGitOrgRequest> {
    constructor() {
        super("api.ProvisionGitOrgRequest", [
            { no: 1, name: "OrgID", kind: "scalar", jsonName: "OrgID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 2, name: "ManagerMail", kind: "scalar", jsonName: "ManagerMail", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { email: true } } } }
        ]);
    }
    create(value?: PartialMessage<ProvisionGitOrgRequest>): ProvisionGitOrgRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.orgID = "";
        message.managerMail = "";
        if (value !== undefined)
            reflectionMergePartial<ProvisionGitOrgRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProvisionGitOrgRequest): ProvisionGitOrgRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrgID = 1 [json_name = "OrgID"];*/ 1:
                    message.orgID = reader.string();
                    break;
                case /* string ManagerMail = 2 [json_name = "ManagerMail"];*/ 2:
                    message.managerMail = reader.string();
                    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: ProvisionGitOrgRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrgID = 1 [json_name = "OrgID"]; */
        if (message.orgID !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.orgID);
        /* string ManagerMail = 2 [json_name = "ManagerMail"]; */
        if (message.managerMail !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.managerMail);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.ProvisionGitOrgRequest
 */
export const ProvisionGitOrgRequest = new ProvisionGitOrgRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ProvisionGitOrgResult$Type extends MessageType<ProvisionGitOrgResult> {
    constructor() {
        super("api.ProvisionGitOrgResult", []);
    }
    create(value?: PartialMessage<ProvisionGitOrgResult>): ProvisionGitOrgResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<ProvisionGitOrgResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProvisionGitOrgResult): ProvisionGitOrgResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: ProvisionGitOrgResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.ProvisionGitOrgResult
 */
export const ProvisionGitOrgResult = new ProvisionGitOrgResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeprovisionGitOrgRequest$Type extends MessageType<DeprovisionGitOrgRequest> {
    constructor() {
        super("api.DeprovisionGitOrgRequest", [
            { no: 1, name: "OrgID", kind: "scalar", jsonName: "OrgID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrgID"] } } });
    }
    create(value?: PartialMessage<DeprovisionGitOrgRequest>): DeprovisionGitOrgRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.orgID = "";
        if (value !== undefined)
            reflectionMergePartial<DeprovisionGitOrgRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeprovisionGitOrgRequest): DeprovisionGitOrgRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrgID = 1 [json_name = "OrgID"];*/ 1:
                    message.orgID = reader.string();
                    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: DeprovisionGitOrgRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrgID = 1 [json_name = "OrgID"]; */
        if (message.orgID !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.orgID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.DeprovisionGitOrgRequest
 */
export const DeprovisionGitOrgRequest = new DeprovisionGitOrgRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeprovisionGitOrgResult$Type extends MessageType<DeprovisionGitOrgResult> {
    constructor() {
        super("api.DeprovisionGitOrgResult", []);
    }
    create(value?: PartialMessage<DeprovisionGitOrgResult>): DeprovisionGitOrgResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<DeprovisionGitOrgResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeprovisionGitOrgResult): DeprovisionGitOrgResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: DeprovisionGitOrgResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.DeprovisionGitOrgResult
 */
export const DeprovisionGitOrgResult = new DeprovisionGitOrgResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreatePulsarRequest$Type extends MessageType<CreatePulsarRequest> {
    constructor() {
        super("api.CreatePulsarRequest", [
            { no: 2, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
            { no: 3, name: "CreateSubscriptions", kind: "scalar", jsonName: "CreateSubscriptions", T: 8 /*ScalarType.BOOL*/ }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId"] } } });
    }
    create(value?: PartialMessage<CreatePulsarRequest>): CreatePulsarRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.organisationID = "";
        message.createSubscriptions = false;
        if (value !== undefined)
            reflectionMergePartial<CreatePulsarRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePulsarRequest): CreatePulsarRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrganisationID = 2 [json_name = "OrganisationID"];*/ 2:
                    message.organisationID = reader.string();
                    break;
                case /* bool CreateSubscriptions = 3 [json_name = "CreateSubscriptions"];*/ 3:
                    message.createSubscriptions = reader.bool();
                    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: CreatePulsarRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrganisationID = 2 [json_name = "OrganisationID"]; */
        if (message.organisationID !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.organisationID);
        /* bool CreateSubscriptions = 3 [json_name = "CreateSubscriptions"]; */
        if (message.createSubscriptions !== false)
            writer.tag(3, WireType.Varint).bool(message.createSubscriptions);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CreatePulsarRequest
 */
export const CreatePulsarRequest = new CreatePulsarRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreatePulsarSubscriptionsRequest$Type extends MessageType<CreatePulsarSubscriptionsRequest> {
    constructor() {
        super("api.CreatePulsarSubscriptionsRequest", [
            { no: 2, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId"] } } });
    }
    create(value?: PartialMessage<CreatePulsarSubscriptionsRequest>): CreatePulsarSubscriptionsRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.organisationID = "";
        if (value !== undefined)
            reflectionMergePartial<CreatePulsarSubscriptionsRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePulsarSubscriptionsRequest): CreatePulsarSubscriptionsRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrganisationID = 2 [json_name = "OrganisationID"];*/ 2:
                    message.organisationID = reader.string();
                    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: CreatePulsarSubscriptionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrganisationID = 2 [json_name = "OrganisationID"]; */
        if (message.organisationID !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.organisationID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CreatePulsarSubscriptionsRequest
 */
export const CreatePulsarSubscriptionsRequest = new CreatePulsarSubscriptionsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreatePulsarMissPartitionsRequest$Type extends MessageType<CreatePulsarMissPartitionsRequest> {
    constructor() {
        super("api.CreatePulsarMissPartitionsRequest", [
            { no: 1, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId"] } } });
    }
    create(value?: PartialMessage<CreatePulsarMissPartitionsRequest>): CreatePulsarMissPartitionsRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.organisationID = "";
        if (value !== undefined)
            reflectionMergePartial<CreatePulsarMissPartitionsRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePulsarMissPartitionsRequest): CreatePulsarMissPartitionsRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrganisationID = 1 [json_name = "OrganisationID"];*/ 1:
                    message.organisationID = reader.string();
                    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: CreatePulsarMissPartitionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrganisationID = 1 [json_name = "OrganisationID"]; */
        if (message.organisationID !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.organisationID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CreatePulsarMissPartitionsRequest
 */
export const CreatePulsarMissPartitionsRequest = new CreatePulsarMissPartitionsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreatePulsarResult$Type extends MessageType<CreatePulsarResult> {
    constructor() {
        super("api.CreatePulsarResult", [
            { no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/ }
        ]);
    }
    create(value?: PartialMessage<CreatePulsarResult>): CreatePulsarResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.iD = "";
        if (value !== undefined)
            reflectionMergePartial<CreatePulsarResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePulsarResult): CreatePulsarResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string ID = 1 [json_name = "ID"];*/ 1:
                    message.iD = reader.string();
                    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: CreatePulsarResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string ID = 1 [json_name = "ID"]; */
        if (message.iD !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.iD);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CreatePulsarResult
 */
export const CreatePulsarResult = new CreatePulsarResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreatePulsarSubscriptionsResult$Type extends MessageType<CreatePulsarSubscriptionsResult> {
    constructor() {
        super("api.CreatePulsarSubscriptionsResult", []);
    }
    create(value?: PartialMessage<CreatePulsarSubscriptionsResult>): CreatePulsarSubscriptionsResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<CreatePulsarSubscriptionsResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePulsarSubscriptionsResult): CreatePulsarSubscriptionsResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: CreatePulsarSubscriptionsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CreatePulsarSubscriptionsResult
 */
export const CreatePulsarSubscriptionsResult = new CreatePulsarSubscriptionsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreatePulsarMissPartitionsResult$Type extends MessageType<CreatePulsarMissPartitionsResult> {
    constructor() {
        super("api.CreatePulsarMissPartitionsResult", []);
    }
    create(value?: PartialMessage<CreatePulsarMissPartitionsResult>): CreatePulsarMissPartitionsResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<CreatePulsarMissPartitionsResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreatePulsarMissPartitionsResult): CreatePulsarMissPartitionsResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: CreatePulsarMissPartitionsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CreatePulsarMissPartitionsResult
 */
export const CreatePulsarMissPartitionsResult = new CreatePulsarMissPartitionsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreateAllPulsarMissPartitionsRequest$Type extends MessageType<CreateAllPulsarMissPartitionsRequest> {
    constructor() {
        super("api.CreateAllPulsarMissPartitionsRequest", []);
    }
    create(value?: PartialMessage<CreateAllPulsarMissPartitionsRequest>): CreateAllPulsarMissPartitionsRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<CreateAllPulsarMissPartitionsRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateAllPulsarMissPartitionsRequest): CreateAllPulsarMissPartitionsRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: CreateAllPulsarMissPartitionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CreateAllPulsarMissPartitionsRequest
 */
export const CreateAllPulsarMissPartitionsRequest = new CreateAllPulsarMissPartitionsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class CreateAllPulsarMissPartitionsResult$Type extends MessageType<CreateAllPulsarMissPartitionsResult> {
    constructor() {
        super("api.CreateAllPulsarMissPartitionsResult", []);
    }
    create(value?: PartialMessage<CreateAllPulsarMissPartitionsResult>): CreateAllPulsarMissPartitionsResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<CreateAllPulsarMissPartitionsResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateAllPulsarMissPartitionsResult): CreateAllPulsarMissPartitionsResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: CreateAllPulsarMissPartitionsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.CreateAllPulsarMissPartitionsResult
 */
export const CreateAllPulsarMissPartitionsResult = new CreateAllPulsarMissPartitionsResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeletePulsarRequest$Type extends MessageType<DeletePulsarRequest> {
    constructor() {
        super("api.DeletePulsarRequest", [
            { no: 2, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationId"] } } });
    }
    create(value?: PartialMessage<DeletePulsarRequest>): DeletePulsarRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.organisationID = "";
        if (value !== undefined)
            reflectionMergePartial<DeletePulsarRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeletePulsarRequest): DeletePulsarRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrganisationID = 2 [json_name = "OrganisationID"];*/ 2:
                    message.organisationID = reader.string();
                    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: DeletePulsarRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrganisationID = 2 [json_name = "OrganisationID"]; */
        if (message.organisationID !== "")
            writer.tag(2, WireType.LengthDelimited).string(message.organisationID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.DeletePulsarRequest
 */
export const DeletePulsarRequest = new DeletePulsarRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeletePulsarResult$Type extends MessageType<DeletePulsarResult> {
    constructor() {
        super("api.DeletePulsarResult", []);
    }
    create(value?: PartialMessage<DeletePulsarResult>): DeletePulsarResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<DeletePulsarResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeletePulsarResult): DeletePulsarResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: DeletePulsarResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.DeletePulsarResult
 */
export const DeletePulsarResult = new DeletePulsarResult$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteOrganisationInDBRequest$Type extends MessageType<DeleteOrganisationInDBRequest> {
    constructor() {
        super("api.DeleteOrganisationInDBRequest", [
            { no: 1, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
        ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID"] } } });
    }
    create(value?: PartialMessage<DeleteOrganisationInDBRequest>): DeleteOrganisationInDBRequest {
        const message = globalThis.Object.create((this.messagePrototype!));
        message.organisationID = "";
        if (value !== undefined)
            reflectionMergePartial<DeleteOrganisationInDBRequest>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteOrganisationInDBRequest): DeleteOrganisationInDBRequest {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                case /* string OrganisationID = 1 [json_name = "OrganisationID"];*/ 1:
                    message.organisationID = reader.string();
                    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: DeleteOrganisationInDBRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        /* string OrganisationID = 1 [json_name = "OrganisationID"]; */
        if (message.organisationID !== "")
            writer.tag(1, WireType.LengthDelimited).string(message.organisationID);
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.DeleteOrganisationInDBRequest
 */
export const DeleteOrganisationInDBRequest = new DeleteOrganisationInDBRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class DeleteOrganisationInDBResult$Type extends MessageType<DeleteOrganisationInDBResult> {
    constructor() {
        super("api.DeleteOrganisationInDBResult", []);
    }
    create(value?: PartialMessage<DeleteOrganisationInDBResult>): DeleteOrganisationInDBResult {
        const message = globalThis.Object.create((this.messagePrototype!));
        if (value !== undefined)
            reflectionMergePartial<DeleteOrganisationInDBResult>(this, message, value);
        return message;
    }
    internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteOrganisationInDBResult): DeleteOrganisationInDBResult {
        let message = target ?? this.create(), end = reader.pos + length;
        while (reader.pos < end) {
            let [fieldNo, wireType] = reader.tag();
            switch (fieldNo) {
                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: DeleteOrganisationInDBResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
        let u = options.writeUnknownFields;
        if (u !== false)
            (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
        return writer;
    }
}
/**
 * @generated MessageType for protobuf message api.DeleteOrganisationInDBResult
 */
export const DeleteOrganisationInDBResult = new DeleteOrganisationInDBResult$Type();
/**
 * @generated ServiceType for protobuf service api.OrganisationService
 */
export const OrganisationService = new ServiceType("api.OrganisationService", [
    { name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Get" }, "api.rscType": "Organisation", "api.roles": "Platform.Organisation", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetOrganisationRequest, O: GetOrganisationResult },
    { name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Create" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateOrganisationRequest, O: CreateOrganisationResult },
    { name: "SetModules", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Set the modules of an organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SetModulesOrganisationRequest, O: SetModulesOrganisationResult },
    { name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Update" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateOrganisationRequest, O: UpdateOrganisationResult },
    { name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Delete" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteOrganisationRequest, O: DeleteOrganisationResult },
    { name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "List" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ListOrganisationRequest, O: ListOrganisationResult },
    { name: "UpdateStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Set the new status for the organisation" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Status", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateOrganisationStatusRequest, O: UpdateOrganisationStatusResult },
    { name: "StartStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start streaming jobs for the organisation and set the status RUNNING" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartStreamingJobsRequest, O: StartStreamingJobsResult },
    { name: "StopStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop gracefully streaming jobs for the organisation and set the status STOPPED" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopStreamingJobsRequest, O: StopStreamingJobsResult },
    { name: "CheckStreamingStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Check status for all jobs for a organisation.\nIf organisation has status RUNNING and some jobs are not started the new organisation status is set to PARTIALLY_RUNNING.\nIf organisation has status STOPPED and some jobs are not stopped the new organisation status is set to PARTIALLY_STOPPED" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CheckStreamingStatusRequest, O: CheckStreamingStatusResult },
    { name: "StopAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop gracefully all jobs for all Organisations with RUNNING status in the platform. For each Organisation set the PAUSE status" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopAllStreamingJobsRequest, O: StopAllStreamingJobsResult },
    { name: "RestartAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Restart all jobs not started for all organisations with RUNNING or PARTIALLY_RUNNING status in the platform. For each organisation set the Organisation status to RUNNING" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: RestartAllStreamingJobsRequest, O: RestartAllStreamingJobsResult },
    { name: "StartAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start all jobs for all organisations. For each organisation set the Organisation status to RUNNING" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartAllStreamingJobsRequest, O: StartAllStreamingJobsResult },
    { name: "ForceStopAllStreamingJobs", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop all jobs for all organisations with STOPPED or PARTIALLY_STOPPED status in the platform. For each organisation set the status STOPPED" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ForceStopAllStreamingJobsRequest, O: ForceStopAllStreamingJobsResult },
    { name: "StartStreamingMetricsJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start metrics job for the platform" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartStreamingMetricsJobRequest, O: StartStreamingMetricsJobResult },
    { name: "StopStreamingMetricsJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop metrics job for the platform" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopStreamingMetricsJobRequest, O: StopStreamingMetricsJobResult },
    { name: "StartIndividualStreamingJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Start one streaming job for the organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartIndividualStreamingJobRequest, O: StartIndividualStreamingJobResult },
    { name: "StopIndividualStreamingJob", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Streaming"], description: "Stop one streaming job for the organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StopIndividualStreamingJobRequest, O: StopIndividualStreamingJobResult },
    { name: "ProvisionGitOrg", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Provision a git organisation " }, "api.rscType": "Platform", "api.roles": "Platform.Gitea", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ProvisionGitOrgRequest, O: ProvisionGitOrgResult },
    { name: "DeprovisionGitOrg", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Deprovision a git organisation " }, "api.rscType": "Platform", "api.roles": "Platform.Gitea", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeprovisionGitOrgRequest, O: DeprovisionGitOrgResult },
    { name: "CreatePulsar", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Create Pulsar resources (topics and subscriptions) in connection with the organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreatePulsarRequest, O: CreatePulsarResult },
    { name: "CreatePulsarSubscriptions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Create Pulsar subsciptions to the topics in connection with the organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreatePulsarSubscriptionsRequest, O: CreatePulsarSubscriptionsResult },
    { name: "DeletePulsar", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Delete Pulsar resources in connection with the organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeletePulsarRequest, O: DeletePulsarResult },
    { name: "CreatePulsarMissPartitions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Fix Pulsar miss topics partitions in connection with the organisation" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreatePulsarMissPartitionsRequest, O: CreatePulsarMissPartitionsResult },
    { name: "CreateAllPulsarMissPartitions", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Fix Pulsar miss topics partitions for all organisations" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateAllPulsarMissPartitionsRequest, O: CreateAllPulsarMissPartitionsResult },
    { name: "DeleteOrganisationInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Organisation"], description: "Delete the organisation in database" }, "api.rscType": "Platform", "api.roles": "Platform.Organisation-Deletion", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteOrganisationInDBRequest, O: DeleteOrganisationInDBResult }
], { "api.k8sService": "organisation-server", "api.roleManager": true, "api.resourceManager": true });
