// @generated by protoc-gen-es v1.10.0 with parameter "target=ts" // @generated from file executionflowQuery.proto (package api, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { BlockFilter, EntityID, QueryProjectHeader, ResultHeader } from "./shared_pb.js"; import { Executionflow } from "./executionflow_pb.js"; /** * @generated from message api.ExecutionflowByIdQuery */ export class ExecutionflowByIdQuery extends Message { /** * @generated from field: api.QueryProjectHeader Header = 1; */ Header?: QueryProjectHeader; /** * @generated from field: repeated api.EntityID IDs = 2; */ IDs: EntityID[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.ExecutionflowByIdQuery"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: QueryProjectHeader }, { no: 2, name: "IDs", kind: "message", T: EntityID, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionflowByIdQuery { return new ExecutionflowByIdQuery().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionflowByIdQuery { return new ExecutionflowByIdQuery().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ExecutionflowByIdQuery { return new ExecutionflowByIdQuery().fromJsonString(jsonString, options); } static equals(a: ExecutionflowByIdQuery | PlainMessage | undefined, b: ExecutionflowByIdQuery | PlainMessage | undefined): boolean { return proto3.util.equals(ExecutionflowByIdQuery, a, b); } } /** * @generated from message api.ExecutionflowByIdResult */ export class ExecutionflowByIdResult extends Message { /** * @generated from field: api.ResultHeader Header = 1; */ Header?: ResultHeader; /** * @generated from field: repeated api.Executionflow Objects = 2; */ Objects: Executionflow[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.ExecutionflowByIdResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: ResultHeader }, { no: 2, name: "Objects", kind: "message", T: Executionflow, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionflowByIdResult { return new ExecutionflowByIdResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionflowByIdResult { return new ExecutionflowByIdResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ExecutionflowByIdResult { return new ExecutionflowByIdResult().fromJsonString(jsonString, options); } static equals(a: ExecutionflowByIdResult | PlainMessage | undefined, b: ExecutionflowByIdResult | PlainMessage | undefined): boolean { return proto3.util.equals(ExecutionflowByIdResult, a, b); } } /** * @generated from message api.ExecutionflowByFilterQuery */ export class ExecutionflowByFilterQuery extends Message { /** * @generated from field: api.QueryProjectHeader Header = 1; */ Header?: QueryProjectHeader; /** * Number of maximum result * * @generated from field: string limitFilter = 4; */ limitFilter = ""; /** * @generated from field: string queryContext = 5; */ queryContext = ""; /** * list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored * * @generated from field: repeated api.BlockFilter BlockFilters = 6; */ BlockFilters: BlockFilter[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.ExecutionflowByFilterQuery"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: QueryProjectHeader }, { no: 4, name: "limitFilter", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "queryContext", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "BlockFilters", kind: "message", T: BlockFilter, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionflowByFilterQuery { return new ExecutionflowByFilterQuery().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionflowByFilterQuery { return new ExecutionflowByFilterQuery().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ExecutionflowByFilterQuery { return new ExecutionflowByFilterQuery().fromJsonString(jsonString, options); } static equals(a: ExecutionflowByFilterQuery | PlainMessage | undefined, b: ExecutionflowByFilterQuery | PlainMessage | undefined): boolean { return proto3.util.equals(ExecutionflowByFilterQuery, a, b); } } /** * @generated from message api.ExecutionflowByFilterResult */ export class ExecutionflowByFilterResult extends Message { /** * @generated from field: api.ResultHeader Header = 1; */ Header?: ResultHeader; /** * @generated from field: repeated api.Executionflow Objects = 2; */ Objects: Executionflow[] = []; /** * @generated from field: string queryContext = 3; */ queryContext = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.ExecutionflowByFilterResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: ResultHeader }, { no: 2, name: "Objects", kind: "message", T: Executionflow, repeated: true }, { no: 3, name: "queryContext", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ExecutionflowByFilterResult { return new ExecutionflowByFilterResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ExecutionflowByFilterResult { return new ExecutionflowByFilterResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ExecutionflowByFilterResult { return new ExecutionflowByFilterResult().fromJsonString(jsonString, options); } static equals(a: ExecutionflowByFilterResult | PlainMessage | undefined, b: ExecutionflowByFilterResult | PlainMessage | undefined): boolean { return proto3.util.equals(ExecutionflowByFilterResult, a, b); } }