// @generated by protoc-gen-es v1.10.0 with parameter "target=ts" // @generated from file orderQuery.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, MatchField, MatchFieldResult, QueryProjectHeader, ResultHeader } from "./shared_pb.js"; import { Order } from "./order_pb.js"; /** * @generated from message api.OrderByIdQuery */ export class OrderByIdQuery 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.OrderByIdQuery"; 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): OrderByIdQuery { return new OrderByIdQuery().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): OrderByIdQuery { return new OrderByIdQuery().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): OrderByIdQuery { return new OrderByIdQuery().fromJsonString(jsonString, options); } static equals(a: OrderByIdQuery | PlainMessage | undefined, b: OrderByIdQuery | PlainMessage | undefined): boolean { return proto3.util.equals(OrderByIdQuery, a, b); } } /** * @generated from message api.OrderByIdResult */ export class OrderByIdResult extends Message { /** * @generated from field: api.ResultHeader Header = 1; */ Header?: ResultHeader; /** * @generated from field: repeated api.Order Objects = 2; */ Objects: Order[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.OrderByIdResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: ResultHeader }, { no: 2, name: "Objects", kind: "message", T: Order, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): OrderByIdResult { return new OrderByIdResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): OrderByIdResult { return new OrderByIdResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): OrderByIdResult { return new OrderByIdResult().fromJsonString(jsonString, options); } static equals(a: OrderByIdResult | PlainMessage | undefined, b: OrderByIdResult | PlainMessage | undefined): boolean { return proto3.util.equals(OrderByIdResult, a, b); } } /** * @generated from message api.OrderByFilterQuery */ export class OrderByFilterQuery 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.OrderByFilterQuery"; 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): OrderByFilterQuery { return new OrderByFilterQuery().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): OrderByFilterQuery { return new OrderByFilterQuery().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): OrderByFilterQuery { return new OrderByFilterQuery().fromJsonString(jsonString, options); } static equals(a: OrderByFilterQuery | PlainMessage | undefined, b: OrderByFilterQuery | PlainMessage | undefined): boolean { return proto3.util.equals(OrderByFilterQuery, a, b); } } /** * @generated from message api.OrderByFilterResult */ export class OrderByFilterResult extends Message { /** * @generated from field: api.ResultHeader Header = 1; */ Header?: ResultHeader; /** * @generated from field: repeated api.Order Objects = 2; */ Objects: Order[] = []; /** * @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.OrderByFilterResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: ResultHeader }, { no: 2, name: "Objects", kind: "message", T: Order, repeated: true }, { no: 3, name: "queryContext", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): OrderByFilterResult { return new OrderByFilterResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): OrderByFilterResult { return new OrderByFilterResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): OrderByFilterResult { return new OrderByFilterResult().fromJsonString(jsonString, options); } static equals(a: OrderByFilterResult | PlainMessage | undefined, b: OrderByFilterResult | PlainMessage | undefined): boolean { return proto3.util.equals(OrderByFilterResult, a, b); } } /** * @generated from message api.OrderByMatchQuery */ export class OrderByMatchQuery extends Message { /** * @generated from field: api.QueryProjectHeader Header = 1; */ Header?: QueryProjectHeader; /** * 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 = 7; */ BlockFilters: BlockFilter[] = []; /** * MatchField list structure, for FindMatching query * * @generated from field: repeated api.MatchField MatchFields = 8; */ MatchFields: MatchField[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.OrderByMatchQuery"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: QueryProjectHeader }, { no: 7, name: "BlockFilters", kind: "message", T: BlockFilter, repeated: true }, { no: 8, name: "MatchFields", kind: "message", T: MatchField, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): OrderByMatchQuery { return new OrderByMatchQuery().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): OrderByMatchQuery { return new OrderByMatchQuery().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): OrderByMatchQuery { return new OrderByMatchQuery().fromJsonString(jsonString, options); } static equals(a: OrderByMatchQuery | PlainMessage | undefined, b: OrderByMatchQuery | PlainMessage | undefined): boolean { return proto3.util.equals(OrderByMatchQuery, a, b); } } /** * @generated from message api.OrderByMatchResult */ export class OrderByMatchResult extends Message { /** * @generated from field: repeated api.MatchFieldResult MatchResults = 2; */ MatchResults: MatchFieldResult[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "api.OrderByMatchResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 2, name: "MatchResults", kind: "message", T: MatchFieldResult, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): OrderByMatchResult { return new OrderByMatchResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): OrderByMatchResult { return new OrderByMatchResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): OrderByMatchResult { return new OrderByMatchResult().fromJsonString(jsonString, options); } static equals(a: OrderByMatchResult | PlainMessage | undefined, b: OrderByMatchResult | PlainMessage | undefined): boolean { return proto3.util.equals(OrderByMatchResult, a, b); } }