You've already forked npm-core-sdk
Latest generation
This commit is contained in:
188
idp.ts
188
idp.ts
@@ -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 "idp.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -18,19 +18,19 @@ export interface IDP {
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 1 [json_name = "ID"];
|
||||
*/
|
||||
iD: string;
|
||||
ID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Domain = 2 [json_name = "Domain"];
|
||||
*/
|
||||
domain: string;
|
||||
Domain: string;
|
||||
/**
|
||||
* @generated from protobuf field: string KCID = 3 [json_name = "KCID"];
|
||||
*/
|
||||
kCID: string;
|
||||
KCID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string OrganisationID = 4 [json_name = "OrganisationID"];
|
||||
*/
|
||||
organisationID: string;
|
||||
OrganisationID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.DeleteIDPRequest
|
||||
@@ -39,7 +39,7 @@ export interface DeleteIDPRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 1 [json_name = "ID"];
|
||||
*/
|
||||
iD: string;
|
||||
ID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetIDPRequest
|
||||
@@ -48,7 +48,7 @@ export interface GetIDPRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 1 [json_name = "ID"];
|
||||
*/
|
||||
iD: string;
|
||||
ID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.CreateIDPRequest
|
||||
@@ -57,15 +57,15 @@ export interface CreateIDPRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string Domain = 2 [json_name = "Domain"];
|
||||
*/
|
||||
domain: string;
|
||||
Domain: string;
|
||||
/**
|
||||
* @generated from protobuf field: string KCID = 3 [json_name = "KCID"];
|
||||
*/
|
||||
kCID: string;
|
||||
KCID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string OrganisationID = 4 [json_name = "OrganisationID"];
|
||||
*/
|
||||
organisationID: string;
|
||||
OrganisationID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.UpdateIDPRequest
|
||||
@@ -74,15 +74,15 @@ export interface UpdateIDPRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 1 [json_name = "ID"];
|
||||
*/
|
||||
iD: string;
|
||||
ID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string KCID = 2 [json_name = "KCID"];
|
||||
*/
|
||||
kCID: string;
|
||||
KCID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string OrganisationID = 3 [json_name = "OrganisationID"];
|
||||
*/
|
||||
organisationID: string;
|
||||
OrganisationID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ListIDPRequest
|
||||
@@ -96,7 +96,7 @@ export interface CreateIDPResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.IDP Result = 1 [json_name = "Result"];
|
||||
*/
|
||||
result?: IDP;
|
||||
Result?: IDP;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.UpdateIDPResult
|
||||
@@ -105,7 +105,7 @@ export interface UpdateIDPResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.IDP Result = 1 [json_name = "Result"];
|
||||
*/
|
||||
result?: IDP;
|
||||
Result?: IDP;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetIDPResult
|
||||
@@ -114,7 +114,7 @@ export interface GetIDPResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.IDP Result = 1 [json_name = "Result"];
|
||||
*/
|
||||
result?: IDP;
|
||||
Result?: IDP;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ListIDPResult
|
||||
@@ -123,7 +123,7 @@ export interface ListIDPResult {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.IDP IDPs = 1 [json_name = "IDPs"];
|
||||
*/
|
||||
iDPs: IDP[];
|
||||
IDPs: IDP[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.DeleteIDPResult
|
||||
@@ -134,18 +134,18 @@ export interface DeleteIDPResult {
|
||||
class IDP$Type extends MessageType<IDP> {
|
||||
constructor() {
|
||||
super("api.IDP", [
|
||||
{ no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Domain", kind: "scalar", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "KCID", kind: "scalar", jsonName: "KCID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "KCID", kind: "scalar", localName: "KCID", jsonName: "KCID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<IDP>): IDP {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.iD = "";
|
||||
message.domain = "";
|
||||
message.kCID = "";
|
||||
message.organisationID = "";
|
||||
message.ID = "";
|
||||
message.Domain = "";
|
||||
message.KCID = "";
|
||||
message.OrganisationID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<IDP>(this, message, value);
|
||||
return message;
|
||||
@@ -156,16 +156,16 @@ class IDP$Type extends MessageType<IDP> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ID = 1 [json_name = "ID"];*/ 1:
|
||||
message.iD = reader.string();
|
||||
message.ID = reader.string();
|
||||
break;
|
||||
case /* string Domain = 2 [json_name = "Domain"];*/ 2:
|
||||
message.domain = reader.string();
|
||||
message.Domain = reader.string();
|
||||
break;
|
||||
case /* string KCID = 3 [json_name = "KCID"];*/ 3:
|
||||
message.kCID = reader.string();
|
||||
message.KCID = reader.string();
|
||||
break;
|
||||
case /* string OrganisationID = 4 [json_name = "OrganisationID"];*/ 4:
|
||||
message.organisationID = reader.string();
|
||||
message.OrganisationID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -180,17 +180,17 @@ class IDP$Type extends MessageType<IDP> {
|
||||
}
|
||||
internalBinaryWrite(message: IDP, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ID = 1 [json_name = "ID"]; */
|
||||
if (message.iD !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.iD);
|
||||
if (message.ID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ID);
|
||||
/* string Domain = 2 [json_name = "Domain"]; */
|
||||
if (message.domain !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.domain);
|
||||
if (message.Domain !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Domain);
|
||||
/* string KCID = 3 [json_name = "KCID"]; */
|
||||
if (message.kCID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.kCID);
|
||||
if (message.KCID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.KCID);
|
||||
/* string OrganisationID = 4 [json_name = "OrganisationID"]; */
|
||||
if (message.organisationID !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.organisationID);
|
||||
if (message.OrganisationID !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.OrganisationID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -205,12 +205,12 @@ export const IDP = new IDP$Type();
|
||||
class DeleteIDPRequest$Type extends MessageType<DeleteIDPRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteIDPRequest", [
|
||||
{ no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<DeleteIDPRequest>): DeleteIDPRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.iD = "";
|
||||
message.ID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<DeleteIDPRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -221,7 +221,7 @@ class DeleteIDPRequest$Type extends MessageType<DeleteIDPRequest> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ID = 1 [json_name = "ID"];*/ 1:
|
||||
message.iD = reader.string();
|
||||
message.ID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -236,8 +236,8 @@ class DeleteIDPRequest$Type extends MessageType<DeleteIDPRequest> {
|
||||
}
|
||||
internalBinaryWrite(message: DeleteIDPRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ID = 1 [json_name = "ID"]; */
|
||||
if (message.iD !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.iD);
|
||||
if (message.ID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -252,12 +252,12 @@ export const DeleteIDPRequest = new DeleteIDPRequest$Type();
|
||||
class GetIDPRequest$Type extends MessageType<GetIDPRequest> {
|
||||
constructor() {
|
||||
super("api.GetIDPRequest", [
|
||||
{ no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetIDPRequest>): GetIDPRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.iD = "";
|
||||
message.ID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<GetIDPRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -268,7 +268,7 @@ class GetIDPRequest$Type extends MessageType<GetIDPRequest> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ID = 1 [json_name = "ID"];*/ 1:
|
||||
message.iD = reader.string();
|
||||
message.ID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -283,8 +283,8 @@ class GetIDPRequest$Type extends MessageType<GetIDPRequest> {
|
||||
}
|
||||
internalBinaryWrite(message: GetIDPRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ID = 1 [json_name = "ID"]; */
|
||||
if (message.iD !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.iD);
|
||||
if (message.ID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -299,16 +299,16 @@ export const GetIDPRequest = new GetIDPRequest$Type();
|
||||
class CreateIDPRequest$Type extends MessageType<CreateIDPRequest> {
|
||||
constructor() {
|
||||
super("api.CreateIDPRequest", [
|
||||
{ no: 2, name: "Domain", kind: "scalar", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "KCID", kind: "scalar", jsonName: "KCID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "KCID", kind: "scalar", localName: "KCID", jsonName: "KCID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<CreateIDPRequest>): CreateIDPRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.domain = "";
|
||||
message.kCID = "";
|
||||
message.organisationID = "";
|
||||
message.Domain = "";
|
||||
message.KCID = "";
|
||||
message.OrganisationID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<CreateIDPRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -319,13 +319,13 @@ class CreateIDPRequest$Type extends MessageType<CreateIDPRequest> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string Domain = 2 [json_name = "Domain"];*/ 2:
|
||||
message.domain = reader.string();
|
||||
message.Domain = reader.string();
|
||||
break;
|
||||
case /* string KCID = 3 [json_name = "KCID"];*/ 3:
|
||||
message.kCID = reader.string();
|
||||
message.KCID = reader.string();
|
||||
break;
|
||||
case /* string OrganisationID = 4 [json_name = "OrganisationID"];*/ 4:
|
||||
message.organisationID = reader.string();
|
||||
message.OrganisationID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -340,14 +340,14 @@ class CreateIDPRequest$Type extends MessageType<CreateIDPRequest> {
|
||||
}
|
||||
internalBinaryWrite(message: CreateIDPRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string Domain = 2 [json_name = "Domain"]; */
|
||||
if (message.domain !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.domain);
|
||||
if (message.Domain !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Domain);
|
||||
/* string KCID = 3 [json_name = "KCID"]; */
|
||||
if (message.kCID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.kCID);
|
||||
if (message.KCID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.KCID);
|
||||
/* string OrganisationID = 4 [json_name = "OrganisationID"]; */
|
||||
if (message.organisationID !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.organisationID);
|
||||
if (message.OrganisationID !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.OrganisationID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -362,16 +362,16 @@ export const CreateIDPRequest = new CreateIDPRequest$Type();
|
||||
class UpdateIDPRequest$Type extends MessageType<UpdateIDPRequest> {
|
||||
constructor() {
|
||||
super("api.UpdateIDPRequest", [
|
||||
{ no: 1, name: "ID", kind: "scalar", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "KCID", kind: "scalar", jsonName: "KCID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "OrganisationID", kind: "scalar", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "KCID", kind: "scalar", localName: "KCID", jsonName: "KCID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<UpdateIDPRequest>): UpdateIDPRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.iD = "";
|
||||
message.kCID = "";
|
||||
message.organisationID = "";
|
||||
message.ID = "";
|
||||
message.KCID = "";
|
||||
message.OrganisationID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<UpdateIDPRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -382,13 +382,13 @@ class UpdateIDPRequest$Type extends MessageType<UpdateIDPRequest> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ID = 1 [json_name = "ID"];*/ 1:
|
||||
message.iD = reader.string();
|
||||
message.ID = reader.string();
|
||||
break;
|
||||
case /* string KCID = 2 [json_name = "KCID"];*/ 2:
|
||||
message.kCID = reader.string();
|
||||
message.KCID = reader.string();
|
||||
break;
|
||||
case /* string OrganisationID = 3 [json_name = "OrganisationID"];*/ 3:
|
||||
message.organisationID = reader.string();
|
||||
message.OrganisationID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -403,14 +403,14 @@ class UpdateIDPRequest$Type extends MessageType<UpdateIDPRequest> {
|
||||
}
|
||||
internalBinaryWrite(message: UpdateIDPRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ID = 1 [json_name = "ID"]; */
|
||||
if (message.iD !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.iD);
|
||||
if (message.ID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ID);
|
||||
/* string KCID = 2 [json_name = "KCID"]; */
|
||||
if (message.kCID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.kCID);
|
||||
if (message.KCID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.KCID);
|
||||
/* string OrganisationID = 3 [json_name = "OrganisationID"]; */
|
||||
if (message.organisationID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.organisationID);
|
||||
if (message.OrganisationID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.OrganisationID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -463,7 +463,7 @@ export const ListIDPRequest = new ListIDPRequest$Type();
|
||||
class CreateIDPResult$Type extends MessageType<CreateIDPResult> {
|
||||
constructor() {
|
||||
super("api.CreateIDPResult", [
|
||||
{ no: 1, name: "Result", kind: "message", jsonName: "Result", T: () => IDP }
|
||||
{ no: 1, name: "Result", kind: "message", localName: "Result", jsonName: "Result", T: () => IDP }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<CreateIDPResult>): CreateIDPResult {
|
||||
@@ -478,7 +478,7 @@ class CreateIDPResult$Type extends MessageType<CreateIDPResult> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.IDP Result = 1 [json_name = "Result"];*/ 1:
|
||||
message.result = IDP.internalBinaryRead(reader, reader.uint32(), options, message.result);
|
||||
message.Result = IDP.internalBinaryRead(reader, reader.uint32(), options, message.Result);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -493,8 +493,8 @@ class CreateIDPResult$Type extends MessageType<CreateIDPResult> {
|
||||
}
|
||||
internalBinaryWrite(message: CreateIDPResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.IDP Result = 1 [json_name = "Result"]; */
|
||||
if (message.result)
|
||||
IDP.internalBinaryWrite(message.result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.Result)
|
||||
IDP.internalBinaryWrite(message.Result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -509,7 +509,7 @@ export const CreateIDPResult = new CreateIDPResult$Type();
|
||||
class UpdateIDPResult$Type extends MessageType<UpdateIDPResult> {
|
||||
constructor() {
|
||||
super("api.UpdateIDPResult", [
|
||||
{ no: 1, name: "Result", kind: "message", jsonName: "Result", T: () => IDP }
|
||||
{ no: 1, name: "Result", kind: "message", localName: "Result", jsonName: "Result", T: () => IDP }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<UpdateIDPResult>): UpdateIDPResult {
|
||||
@@ -524,7 +524,7 @@ class UpdateIDPResult$Type extends MessageType<UpdateIDPResult> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.IDP Result = 1 [json_name = "Result"];*/ 1:
|
||||
message.result = IDP.internalBinaryRead(reader, reader.uint32(), options, message.result);
|
||||
message.Result = IDP.internalBinaryRead(reader, reader.uint32(), options, message.Result);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -539,8 +539,8 @@ class UpdateIDPResult$Type extends MessageType<UpdateIDPResult> {
|
||||
}
|
||||
internalBinaryWrite(message: UpdateIDPResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.IDP Result = 1 [json_name = "Result"]; */
|
||||
if (message.result)
|
||||
IDP.internalBinaryWrite(message.result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.Result)
|
||||
IDP.internalBinaryWrite(message.Result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -555,7 +555,7 @@ export const UpdateIDPResult = new UpdateIDPResult$Type();
|
||||
class GetIDPResult$Type extends MessageType<GetIDPResult> {
|
||||
constructor() {
|
||||
super("api.GetIDPResult", [
|
||||
{ no: 1, name: "Result", kind: "message", jsonName: "Result", T: () => IDP }
|
||||
{ no: 1, name: "Result", kind: "message", localName: "Result", jsonName: "Result", T: () => IDP }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetIDPResult>): GetIDPResult {
|
||||
@@ -570,7 +570,7 @@ class GetIDPResult$Type extends MessageType<GetIDPResult> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.IDP Result = 1 [json_name = "Result"];*/ 1:
|
||||
message.result = IDP.internalBinaryRead(reader, reader.uint32(), options, message.result);
|
||||
message.Result = IDP.internalBinaryRead(reader, reader.uint32(), options, message.Result);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -585,8 +585,8 @@ class GetIDPResult$Type extends MessageType<GetIDPResult> {
|
||||
}
|
||||
internalBinaryWrite(message: GetIDPResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.IDP Result = 1 [json_name = "Result"]; */
|
||||
if (message.result)
|
||||
IDP.internalBinaryWrite(message.result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
if (message.Result)
|
||||
IDP.internalBinaryWrite(message.Result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -601,12 +601,12 @@ export const GetIDPResult = new GetIDPResult$Type();
|
||||
class ListIDPResult$Type extends MessageType<ListIDPResult> {
|
||||
constructor() {
|
||||
super("api.ListIDPResult", [
|
||||
{ no: 1, name: "IDPs", kind: "message", jsonName: "IDPs", repeat: 1 /*RepeatType.PACKED*/, T: () => IDP }
|
||||
{ no: 1, name: "IDPs", kind: "message", localName: "IDPs", jsonName: "IDPs", repeat: 1 /*RepeatType.PACKED*/, T: () => IDP }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ListIDPResult>): ListIDPResult {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.iDPs = [];
|
||||
message.IDPs = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ListIDPResult>(this, message, value);
|
||||
return message;
|
||||
@@ -617,7 +617,7 @@ class ListIDPResult$Type extends MessageType<ListIDPResult> {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.IDP IDPs = 1 [json_name = "IDPs"];*/ 1:
|
||||
message.iDPs.push(IDP.internalBinaryRead(reader, reader.uint32(), options));
|
||||
message.IDPs.push(IDP.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -632,8 +632,8 @@ class ListIDPResult$Type extends MessageType<ListIDPResult> {
|
||||
}
|
||||
internalBinaryWrite(message: ListIDPResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.IDP IDPs = 1 [json_name = "IDPs"]; */
|
||||
for (let i = 0; i < message.iDPs.length; i++)
|
||||
IDP.internalBinaryWrite(message.iDPs[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
for (let i = 0; i < message.IDPs.length; i++)
|
||||
IDP.internalBinaryWrite(message.IDPs[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);
|
||||
|
||||
Reference in New Issue
Block a user