// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "executionflowInput.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 { AppointmentSummary } from "./shared"; import { ClaimSummary } from "./shared"; import { AttachmentSummary } from "./shared"; import { ETA } from "./tradeShared"; import { ETAbyHU } from "./tradeShared"; import { HandlingunitSummary } from "./warehousingShared"; import { ResponseHeader } from "./shared"; import { RequestProjectHeader } from "./shared"; import { EntityID } from "./shared"; import { EventHeader } from "./shared"; import { ExeFlowLine } from "./tradeShared"; import { OrderRequestedMilestones } from "./tradeShared"; import { TradeTier } from "./tradeShared"; import { MetadataElement } from "./shared"; import { DateTime } from "./shared"; // // This message is coming from the OMS to initiate the information of the executionFlow // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowCreatedPayload */ export interface ExecutionflowCreatedPayload { /** * @generated from protobuf field: api.DateTime CreationDateTime = 1 */ CreationDateTime?: DateTime; /** * @generated from protobuf field: string OrderID = 2 */ OrderID: string; /** * Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp) * * @generated from protobuf field: repeated api.MetadataElement MetaData = 3 */ MetaData: MetadataElement[]; /** * Where to ship the order from * * @generated from protobuf field: api.TradeTier ShipFrom = 4 */ ShipFrom?: TradeTier; /** * Where to ship the order to * * @generated from protobuf field: api.TradeTier ShipTo = 5 */ ShipTo?: TradeTier; /** * Definition of the order carrier * * @generated from protobuf field: api.TradeTier Carrier = 6 */ Carrier?: TradeTier; /** * Type of carrier service * * @generated from protobuf field: string CarrierService = 7 */ CarrierService: string; /** * @generated from protobuf field: api.OrderRequestedMilestones RequestedMilestones = 8 */ RequestedMilestones?: OrderRequestedMilestones; /** * Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods * * @generated from protobuf field: repeated api.ExeFlowLine Lines = 9 */ Lines: ExeFlowLine[]; } /** * @generated from protobuf message api.ExecutionflowCreatedEvent */ export interface ExecutionflowCreatedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCreatedPayload Payload = 3 */ Payload?: ExecutionflowCreatedPayload; } /** * @generated from protobuf message api.ExecutionflowCreatedRequest */ export interface ExecutionflowCreatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCreatedPayload Payload = 3 */ Payload?: ExecutionflowCreatedPayload; } /** * @generated from protobuf message api.ExecutionflowCreatedResponse */ export interface ExecutionflowCreatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // This message is coming from a shipFrom or ShipTo WMS to initiate an non-expected executionFlow // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowDetectedPayload */ export interface ExecutionflowDetectedPayload { /** * @generated from protobuf field: api.DateTime CreationDateTime = 1 */ CreationDateTime?: DateTime; /** * @generated from protobuf field: string OrderID = 2 */ OrderID: string; /** * Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp) * * @generated from protobuf field: repeated api.MetadataElement MetaData = 3 */ MetaData: MetadataElement[]; /** * Where to ship the order from * * @generated from protobuf field: api.TradeTier ShipFrom = 4 */ ShipFrom?: TradeTier; /** * Where to ship the order to * * @generated from protobuf field: api.TradeTier ShipTo = 5 */ ShipTo?: TradeTier; /** * Definition of the order carrier * * @generated from protobuf field: api.TradeTier Carrier = 6 */ Carrier?: TradeTier; /** * Type of carrier service * * @generated from protobuf field: string CarrierService = 7 */ CarrierService: string; /** * @generated from protobuf field: api.OrderRequestedMilestones RequestedMilestones = 8 */ RequestedMilestones?: OrderRequestedMilestones; /** * Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods * * @generated from protobuf field: repeated api.ExeFlowLine Lines = 9 */ Lines: ExeFlowLine[]; /** * @generated from protobuf field: bool ShipFromAcked = 14 */ ShipFromAcked: boolean; /** * @generated from protobuf field: bool ShipToAcked = 15 */ ShipToAcked: boolean; } /** * @generated from protobuf message api.ExecutionflowDetectedEvent */ export interface ExecutionflowDetectedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowDetectedPayload Payload = 3 */ Payload?: ExecutionflowDetectedPayload; } /** * @generated from protobuf message api.ExecutionflowDetectedRequest */ export interface ExecutionflowDetectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowDetectedPayload Payload = 3 */ Payload?: ExecutionflowDetectedPayload; } /** * @generated from protobuf message api.ExecutionflowDetectedResponse */ export interface ExecutionflowDetectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // This message has to be called manually to re-create the order associated to the executionflow // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowRedetectedPayload */ export interface ExecutionflowRedetectedPayload { } /** * @generated from protobuf message api.ExecutionflowRedetectedEvent */ export interface ExecutionflowRedetectedEvent { /** * option (postAggMethods) = ""; // Here are listed the post aggregation methods to call when event message is aggregated * option (preAggMethods) = ""; // Here are listed the pre aggregation methods to call before event message is aggregated * * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowRedetectedPayload Payload = 3 */ Payload?: ExecutionflowRedetectedPayload; } /** * @generated from protobuf message api.ExecutionflowRedetectedRequest */ export interface ExecutionflowRedetectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowRedetectedPayload Payload = 3 */ Payload?: ExecutionflowRedetectedPayload; } /** * @generated from protobuf message api.ExecutionflowRedetectedResponse */ export interface ExecutionflowRedetectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // This message is coming from a shipFrom WMS to ack the executionflow. // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowShipFromAckedPayload */ export interface ExecutionflowShipFromAckedPayload { /** * @generated from protobuf field: bool ShipFromAcked = 1 */ ShipFromAcked: boolean; } /** * @generated from protobuf message api.ExecutionflowShipFromAckedEvent */ export interface ExecutionflowShipFromAckedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowShipFromAckedPayload Payload = 3 */ Payload?: ExecutionflowShipFromAckedPayload; } /** * @generated from protobuf message api.ExecutionflowShipFromAckedRequest */ export interface ExecutionflowShipFromAckedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowShipFromAckedPayload Payload = 3 */ Payload?: ExecutionflowShipFromAckedPayload; } /** * @generated from protobuf message api.ExecutionflowShipFromAckedResponse */ export interface ExecutionflowShipFromAckedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // This message is coming from a shipTo WMS to ack the executionflow. // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowShipToAckedPayload */ export interface ExecutionflowShipToAckedPayload { /** * @generated from protobuf field: bool ShipToAcked = 1 */ ShipToAcked: boolean; } /** * @generated from protobuf message api.ExecutionflowShipToAckedEvent */ export interface ExecutionflowShipToAckedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowShipToAckedPayload Payload = 3 */ Payload?: ExecutionflowShipToAckedPayload; } /** * @generated from protobuf message api.ExecutionflowShipToAckedRequest */ export interface ExecutionflowShipToAckedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowShipToAckedPayload Payload = 3 */ Payload?: ExecutionflowShipToAckedPayload; } /** * @generated from protobuf message api.ExecutionflowShipToAckedResponse */ export interface ExecutionflowShipToAckedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // ExecutionFlow is deleted when the parent order is ended. // // Mainly used to clean the flink state // // Comments updated 2021/02/17 /** * @generated from protobuf message api.ExecutionflowCancelledPayload */ export interface ExecutionflowCancelledPayload { } /** * @generated from protobuf message api.ExecutionflowCancelledEvent */ export interface ExecutionflowCancelledEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCancelledPayload Payload = 3 */ Payload?: ExecutionflowCancelledPayload; } /** * @generated from protobuf message api.ExecutionflowCancelledRequest */ export interface ExecutionflowCancelledRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCancelledPayload Payload = 3 */ Payload?: ExecutionflowCancelledPayload; } /** * @generated from protobuf message api.ExecutionflowCancelledResponse */ export interface ExecutionflowCancelledResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * @generated from protobuf message api.ExecutionflowAnonymisedPayload */ export interface ExecutionflowAnonymisedPayload { } /** * @generated from protobuf message api.ExecutionflowAnonymisedEvent */ export interface ExecutionflowAnonymisedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAnonymisedPayload Payload = 3 */ Payload?: ExecutionflowAnonymisedPayload; } /** * @generated from protobuf message api.ExecutionflowAnonymisedRequest */ export interface ExecutionflowAnonymisedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAnonymisedPayload Payload = 3 */ Payload?: ExecutionflowAnonymisedPayload; } /** * @generated from protobuf message api.ExecutionflowAnonymisedResponse */ export interface ExecutionflowAnonymisedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // ExecutionflowCompleted /** * @generated from protobuf message api.ExecutionflowCompletedPayload */ export interface ExecutionflowCompletedPayload { } /** * @generated from protobuf message api.ExecutionflowCompletedEvent */ export interface ExecutionflowCompletedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCompletedPayload Payload = 3 */ Payload?: ExecutionflowCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowCompletedRequest */ export interface ExecutionflowCompletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCompletedPayload Payload = 3 */ Payload?: ExecutionflowCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowCompletedResponse */ export interface ExecutionflowCompletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // HUContentUpdated // - Inform the executionflow about the handlingunit content. // - Update the handlingunit goods status with tracking. /** * @generated from protobuf message api.ExecutionflowHUContentUpdatedPayload */ export interface ExecutionflowHUContentUpdatedPayload { /** * @generated from protobuf field: repeated api.HandlingunitSummary Handlingunits = 1 */ Handlingunits: HandlingunitSummary[]; } /** * @generated from protobuf message api.ExecutionflowHUContentUpdatedEvent */ export interface ExecutionflowHUContentUpdatedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowHUContentUpdatedPayload Payload = 3 */ Payload?: ExecutionflowHUContentUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowHUContentUpdatedRequest */ export interface ExecutionflowHUContentUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowHUContentUpdatedPayload Payload = 3 */ Payload?: ExecutionflowHUContentUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowHUContentUpdatedResponse */ export interface ExecutionflowHUContentUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * * HUTrackingUpdated * - Inform the executionflow about the handlingunit tracking status. * - Update the handlingunit goods status with tracking. * * @generated from protobuf message api.ExecutionflowHUTrackingUpdatedPayload */ export interface ExecutionflowHUTrackingUpdatedPayload { /** * @generated from protobuf field: repeated api.HandlingunitSummary Handlingunits = 1 */ Handlingunits: HandlingunitSummary[]; } /** * @generated from protobuf message api.ExecutionflowHUTrackingUpdatedEvent */ export interface ExecutionflowHUTrackingUpdatedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowHUTrackingUpdatedPayload Payload = 3 */ Payload?: ExecutionflowHUTrackingUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowHUTrackingUpdatedRequest */ export interface ExecutionflowHUTrackingUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowHUTrackingUpdatedPayload Payload = 3 */ Payload?: ExecutionflowHUTrackingUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowHUTrackingUpdatedResponse */ export interface ExecutionflowHUTrackingUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * * HUETAUpdated * - Inform the executionflow about the handlingunit ETAs updated. * * Comments updated 2024/01/09 * * @generated from protobuf message api.ExecutionflowHUETAUpdatedPayload */ export interface ExecutionflowHUETAUpdatedPayload { /** * @generated from protobuf field: repeated api.ETAbyHU HandlingunitETAs = 1 */ HandlingunitETAs: ETAbyHU[]; } /** * @generated from protobuf message api.ExecutionflowHUETAUpdatedEvent */ export interface ExecutionflowHUETAUpdatedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowHUETAUpdatedPayload Payload = 3 */ Payload?: ExecutionflowHUETAUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowHUETAUpdatedRequest */ export interface ExecutionflowHUETAUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowHUETAUpdatedPayload Payload = 3 */ Payload?: ExecutionflowHUETAUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowHUETAUpdatedResponse */ export interface ExecutionflowHUETAUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * * ETAUpdated * - Inform the executionflow about the ETA updated directly on the executionflow * * Comments updated 2024/01/09 * * @generated from protobuf message api.ExecutionflowETAUpdatedPayload */ export interface ExecutionflowETAUpdatedPayload { /** * The ETA for the executionflow as given by WMS. this ETA will be aggregated with those coming from HUs * * @generated from protobuf field: api.ETA ExecutionflowETA = 1 */ ExecutionflowETA?: ETA; } /** * @generated from protobuf message api.ExecutionflowETAUpdatedEvent */ export interface ExecutionflowETAUpdatedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowETAUpdatedPayload Payload = 3 */ Payload?: ExecutionflowETAUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowETAUpdatedRequest */ export interface ExecutionflowETAUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowETAUpdatedPayload Payload = 3 */ Payload?: ExecutionflowETAUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowETAUpdatedResponse */ export interface ExecutionflowETAUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // An error occured on Allocation. This is typically called from an WMS when the something wrong happens on the executionflow // No payload // // Comments updated 2024/02/27 /** * @generated from protobuf message api.ExecutionflowAllocationErrorPayload */ export interface ExecutionflowAllocationErrorPayload { } /** * @generated from protobuf message api.ExecutionflowAllocationErrorEvent */ export interface ExecutionflowAllocationErrorEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAllocationErrorPayload Payload = 3 */ Payload?: ExecutionflowAllocationErrorPayload; } /** * @generated from protobuf message api.ExecutionflowAllocationErrorRequest */ export interface ExecutionflowAllocationErrorRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAllocationErrorPayload Payload = 3 */ Payload?: ExecutionflowAllocationErrorPayload; } /** * @generated from protobuf message api.ExecutionflowAllocationErrorResponse */ export interface ExecutionflowAllocationErrorResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // Preparation is expected on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation to be done /** * @generated from protobuf message api.ExecutionflowPreparationExpectedPayload */ export interface ExecutionflowPreparationExpectedPayload { } /** * @generated from protobuf message api.ExecutionflowPreparationExpectedEvent */ export interface ExecutionflowPreparationExpectedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowPreparationExpectedPayload Payload = 3 */ Payload?: ExecutionflowPreparationExpectedPayload; } /** * @generated from protobuf message api.ExecutionflowPreparationExpectedRequest */ export interface ExecutionflowPreparationExpectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowPreparationExpectedPayload Payload = 3 */ Payload?: ExecutionflowPreparationExpectedPayload; } /** * @generated from protobuf message api.ExecutionflowPreparationExpectedResponse */ export interface ExecutionflowPreparationExpectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // Preparation has started on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation to be done // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowPreparationStartedPayload */ export interface ExecutionflowPreparationStartedPayload { } /** * @generated from protobuf message api.ExecutionflowPreparationStartedEvent */ export interface ExecutionflowPreparationStartedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowPreparationStartedPayload Payload = 3 */ Payload?: ExecutionflowPreparationStartedPayload; } /** * @generated from protobuf message api.ExecutionflowPreparationStartedRequest */ export interface ExecutionflowPreparationStartedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowPreparationStartedPayload Payload = 3 */ Payload?: ExecutionflowPreparationStartedPayload; } /** * @generated from protobuf message api.ExecutionflowPreparationStartedResponse */ export interface ExecutionflowPreparationStartedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // Preparation is completed on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowPreparationCompletedPayload */ export interface ExecutionflowPreparationCompletedPayload { } /** * @generated from protobuf message api.ExecutionflowPreparationCompletedEvent */ export interface ExecutionflowPreparationCompletedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowPreparationCompletedPayload Payload = 3 */ Payload?: ExecutionflowPreparationCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowPreparationCompletedRequest */ export interface ExecutionflowPreparationCompletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowPreparationCompletedPayload Payload = 3 */ Payload?: ExecutionflowPreparationCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowPreparationCompletedResponse */ export interface ExecutionflowPreparationCompletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // Transport is expected on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation to be done /** * @generated from protobuf message api.ExecutionflowTransportExpectedPayload */ export interface ExecutionflowTransportExpectedPayload { } /** * @generated from protobuf message api.ExecutionflowTransportExpectedEvent */ export interface ExecutionflowTransportExpectedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowTransportExpectedPayload Payload = 3 */ Payload?: ExecutionflowTransportExpectedPayload; } /** * @generated from protobuf message api.ExecutionflowTransportExpectedRequest */ export interface ExecutionflowTransportExpectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowTransportExpectedPayload Payload = 3 */ Payload?: ExecutionflowTransportExpectedPayload; } /** * @generated from protobuf message api.ExecutionflowTransportExpectedResponse */ export interface ExecutionflowTransportExpectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // Transport has started on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation to be done // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowTransportStartedPayload */ export interface ExecutionflowTransportStartedPayload { } /** * @generated from protobuf message api.ExecutionflowTransportStartedEvent */ export interface ExecutionflowTransportStartedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowTransportStartedPayload Payload = 3 */ Payload?: ExecutionflowTransportStartedPayload; } /** * @generated from protobuf message api.ExecutionflowTransportStartedRequest */ export interface ExecutionflowTransportStartedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowTransportStartedPayload Payload = 3 */ Payload?: ExecutionflowTransportStartedPayload; } /** * @generated from protobuf message api.ExecutionflowTransportStartedResponse */ export interface ExecutionflowTransportStartedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // Transport is completed on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowTransportCompletedPayload */ export interface ExecutionflowTransportCompletedPayload { } /** * @generated from protobuf message api.ExecutionflowTransportCompletedEvent */ export interface ExecutionflowTransportCompletedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowTransportCompletedPayload Payload = 3 */ Payload?: ExecutionflowTransportCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowTransportCompletedRequest */ export interface ExecutionflowTransportCompletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowTransportCompletedPayload Payload = 3 */ Payload?: ExecutionflowTransportCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowTransportCompletedResponse */ export interface ExecutionflowTransportCompletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // Receipt has started on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status /** * @generated from protobuf message api.ExecutionflowReceiptStartedPayload */ export interface ExecutionflowReceiptStartedPayload { } /** * @generated from protobuf message api.ExecutionflowReceiptStartedEvent */ export interface ExecutionflowReceiptStartedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowReceiptStartedPayload Payload = 3 */ Payload?: ExecutionflowReceiptStartedPayload; } /** * @generated from protobuf message api.ExecutionflowReceiptStartedRequest */ export interface ExecutionflowReceiptStartedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowReceiptStartedPayload Payload = 3 */ Payload?: ExecutionflowReceiptStartedPayload; } /** * @generated from protobuf message api.ExecutionflowReceiptStartedResponse */ export interface ExecutionflowReceiptStartedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // Receipt is expected on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status /** * @generated from protobuf message api.ExecutionflowReceiptExpectedPayload */ export interface ExecutionflowReceiptExpectedPayload { } /** * @generated from protobuf message api.ExecutionflowReceiptExpectedEvent */ export interface ExecutionflowReceiptExpectedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowReceiptExpectedPayload Payload = 3 */ Payload?: ExecutionflowReceiptExpectedPayload; } /** * @generated from protobuf message api.ExecutionflowReceiptExpectedRequest */ export interface ExecutionflowReceiptExpectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowReceiptExpectedPayload Payload = 3 */ Payload?: ExecutionflowReceiptExpectedPayload; } /** * @generated from protobuf message api.ExecutionflowReceiptExpectedResponse */ export interface ExecutionflowReceiptExpectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // Receipt is completed on the Execution Flow. This is typically called from an OMS // No payload to describe the preparation content, only the status // // Comments updated 2021/12/06 /** * @generated from protobuf message api.ExecutionflowReceiptCompletedPayload */ export interface ExecutionflowReceiptCompletedPayload { } /** * @generated from protobuf message api.ExecutionflowReceiptCompletedEvent */ export interface ExecutionflowReceiptCompletedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowReceiptCompletedPayload Payload = 3 */ Payload?: ExecutionflowReceiptCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowReceiptCompletedRequest */ export interface ExecutionflowReceiptCompletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowReceiptCompletedPayload Payload = 3 */ Payload?: ExecutionflowReceiptCompletedPayload; } /** * @generated from protobuf message api.ExecutionflowReceiptCompletedResponse */ export interface ExecutionflowReceiptCompletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // MetaDataUpdated // - Inform the executionflow about a metadata update. // // Comments updated 2022/10/19 /** * @generated from protobuf message api.ExecutionflowMetaDataUpdatedPayload */ export interface ExecutionflowMetaDataUpdatedPayload { /** * Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp) * * @generated from protobuf field: repeated api.MetadataElement MetaData = 1 */ MetaData: MetadataElement[]; } /** * @generated from protobuf message api.ExecutionflowMetaDataUpdatedEvent */ export interface ExecutionflowMetaDataUpdatedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowMetaDataUpdatedPayload Payload = 3 */ Payload?: ExecutionflowMetaDataUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowMetaDataUpdatedRequest */ export interface ExecutionflowMetaDataUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowMetaDataUpdatedPayload Payload = 3 */ Payload?: ExecutionflowMetaDataUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowMetaDataUpdatedResponse */ export interface ExecutionflowMetaDataUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // CarrierUpdated // // Comments updated 2022/10/19 /** * @generated from protobuf message api.ExecutionflowCarrierUpdatedPayload */ export interface ExecutionflowCarrierUpdatedPayload { /** * Definition of the order carrier * * @generated from protobuf field: api.TradeTier Carrier = 1 */ Carrier?: TradeTier; /** * Type of carrier service * * @generated from protobuf field: string CarrierService = 2 */ CarrierService: string; } /** * @generated from protobuf message api.ExecutionflowCarrierUpdatedEvent */ export interface ExecutionflowCarrierUpdatedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCarrierUpdatedPayload Payload = 3 */ Payload?: ExecutionflowCarrierUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowCarrierUpdatedRequest */ export interface ExecutionflowCarrierUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCarrierUpdatedPayload Payload = 3 */ Payload?: ExecutionflowCarrierUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowCarrierUpdatedResponse */ export interface ExecutionflowCarrierUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // AttachmentAdded : this message tells that an attachment is added for the handlingUnit /** * @generated from protobuf message api.ExecutionflowAttachmentAddedPayload */ export interface ExecutionflowAttachmentAddedPayload { /** * @generated from protobuf field: repeated api.AttachmentSummary Attachments = 1 */ Attachments: AttachmentSummary[]; } /** * @generated from protobuf message api.ExecutionflowAttachmentAddedEvent */ export interface ExecutionflowAttachmentAddedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAttachmentAddedPayload Payload = 3 */ Payload?: ExecutionflowAttachmentAddedPayload; } /** * @generated from protobuf message api.ExecutionflowAttachmentAddedRequest */ export interface ExecutionflowAttachmentAddedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAttachmentAddedPayload Payload = 3 */ Payload?: ExecutionflowAttachmentAddedPayload; } /** * @generated from protobuf message api.ExecutionflowAttachmentAddedResponse */ export interface ExecutionflowAttachmentAddedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // AttachmentRemoved : this message tells that an attachment is removed for the handlingUnit /** * @generated from protobuf message api.ExecutionflowAttachmentRemovedPayload */ export interface ExecutionflowAttachmentRemovedPayload { /** * @generated from protobuf field: repeated api.AttachmentSummary Attachments = 1 */ Attachments: AttachmentSummary[]; } /** * @generated from protobuf message api.ExecutionflowAttachmentRemovedEvent */ export interface ExecutionflowAttachmentRemovedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAttachmentRemovedPayload Payload = 3 */ Payload?: ExecutionflowAttachmentRemovedPayload; } /** * @generated from protobuf message api.ExecutionflowAttachmentRemovedRequest */ export interface ExecutionflowAttachmentRemovedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAttachmentRemovedPayload Payload = 3 */ Payload?: ExecutionflowAttachmentRemovedPayload; } /** * @generated from protobuf message api.ExecutionflowAttachmentRemovedResponse */ export interface ExecutionflowAttachmentRemovedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * * ClaimAdded : this message tells that a claim is added for the Executionflow * * @generated from protobuf message api.ExecutionflowClaimAddedPayload */ export interface ExecutionflowClaimAddedPayload { /** * @generated from protobuf field: repeated api.ClaimSummary Claims = 1 */ Claims: ClaimSummary[]; } /** * @generated from protobuf message api.ExecutionflowClaimAddedEvent */ export interface ExecutionflowClaimAddedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowClaimAddedPayload Payload = 3 */ Payload?: ExecutionflowClaimAddedPayload; } /** * @generated from protobuf message api.ExecutionflowClaimAddedRequest */ export interface ExecutionflowClaimAddedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowClaimAddedPayload Payload = 3 */ Payload?: ExecutionflowClaimAddedPayload; } /** * @generated from protobuf message api.ExecutionflowClaimAddedResponse */ export interface ExecutionflowClaimAddedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * Event Payload * * @generated from protobuf message api.ExecutionflowDeletedPayload */ export interface ExecutionflowDeletedPayload { } /** * Event message * * @generated from protobuf message api.ExecutionflowDeletedEvent */ export interface ExecutionflowDeletedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowDeletedPayload Payload = 3 */ Payload?: ExecutionflowDeletedPayload; } /** * API Request * * @generated from protobuf message api.ExecutionflowDeletedRequest */ export interface ExecutionflowDeletedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowDeletedPayload Payload = 3 */ Payload?: ExecutionflowDeletedPayload; } /** * API Response * * @generated from protobuf message api.ExecutionflowDeletedResponse */ export interface ExecutionflowDeletedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * Event Payload * * @generated from protobuf message api.ExecutionflowLinesAddedPayload */ export interface ExecutionflowLinesAddedPayload { /** * @generated from protobuf field: repeated api.ExeFlowLine Lines = 1 */ Lines: ExeFlowLine[]; } /** * Event message * * @generated from protobuf message api.ExecutionflowLinesAddedEvent */ export interface ExecutionflowLinesAddedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowLinesAddedPayload Payload = 3 */ Payload?: ExecutionflowLinesAddedPayload; } /** * API Request * * @generated from protobuf message api.ExecutionflowLinesAddedRequest */ export interface ExecutionflowLinesAddedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowLinesAddedPayload Payload = 3 */ Payload?: ExecutionflowLinesAddedPayload; } /** * API Response * * @generated from protobuf message api.ExecutionflowLinesAddedResponse */ export interface ExecutionflowLinesAddedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * @generated from protobuf message api.ExecutionflowLinesDetectedPayload */ export interface ExecutionflowLinesDetectedPayload { /** * @generated from protobuf field: repeated api.ExeFlowLine Lines = 1 */ Lines: ExeFlowLine[]; } /** * Event message * * @generated from protobuf message api.ExecutionflowLinesDetectedEvent */ export interface ExecutionflowLinesDetectedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowLinesDetectedPayload Payload = 3 */ Payload?: ExecutionflowLinesDetectedPayload; } /** * API Request * * @generated from protobuf message api.ExecutionflowLinesDetectedRequest */ export interface ExecutionflowLinesDetectedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowLinesDetectedPayload Payload = 3 */ Payload?: ExecutionflowLinesDetectedPayload; } /** * API Response * * @generated from protobuf message api.ExecutionflowLinesDetectedResponse */ export interface ExecutionflowLinesDetectedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * @generated from protobuf message api.ExecutionflowRenotifiedPayload */ export interface ExecutionflowRenotifiedPayload { } /** * Event message * * @generated from protobuf message api.ExecutionflowRenotifiedEvent */ export interface ExecutionflowRenotifiedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowRenotifiedPayload Payload = 3 */ Payload?: ExecutionflowRenotifiedPayload; } /** * API Request * * @generated from protobuf message api.ExecutionflowRenotifiedRequest */ export interface ExecutionflowRenotifiedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowRenotifiedPayload Payload = 3 */ Payload?: ExecutionflowRenotifiedPayload; } /** * API Response * * @generated from protobuf message api.ExecutionflowRenotifiedResponse */ export interface ExecutionflowRenotifiedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * @generated from protobuf message api.ExecutionflowSanitisedPayload */ export interface ExecutionflowSanitisedPayload { } /** * @generated from protobuf message api.ExecutionflowSanitisedEvent */ export interface ExecutionflowSanitisedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowSanitisedPayload Payload = 3 */ Payload?: ExecutionflowSanitisedPayload; } /** * @generated from protobuf message api.ExecutionflowSanitisedRequest */ export interface ExecutionflowSanitisedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowSanitisedPayload Payload = 3 */ Payload?: ExecutionflowSanitisedPayload; } /** * @generated from protobuf message api.ExecutionflowSanitisedResponse */ export interface ExecutionflowSanitisedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } /** * @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedPayload */ export interface ExecutionflowCustomFieldsUpdatedPayload { } /** * @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedEvent */ export interface ExecutionflowCustomFieldsUpdatedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCustomFieldsUpdatedPayload Payload = 3 */ Payload?: ExecutionflowCustomFieldsUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedRequest */ export interface ExecutionflowCustomFieldsUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowCustomFieldsUpdatedPayload Payload = 3 */ Payload?: ExecutionflowCustomFieldsUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowCustomFieldsUpdatedResponse */ export interface ExecutionflowCustomFieldsUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // // AppointmentUpdated : this message tells that an appointment is updated for the executionFlow /** * @generated from protobuf message api.ExecutionflowAppointmentUpdatedPayload */ export interface ExecutionflowAppointmentUpdatedPayload { /** * @generated from protobuf field: repeated api.AppointmentSummary Appointments = 1 */ Appointments: AppointmentSummary[]; /** * @generated from protobuf field: repeated api.AppointmentSummary RemovedAppointments = 2 */ RemovedAppointments: AppointmentSummary[]; } /** * @generated from protobuf message api.ExecutionflowAppointmentUpdatedEvent */ export interface ExecutionflowAppointmentUpdatedEvent { /** * @generated from protobuf field: api.EventHeader Header = 1 */ Header?: EventHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAppointmentUpdatedPayload Payload = 3 */ Payload?: ExecutionflowAppointmentUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowAppointmentUpdatedRequest */ export interface ExecutionflowAppointmentUpdatedRequest { /** * @generated from protobuf field: api.RequestProjectHeader Header = 1 */ Header?: RequestProjectHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; /** * @generated from protobuf field: api.ExecutionflowAppointmentUpdatedPayload Payload = 3 */ Payload?: ExecutionflowAppointmentUpdatedPayload; } /** * @generated from protobuf message api.ExecutionflowAppointmentUpdatedResponse */ export interface ExecutionflowAppointmentUpdatedResponse { /** * @generated from protobuf field: api.ResponseHeader Header = 1 */ Header?: ResponseHeader; /** * @generated from protobuf field: api.EntityID ID = 2 */ ID?: EntityID; } // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCreatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowCreatedPayload", [ { no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime }, { no: 2, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }, { no: 4, name: "ShipFrom", kind: "message", localName: "ShipFrom", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order from" } } }, { no: 5, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order to" } } }, { no: 6, name: "Carrier", kind: "message", localName: "Carrier", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the order carrier" } } }, { no: 7, name: "CarrierService", kind: "scalar", localName: "CarrierService", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" } } }, { no: 8, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }, { no: 9, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" }, "api.aggKey": "LineID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" }); } create(value?: PartialMessage): ExecutionflowCreatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.OrderID = ""; message.MetaData = []; message.CarrierService = ""; message.Lines = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCreatedPayload): ExecutionflowCreatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.DateTime CreationDateTime */ 1: message.CreationDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.CreationDateTime); break; case /* string OrderID */ 2: message.OrderID = reader.string(); break; case /* repeated api.MetadataElement MetaData */ 3: message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options)); break; case /* api.TradeTier ShipFrom */ 4: message.ShipFrom = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.ShipFrom); break; case /* api.TradeTier ShipTo */ 5: message.ShipTo = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.ShipTo); break; case /* api.TradeTier Carrier */ 6: message.Carrier = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.Carrier); break; case /* string CarrierService */ 7: message.CarrierService = reader.string(); break; case /* api.OrderRequestedMilestones RequestedMilestones */ 8: message.RequestedMilestones = OrderRequestedMilestones.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMilestones); break; case /* repeated api.ExeFlowLine Lines */ 9: message.Lines.push(ExeFlowLine.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: ExecutionflowCreatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.DateTime CreationDateTime = 1; */ if (message.CreationDateTime) DateTime.internalBinaryWrite(message.CreationDateTime, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* string OrderID = 2; */ if (message.OrderID !== "") writer.tag(2, WireType.LengthDelimited).string(message.OrderID); /* repeated api.MetadataElement MetaData = 3; */ for (let i = 0; i < message.MetaData.length; i++) MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier ShipFrom = 4; */ if (message.ShipFrom) TradeTier.internalBinaryWrite(message.ShipFrom, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier ShipTo = 5; */ if (message.ShipTo) TradeTier.internalBinaryWrite(message.ShipTo, writer.tag(5, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier Carrier = 6; */ if (message.Carrier) TradeTier.internalBinaryWrite(message.Carrier, writer.tag(6, WireType.LengthDelimited).fork(), options).join(); /* string CarrierService = 7; */ if (message.CarrierService !== "") writer.tag(7, WireType.LengthDelimited).string(message.CarrierService); /* api.OrderRequestedMilestones RequestedMilestones = 8; */ if (message.RequestedMilestones) OrderRequestedMilestones.internalBinaryWrite(message.RequestedMilestones, writer.tag(8, WireType.LengthDelimited).fork(), options).join(); /* repeated api.ExeFlowLine Lines = 9; */ for (let i = 0; i < message.Lines.length; i++) ExeFlowLine.internalBinaryWrite(message.Lines[i], writer.tag(9, 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.ExecutionflowCreatedPayload */ export const ExecutionflowCreatedPayload = new ExecutionflowCreatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCreatedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowCreatedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCreatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "Created", "api.postAggMethods": "computeRequestedContent,computeHUContents", "api.preAggMethods": "verifyActorPartner" }); } create(value?: PartialMessage): ExecutionflowCreatedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCreatedEvent): ExecutionflowCreatedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCreatedPayload Payload */ 3: message.Payload = ExecutionflowCreatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCreatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCreatedPayload Payload = 3; */ if (message.Payload) ExecutionflowCreatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCreatedEvent */ export const ExecutionflowCreatedEvent = new ExecutionflowCreatedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCreatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowCreatedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCreatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Playload"] } }, "api.messageType": "Request", "api.inputEvent": "Created" }); } create(value?: PartialMessage): ExecutionflowCreatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCreatedRequest): ExecutionflowCreatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCreatedPayload Payload */ 3: message.Payload = ExecutionflowCreatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCreatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCreatedPayload Payload = 3; */ if (message.Payload) ExecutionflowCreatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCreatedRequest */ export const ExecutionflowCreatedRequest = new ExecutionflowCreatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCreatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowCreatedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Created" }); } create(value?: PartialMessage): ExecutionflowCreatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCreatedResponse): ExecutionflowCreatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowCreatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowCreatedResponse */ export const ExecutionflowCreatedResponse = new ExecutionflowCreatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDetectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowDetectedPayload", [ { no: 1, name: "CreationDateTime", kind: "message", localName: "CreationDateTime", jsonName: "CreationDateTime", T: () => DateTime }, { no: 2, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the order referenced by this execution flow." } } }, { no: 3, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }, { no: 4, name: "ShipFrom", kind: "message", localName: "ShipFrom", jsonName: "ShipFrom", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order from" } } }, { no: 5, name: "ShipTo", kind: "message", localName: "ShipTo", jsonName: "ShipTo", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Where to ship the order to" } } }, { no: 6, name: "Carrier", kind: "message", localName: "Carrier", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the order carrier" } } }, { no: 7, name: "CarrierService", kind: "scalar", localName: "CarrierService", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" } } }, { no: 8, name: "RequestedMilestones", kind: "message", localName: "RequestedMilestones", jsonName: "RequestedMilestones", T: () => OrderRequestedMilestones }, { no: 9, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" }, "api.aggKey": "LineID" } }, { no: 14, name: "ShipFromAcked", kind: "scalar", localName: "ShipFromAcked", jsonName: "ShipFromAcked", T: 8 /*ScalarType.BOOL*/ }, { no: 15, name: "ShipToAcked", kind: "scalar", localName: "ShipToAcked", jsonName: "ShipToAcked", T: 8 /*ScalarType.BOOL*/ } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Detected" }); } create(value?: PartialMessage): ExecutionflowDetectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.OrderID = ""; message.MetaData = []; message.CarrierService = ""; message.Lines = []; message.ShipFromAcked = false; message.ShipToAcked = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDetectedPayload): ExecutionflowDetectedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.DateTime CreationDateTime */ 1: message.CreationDateTime = DateTime.internalBinaryRead(reader, reader.uint32(), options, message.CreationDateTime); break; case /* string OrderID */ 2: message.OrderID = reader.string(); break; case /* repeated api.MetadataElement MetaData */ 3: message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options)); break; case /* api.TradeTier ShipFrom */ 4: message.ShipFrom = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.ShipFrom); break; case /* api.TradeTier ShipTo */ 5: message.ShipTo = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.ShipTo); break; case /* api.TradeTier Carrier */ 6: message.Carrier = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.Carrier); break; case /* string CarrierService */ 7: message.CarrierService = reader.string(); break; case /* api.OrderRequestedMilestones RequestedMilestones */ 8: message.RequestedMilestones = OrderRequestedMilestones.internalBinaryRead(reader, reader.uint32(), options, message.RequestedMilestones); break; case /* repeated api.ExeFlowLine Lines */ 9: message.Lines.push(ExeFlowLine.internalBinaryRead(reader, reader.uint32(), options)); break; case /* bool ShipFromAcked */ 14: message.ShipFromAcked = reader.bool(); break; case /* bool ShipToAcked */ 15: message.ShipToAcked = 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: ExecutionflowDetectedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.DateTime CreationDateTime = 1; */ if (message.CreationDateTime) DateTime.internalBinaryWrite(message.CreationDateTime, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* string OrderID = 2; */ if (message.OrderID !== "") writer.tag(2, WireType.LengthDelimited).string(message.OrderID); /* repeated api.MetadataElement MetaData = 3; */ for (let i = 0; i < message.MetaData.length; i++) MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier ShipFrom = 4; */ if (message.ShipFrom) TradeTier.internalBinaryWrite(message.ShipFrom, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier ShipTo = 5; */ if (message.ShipTo) TradeTier.internalBinaryWrite(message.ShipTo, writer.tag(5, WireType.LengthDelimited).fork(), options).join(); /* api.TradeTier Carrier = 6; */ if (message.Carrier) TradeTier.internalBinaryWrite(message.Carrier, writer.tag(6, WireType.LengthDelimited).fork(), options).join(); /* string CarrierService = 7; */ if (message.CarrierService !== "") writer.tag(7, WireType.LengthDelimited).string(message.CarrierService); /* api.OrderRequestedMilestones RequestedMilestones = 8; */ if (message.RequestedMilestones) OrderRequestedMilestones.internalBinaryWrite(message.RequestedMilestones, writer.tag(8, WireType.LengthDelimited).fork(), options).join(); /* repeated api.ExeFlowLine Lines = 9; */ for (let i = 0; i < message.Lines.length; i++) ExeFlowLine.internalBinaryWrite(message.Lines[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join(); /* bool ShipFromAcked = 14; */ if (message.ShipFromAcked !== false) writer.tag(14, WireType.Varint).bool(message.ShipFromAcked); /* bool ShipToAcked = 15; */ if (message.ShipToAcked !== false) writer.tag(15, WireType.Varint).bool(message.ShipToAcked); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowDetectedPayload */ export const ExecutionflowDetectedPayload = new ExecutionflowDetectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDetectedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowDetectedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowDetectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "Detected", "api.postAggMethods": "computeRequestedContent,computeHUContents,generateOrderID", "api.preAggMethods": "verifyActorPartner,verifyOrderID" }); } create(value?: PartialMessage): ExecutionflowDetectedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDetectedEvent): ExecutionflowDetectedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowDetectedPayload Payload */ 3: message.Payload = ExecutionflowDetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowDetectedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowDetectedPayload Payload = 3; */ if (message.Payload) ExecutionflowDetectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowDetectedEvent */ export const ExecutionflowDetectedEvent = new ExecutionflowDetectedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDetectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowDetectedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowDetectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Detected" }); } create(value?: PartialMessage): ExecutionflowDetectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDetectedRequest): ExecutionflowDetectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowDetectedPayload Payload */ 3: message.Payload = ExecutionflowDetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowDetectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowDetectedPayload Payload = 3; */ if (message.Payload) ExecutionflowDetectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowDetectedRequest */ export const ExecutionflowDetectedRequest = new ExecutionflowDetectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDetectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowDetectedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Detected" }); } create(value?: PartialMessage): ExecutionflowDetectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDetectedResponse): ExecutionflowDetectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowDetectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowDetectedResponse */ export const ExecutionflowDetectedResponse = new ExecutionflowDetectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRedetectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowRedetectedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Redetected" }); } create(value?: PartialMessage): ExecutionflowRedetectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRedetectedPayload): ExecutionflowRedetectedPayload { 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: ExecutionflowRedetectedPayload, 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.ExecutionflowRedetectedPayload */ export const ExecutionflowRedetectedPayload = new ExecutionflowRedetectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRedetectedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowRedetectedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowRedetectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "Redetected" }); } create(value?: PartialMessage): ExecutionflowRedetectedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRedetectedEvent): ExecutionflowRedetectedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowRedetectedPayload Payload */ 3: message.Payload = ExecutionflowRedetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowRedetectedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowRedetectedPayload Payload = 3; */ if (message.Payload) ExecutionflowRedetectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowRedetectedEvent */ export const ExecutionflowRedetectedEvent = new ExecutionflowRedetectedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRedetectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowRedetectedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowRedetectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Redetected" }); } create(value?: PartialMessage): ExecutionflowRedetectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRedetectedRequest): ExecutionflowRedetectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowRedetectedPayload Payload */ 3: message.Payload = ExecutionflowRedetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowRedetectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowRedetectedPayload Payload = 3; */ if (message.Payload) ExecutionflowRedetectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowRedetectedRequest */ export const ExecutionflowRedetectedRequest = new ExecutionflowRedetectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRedetectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowRedetectedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Redetected" }); } create(value?: PartialMessage): ExecutionflowRedetectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRedetectedResponse): ExecutionflowRedetectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowRedetectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowRedetectedResponse */ export const ExecutionflowRedetectedResponse = new ExecutionflowRedetectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipFromAckedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowShipFromAckedPayload", [ { no: 1, name: "ShipFromAcked", kind: "scalar", localName: "ShipFromAcked", jsonName: "ShipFromAcked", T: 8 /*ScalarType.BOOL*/ } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ShipFromAcked" }); } create(value?: PartialMessage): ExecutionflowShipFromAckedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.ShipFromAcked = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipFromAckedPayload): ExecutionflowShipFromAckedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* bool ShipFromAcked */ 1: message.ShipFromAcked = 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: ExecutionflowShipFromAckedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* bool ShipFromAcked = 1; */ if (message.ShipFromAcked !== false) writer.tag(1, WireType.Varint).bool(message.ShipFromAcked); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowShipFromAckedPayload */ export const ExecutionflowShipFromAckedPayload = new ExecutionflowShipFromAckedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipFromAckedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowShipFromAckedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowShipFromAckedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "ShipFromAcked" }); } create(value?: PartialMessage): ExecutionflowShipFromAckedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipFromAckedEvent): ExecutionflowShipFromAckedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowShipFromAckedPayload Payload */ 3: message.Payload = ExecutionflowShipFromAckedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowShipFromAckedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowShipFromAckedPayload Payload = 3; */ if (message.Payload) ExecutionflowShipFromAckedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowShipFromAckedEvent */ export const ExecutionflowShipFromAckedEvent = new ExecutionflowShipFromAckedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipFromAckedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowShipFromAckedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowShipFromAckedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ShipFromAcked" }); } create(value?: PartialMessage): ExecutionflowShipFromAckedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipFromAckedRequest): ExecutionflowShipFromAckedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowShipFromAckedPayload Payload */ 3: message.Payload = ExecutionflowShipFromAckedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowShipFromAckedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowShipFromAckedPayload Payload = 3; */ if (message.Payload) ExecutionflowShipFromAckedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowShipFromAckedRequest */ export const ExecutionflowShipFromAckedRequest = new ExecutionflowShipFromAckedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipFromAckedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowShipFromAckedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ShipFromAcked" }); } create(value?: PartialMessage): ExecutionflowShipFromAckedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipFromAckedResponse): ExecutionflowShipFromAckedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowShipFromAckedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowShipFromAckedResponse */ export const ExecutionflowShipFromAckedResponse = new ExecutionflowShipFromAckedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipToAckedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowShipToAckedPayload", [ { no: 1, name: "ShipToAcked", kind: "scalar", localName: "ShipToAcked", jsonName: "ShipToAcked", T: 8 /*ScalarType.BOOL*/ } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ShipToAcked" }); } create(value?: PartialMessage): ExecutionflowShipToAckedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.ShipToAcked = false; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipToAckedPayload): ExecutionflowShipToAckedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* bool ShipToAcked */ 1: message.ShipToAcked = 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: ExecutionflowShipToAckedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* bool ShipToAcked = 1; */ if (message.ShipToAcked !== false) writer.tag(1, WireType.Varint).bool(message.ShipToAcked); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowShipToAckedPayload */ export const ExecutionflowShipToAckedPayload = new ExecutionflowShipToAckedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipToAckedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowShipToAckedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowShipToAckedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "ShipToAcked" }); } create(value?: PartialMessage): ExecutionflowShipToAckedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipToAckedEvent): ExecutionflowShipToAckedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowShipToAckedPayload Payload */ 3: message.Payload = ExecutionflowShipToAckedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowShipToAckedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowShipToAckedPayload Payload = 3; */ if (message.Payload) ExecutionflowShipToAckedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowShipToAckedEvent */ export const ExecutionflowShipToAckedEvent = new ExecutionflowShipToAckedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipToAckedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowShipToAckedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowShipToAckedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ShipToAcked" }); } create(value?: PartialMessage): ExecutionflowShipToAckedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipToAckedRequest): ExecutionflowShipToAckedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowShipToAckedPayload Payload */ 3: message.Payload = ExecutionflowShipToAckedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowShipToAckedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowShipToAckedPayload Payload = 3; */ if (message.Payload) ExecutionflowShipToAckedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowShipToAckedRequest */ export const ExecutionflowShipToAckedRequest = new ExecutionflowShipToAckedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowShipToAckedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowShipToAckedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ShipToAcked" }); } create(value?: PartialMessage): ExecutionflowShipToAckedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowShipToAckedResponse): ExecutionflowShipToAckedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowShipToAckedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowShipToAckedResponse */ export const ExecutionflowShipToAckedResponse = new ExecutionflowShipToAckedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCancelledPayload$Type extends MessageType { constructor() { super("api.ExecutionflowCancelledPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Cancelled" }); } create(value?: PartialMessage): ExecutionflowCancelledPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCancelledPayload): ExecutionflowCancelledPayload { 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: ExecutionflowCancelledPayload, 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.ExecutionflowCancelledPayload */ export const ExecutionflowCancelledPayload = new ExecutionflowCancelledPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCancelledEvent$Type extends MessageType { constructor() { super("api.ExecutionflowCancelledEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCancelledPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "Cancelled" }); } create(value?: PartialMessage): ExecutionflowCancelledEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCancelledEvent): ExecutionflowCancelledEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCancelledPayload Payload */ 3: message.Payload = ExecutionflowCancelledPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCancelledEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCancelledPayload Payload = 3; */ if (message.Payload) ExecutionflowCancelledPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCancelledEvent */ export const ExecutionflowCancelledEvent = new ExecutionflowCancelledEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCancelledRequest$Type extends MessageType { constructor() { super("api.ExecutionflowCancelledRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCancelledPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Cancelled" }); } create(value?: PartialMessage): ExecutionflowCancelledRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCancelledRequest): ExecutionflowCancelledRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCancelledPayload Payload */ 3: message.Payload = ExecutionflowCancelledPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCancelledRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCancelledPayload Payload = 3; */ if (message.Payload) ExecutionflowCancelledPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCancelledRequest */ export const ExecutionflowCancelledRequest = new ExecutionflowCancelledRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCancelledResponse$Type extends MessageType { constructor() { super("api.ExecutionflowCancelledResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Cancelled" }); } create(value?: PartialMessage): ExecutionflowCancelledResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCancelledResponse): ExecutionflowCancelledResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowCancelledResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowCancelledResponse */ export const ExecutionflowCancelledResponse = new ExecutionflowCancelledResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAnonymisedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowAnonymisedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Anonymised" }); } create(value?: PartialMessage): ExecutionflowAnonymisedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAnonymisedPayload): ExecutionflowAnonymisedPayload { 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: ExecutionflowAnonymisedPayload, 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.ExecutionflowAnonymisedPayload */ export const ExecutionflowAnonymisedPayload = new ExecutionflowAnonymisedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAnonymisedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowAnonymisedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAnonymisedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "Anonymised", "api.postAggMethods": "anonymise" }); } create(value?: PartialMessage): ExecutionflowAnonymisedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAnonymisedEvent): ExecutionflowAnonymisedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAnonymisedPayload Payload */ 3: message.Payload = ExecutionflowAnonymisedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAnonymisedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAnonymisedPayload Payload = 3; */ if (message.Payload) ExecutionflowAnonymisedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAnonymisedEvent */ export const ExecutionflowAnonymisedEvent = new ExecutionflowAnonymisedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAnonymisedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowAnonymisedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAnonymisedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Anonymised" }); } create(value?: PartialMessage): ExecutionflowAnonymisedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAnonymisedRequest): ExecutionflowAnonymisedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAnonymisedPayload Payload */ 3: message.Payload = ExecutionflowAnonymisedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAnonymisedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAnonymisedPayload Payload = 3; */ if (message.Payload) ExecutionflowAnonymisedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAnonymisedRequest */ export const ExecutionflowAnonymisedRequest = new ExecutionflowAnonymisedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAnonymisedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowAnonymisedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Anonymised" }); } create(value?: PartialMessage): ExecutionflowAnonymisedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAnonymisedResponse): ExecutionflowAnonymisedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowAnonymisedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowAnonymisedResponse */ export const ExecutionflowAnonymisedResponse = new ExecutionflowAnonymisedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCompletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowCompletedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Completed" }); } create(value?: PartialMessage): ExecutionflowCompletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCompletedPayload): ExecutionflowCompletedPayload { 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: ExecutionflowCompletedPayload, 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.ExecutionflowCompletedPayload */ export const ExecutionflowCompletedPayload = new ExecutionflowCompletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCompletedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowCompletedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCompletedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "Completed" }); } create(value?: PartialMessage): ExecutionflowCompletedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCompletedEvent): ExecutionflowCompletedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCompletedPayload Payload */ 3: message.Payload = ExecutionflowCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCompletedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCompletedPayload Payload = 3; */ if (message.Payload) ExecutionflowCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCompletedEvent */ export const ExecutionflowCompletedEvent = new ExecutionflowCompletedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCompletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowCompletedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCompletedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Completed" }); } create(value?: PartialMessage): ExecutionflowCompletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCompletedRequest): ExecutionflowCompletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCompletedPayload Payload */ 3: message.Payload = ExecutionflowCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCompletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCompletedPayload Payload = 3; */ if (message.Payload) ExecutionflowCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCompletedRequest */ export const ExecutionflowCompletedRequest = new ExecutionflowCompletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCompletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowCompletedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Completed" }); } create(value?: PartialMessage): ExecutionflowCompletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCompletedResponse): ExecutionflowCompletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowCompletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowCompletedResponse */ export const ExecutionflowCompletedResponse = new ExecutionflowCompletedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUContentUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowHUContentUpdatedPayload", [ { no: 1, name: "Handlingunits", kind: "message", localName: "Handlingunits", jsonName: "Handlingunits", repeat: 2 /*RepeatType.UNPACKED*/, T: () => HandlingunitSummary, options: { "n1validate.rules": { repeated: { minItems: "1" } }, "api.aggKey": "HandlingunitID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "HUContentUpdated" }); } create(value?: PartialMessage): ExecutionflowHUContentUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.Handlingunits = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUContentUpdatedPayload): ExecutionflowHUContentUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.HandlingunitSummary Handlingunits */ 1: message.Handlingunits.push(HandlingunitSummary.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: ExecutionflowHUContentUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.HandlingunitSummary Handlingunits = 1; */ for (let i = 0; i < message.Handlingunits.length; i++) HandlingunitSummary.internalBinaryWrite(message.Handlingunits[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.ExecutionflowHUContentUpdatedPayload */ export const ExecutionflowHUContentUpdatedPayload = new ExecutionflowHUContentUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUContentUpdatedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowHUContentUpdatedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowHUContentUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "HUContentUpdated", "api.postAggMethods": "computeHUContents,computeETAs", "api.preAggMethods": "aggHUStatus" }); } create(value?: PartialMessage): ExecutionflowHUContentUpdatedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUContentUpdatedEvent): ExecutionflowHUContentUpdatedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowHUContentUpdatedPayload Payload */ 3: message.Payload = ExecutionflowHUContentUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowHUContentUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowHUContentUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowHUContentUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowHUContentUpdatedEvent */ export const ExecutionflowHUContentUpdatedEvent = new ExecutionflowHUContentUpdatedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUContentUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowHUContentUpdatedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowHUContentUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "HUContentUpdated" }); } create(value?: PartialMessage): ExecutionflowHUContentUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUContentUpdatedRequest): ExecutionflowHUContentUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowHUContentUpdatedPayload Payload */ 3: message.Payload = ExecutionflowHUContentUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowHUContentUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowHUContentUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowHUContentUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowHUContentUpdatedRequest */ export const ExecutionflowHUContentUpdatedRequest = new ExecutionflowHUContentUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUContentUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowHUContentUpdatedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "HUContentUpdated" }); } create(value?: PartialMessage): ExecutionflowHUContentUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUContentUpdatedResponse): ExecutionflowHUContentUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowHUContentUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowHUContentUpdatedResponse */ export const ExecutionflowHUContentUpdatedResponse = new ExecutionflowHUContentUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUTrackingUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowHUTrackingUpdatedPayload", [ { no: 1, name: "Handlingunits", kind: "message", localName: "Handlingunits", jsonName: "Handlingunits", repeat: 2 /*RepeatType.UNPACKED*/, T: () => HandlingunitSummary, options: { "n1validate.rules": { repeated: { minItems: "1" } }, "api.aggKey": "HandlingunitID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "HUTrackingUpdated" }); } create(value?: PartialMessage): ExecutionflowHUTrackingUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.Handlingunits = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUTrackingUpdatedPayload): ExecutionflowHUTrackingUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.HandlingunitSummary Handlingunits */ 1: message.Handlingunits.push(HandlingunitSummary.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: ExecutionflowHUTrackingUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.HandlingunitSummary Handlingunits = 1; */ for (let i = 0; i < message.Handlingunits.length; i++) HandlingunitSummary.internalBinaryWrite(message.Handlingunits[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.ExecutionflowHUTrackingUpdatedPayload */ export const ExecutionflowHUTrackingUpdatedPayload = new ExecutionflowHUTrackingUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUTrackingUpdatedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowHUTrackingUpdatedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowHUTrackingUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "HUTrackingUpdated", "api.postAggMethods": "computeHUContents,computeETAs", "api.preAggMethods": "aggHUStatus" }); } create(value?: PartialMessage): ExecutionflowHUTrackingUpdatedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUTrackingUpdatedEvent): ExecutionflowHUTrackingUpdatedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowHUTrackingUpdatedPayload Payload */ 3: message.Payload = ExecutionflowHUTrackingUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowHUTrackingUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowHUTrackingUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowHUTrackingUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowHUTrackingUpdatedEvent */ export const ExecutionflowHUTrackingUpdatedEvent = new ExecutionflowHUTrackingUpdatedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUTrackingUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowHUTrackingUpdatedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowHUTrackingUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "HUTrackingUpdated" }); } create(value?: PartialMessage): ExecutionflowHUTrackingUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUTrackingUpdatedRequest): ExecutionflowHUTrackingUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowHUTrackingUpdatedPayload Payload */ 3: message.Payload = ExecutionflowHUTrackingUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowHUTrackingUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowHUTrackingUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowHUTrackingUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowHUTrackingUpdatedRequest */ export const ExecutionflowHUTrackingUpdatedRequest = new ExecutionflowHUTrackingUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUTrackingUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowHUTrackingUpdatedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "HUTrackingUpdated" }); } create(value?: PartialMessage): ExecutionflowHUTrackingUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUTrackingUpdatedResponse): ExecutionflowHUTrackingUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowHUTrackingUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowHUTrackingUpdatedResponse */ export const ExecutionflowHUTrackingUpdatedResponse = new ExecutionflowHUTrackingUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUETAUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowHUETAUpdatedPayload", [ { no: 1, name: "HandlingunitETAs", kind: "message", localName: "HandlingunitETAs", jsonName: "HandlingunitETAs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ETAbyHU, options: { "n1validate.rules": { repeated: { minItems: "1" } }, "api.aggKey": "HandlingunitID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "HUETAUpdated" }); } create(value?: PartialMessage): ExecutionflowHUETAUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.HandlingunitETAs = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUETAUpdatedPayload): ExecutionflowHUETAUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.ETAbyHU HandlingunitETAs */ 1: message.HandlingunitETAs.push(ETAbyHU.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: ExecutionflowHUETAUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.ETAbyHU HandlingunitETAs = 1; */ for (let i = 0; i < message.HandlingunitETAs.length; i++) ETAbyHU.internalBinaryWrite(message.HandlingunitETAs[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.ExecutionflowHUETAUpdatedPayload */ export const ExecutionflowHUETAUpdatedPayload = new ExecutionflowHUETAUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUETAUpdatedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowHUETAUpdatedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowHUETAUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "HUETAUpdated", "api.postAggMethods": "computeETAs", "api.preAggMethods": "setHUETAActualDate" }); } create(value?: PartialMessage): ExecutionflowHUETAUpdatedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUETAUpdatedEvent): ExecutionflowHUETAUpdatedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowHUETAUpdatedPayload Payload */ 3: message.Payload = ExecutionflowHUETAUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowHUETAUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowHUETAUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowHUETAUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowHUETAUpdatedEvent */ export const ExecutionflowHUETAUpdatedEvent = new ExecutionflowHUETAUpdatedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUETAUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowHUETAUpdatedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowHUETAUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "HUETAUpdated" }); } create(value?: PartialMessage): ExecutionflowHUETAUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUETAUpdatedRequest): ExecutionflowHUETAUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowHUETAUpdatedPayload Payload */ 3: message.Payload = ExecutionflowHUETAUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowHUETAUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowHUETAUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowHUETAUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowHUETAUpdatedRequest */ export const ExecutionflowHUETAUpdatedRequest = new ExecutionflowHUETAUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowHUETAUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowHUETAUpdatedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "HUETAUpdated" }); } create(value?: PartialMessage): ExecutionflowHUETAUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowHUETAUpdatedResponse): ExecutionflowHUETAUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowHUETAUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowHUETAUpdatedResponse */ export const ExecutionflowHUETAUpdatedResponse = new ExecutionflowHUETAUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowETAUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowETAUpdatedPayload", [ { no: 1, name: "ExecutionflowETA", kind: "message", localName: "ExecutionflowETA", jsonName: "ExecutionflowETA", T: () => ETA, options: { "n1validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The ETA for the executionflow as given by WMS. this ETA will be aggregated with those coming from HUs" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ExecutionflowETA"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ETAUpdated" }); } create(value?: PartialMessage): ExecutionflowETAUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowETAUpdatedPayload): ExecutionflowETAUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ETA ExecutionflowETA */ 1: message.ExecutionflowETA = ETA.internalBinaryRead(reader, reader.uint32(), options, message.ExecutionflowETA); 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: ExecutionflowETAUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ETA ExecutionflowETA = 1; */ if (message.ExecutionflowETA) ETA.internalBinaryWrite(message.ExecutionflowETA, 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.ExecutionflowETAUpdatedPayload */ export const ExecutionflowETAUpdatedPayload = new ExecutionflowETAUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowETAUpdatedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowETAUpdatedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowETAUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "ETAUpdated", "api.postAggMethods": "computeETAs", "api.preAggMethods": "setETAActualDate" }); } create(value?: PartialMessage): ExecutionflowETAUpdatedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowETAUpdatedEvent): ExecutionflowETAUpdatedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowETAUpdatedPayload Payload */ 3: message.Payload = ExecutionflowETAUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowETAUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowETAUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowETAUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowETAUpdatedEvent */ export const ExecutionflowETAUpdatedEvent = new ExecutionflowETAUpdatedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowETAUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowETAUpdatedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowETAUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ETAUpdated" }); } create(value?: PartialMessage): ExecutionflowETAUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowETAUpdatedRequest): ExecutionflowETAUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowETAUpdatedPayload Payload */ 3: message.Payload = ExecutionflowETAUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowETAUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowETAUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowETAUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowETAUpdatedRequest */ export const ExecutionflowETAUpdatedRequest = new ExecutionflowETAUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowETAUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowETAUpdatedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ETAUpdated" }); } create(value?: PartialMessage): ExecutionflowETAUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowETAUpdatedResponse): ExecutionflowETAUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowETAUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowETAUpdatedResponse */ export const ExecutionflowETAUpdatedResponse = new ExecutionflowETAUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAllocationErrorPayload$Type extends MessageType { constructor() { super("api.ExecutionflowAllocationErrorPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AllocationError" }); } create(value?: PartialMessage): ExecutionflowAllocationErrorPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAllocationErrorPayload): ExecutionflowAllocationErrorPayload { 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: ExecutionflowAllocationErrorPayload, 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.ExecutionflowAllocationErrorPayload */ export const ExecutionflowAllocationErrorPayload = new ExecutionflowAllocationErrorPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAllocationErrorEvent$Type extends MessageType { constructor() { super("api.ExecutionflowAllocationErrorEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAllocationErrorPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "AllocationError" }); } create(value?: PartialMessage): ExecutionflowAllocationErrorEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAllocationErrorEvent): ExecutionflowAllocationErrorEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAllocationErrorPayload Payload */ 3: message.Payload = ExecutionflowAllocationErrorPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAllocationErrorEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAllocationErrorPayload Payload = 3; */ if (message.Payload) ExecutionflowAllocationErrorPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAllocationErrorEvent */ export const ExecutionflowAllocationErrorEvent = new ExecutionflowAllocationErrorEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAllocationErrorRequest$Type extends MessageType { constructor() { super("api.ExecutionflowAllocationErrorRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAllocationErrorPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AllocationError" }); } create(value?: PartialMessage): ExecutionflowAllocationErrorRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAllocationErrorRequest): ExecutionflowAllocationErrorRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAllocationErrorPayload Payload */ 3: message.Payload = ExecutionflowAllocationErrorPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAllocationErrorRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAllocationErrorPayload Payload = 3; */ if (message.Payload) ExecutionflowAllocationErrorPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAllocationErrorRequest */ export const ExecutionflowAllocationErrorRequest = new ExecutionflowAllocationErrorRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAllocationErrorResponse$Type extends MessageType { constructor() { super("api.ExecutionflowAllocationErrorResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "AllocationError" }); } create(value?: PartialMessage): ExecutionflowAllocationErrorResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAllocationErrorResponse): ExecutionflowAllocationErrorResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowAllocationErrorResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowAllocationErrorResponse */ export const ExecutionflowAllocationErrorResponse = new ExecutionflowAllocationErrorResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationExpectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationExpectedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "PreparationExpected" }); } create(value?: PartialMessage): ExecutionflowPreparationExpectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationExpectedPayload): ExecutionflowPreparationExpectedPayload { 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: ExecutionflowPreparationExpectedPayload, 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.ExecutionflowPreparationExpectedPayload */ export const ExecutionflowPreparationExpectedPayload = new ExecutionflowPreparationExpectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationExpectedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationExpectedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowPreparationExpectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "PreparationExpected" }); } create(value?: PartialMessage): ExecutionflowPreparationExpectedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationExpectedEvent): ExecutionflowPreparationExpectedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowPreparationExpectedPayload Payload */ 3: message.Payload = ExecutionflowPreparationExpectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowPreparationExpectedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowPreparationExpectedPayload Payload = 3; */ if (message.Payload) ExecutionflowPreparationExpectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowPreparationExpectedEvent */ export const ExecutionflowPreparationExpectedEvent = new ExecutionflowPreparationExpectedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationExpectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationExpectedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowPreparationExpectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "PreparationExpected" }); } create(value?: PartialMessage): ExecutionflowPreparationExpectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationExpectedRequest): ExecutionflowPreparationExpectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowPreparationExpectedPayload Payload */ 3: message.Payload = ExecutionflowPreparationExpectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowPreparationExpectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowPreparationExpectedPayload Payload = 3; */ if (message.Payload) ExecutionflowPreparationExpectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowPreparationExpectedRequest */ export const ExecutionflowPreparationExpectedRequest = new ExecutionflowPreparationExpectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationExpectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationExpectedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "PreparationExpected" }); } create(value?: PartialMessage): ExecutionflowPreparationExpectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationExpectedResponse): ExecutionflowPreparationExpectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowPreparationExpectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowPreparationExpectedResponse */ export const ExecutionflowPreparationExpectedResponse = new ExecutionflowPreparationExpectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationStartedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationStartedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "PreparationStarted" }); } create(value?: PartialMessage): ExecutionflowPreparationStartedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationStartedPayload): ExecutionflowPreparationStartedPayload { 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: ExecutionflowPreparationStartedPayload, 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.ExecutionflowPreparationStartedPayload */ export const ExecutionflowPreparationStartedPayload = new ExecutionflowPreparationStartedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationStartedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationStartedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowPreparationStartedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "PreparationStarted" }); } create(value?: PartialMessage): ExecutionflowPreparationStartedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationStartedEvent): ExecutionflowPreparationStartedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowPreparationStartedPayload Payload */ 3: message.Payload = ExecutionflowPreparationStartedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowPreparationStartedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowPreparationStartedPayload Payload = 3; */ if (message.Payload) ExecutionflowPreparationStartedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowPreparationStartedEvent */ export const ExecutionflowPreparationStartedEvent = new ExecutionflowPreparationStartedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationStartedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationStartedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowPreparationStartedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "PreparationStarted" }); } create(value?: PartialMessage): ExecutionflowPreparationStartedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationStartedRequest): ExecutionflowPreparationStartedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowPreparationStartedPayload Payload */ 3: message.Payload = ExecutionflowPreparationStartedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowPreparationStartedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowPreparationStartedPayload Payload = 3; */ if (message.Payload) ExecutionflowPreparationStartedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowPreparationStartedRequest */ export const ExecutionflowPreparationStartedRequest = new ExecutionflowPreparationStartedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationStartedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationStartedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "PreparationStarted" }); } create(value?: PartialMessage): ExecutionflowPreparationStartedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationStartedResponse): ExecutionflowPreparationStartedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowPreparationStartedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowPreparationStartedResponse */ export const ExecutionflowPreparationStartedResponse = new ExecutionflowPreparationStartedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationCompletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationCompletedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "PreparationCompleted" }); } create(value?: PartialMessage): ExecutionflowPreparationCompletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationCompletedPayload): ExecutionflowPreparationCompletedPayload { 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: ExecutionflowPreparationCompletedPayload, 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.ExecutionflowPreparationCompletedPayload */ export const ExecutionflowPreparationCompletedPayload = new ExecutionflowPreparationCompletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationCompletedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationCompletedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowPreparationCompletedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "PreparationCompleted" }); } create(value?: PartialMessage): ExecutionflowPreparationCompletedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationCompletedEvent): ExecutionflowPreparationCompletedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowPreparationCompletedPayload Payload */ 3: message.Payload = ExecutionflowPreparationCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowPreparationCompletedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowPreparationCompletedPayload Payload = 3; */ if (message.Payload) ExecutionflowPreparationCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowPreparationCompletedEvent */ export const ExecutionflowPreparationCompletedEvent = new ExecutionflowPreparationCompletedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationCompletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationCompletedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowPreparationCompletedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "PreparationCompleted" }); } create(value?: PartialMessage): ExecutionflowPreparationCompletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationCompletedRequest): ExecutionflowPreparationCompletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowPreparationCompletedPayload Payload */ 3: message.Payload = ExecutionflowPreparationCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowPreparationCompletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowPreparationCompletedPayload Payload = 3; */ if (message.Payload) ExecutionflowPreparationCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowPreparationCompletedRequest */ export const ExecutionflowPreparationCompletedRequest = new ExecutionflowPreparationCompletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowPreparationCompletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowPreparationCompletedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "PreparationCompleted" }); } create(value?: PartialMessage): ExecutionflowPreparationCompletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowPreparationCompletedResponse): ExecutionflowPreparationCompletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowPreparationCompletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowPreparationCompletedResponse */ export const ExecutionflowPreparationCompletedResponse = new ExecutionflowPreparationCompletedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportExpectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowTransportExpectedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "TransportExpected" }); } create(value?: PartialMessage): ExecutionflowTransportExpectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportExpectedPayload): ExecutionflowTransportExpectedPayload { 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: ExecutionflowTransportExpectedPayload, 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.ExecutionflowTransportExpectedPayload */ export const ExecutionflowTransportExpectedPayload = new ExecutionflowTransportExpectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportExpectedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowTransportExpectedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowTransportExpectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "TransportExpected" }); } create(value?: PartialMessage): ExecutionflowTransportExpectedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportExpectedEvent): ExecutionflowTransportExpectedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowTransportExpectedPayload Payload */ 3: message.Payload = ExecutionflowTransportExpectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowTransportExpectedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowTransportExpectedPayload Payload = 3; */ if (message.Payload) ExecutionflowTransportExpectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowTransportExpectedEvent */ export const ExecutionflowTransportExpectedEvent = new ExecutionflowTransportExpectedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportExpectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowTransportExpectedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowTransportExpectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "TransportExpected" }); } create(value?: PartialMessage): ExecutionflowTransportExpectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportExpectedRequest): ExecutionflowTransportExpectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowTransportExpectedPayload Payload */ 3: message.Payload = ExecutionflowTransportExpectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowTransportExpectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowTransportExpectedPayload Payload = 3; */ if (message.Payload) ExecutionflowTransportExpectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowTransportExpectedRequest */ export const ExecutionflowTransportExpectedRequest = new ExecutionflowTransportExpectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportExpectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowTransportExpectedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "TransportExpected" }); } create(value?: PartialMessage): ExecutionflowTransportExpectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportExpectedResponse): ExecutionflowTransportExpectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowTransportExpectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowTransportExpectedResponse */ export const ExecutionflowTransportExpectedResponse = new ExecutionflowTransportExpectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportStartedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowTransportStartedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "TransportStarted" }); } create(value?: PartialMessage): ExecutionflowTransportStartedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportStartedPayload): ExecutionflowTransportStartedPayload { 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: ExecutionflowTransportStartedPayload, 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.ExecutionflowTransportStartedPayload */ export const ExecutionflowTransportStartedPayload = new ExecutionflowTransportStartedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportStartedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowTransportStartedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowTransportStartedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "TransportStarted" }); } create(value?: PartialMessage): ExecutionflowTransportStartedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportStartedEvent): ExecutionflowTransportStartedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowTransportStartedPayload Payload */ 3: message.Payload = ExecutionflowTransportStartedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowTransportStartedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowTransportStartedPayload Payload = 3; */ if (message.Payload) ExecutionflowTransportStartedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowTransportStartedEvent */ export const ExecutionflowTransportStartedEvent = new ExecutionflowTransportStartedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportStartedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowTransportStartedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowTransportStartedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "TransportStarted" }); } create(value?: PartialMessage): ExecutionflowTransportStartedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportStartedRequest): ExecutionflowTransportStartedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowTransportStartedPayload Payload */ 3: message.Payload = ExecutionflowTransportStartedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowTransportStartedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowTransportStartedPayload Payload = 3; */ if (message.Payload) ExecutionflowTransportStartedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowTransportStartedRequest */ export const ExecutionflowTransportStartedRequest = new ExecutionflowTransportStartedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportStartedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowTransportStartedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "TransportStarted" }); } create(value?: PartialMessage): ExecutionflowTransportStartedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportStartedResponse): ExecutionflowTransportStartedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowTransportStartedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowTransportStartedResponse */ export const ExecutionflowTransportStartedResponse = new ExecutionflowTransportStartedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportCompletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowTransportCompletedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "TransportCompleted" }); } create(value?: PartialMessage): ExecutionflowTransportCompletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportCompletedPayload): ExecutionflowTransportCompletedPayload { 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: ExecutionflowTransportCompletedPayload, 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.ExecutionflowTransportCompletedPayload */ export const ExecutionflowTransportCompletedPayload = new ExecutionflowTransportCompletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportCompletedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowTransportCompletedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowTransportCompletedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "TransportCompleted" }); } create(value?: PartialMessage): ExecutionflowTransportCompletedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportCompletedEvent): ExecutionflowTransportCompletedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowTransportCompletedPayload Payload */ 3: message.Payload = ExecutionflowTransportCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowTransportCompletedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowTransportCompletedPayload Payload = 3; */ if (message.Payload) ExecutionflowTransportCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowTransportCompletedEvent */ export const ExecutionflowTransportCompletedEvent = new ExecutionflowTransportCompletedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportCompletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowTransportCompletedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowTransportCompletedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "TransportCompleted" }); } create(value?: PartialMessage): ExecutionflowTransportCompletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportCompletedRequest): ExecutionflowTransportCompletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowTransportCompletedPayload Payload */ 3: message.Payload = ExecutionflowTransportCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowTransportCompletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowTransportCompletedPayload Payload = 3; */ if (message.Payload) ExecutionflowTransportCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowTransportCompletedRequest */ export const ExecutionflowTransportCompletedRequest = new ExecutionflowTransportCompletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowTransportCompletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowTransportCompletedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "TransportCompleted" }); } create(value?: PartialMessage): ExecutionflowTransportCompletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowTransportCompletedResponse): ExecutionflowTransportCompletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowTransportCompletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowTransportCompletedResponse */ export const ExecutionflowTransportCompletedResponse = new ExecutionflowTransportCompletedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptStartedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptStartedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceiptStarted" }); } create(value?: PartialMessage): ExecutionflowReceiptStartedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptStartedPayload): ExecutionflowReceiptStartedPayload { 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: ExecutionflowReceiptStartedPayload, 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.ExecutionflowReceiptStartedPayload */ export const ExecutionflowReceiptStartedPayload = new ExecutionflowReceiptStartedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptStartedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptStartedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowReceiptStartedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "ReceiptStarted" }); } create(value?: PartialMessage): ExecutionflowReceiptStartedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptStartedEvent): ExecutionflowReceiptStartedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowReceiptStartedPayload Payload */ 3: message.Payload = ExecutionflowReceiptStartedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowReceiptStartedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowReceiptStartedPayload Payload = 3; */ if (message.Payload) ExecutionflowReceiptStartedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowReceiptStartedEvent */ export const ExecutionflowReceiptStartedEvent = new ExecutionflowReceiptStartedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptStartedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptStartedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowReceiptStartedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ReceiptStarted" }); } create(value?: PartialMessage): ExecutionflowReceiptStartedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptStartedRequest): ExecutionflowReceiptStartedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowReceiptStartedPayload Payload */ 3: message.Payload = ExecutionflowReceiptStartedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowReceiptStartedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowReceiptStartedPayload Payload = 3; */ if (message.Payload) ExecutionflowReceiptStartedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowReceiptStartedRequest */ export const ExecutionflowReceiptStartedRequest = new ExecutionflowReceiptStartedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptStartedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptStartedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ReceiptStarted" }); } create(value?: PartialMessage): ExecutionflowReceiptStartedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptStartedResponse): ExecutionflowReceiptStartedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowReceiptStartedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowReceiptStartedResponse */ export const ExecutionflowReceiptStartedResponse = new ExecutionflowReceiptStartedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptExpectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptExpectedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceiptExpected" }); } create(value?: PartialMessage): ExecutionflowReceiptExpectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptExpectedPayload): ExecutionflowReceiptExpectedPayload { 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: ExecutionflowReceiptExpectedPayload, 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.ExecutionflowReceiptExpectedPayload */ export const ExecutionflowReceiptExpectedPayload = new ExecutionflowReceiptExpectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptExpectedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptExpectedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowReceiptExpectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "ReceiptExpected" }); } create(value?: PartialMessage): ExecutionflowReceiptExpectedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptExpectedEvent): ExecutionflowReceiptExpectedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowReceiptExpectedPayload Payload */ 3: message.Payload = ExecutionflowReceiptExpectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowReceiptExpectedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowReceiptExpectedPayload Payload = 3; */ if (message.Payload) ExecutionflowReceiptExpectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowReceiptExpectedEvent */ export const ExecutionflowReceiptExpectedEvent = new ExecutionflowReceiptExpectedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptExpectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptExpectedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowReceiptExpectedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ReceiptExpected" }); } create(value?: PartialMessage): ExecutionflowReceiptExpectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptExpectedRequest): ExecutionflowReceiptExpectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowReceiptExpectedPayload Payload */ 3: message.Payload = ExecutionflowReceiptExpectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowReceiptExpectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowReceiptExpectedPayload Payload = 3; */ if (message.Payload) ExecutionflowReceiptExpectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowReceiptExpectedRequest */ export const ExecutionflowReceiptExpectedRequest = new ExecutionflowReceiptExpectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptExpectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptExpectedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ReceiptExpected" }); } create(value?: PartialMessage): ExecutionflowReceiptExpectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptExpectedResponse): ExecutionflowReceiptExpectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowReceiptExpectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowReceiptExpectedResponse */ export const ExecutionflowReceiptExpectedResponse = new ExecutionflowReceiptExpectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptCompletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptCompletedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ReceiptCompleted" }); } create(value?: PartialMessage): ExecutionflowReceiptCompletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptCompletedPayload): ExecutionflowReceiptCompletedPayload { 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: ExecutionflowReceiptCompletedPayload, 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.ExecutionflowReceiptCompletedPayload */ export const ExecutionflowReceiptCompletedPayload = new ExecutionflowReceiptCompletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptCompletedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptCompletedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowReceiptCompletedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "ReceiptCompleted" }); } create(value?: PartialMessage): ExecutionflowReceiptCompletedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptCompletedEvent): ExecutionflowReceiptCompletedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowReceiptCompletedPayload Payload */ 3: message.Payload = ExecutionflowReceiptCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowReceiptCompletedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowReceiptCompletedPayload Payload = 3; */ if (message.Payload) ExecutionflowReceiptCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowReceiptCompletedEvent */ export const ExecutionflowReceiptCompletedEvent = new ExecutionflowReceiptCompletedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptCompletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptCompletedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowReceiptCompletedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ReceiptCompleted" }); } create(value?: PartialMessage): ExecutionflowReceiptCompletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptCompletedRequest): ExecutionflowReceiptCompletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowReceiptCompletedPayload Payload */ 3: message.Payload = ExecutionflowReceiptCompletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowReceiptCompletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowReceiptCompletedPayload Payload = 3; */ if (message.Payload) ExecutionflowReceiptCompletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowReceiptCompletedRequest */ export const ExecutionflowReceiptCompletedRequest = new ExecutionflowReceiptCompletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowReceiptCompletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowReceiptCompletedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ReceiptCompleted" }); } create(value?: PartialMessage): ExecutionflowReceiptCompletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowReceiptCompletedResponse): ExecutionflowReceiptCompletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowReceiptCompletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowReceiptCompletedResponse */ export const ExecutionflowReceiptCompletedResponse = new ExecutionflowReceiptCompletedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowMetaDataUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowMetaDataUpdatedPayload", [ { no: 1, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "MetaDataUpdated" }); } create(value?: PartialMessage): ExecutionflowMetaDataUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.MetaData = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowMetaDataUpdatedPayload): ExecutionflowMetaDataUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.MetadataElement MetaData */ 1: message.MetaData.push(MetadataElement.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: ExecutionflowMetaDataUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.MetadataElement MetaData = 1; */ for (let i = 0; i < message.MetaData.length; i++) MetadataElement.internalBinaryWrite(message.MetaData[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.ExecutionflowMetaDataUpdatedPayload */ export const ExecutionflowMetaDataUpdatedPayload = new ExecutionflowMetaDataUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowMetaDataUpdatedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowMetaDataUpdatedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowMetaDataUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "MetaDataUpdated" }); } create(value?: PartialMessage): ExecutionflowMetaDataUpdatedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowMetaDataUpdatedEvent): ExecutionflowMetaDataUpdatedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowMetaDataUpdatedPayload Payload */ 3: message.Payload = ExecutionflowMetaDataUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowMetaDataUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowMetaDataUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowMetaDataUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowMetaDataUpdatedEvent */ export const ExecutionflowMetaDataUpdatedEvent = new ExecutionflowMetaDataUpdatedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowMetaDataUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowMetaDataUpdatedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowMetaDataUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "MetaDataUpdated" }); } create(value?: PartialMessage): ExecutionflowMetaDataUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowMetaDataUpdatedRequest): ExecutionflowMetaDataUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowMetaDataUpdatedPayload Payload */ 3: message.Payload = ExecutionflowMetaDataUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowMetaDataUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowMetaDataUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowMetaDataUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowMetaDataUpdatedRequest */ export const ExecutionflowMetaDataUpdatedRequest = new ExecutionflowMetaDataUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowMetaDataUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowMetaDataUpdatedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "MetaDataUpdated" }); } create(value?: PartialMessage): ExecutionflowMetaDataUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowMetaDataUpdatedResponse): ExecutionflowMetaDataUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowMetaDataUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowMetaDataUpdatedResponse */ export const ExecutionflowMetaDataUpdatedResponse = new ExecutionflowMetaDataUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCarrierUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowCarrierUpdatedPayload", [ { no: 1, name: "Carrier", kind: "message", localName: "Carrier", jsonName: "Carrier", T: () => TradeTier, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of the order carrier" } } }, { no: 2, name: "CarrierService", kind: "scalar", localName: "CarrierService", jsonName: "CarrierService", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of carrier service" } } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CarrierUpdated" }); } create(value?: PartialMessage): ExecutionflowCarrierUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.CarrierService = ""; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCarrierUpdatedPayload): ExecutionflowCarrierUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.TradeTier Carrier */ 1: message.Carrier = TradeTier.internalBinaryRead(reader, reader.uint32(), options, message.Carrier); break; case /* string CarrierService */ 2: message.CarrierService = 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: ExecutionflowCarrierUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.TradeTier Carrier = 1; */ if (message.Carrier) TradeTier.internalBinaryWrite(message.Carrier, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* string CarrierService = 2; */ if (message.CarrierService !== "") writer.tag(2, WireType.LengthDelimited).string(message.CarrierService); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); return writer; } } /** * @generated MessageType for protobuf message api.ExecutionflowCarrierUpdatedPayload */ export const ExecutionflowCarrierUpdatedPayload = new ExecutionflowCarrierUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCarrierUpdatedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowCarrierUpdatedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCarrierUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "CarrierUpdated", "api.preAggMethods": "verifyActorPartner" }); } create(value?: PartialMessage): ExecutionflowCarrierUpdatedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCarrierUpdatedEvent): ExecutionflowCarrierUpdatedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCarrierUpdatedPayload Payload */ 3: message.Payload = ExecutionflowCarrierUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCarrierUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCarrierUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowCarrierUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCarrierUpdatedEvent */ export const ExecutionflowCarrierUpdatedEvent = new ExecutionflowCarrierUpdatedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCarrierUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowCarrierUpdatedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCarrierUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "CarrierUpdated" }); } create(value?: PartialMessage): ExecutionflowCarrierUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCarrierUpdatedRequest): ExecutionflowCarrierUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCarrierUpdatedPayload Payload */ 3: message.Payload = ExecutionflowCarrierUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCarrierUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCarrierUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowCarrierUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCarrierUpdatedRequest */ export const ExecutionflowCarrierUpdatedRequest = new ExecutionflowCarrierUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCarrierUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowCarrierUpdatedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "CarrierUpdated" }); } create(value?: PartialMessage): ExecutionflowCarrierUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCarrierUpdatedResponse): ExecutionflowCarrierUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowCarrierUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowCarrierUpdatedResponse */ export const ExecutionflowCarrierUpdatedResponse = new ExecutionflowCarrierUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentAddedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentAddedPayload", [ { no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments added per type" } } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentAdded" }); } create(value?: PartialMessage): ExecutionflowAttachmentAddedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.Attachments = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentAddedPayload): ExecutionflowAttachmentAddedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.AttachmentSummary Attachments */ 1: message.Attachments.push(AttachmentSummary.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: ExecutionflowAttachmentAddedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.AttachmentSummary Attachments = 1; */ for (let i = 0; i < message.Attachments.length; i++) AttachmentSummary.internalBinaryWrite(message.Attachments[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.ExecutionflowAttachmentAddedPayload */ export const ExecutionflowAttachmentAddedPayload = new ExecutionflowAttachmentAddedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentAddedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentAddedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAttachmentAddedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "AttachmentAdded", "api.preAggMethods": "addAttachment" }); } create(value?: PartialMessage): ExecutionflowAttachmentAddedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentAddedEvent): ExecutionflowAttachmentAddedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAttachmentAddedPayload Payload */ 3: message.Payload = ExecutionflowAttachmentAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAttachmentAddedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAttachmentAddedPayload Payload = 3; */ if (message.Payload) ExecutionflowAttachmentAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAttachmentAddedEvent */ export const ExecutionflowAttachmentAddedEvent = new ExecutionflowAttachmentAddedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentAddedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentAddedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAttachmentAddedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentAdded" }); } create(value?: PartialMessage): ExecutionflowAttachmentAddedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentAddedRequest): ExecutionflowAttachmentAddedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAttachmentAddedPayload Payload */ 3: message.Payload = ExecutionflowAttachmentAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAttachmentAddedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAttachmentAddedPayload Payload = 3; */ if (message.Payload) ExecutionflowAttachmentAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAttachmentAddedRequest */ export const ExecutionflowAttachmentAddedRequest = new ExecutionflowAttachmentAddedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentAddedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentAddedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "AttachmentAdded" }); } create(value?: PartialMessage): ExecutionflowAttachmentAddedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentAddedResponse): ExecutionflowAttachmentAddedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowAttachmentAddedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowAttachmentAddedResponse */ export const ExecutionflowAttachmentAddedResponse = new ExecutionflowAttachmentAddedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentRemovedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentRemovedPayload", [ { no: 1, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments removed per type" } } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AttachmentRemoved" }); } create(value?: PartialMessage): ExecutionflowAttachmentRemovedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.Attachments = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentRemovedPayload): ExecutionflowAttachmentRemovedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.AttachmentSummary Attachments */ 1: message.Attachments.push(AttachmentSummary.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: ExecutionflowAttachmentRemovedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.AttachmentSummary Attachments = 1; */ for (let i = 0; i < message.Attachments.length; i++) AttachmentSummary.internalBinaryWrite(message.Attachments[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.ExecutionflowAttachmentRemovedPayload */ export const ExecutionflowAttachmentRemovedPayload = new ExecutionflowAttachmentRemovedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentRemovedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentRemovedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAttachmentRemovedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "AttachmentRemoved", "api.preAggMethods": "removeAttachment" }); } create(value?: PartialMessage): ExecutionflowAttachmentRemovedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentRemovedEvent): ExecutionflowAttachmentRemovedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAttachmentRemovedPayload Payload */ 3: message.Payload = ExecutionflowAttachmentRemovedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAttachmentRemovedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAttachmentRemovedPayload Payload = 3; */ if (message.Payload) ExecutionflowAttachmentRemovedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAttachmentRemovedEvent */ export const ExecutionflowAttachmentRemovedEvent = new ExecutionflowAttachmentRemovedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentRemovedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentRemovedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAttachmentRemovedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AttachmentRemoved" }); } create(value?: PartialMessage): ExecutionflowAttachmentRemovedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentRemovedRequest): ExecutionflowAttachmentRemovedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAttachmentRemovedPayload Payload */ 3: message.Payload = ExecutionflowAttachmentRemovedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAttachmentRemovedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAttachmentRemovedPayload Payload = 3; */ if (message.Payload) ExecutionflowAttachmentRemovedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAttachmentRemovedRequest */ export const ExecutionflowAttachmentRemovedRequest = new ExecutionflowAttachmentRemovedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAttachmentRemovedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowAttachmentRemovedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "AttachmentRemoved" }); } create(value?: PartialMessage): ExecutionflowAttachmentRemovedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAttachmentRemovedResponse): ExecutionflowAttachmentRemovedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowAttachmentRemovedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowAttachmentRemovedResponse */ export const ExecutionflowAttachmentRemovedResponse = new ExecutionflowAttachmentRemovedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowClaimAddedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowClaimAddedPayload", [ { no: 1, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims added per type" }, "api.aggKey": "ClaimTypeID" } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ClaimAdded" }); } create(value?: PartialMessage): ExecutionflowClaimAddedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.Claims = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowClaimAddedPayload): ExecutionflowClaimAddedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.ClaimSummary Claims */ 1: message.Claims.push(ClaimSummary.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: ExecutionflowClaimAddedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.ClaimSummary Claims = 1; */ for (let i = 0; i < message.Claims.length; i++) ClaimSummary.internalBinaryWrite(message.Claims[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.ExecutionflowClaimAddedPayload */ export const ExecutionflowClaimAddedPayload = new ExecutionflowClaimAddedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowClaimAddedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowClaimAddedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowClaimAddedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "ClaimAdded", "api.preAggMethods": "addClaim" }); } create(value?: PartialMessage): ExecutionflowClaimAddedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowClaimAddedEvent): ExecutionflowClaimAddedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowClaimAddedPayload Payload */ 3: message.Payload = ExecutionflowClaimAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowClaimAddedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowClaimAddedPayload Payload = 3; */ if (message.Payload) ExecutionflowClaimAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowClaimAddedEvent */ export const ExecutionflowClaimAddedEvent = new ExecutionflowClaimAddedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowClaimAddedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowClaimAddedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowClaimAddedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ClaimAdded" }); } create(value?: PartialMessage): ExecutionflowClaimAddedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowClaimAddedRequest): ExecutionflowClaimAddedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowClaimAddedPayload Payload */ 3: message.Payload = ExecutionflowClaimAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowClaimAddedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowClaimAddedPayload Payload = 3; */ if (message.Payload) ExecutionflowClaimAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowClaimAddedRequest */ export const ExecutionflowClaimAddedRequest = new ExecutionflowClaimAddedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowClaimAddedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowClaimAddedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "ClaimAdded" }); } create(value?: PartialMessage): ExecutionflowClaimAddedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowClaimAddedResponse): ExecutionflowClaimAddedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowClaimAddedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowClaimAddedResponse */ export const ExecutionflowClaimAddedResponse = new ExecutionflowClaimAddedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDeletedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowDeletedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Deleted" }); } create(value?: PartialMessage): ExecutionflowDeletedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDeletedPayload): ExecutionflowDeletedPayload { 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: ExecutionflowDeletedPayload, 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.ExecutionflowDeletedPayload */ export const ExecutionflowDeletedPayload = new ExecutionflowDeletedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDeletedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowDeletedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowDeletedPayload } ], { "api.messageType": "Event", "api.inputEvent": "Deleted", "api.preAggMethods": "checkDeleted" }); } create(value?: PartialMessage): ExecutionflowDeletedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDeletedEvent): ExecutionflowDeletedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowDeletedPayload Payload */ 3: message.Payload = ExecutionflowDeletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowDeletedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowDeletedPayload Payload = 3; */ if (message.Payload) ExecutionflowDeletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowDeletedEvent */ export const ExecutionflowDeletedEvent = new ExecutionflowDeletedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDeletedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowDeletedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowDeletedPayload } ], { "api.messageType": "Request", "api.inputEvent": "Deleted" }); } create(value?: PartialMessage): ExecutionflowDeletedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDeletedRequest): ExecutionflowDeletedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowDeletedPayload Payload */ 3: message.Payload = ExecutionflowDeletedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowDeletedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowDeletedPayload Payload = 3; */ if (message.Payload) ExecutionflowDeletedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowDeletedRequest */ export const ExecutionflowDeletedRequest = new ExecutionflowDeletedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowDeletedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowDeletedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Deleted" }); } create(value?: PartialMessage): ExecutionflowDeletedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowDeletedResponse): ExecutionflowDeletedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowDeletedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowDeletedResponse */ export const ExecutionflowDeletedResponse = new ExecutionflowDeletedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowLinesAddedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowLinesAddedPayload", [ { no: 1, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" }, "api.aggKey": "LineID" } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "LinesAdded" }); } create(value?: PartialMessage): ExecutionflowLinesAddedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.Lines = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesAddedPayload): ExecutionflowLinesAddedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.ExeFlowLine Lines */ 1: message.Lines.push(ExeFlowLine.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: ExecutionflowLinesAddedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.ExeFlowLine Lines = 1; */ for (let i = 0; i < message.Lines.length; i++) ExeFlowLine.internalBinaryWrite(message.Lines[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.ExecutionflowLinesAddedPayload */ export const ExecutionflowLinesAddedPayload = new ExecutionflowLinesAddedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowLinesAddedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowLinesAddedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowLinesAddedPayload } ], { "api.messageType": "Event", "api.inputEvent": "LinesAdded", "api.postAggMethods": "computeRequestedContent" }); } create(value?: PartialMessage): ExecutionflowLinesAddedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesAddedEvent): ExecutionflowLinesAddedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowLinesAddedPayload Payload */ 3: message.Payload = ExecutionflowLinesAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowLinesAddedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowLinesAddedPayload Payload = 3; */ if (message.Payload) ExecutionflowLinesAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowLinesAddedEvent */ export const ExecutionflowLinesAddedEvent = new ExecutionflowLinesAddedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowLinesAddedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowLinesAddedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowLinesAddedPayload } ], { "api.messageType": "Request", "api.inputEvent": "LinesAdded" }); } create(value?: PartialMessage): ExecutionflowLinesAddedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesAddedRequest): ExecutionflowLinesAddedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowLinesAddedPayload Payload */ 3: message.Payload = ExecutionflowLinesAddedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowLinesAddedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowLinesAddedPayload Payload = 3; */ if (message.Payload) ExecutionflowLinesAddedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowLinesAddedRequest */ export const ExecutionflowLinesAddedRequest = new ExecutionflowLinesAddedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowLinesAddedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowLinesAddedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "LinesAdded" }); } create(value?: PartialMessage): ExecutionflowLinesAddedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesAddedResponse): ExecutionflowLinesAddedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowLinesAddedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowLinesAddedResponse */ export const ExecutionflowLinesAddedResponse = new ExecutionflowLinesAddedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowLinesDetectedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowLinesDetectedPayload", [ { no: 1, name: "Lines", kind: "message", localName: "Lines", jsonName: "Lines", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExeFlowLine, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Definition of trade. Executionflow lines. Defines the requested goods and the prepared goods" }, "api.aggKey": "LineID" } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "LinesDetected" }); } create(value?: PartialMessage): ExecutionflowLinesDetectedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.Lines = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesDetectedPayload): ExecutionflowLinesDetectedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.ExeFlowLine Lines */ 1: message.Lines.push(ExeFlowLine.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: ExecutionflowLinesDetectedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.ExeFlowLine Lines = 1; */ for (let i = 0; i < message.Lines.length; i++) ExeFlowLine.internalBinaryWrite(message.Lines[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.ExecutionflowLinesDetectedPayload */ export const ExecutionflowLinesDetectedPayload = new ExecutionflowLinesDetectedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowLinesDetectedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowLinesDetectedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowLinesDetectedPayload } ], { "api.messageType": "Event", "api.inputEvent": "LinesDetected", "api.postAggMethods": "computeRequestedContent" }); } create(value?: PartialMessage): ExecutionflowLinesDetectedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesDetectedEvent): ExecutionflowLinesDetectedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowLinesDetectedPayload Payload */ 3: message.Payload = ExecutionflowLinesDetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowLinesDetectedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowLinesDetectedPayload Payload = 3; */ if (message.Payload) ExecutionflowLinesDetectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowLinesDetectedEvent */ export const ExecutionflowLinesDetectedEvent = new ExecutionflowLinesDetectedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowLinesDetectedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowLinesDetectedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowLinesDetectedPayload } ], { "api.messageType": "Request", "api.inputEvent": "LinesDetected" }); } create(value?: PartialMessage): ExecutionflowLinesDetectedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesDetectedRequest): ExecutionflowLinesDetectedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowLinesDetectedPayload Payload */ 3: message.Payload = ExecutionflowLinesDetectedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowLinesDetectedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowLinesDetectedPayload Payload = 3; */ if (message.Payload) ExecutionflowLinesDetectedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowLinesDetectedRequest */ export const ExecutionflowLinesDetectedRequest = new ExecutionflowLinesDetectedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowLinesDetectedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowLinesDetectedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "LinesDetected" }); } create(value?: PartialMessage): ExecutionflowLinesDetectedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowLinesDetectedResponse): ExecutionflowLinesDetectedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowLinesDetectedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowLinesDetectedResponse */ export const ExecutionflowLinesDetectedResponse = new ExecutionflowLinesDetectedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRenotifiedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowRenotifiedPayload", [], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Renotified" }); } create(value?: PartialMessage): ExecutionflowRenotifiedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRenotifiedPayload): ExecutionflowRenotifiedPayload { 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: ExecutionflowRenotifiedPayload, 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.ExecutionflowRenotifiedPayload */ export const ExecutionflowRenotifiedPayload = new ExecutionflowRenotifiedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRenotifiedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowRenotifiedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowRenotifiedPayload } ], { "api.messageType": "Event", "api.inputEvent": "Renotified" }); } create(value?: PartialMessage): ExecutionflowRenotifiedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRenotifiedEvent): ExecutionflowRenotifiedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowRenotifiedPayload Payload */ 3: message.Payload = ExecutionflowRenotifiedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowRenotifiedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowRenotifiedPayload Payload = 3; */ if (message.Payload) ExecutionflowRenotifiedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowRenotifiedEvent */ export const ExecutionflowRenotifiedEvent = new ExecutionflowRenotifiedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRenotifiedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowRenotifiedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowRenotifiedPayload } ], { "api.messageType": "Request", "api.inputEvent": "Renotified" }); } create(value?: PartialMessage): ExecutionflowRenotifiedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRenotifiedRequest): ExecutionflowRenotifiedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowRenotifiedPayload Payload */ 3: message.Payload = ExecutionflowRenotifiedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowRenotifiedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowRenotifiedPayload Payload = 3; */ if (message.Payload) ExecutionflowRenotifiedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowRenotifiedRequest */ export const ExecutionflowRenotifiedRequest = new ExecutionflowRenotifiedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowRenotifiedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowRenotifiedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Renotified" }); } create(value?: PartialMessage): ExecutionflowRenotifiedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowRenotifiedResponse): ExecutionflowRenotifiedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowRenotifiedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowRenotifiedResponse */ export const ExecutionflowRenotifiedResponse = new ExecutionflowRenotifiedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowSanitisedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowSanitisedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Sanitised" }); } create(value?: PartialMessage): ExecutionflowSanitisedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowSanitisedPayload): ExecutionflowSanitisedPayload { 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: ExecutionflowSanitisedPayload, 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.ExecutionflowSanitisedPayload */ export const ExecutionflowSanitisedPayload = new ExecutionflowSanitisedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowSanitisedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowSanitisedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowSanitisedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "Sanitised", "api.postAggMethods": "sanitise" }); } create(value?: PartialMessage): ExecutionflowSanitisedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowSanitisedEvent): ExecutionflowSanitisedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowSanitisedPayload Payload */ 3: message.Payload = ExecutionflowSanitisedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowSanitisedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowSanitisedPayload Payload = 3; */ if (message.Payload) ExecutionflowSanitisedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowSanitisedEvent */ export const ExecutionflowSanitisedEvent = new ExecutionflowSanitisedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowSanitisedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowSanitisedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowSanitisedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "Sanitised" }); } create(value?: PartialMessage): ExecutionflowSanitisedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowSanitisedRequest): ExecutionflowSanitisedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowSanitisedPayload Payload */ 3: message.Payload = ExecutionflowSanitisedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowSanitisedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowSanitisedPayload Payload = 3; */ if (message.Payload) ExecutionflowSanitisedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowSanitisedRequest */ export const ExecutionflowSanitisedRequest = new ExecutionflowSanitisedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowSanitisedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowSanitisedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "Sanitised" }); } create(value?: PartialMessage): ExecutionflowSanitisedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowSanitisedResponse): ExecutionflowSanitisedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowSanitisedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowSanitisedResponse */ export const ExecutionflowSanitisedResponse = new ExecutionflowSanitisedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCustomFieldsUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowCustomFieldsUpdatedPayload", [], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CustomFieldsUpdated" }); } create(value?: PartialMessage): ExecutionflowCustomFieldsUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedPayload): ExecutionflowCustomFieldsUpdatedPayload { 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: ExecutionflowCustomFieldsUpdatedPayload, 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.ExecutionflowCustomFieldsUpdatedPayload */ export const ExecutionflowCustomFieldsUpdatedPayload = new ExecutionflowCustomFieldsUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCustomFieldsUpdatedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowCustomFieldsUpdatedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCustomFieldsUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "CustomFieldsUpdated" }); } create(value?: PartialMessage): ExecutionflowCustomFieldsUpdatedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedEvent): ExecutionflowCustomFieldsUpdatedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCustomFieldsUpdatedPayload Payload */ 3: message.Payload = ExecutionflowCustomFieldsUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCustomFieldsUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCustomFieldsUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowCustomFieldsUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCustomFieldsUpdatedEvent */ export const ExecutionflowCustomFieldsUpdatedEvent = new ExecutionflowCustomFieldsUpdatedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCustomFieldsUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowCustomFieldsUpdatedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowCustomFieldsUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "CustomFieldsUpdated" }); } create(value?: PartialMessage): ExecutionflowCustomFieldsUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedRequest): ExecutionflowCustomFieldsUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowCustomFieldsUpdatedPayload Payload */ 3: message.Payload = ExecutionflowCustomFieldsUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowCustomFieldsUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowCustomFieldsUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowCustomFieldsUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowCustomFieldsUpdatedRequest */ export const ExecutionflowCustomFieldsUpdatedRequest = new ExecutionflowCustomFieldsUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowCustomFieldsUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowCustomFieldsUpdatedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "CustomFieldsUpdated" }); } create(value?: PartialMessage): ExecutionflowCustomFieldsUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowCustomFieldsUpdatedResponse): ExecutionflowCustomFieldsUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowCustomFieldsUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowCustomFieldsUpdatedResponse */ export const ExecutionflowCustomFieldsUpdatedResponse = new ExecutionflowCustomFieldsUpdatedResponse$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAppointmentUpdatedPayload$Type extends MessageType { constructor() { super("api.ExecutionflowAppointmentUpdatedPayload", [ { no: 1, name: "Appointments", kind: "message", localName: "Appointments", jsonName: "Appointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of appointments updated" } } }, { no: 2, name: "RemovedAppointments", kind: "message", localName: "RemovedAppointments", jsonName: "RemovedAppointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of appointments removed" } } } ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AppointmentUpdated" }); } create(value?: PartialMessage): ExecutionflowAppointmentUpdatedPayload { const message = globalThis.Object.create((this.messagePrototype!)); message.Appointments = []; message.RemovedAppointments = []; if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAppointmentUpdatedPayload): ExecutionflowAppointmentUpdatedPayload { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* repeated api.AppointmentSummary Appointments */ 1: message.Appointments.push(AppointmentSummary.internalBinaryRead(reader, reader.uint32(), options)); break; case /* repeated api.AppointmentSummary RemovedAppointments */ 2: message.RemovedAppointments.push(AppointmentSummary.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: ExecutionflowAppointmentUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* repeated api.AppointmentSummary Appointments = 1; */ for (let i = 0; i < message.Appointments.length; i++) AppointmentSummary.internalBinaryWrite(message.Appointments[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* repeated api.AppointmentSummary RemovedAppointments = 2; */ for (let i = 0; i < message.RemovedAppointments.length; i++) AppointmentSummary.internalBinaryWrite(message.RemovedAppointments[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.ExecutionflowAppointmentUpdatedPayload */ export const ExecutionflowAppointmentUpdatedPayload = new ExecutionflowAppointmentUpdatedPayload$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAppointmentUpdatedEvent$Type extends MessageType { constructor() { super("api.ExecutionflowAppointmentUpdatedEvent", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAppointmentUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "api.messageType": "Event", "api.inputEvent": "AppointmentUpdated", "api.preAggMethods": "updateAppointment" }); } create(value?: PartialMessage): ExecutionflowAppointmentUpdatedEvent { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAppointmentUpdatedEvent): ExecutionflowAppointmentUpdatedEvent { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.EventHeader Header */ 1: message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAppointmentUpdatedPayload Payload */ 3: message.Payload = ExecutionflowAppointmentUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAppointmentUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.EventHeader Header = 1; */ if (message.Header) EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAppointmentUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowAppointmentUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAppointmentUpdatedEvent */ export const ExecutionflowAppointmentUpdatedEvent = new ExecutionflowAppointmentUpdatedEvent$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAppointmentUpdatedRequest$Type extends MessageType { constructor() { super("api.ExecutionflowAppointmentUpdatedRequest", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ExecutionflowAppointmentUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AppointmentUpdated" }); } create(value?: PartialMessage): ExecutionflowAppointmentUpdatedRequest { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAppointmentUpdatedRequest): ExecutionflowAppointmentUpdatedRequest { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.RequestProjectHeader Header */ 1: message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); break; case /* api.ExecutionflowAppointmentUpdatedPayload Payload */ 3: message.Payload = ExecutionflowAppointmentUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); 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: ExecutionflowAppointmentUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.RequestProjectHeader Header = 1; */ if (message.Header) RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); /* api.ExecutionflowAppointmentUpdatedPayload Payload = 3; */ if (message.Payload) ExecutionflowAppointmentUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, 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.ExecutionflowAppointmentUpdatedRequest */ export const ExecutionflowAppointmentUpdatedRequest = new ExecutionflowAppointmentUpdatedRequest$Type(); // @generated message type with reflection information, may provide speed optimized methods class ExecutionflowAppointmentUpdatedResponse$Type extends MessageType { constructor() { super("api.ExecutionflowAppointmentUpdatedResponse", [ { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } ], { "api.messageType": "Response", "api.inputEvent": "AppointmentUpdated" }); } create(value?: PartialMessage): ExecutionflowAppointmentUpdatedResponse { const message = globalThis.Object.create((this.messagePrototype!)); if (value !== undefined) reflectionMergePartial(this, message, value); return message; } internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionflowAppointmentUpdatedResponse): ExecutionflowAppointmentUpdatedResponse { let message = target ?? this.create(), end = reader.pos + length; while (reader.pos < end) { let [fieldNo, wireType] = reader.tag(); switch (fieldNo) { case /* api.ResponseHeader Header */ 1: message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); break; case /* api.EntityID ID */ 2: message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); 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: ExecutionflowAppointmentUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { /* api.ResponseHeader Header = 1; */ if (message.Header) ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); /* api.EntityID ID = 2; */ if (message.ID) EntityID.internalBinaryWrite(message.ID, 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.ExecutionflowAppointmentUpdatedResponse */ export const ExecutionflowAppointmentUpdatedResponse = new ExecutionflowAppointmentUpdatedResponse$Type(); /** * @generated ServiceType for protobuf service api.ExecutionflowInputAPI */ export const ExecutionflowInputAPI = new ServiceType("api.ExecutionflowInputAPI", [ { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been created. This is typically called from an OMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCreatedRequest, O: ExecutionflowCreatedResponse }, { name: "Detected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been detected. This is typically called from an WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowDetectedRequest, O: ExecutionflowDetectedResponse }, { name: "Redetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "The associated order was not created correctly. Call this api to fix the order creation. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowRedetectedRequest, O: ExecutionflowRedetectedResponse }, { name: "ShipFromAcked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been acked by the shipFrom WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowShipFromAckedRequest, O: ExecutionflowShipFromAckedResponse }, { name: "ShipToAcked", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been acked by the shipTo WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowShipToAckedRequest, O: ExecutionflowShipToAckedResponse }, { name: "Cancelled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been cancelled. This is typically called from an OMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCancelledRequest, O: ExecutionflowCancelledResponse }, { name: "Anonymised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been anonymised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowAnonymisedRequest, O: ExecutionflowAnonymisedResponse }, { name: "Completed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Execution Flow has been completed. This is typically called from an OMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCompletedRequest, O: ExecutionflowCompletedResponse }, { name: "HUContentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Handling Unit status update is reported to an Execution Flow. This is used internally. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowHUContentUpdatedRequest, O: ExecutionflowHUContentUpdatedResponse }, { name: "HUTrackingUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Handling Unit status update is reported to an Execution Flow. This is used internally. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowHUTrackingUpdatedRequest, O: ExecutionflowHUTrackingUpdatedResponse }, { name: "HUETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An HandlingUnit ETA update is reported to an Execution Flow. This is used internally. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowHUETAUpdatedRequest, O: ExecutionflowHUETAUpdatedResponse }, { name: "ETAUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow ETA update is reported to an Execution Flow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowETAUpdatedRequest, O: ExecutionflowETAUpdatedResponse }, { name: "PreparationExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation is expected on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowPreparationExpectedRequest, O: ExecutionflowPreparationExpectedResponse }, { name: "PreparationStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation has started on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowPreparationStartedRequest, O: ExecutionflowPreparationStartedResponse }, { name: "PreparationCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Preparation is completed on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowPreparationCompletedRequest, O: ExecutionflowPreparationCompletedResponse }, { name: "TransportExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport is expected on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowTransportExpectedRequest, O: ExecutionflowTransportExpectedResponse }, { name: "TransportStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport has started on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowTransportStartedRequest, O: ExecutionflowTransportStartedResponse }, { name: "TransportCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Transport is completed on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowTransportCompletedRequest, O: ExecutionflowTransportCompletedResponse }, { name: "ReceiptExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt is expected on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowReceiptExpectedRequest, O: ExecutionflowReceiptExpectedResponse }, { name: "ReceiptStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt has started on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowReceiptStartedRequest, O: ExecutionflowReceiptStartedResponse }, { name: "ReceiptCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Receipt is completed on the Execution Flow. This is typically called from a WMS. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowReceiptCompletedRequest, O: ExecutionflowReceiptCompletedResponse }, { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some metadata have been updated on an Execution Flow. This is typically called from OMS or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowMetaDataUpdatedRequest, O: ExecutionflowMetaDataUpdatedResponse }, { name: "CarrierUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "The carrier and/or carrier service has been updated for the Execution Flow. This is typically called from OMS or WMS." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCarrierUpdatedRequest, O: ExecutionflowCarrierUpdatedResponse }, { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAttachmentAddedRequest, O: ExecutionflowAttachmentAddedResponse }, { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is removed for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAttachmentRemovedRequest, O: ExecutionflowAttachmentRemovedResponse }, { name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An allocation error occured on the Executionflow." }, "api.rscType": "Project", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowAllocationErrorRequest, O: ExecutionflowAllocationErrorResponse }, { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "A claim is added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowClaimAddedRequest, O: ExecutionflowClaimAddedResponse }, { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An executionflow has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation executionflows." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowDeletedRequest, O: ExecutionflowDeletedResponse }, { name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some lines are added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowLinesAddedRequest, O: ExecutionflowLinesAddedResponse }, { name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Adding lines in the Order has been reported to an Executionflow. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowLinesDetectedRequest, O: ExecutionflowLinesDetectedResponse }, { name: "Renotified", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Re-notify the connected partnerApps." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowRenotifiedRequest, O: ExecutionflowRenotifiedResponse }, { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An Executionflow has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowSanitisedRequest, O: ExecutionflowSanitisedResponse }, { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowCustomFieldsUpdatedRequest, O: ExecutionflowCustomFieldsUpdatedResponse }, { name: "AppointmentUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An appointment is updated for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAppointmentUpdatedRequest, O: ExecutionflowAppointmentUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" });