Latest generation

This commit is contained in:
ci core model
2025-04-28 12:35:42 +00:00
parent 595d5e3e36
commit 09d656c554
197 changed files with 25094 additions and 25094 deletions

View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.9.6
// @generated by protobuf-ts 2.9.6 with parameter use_proto_field_name
// @generated from protobuf file "handlingunitQuery.proto" (package "api", syntax proto3)
// tslint:disable
import { CountLinesResult } from "./shared";
@@ -36,11 +36,11 @@ export interface HandlingunitByIdQuery {
/**
* @generated from protobuf field: api.QueryProjectHeader Header = 1 [json_name = "Header"];
*/
header?: QueryProjectHeader;
Header?: QueryProjectHeader;
/**
* @generated from protobuf field: repeated api.EntityID IDs = 2 [json_name = "IDs"];
*/
iDs: EntityID[];
IDs: EntityID[];
}
/**
* @generated from protobuf message api.HandlingunitByIdResult
@@ -49,11 +49,11 @@ export interface HandlingunitByIdResult {
/**
* @generated from protobuf field: api.ResultHeader Header = 1 [json_name = "Header"];
*/
header?: ResultHeader;
Header?: ResultHeader;
/**
* @generated from protobuf field: repeated api.Handlingunit Objects = 2 [json_name = "Objects"];
*/
objects: Handlingunit[];
Objects: Handlingunit[];
}
/**
* @generated from protobuf message api.HandlingunitByFilterQuery
@@ -62,7 +62,7 @@ export interface HandlingunitByFilterQuery {
/**
* @generated from protobuf field: api.QueryProjectHeader Header = 1 [json_name = "Header"];
*/
header?: QueryProjectHeader;
Header?: QueryProjectHeader;
/**
* @generated from protobuf field: string limitFilter = 4;
*/
@@ -76,7 +76,7 @@ export interface HandlingunitByFilterQuery {
*
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 7 [json_name = "BlockFilters"];
*/
blockFilters: BlockFilter[];
BlockFilters: BlockFilter[];
}
/**
* @generated from protobuf message api.HandlingunitByFilterResult
@@ -85,11 +85,11 @@ export interface HandlingunitByFilterResult {
/**
* @generated from protobuf field: api.ResultHeader Header = 1 [json_name = "Header"];
*/
header?: ResultHeader;
Header?: ResultHeader;
/**
* @generated from protobuf field: repeated api.Handlingunit Objects = 2 [json_name = "Objects"];
*/
objects: Handlingunit[];
Objects: Handlingunit[];
/**
* @generated from protobuf field: string queryContext = 3;
*/
@@ -102,19 +102,19 @@ export interface HandlingunitByMatchQuery {
/**
* @generated from protobuf field: api.QueryProjectHeader Header = 1 [json_name = "Header"];
*/
header?: QueryProjectHeader;
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 protobuf field: repeated api.BlockFilter BlockFilters = 5 [json_name = "BlockFilters"];
*/
blockFilters: BlockFilter[];
BlockFilters: BlockFilter[];
/**
* MatchField list structure, for FindMatching query
*
* @generated from protobuf field: repeated api.MatchField MatchFields = 6 [json_name = "MatchFields"];
*/
matchFields: MatchField[];
MatchFields: MatchField[];
}
/**
* @generated from protobuf message api.HandlingunitByMatchResult
@@ -123,19 +123,19 @@ export interface HandlingunitByMatchResult {
/**
* @generated from protobuf field: repeated api.MatchFieldResult MatchResults = 2 [json_name = "MatchResults"];
*/
matchResults: MatchFieldResult[];
MatchResults: MatchFieldResult[];
}
// @generated message type with reflection information, may provide speed optimized methods
class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
constructor() {
super("api.HandlingunitByIdQuery", [
{ no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", jsonName: "IDs", repeat: 1 /*RepeatType.PACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 1 /*RepeatType.PACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
}
create(value?: PartialMessage<HandlingunitByIdQuery>): HandlingunitByIdQuery {
const message = globalThis.Object.create((this.messagePrototype!));
message.iDs = [];
message.IDs = [];
if (value !== undefined)
reflectionMergePartial<HandlingunitByIdQuery>(this, message, value);
return message;
@@ -146,10 +146,10 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QueryProjectHeader Header = 1 [json_name = "Header"];*/ 1:
message.header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* repeated api.EntityID IDs = 2 [json_name = "IDs"];*/ 2:
message.iDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
@@ -164,11 +164,11 @@ class HandlingunitByIdQuery$Type extends MessageType<HandlingunitByIdQuery> {
}
internalBinaryWrite(message: HandlingunitByIdQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QueryProjectHeader Header = 1 [json_name = "Header"]; */
if (message.header)
QueryProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.Header)
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.EntityID IDs = 2 [json_name = "IDs"]; */
for (let i = 0; i < message.iDs.length; i++)
EntityID.internalBinaryWrite(message.iDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.IDs.length; i++)
EntityID.internalBinaryWrite(message.IDs[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);
@@ -183,13 +183,13 @@ export const HandlingunitByIdQuery = new HandlingunitByIdQuery$Type();
class HandlingunitByIdResult$Type extends MessageType<HandlingunitByIdResult> {
constructor() {
super("api.HandlingunitByIdResult", [
{ no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResultHeader },
{ no: 2, name: "Objects", kind: "message", jsonName: "Objects", repeat: 1 /*RepeatType.PACKED*/, T: () => Handlingunit }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResultHeader },
{ no: 2, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 1 /*RepeatType.PACKED*/, T: () => Handlingunit }
], { "api.messageType": "Result" });
}
create(value?: PartialMessage<HandlingunitByIdResult>): HandlingunitByIdResult {
const message = globalThis.Object.create((this.messagePrototype!));
message.objects = [];
message.Objects = [];
if (value !== undefined)
reflectionMergePartial<HandlingunitByIdResult>(this, message, value);
return message;
@@ -200,10 +200,10 @@ class HandlingunitByIdResult$Type extends MessageType<HandlingunitByIdResult> {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ResultHeader Header = 1 [json_name = "Header"];*/ 1:
message.header = ResultHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
message.Header = ResultHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* repeated api.Handlingunit Objects = 2 [json_name = "Objects"];*/ 2:
message.objects.push(Handlingunit.internalBinaryRead(reader, reader.uint32(), options));
message.Objects.push(Handlingunit.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
@@ -218,11 +218,11 @@ class HandlingunitByIdResult$Type extends MessageType<HandlingunitByIdResult> {
}
internalBinaryWrite(message: HandlingunitByIdResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ResultHeader Header = 1 [json_name = "Header"]; */
if (message.header)
ResultHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.Header)
ResultHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.Handlingunit Objects = 2 [json_name = "Objects"]; */
for (let i = 0; i < message.objects.length; i++)
Handlingunit.internalBinaryWrite(message.objects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.Objects.length; i++)
Handlingunit.internalBinaryWrite(message.Objects[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);
@@ -237,17 +237,17 @@ export const HandlingunitByIdResult = new HandlingunitByIdResult$Type();
class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQuery> {
constructor() {
super("api.HandlingunitByFilterQuery", [
{ no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => QueryProjectHeader },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader },
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "BlockFilters", kind: "message", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter }
{ no: 7, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter }
]);
}
create(value?: PartialMessage<HandlingunitByFilterQuery>): HandlingunitByFilterQuery {
const message = globalThis.Object.create((this.messagePrototype!));
message.limitFilter = "";
message.queryContext = "";
message.blockFilters = [];
message.BlockFilters = [];
if (value !== undefined)
reflectionMergePartial<HandlingunitByFilterQuery>(this, message, value);
return message;
@@ -258,7 +258,7 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QueryProjectHeader Header = 1 [json_name = "Header"];*/ 1:
message.header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* string limitFilter */ 4:
message.limitFilter = reader.string();
@@ -267,7 +267,7 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
message.queryContext = reader.string();
break;
case /* repeated api.BlockFilter BlockFilters = 7 [json_name = "BlockFilters"];*/ 7:
message.blockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
@@ -282,8 +282,8 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
}
internalBinaryWrite(message: HandlingunitByFilterQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QueryProjectHeader Header = 1 [json_name = "Header"]; */
if (message.header)
QueryProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.Header)
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string limitFilter = 4; */
if (message.limitFilter !== "")
writer.tag(4, WireType.LengthDelimited).string(message.limitFilter);
@@ -291,8 +291,8 @@ class HandlingunitByFilterQuery$Type extends MessageType<HandlingunitByFilterQue
if (message.queryContext !== "")
writer.tag(5, WireType.LengthDelimited).string(message.queryContext);
/* repeated api.BlockFilter BlockFilters = 7 [json_name = "BlockFilters"]; */
for (let i = 0; i < message.blockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.blockFilters[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -307,14 +307,14 @@ export const HandlingunitByFilterQuery = new HandlingunitByFilterQuery$Type();
class HandlingunitByFilterResult$Type extends MessageType<HandlingunitByFilterResult> {
constructor() {
super("api.HandlingunitByFilterResult", [
{ no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => ResultHeader },
{ no: 2, name: "Objects", kind: "message", jsonName: "Objects", repeat: 1 /*RepeatType.PACKED*/, T: () => Handlingunit },
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResultHeader },
{ no: 2, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 1 /*RepeatType.PACKED*/, T: () => Handlingunit },
{ no: 3, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<HandlingunitByFilterResult>): HandlingunitByFilterResult {
const message = globalThis.Object.create((this.messagePrototype!));
message.objects = [];
message.Objects = [];
message.queryContext = "";
if (value !== undefined)
reflectionMergePartial<HandlingunitByFilterResult>(this, message, value);
@@ -326,10 +326,10 @@ class HandlingunitByFilterResult$Type extends MessageType<HandlingunitByFilterRe
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ResultHeader Header = 1 [json_name = "Header"];*/ 1:
message.header = ResultHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
message.Header = ResultHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* repeated api.Handlingunit Objects = 2 [json_name = "Objects"];*/ 2:
message.objects.push(Handlingunit.internalBinaryRead(reader, reader.uint32(), options));
message.Objects.push(Handlingunit.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string queryContext */ 3:
message.queryContext = reader.string();
@@ -347,11 +347,11 @@ class HandlingunitByFilterResult$Type extends MessageType<HandlingunitByFilterRe
}
internalBinaryWrite(message: HandlingunitByFilterResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ResultHeader Header = 1 [json_name = "Header"]; */
if (message.header)
ResultHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.Header)
ResultHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.Handlingunit Objects = 2 [json_name = "Objects"]; */
for (let i = 0; i < message.objects.length; i++)
Handlingunit.internalBinaryWrite(message.objects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.Objects.length; i++)
Handlingunit.internalBinaryWrite(message.Objects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* string queryContext = 3; */
if (message.queryContext !== "")
writer.tag(3, WireType.LengthDelimited).string(message.queryContext);
@@ -369,15 +369,15 @@ export const HandlingunitByFilterResult = new HandlingunitByFilterResult$Type();
class HandlingunitByMatchQuery$Type extends MessageType<HandlingunitByMatchQuery> {
constructor() {
super("api.HandlingunitByMatchQuery", [
{ no: 1, name: "Header", kind: "message", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 5, name: "BlockFilters", kind: "message", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter },
{ no: 6, name: "MatchFields", kind: "message", jsonName: "MatchFields", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } }
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 5, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockFilter },
{ no: 6, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<HandlingunitByMatchQuery>): HandlingunitByMatchQuery {
const message = globalThis.Object.create((this.messagePrototype!));
message.blockFilters = [];
message.matchFields = [];
message.BlockFilters = [];
message.MatchFields = [];
if (value !== undefined)
reflectionMergePartial<HandlingunitByMatchQuery>(this, message, value);
return message;
@@ -388,13 +388,13 @@ class HandlingunitByMatchQuery$Type extends MessageType<HandlingunitByMatchQuery
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.QueryProjectHeader Header = 1 [json_name = "Header"];*/ 1:
message.header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.header);
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* repeated api.BlockFilter BlockFilters = 5 [json_name = "BlockFilters"];*/ 5:
message.blockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.MatchField MatchFields = 6 [json_name = "MatchFields"];*/ 6:
message.matchFields.push(MatchField.internalBinaryRead(reader, reader.uint32(), options));
message.MatchFields.push(MatchField.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
@@ -409,14 +409,14 @@ class HandlingunitByMatchQuery$Type extends MessageType<HandlingunitByMatchQuery
}
internalBinaryWrite(message: HandlingunitByMatchQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.QueryProjectHeader Header = 1 [json_name = "Header"]; */
if (message.header)
QueryProjectHeader.internalBinaryWrite(message.header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
if (message.Header)
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* repeated api.BlockFilter BlockFilters = 5 [json_name = "BlockFilters"]; */
for (let i = 0; i < message.blockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.blockFilters[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.BlockFilters.length; i++)
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
/* repeated api.MatchField MatchFields = 6 [json_name = "MatchFields"]; */
for (let i = 0; i < message.matchFields.length; i++)
MatchField.internalBinaryWrite(message.matchFields[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.MatchFields.length; i++)
MatchField.internalBinaryWrite(message.MatchFields[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -431,12 +431,12 @@ export const HandlingunitByMatchQuery = new HandlingunitByMatchQuery$Type();
class HandlingunitByMatchResult$Type extends MessageType<HandlingunitByMatchResult> {
constructor() {
super("api.HandlingunitByMatchResult", [
{ no: 2, name: "MatchResults", kind: "message", jsonName: "MatchResults", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchFieldResult }
{ no: 2, name: "MatchResults", kind: "message", localName: "MatchResults", jsonName: "MatchResults", repeat: 1 /*RepeatType.PACKED*/, T: () => MatchFieldResult }
]);
}
create(value?: PartialMessage<HandlingunitByMatchResult>): HandlingunitByMatchResult {
const message = globalThis.Object.create((this.messagePrototype!));
message.matchResults = [];
message.MatchResults = [];
if (value !== undefined)
reflectionMergePartial<HandlingunitByMatchResult>(this, message, value);
return message;
@@ -447,7 +447,7 @@ class HandlingunitByMatchResult$Type extends MessageType<HandlingunitByMatchResu
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.MatchFieldResult MatchResults = 2 [json_name = "MatchResults"];*/ 2:
message.matchResults.push(MatchFieldResult.internalBinaryRead(reader, reader.uint32(), options));
message.MatchResults.push(MatchFieldResult.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
@@ -462,8 +462,8 @@ class HandlingunitByMatchResult$Type extends MessageType<HandlingunitByMatchResu
}
internalBinaryWrite(message: HandlingunitByMatchResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.MatchFieldResult MatchResults = 2 [json_name = "MatchResults"]; */
for (let i = 0; i < message.matchResults.length; i++)
MatchFieldResult.internalBinaryWrite(message.matchResults[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
for (let i = 0; i < message.MatchResults.length; i++)
MatchFieldResult.internalBinaryWrite(message.MatchResults[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);