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