You've already forked npm-core-sdk
Latest generation
This commit is contained in:
290
partnerApp.ts
290
partnerApp.ts
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "partnerApp.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -26,35 +26,35 @@ import { RequestProjectHeader } from "./shared";
|
||||
*/
|
||||
export interface PartnerApp {
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 1 [json_name = "ID"];
|
||||
* @generated from protobuf field: string ID = 1
|
||||
*/
|
||||
ID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Name = 2 [json_name = "Name"];
|
||||
* @generated from protobuf field: string Name = 2
|
||||
*/
|
||||
Name: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Description = 3 [json_name = "Description"];
|
||||
* @generated from protobuf field: string Description = 3
|
||||
*/
|
||||
Description: string;
|
||||
/**
|
||||
* @generated from protobuf field: string BucketPath = 4 [json_name = "BucketPath"];
|
||||
* @generated from protobuf field: string BucketPath = 4
|
||||
*/
|
||||
BucketPath: string;
|
||||
/**
|
||||
* @generated from protobuf field: string NatsRootSubject = 5 [json_name = "NatsRootSubject"];
|
||||
* @generated from protobuf field: string NatsRootSubject = 5
|
||||
*/
|
||||
NatsRootSubject: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 6 [json_name = "ProjectID"];
|
||||
* @generated from protobuf field: string ProjectID = 6
|
||||
*/
|
||||
ProjectID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string OrganisationID = 7 [json_name = "OrganisationID"];
|
||||
* @generated from protobuf field: string OrganisationID = 7
|
||||
*/
|
||||
OrganisationID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string NatsServer = 8 [json_name = "NatsServer"];
|
||||
* @generated from protobuf field: string NatsServer = 8
|
||||
*/
|
||||
NatsServer: string;
|
||||
}
|
||||
@@ -63,15 +63,15 @@ export interface PartnerApp {
|
||||
*/
|
||||
export interface CreatePartnerAppRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
||||
*/
|
||||
Header?: RequestProjectHeader;
|
||||
/**
|
||||
* @generated from protobuf field: string Name = 2 [json_name = "Name"];
|
||||
* @generated from protobuf field: string Name = 2
|
||||
*/
|
||||
Name: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Description = 3 [json_name = "Description"];
|
||||
* @generated from protobuf field: string Description = 3
|
||||
*/
|
||||
Description: string;
|
||||
}
|
||||
@@ -90,7 +90,7 @@ export interface CreatePartnerAppResult {
|
||||
* Any implementation MUST accept any and all previous versions of this message definition.
|
||||
* new fields introcuced in any version MUST NOT be mandatory.
|
||||
*
|
||||
* @generated from protobuf field: int32 Version = 1 [json_name = "Version"];
|
||||
* @generated from protobuf field: int32 Version = 1
|
||||
*/
|
||||
Version: number;
|
||||
/**
|
||||
@@ -98,11 +98,11 @@ export interface CreatePartnerAppResult {
|
||||
* This identifier is guaranteed unique across all organisations/projects.
|
||||
* Empty string MUST raise an error and forbid registering the settings.
|
||||
*
|
||||
* @generated from protobuf field: string OrganisationID = 2 [json_name = "OrganisationID"];
|
||||
* @generated from protobuf field: string OrganisationID = 2
|
||||
*/
|
||||
OrganisationID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 3 [json_name = "ProjectID"];
|
||||
* @generated from protobuf field: string ProjectID = 3
|
||||
*/
|
||||
ProjectID: string;
|
||||
/**
|
||||
@@ -111,35 +111,35 @@ export interface CreatePartnerAppResult {
|
||||
* This ID is suitable for updating credential and access options without any content check.
|
||||
* Empty string MUST raise an error and forbid registering the settings.
|
||||
*
|
||||
* @generated from protobuf field: string PartnerAppID = 4 [json_name = "PartnerAppID"];
|
||||
* @generated from protobuf field: string PartnerAppID = 4
|
||||
*/
|
||||
PartnerAppID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string PartnerAppJWT = 11 [json_name = "PartnerAppJWT"];
|
||||
* @generated from protobuf field: string PartnerAppJWT = 11
|
||||
*/
|
||||
PartnerAppJWT: string; // JWT for this partner app holding the partner app ID, the project ID and the organisation ID. This JWT is signed by the platform.
|
||||
/**
|
||||
* @generated from protobuf field: api.CoreEndpoint Core = 5 [json_name = "Core"];
|
||||
* @generated from protobuf field: api.CoreEndpoint Core = 5
|
||||
*/
|
||||
Core?: CoreEndpoint; // How to connect to the REST webservices of Reflex Platform (with JWT auth)
|
||||
/**
|
||||
* @generated from protobuf field: api.IntegrationEndpoint Integration = 6 [json_name = "Integration"];
|
||||
* @generated from protobuf field: api.IntegrationEndpoint Integration = 6
|
||||
*/
|
||||
Integration?: IntegrationEndpoint; // How to connect to the REST webservices Integration Platform (with JWT auth)
|
||||
/**
|
||||
* @generated from protobuf field: api.OpenIDCredentials OpenID = 7 [json_name = "OpenID"];
|
||||
* @generated from protobuf field: api.OpenIDCredentials OpenID = 7
|
||||
*/
|
||||
OpenID?: OpenIDCredentials; // Platform OpenID Connect server configuration and credentials
|
||||
/**
|
||||
* @generated from protobuf field: api.NatsCredentials Nats = 8 [json_name = "Nats"];
|
||||
* @generated from protobuf field: api.NatsCredentials Nats = 8
|
||||
*/
|
||||
Nats?: NatsCredentials; // connecting to the NATS endpoint (with decentralized JWT auth)
|
||||
/**
|
||||
* @generated from protobuf field: api.OpenSearchCredentials OpenDistro = 9 [json_name = "OpenDistro"];
|
||||
* @generated from protobuf field: api.OpenSearchCredentials OpenDistro = 9
|
||||
*/
|
||||
OpenDistro?: OpenSearchCredentials; // connecting to the OpenSearch endpoint (with basic auth)
|
||||
/**
|
||||
* @generated from protobuf field: api.StorageEndpoint Storage = 10 [json_name = "Storage"];
|
||||
* @generated from protobuf field: api.StorageEndpoint Storage = 10
|
||||
*/
|
||||
Storage?: StorageEndpoint; // connecting to the Google Cloud Storage endpoint (with STS auth)
|
||||
}
|
||||
@@ -148,19 +148,19 @@ export interface CreatePartnerAppResult {
|
||||
*/
|
||||
export interface UpdatePartnerAppRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
||||
*/
|
||||
Header?: RequestProjectHeader;
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 2 [json_name = "ID"];
|
||||
* @generated from protobuf field: string ID = 2
|
||||
*/
|
||||
ID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Name = 3 [json_name = "Name"];
|
||||
* @generated from protobuf field: string Name = 3
|
||||
*/
|
||||
Name: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Description = 4 [json_name = "Description"];
|
||||
* @generated from protobuf field: string Description = 4
|
||||
*/
|
||||
Description: string;
|
||||
}
|
||||
@@ -169,7 +169,7 @@ export interface UpdatePartnerAppRequest {
|
||||
*/
|
||||
export interface UpdatePartnerAppResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.PartnerApp Result = 1 [json_name = "Result"];
|
||||
* @generated from protobuf field: api.PartnerApp Result = 1
|
||||
*/
|
||||
Result?: PartnerApp;
|
||||
}
|
||||
@@ -178,7 +178,7 @@ export interface UpdatePartnerAppResult {
|
||||
*/
|
||||
export interface GetPartnerAppRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1
|
||||
*/
|
||||
Header?: RequestPartnerAppHeader;
|
||||
}
|
||||
@@ -187,7 +187,7 @@ export interface GetPartnerAppRequest {
|
||||
*/
|
||||
export interface GetPartnerAppResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.PartnerApp Result = 1 [json_name = "Result"];
|
||||
* @generated from protobuf field: api.PartnerApp Result = 1
|
||||
*/
|
||||
Result?: PartnerApp;
|
||||
}
|
||||
@@ -196,11 +196,11 @@ export interface GetPartnerAppResult {
|
||||
*/
|
||||
export interface ListPartnerAppsRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
||||
*/
|
||||
Header?: RequestProjectHeader;
|
||||
/**
|
||||
* @generated from protobuf field: api.Paging Paging = 2 [json_name = "Paging"];
|
||||
* @generated from protobuf field: api.Paging Paging = 2
|
||||
*/
|
||||
Paging?: Paging;
|
||||
}
|
||||
@@ -209,7 +209,7 @@ export interface ListPartnerAppsRequest {
|
||||
*/
|
||||
export interface ListPartnerAppsResult {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.PartnerApp Results = 1 [json_name = "Results"];
|
||||
* @generated from protobuf field: repeated api.PartnerApp Results = 1
|
||||
*/
|
||||
Results: PartnerApp[];
|
||||
}
|
||||
@@ -218,11 +218,11 @@ export interface ListPartnerAppsResult {
|
||||
*/
|
||||
export interface DeletePartnerAppRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
||||
*/
|
||||
Header?: RequestProjectHeader;
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 2 [json_name = "ID"];
|
||||
* @generated from protobuf field: string ID = 2
|
||||
*/
|
||||
ID: string;
|
||||
}
|
||||
@@ -231,7 +231,7 @@ export interface DeletePartnerAppRequest {
|
||||
*/
|
||||
export interface DeletePartnerAppResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1 [json_name = "WorkflowExecution"];
|
||||
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
|
||||
*/
|
||||
WorkflowExecution?: WorkflowExecutionResult;
|
||||
}
|
||||
@@ -240,7 +240,7 @@ export interface DeletePartnerAppResult {
|
||||
*/
|
||||
export interface DeletePartnerAppInDBRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string PartnerAppID = 1 [json_name = "PartnerAppID"];
|
||||
* @generated from protobuf field: string PartnerAppID = 1
|
||||
*/
|
||||
PartnerAppID: string;
|
||||
}
|
||||
@@ -254,7 +254,7 @@ export interface DeletePartnerAppInDBResult {
|
||||
*/
|
||||
export interface RenewPartnerAppRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1
|
||||
*/
|
||||
Header?: RequestPartnerAppHeader;
|
||||
}
|
||||
@@ -263,47 +263,47 @@ export interface RenewPartnerAppRequest {
|
||||
*/
|
||||
export interface RenewPartnerAppResult {
|
||||
/**
|
||||
* @generated from protobuf field: int32 Version = 1 [json_name = "Version"];
|
||||
* @generated from protobuf field: int32 Version = 1
|
||||
*/
|
||||
Version: number;
|
||||
/**
|
||||
* @generated from protobuf field: string OrganisationID = 2 [json_name = "OrganisationID"];
|
||||
* @generated from protobuf field: string OrganisationID = 2
|
||||
*/
|
||||
OrganisationID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 3 [json_name = "ProjectID"];
|
||||
* @generated from protobuf field: string ProjectID = 3
|
||||
*/
|
||||
ProjectID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string PartnerAppID = 4 [json_name = "PartnerAppID"];
|
||||
* @generated from protobuf field: string PartnerAppID = 4
|
||||
*/
|
||||
PartnerAppID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string PartnerAppJWT = 11 [json_name = "PartnerAppJWT"];
|
||||
* @generated from protobuf field: string PartnerAppJWT = 11
|
||||
*/
|
||||
PartnerAppJWT: string; // JWT for this partner app holding the partner app ID, the project ID and the organisation ID. This JWT is signed by the platform.
|
||||
/**
|
||||
* @generated from protobuf field: api.CoreEndpoint Core = 5 [json_name = "Core"];
|
||||
* @generated from protobuf field: api.CoreEndpoint Core = 5
|
||||
*/
|
||||
Core?: CoreEndpoint;
|
||||
/**
|
||||
* @generated from protobuf field: api.IntegrationEndpoint Integration = 6 [json_name = "Integration"];
|
||||
* @generated from protobuf field: api.IntegrationEndpoint Integration = 6
|
||||
*/
|
||||
Integration?: IntegrationEndpoint;
|
||||
/**
|
||||
* @generated from protobuf field: api.OpenIDCredentials OpenID = 7 [json_name = "OpenID"];
|
||||
* @generated from protobuf field: api.OpenIDCredentials OpenID = 7
|
||||
*/
|
||||
OpenID?: OpenIDCredentials;
|
||||
/**
|
||||
* @generated from protobuf field: api.NatsCredentials Nats = 8 [json_name = "Nats"];
|
||||
* @generated from protobuf field: api.NatsCredentials Nats = 8
|
||||
*/
|
||||
Nats?: NatsCredentials;
|
||||
/**
|
||||
* @generated from protobuf field: api.OpenSearchCredentials OpenDistro = 9 [json_name = "OpenDistro"];
|
||||
* @generated from protobuf field: api.OpenSearchCredentials OpenDistro = 9
|
||||
*/
|
||||
OpenDistro?: OpenSearchCredentials;
|
||||
/**
|
||||
* @generated from protobuf field: api.StorageEndpoint Storage = 10 [json_name = "Storage"];
|
||||
* @generated from protobuf field: api.StorageEndpoint Storage = 10
|
||||
*/
|
||||
Storage?: StorageEndpoint;
|
||||
}
|
||||
@@ -340,28 +340,28 @@ class PartnerApp$Type extends MessageType<PartnerApp> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ID = 1 [json_name = "ID"];*/ 1:
|
||||
case /* string ID */ 1:
|
||||
message.ID = reader.string();
|
||||
break;
|
||||
case /* string Name = 2 [json_name = "Name"];*/ 2:
|
||||
case /* string Name */ 2:
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
case /* string Description = 3 [json_name = "Description"];*/ 3:
|
||||
case /* string Description */ 3:
|
||||
message.Description = reader.string();
|
||||
break;
|
||||
case /* string BucketPath = 4 [json_name = "BucketPath"];*/ 4:
|
||||
case /* string BucketPath */ 4:
|
||||
message.BucketPath = reader.string();
|
||||
break;
|
||||
case /* string NatsRootSubject = 5 [json_name = "NatsRootSubject"];*/ 5:
|
||||
case /* string NatsRootSubject */ 5:
|
||||
message.NatsRootSubject = reader.string();
|
||||
break;
|
||||
case /* string ProjectID = 6 [json_name = "ProjectID"];*/ 6:
|
||||
case /* string ProjectID */ 6:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* string OrganisationID = 7 [json_name = "OrganisationID"];*/ 7:
|
||||
case /* string OrganisationID */ 7:
|
||||
message.OrganisationID = reader.string();
|
||||
break;
|
||||
case /* string NatsServer = 8 [json_name = "NatsServer"];*/ 8:
|
||||
case /* string NatsServer */ 8:
|
||||
message.NatsServer = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -376,28 +376,28 @@ class PartnerApp$Type extends MessageType<PartnerApp> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: PartnerApp, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ID = 1 [json_name = "ID"]; */
|
||||
/* string ID = 1; */
|
||||
if (message.ID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ID);
|
||||
/* string Name = 2 [json_name = "Name"]; */
|
||||
/* string Name = 2; */
|
||||
if (message.Name !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Name);
|
||||
/* string Description = 3 [json_name = "Description"]; */
|
||||
/* string Description = 3; */
|
||||
if (message.Description !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.Description);
|
||||
/* string BucketPath = 4 [json_name = "BucketPath"]; */
|
||||
/* string BucketPath = 4; */
|
||||
if (message.BucketPath !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.BucketPath);
|
||||
/* string NatsRootSubject = 5 [json_name = "NatsRootSubject"]; */
|
||||
/* string NatsRootSubject = 5; */
|
||||
if (message.NatsRootSubject !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.NatsRootSubject);
|
||||
/* string ProjectID = 6 [json_name = "ProjectID"]; */
|
||||
/* string ProjectID = 6; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* string OrganisationID = 7 [json_name = "OrganisationID"]; */
|
||||
/* string OrganisationID = 7; */
|
||||
if (message.OrganisationID !== "")
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.OrganisationID);
|
||||
/* string NatsServer = 8 [json_name = "NatsServer"]; */
|
||||
/* string NatsServer = 8; */
|
||||
if (message.NatsServer !== "")
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.NatsServer);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -432,13 +432,13 @@ class CreatePartnerAppRequest$Type extends MessageType<CreatePartnerAppRequest>
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestProjectHeader Header */ 1:
|
||||
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* string Name = 2 [json_name = "Name"];*/ 2:
|
||||
case /* string Name */ 2:
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
case /* string Description = 3 [json_name = "Description"];*/ 3:
|
||||
case /* string Description */ 3:
|
||||
message.Description = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -453,13 +453,13 @@ class CreatePartnerAppRequest$Type extends MessageType<CreatePartnerAppRequest>
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: CreatePartnerAppRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestProjectHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string Name = 2 [json_name = "Name"]; */
|
||||
/* string Name = 2; */
|
||||
if (message.Name !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.Name);
|
||||
/* string Description = 3 [json_name = "Description"]; */
|
||||
/* string Description = 3; */
|
||||
if (message.Description !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.Description);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -505,37 +505,37 @@ class CreatePartnerAppResult$Type extends MessageType<CreatePartnerAppResult> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* int32 Version = 1 [json_name = "Version"];*/ 1:
|
||||
case /* int32 Version */ 1:
|
||||
message.Version = reader.int32();
|
||||
break;
|
||||
case /* string OrganisationID = 2 [json_name = "OrganisationID"];*/ 2:
|
||||
case /* string OrganisationID */ 2:
|
||||
message.OrganisationID = reader.string();
|
||||
break;
|
||||
case /* string ProjectID = 3 [json_name = "ProjectID"];*/ 3:
|
||||
case /* string ProjectID */ 3:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* string PartnerAppID = 4 [json_name = "PartnerAppID"];*/ 4:
|
||||
case /* string PartnerAppID */ 4:
|
||||
message.PartnerAppID = reader.string();
|
||||
break;
|
||||
case /* string PartnerAppJWT = 11 [json_name = "PartnerAppJWT"];*/ 11:
|
||||
case /* string PartnerAppJWT */ 11:
|
||||
message.PartnerAppJWT = reader.string();
|
||||
break;
|
||||
case /* api.CoreEndpoint Core = 5 [json_name = "Core"];*/ 5:
|
||||
case /* api.CoreEndpoint Core */ 5:
|
||||
message.Core = CoreEndpoint.internalBinaryRead(reader, reader.uint32(), options, message.Core);
|
||||
break;
|
||||
case /* api.IntegrationEndpoint Integration = 6 [json_name = "Integration"];*/ 6:
|
||||
case /* api.IntegrationEndpoint Integration */ 6:
|
||||
message.Integration = IntegrationEndpoint.internalBinaryRead(reader, reader.uint32(), options, message.Integration);
|
||||
break;
|
||||
case /* api.OpenIDCredentials OpenID = 7 [json_name = "OpenID"];*/ 7:
|
||||
case /* api.OpenIDCredentials OpenID */ 7:
|
||||
message.OpenID = OpenIDCredentials.internalBinaryRead(reader, reader.uint32(), options, message.OpenID);
|
||||
break;
|
||||
case /* api.NatsCredentials Nats = 8 [json_name = "Nats"];*/ 8:
|
||||
case /* api.NatsCredentials Nats */ 8:
|
||||
message.Nats = NatsCredentials.internalBinaryRead(reader, reader.uint32(), options, message.Nats);
|
||||
break;
|
||||
case /* api.OpenSearchCredentials OpenDistro = 9 [json_name = "OpenDistro"];*/ 9:
|
||||
case /* api.OpenSearchCredentials OpenDistro */ 9:
|
||||
message.OpenDistro = OpenSearchCredentials.internalBinaryRead(reader, reader.uint32(), options, message.OpenDistro);
|
||||
break;
|
||||
case /* api.StorageEndpoint Storage = 10 [json_name = "Storage"];*/ 10:
|
||||
case /* api.StorageEndpoint Storage */ 10:
|
||||
message.Storage = StorageEndpoint.internalBinaryRead(reader, reader.uint32(), options, message.Storage);
|
||||
break;
|
||||
default:
|
||||
@@ -550,37 +550,37 @@ class CreatePartnerAppResult$Type extends MessageType<CreatePartnerAppResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: CreatePartnerAppResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* int32 Version = 1 [json_name = "Version"]; */
|
||||
/* int32 Version = 1; */
|
||||
if (message.Version !== 0)
|
||||
writer.tag(1, WireType.Varint).int32(message.Version);
|
||||
/* string OrganisationID = 2 [json_name = "OrganisationID"]; */
|
||||
/* string OrganisationID = 2; */
|
||||
if (message.OrganisationID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.OrganisationID);
|
||||
/* string ProjectID = 3 [json_name = "ProjectID"]; */
|
||||
/* string ProjectID = 3; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* string PartnerAppID = 4 [json_name = "PartnerAppID"]; */
|
||||
/* string PartnerAppID = 4; */
|
||||
if (message.PartnerAppID !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.PartnerAppID);
|
||||
/* api.CoreEndpoint Core = 5 [json_name = "Core"]; */
|
||||
/* api.CoreEndpoint Core = 5; */
|
||||
if (message.Core)
|
||||
CoreEndpoint.internalBinaryWrite(message.Core, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.IntegrationEndpoint Integration = 6 [json_name = "Integration"]; */
|
||||
/* api.IntegrationEndpoint Integration = 6; */
|
||||
if (message.Integration)
|
||||
IntegrationEndpoint.internalBinaryWrite(message.Integration, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.OpenIDCredentials OpenID = 7 [json_name = "OpenID"]; */
|
||||
/* api.OpenIDCredentials OpenID = 7; */
|
||||
if (message.OpenID)
|
||||
OpenIDCredentials.internalBinaryWrite(message.OpenID, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.NatsCredentials Nats = 8 [json_name = "Nats"]; */
|
||||
/* api.NatsCredentials Nats = 8; */
|
||||
if (message.Nats)
|
||||
NatsCredentials.internalBinaryWrite(message.Nats, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.OpenSearchCredentials OpenDistro = 9 [json_name = "OpenDistro"]; */
|
||||
/* api.OpenSearchCredentials OpenDistro = 9; */
|
||||
if (message.OpenDistro)
|
||||
OpenSearchCredentials.internalBinaryWrite(message.OpenDistro, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.StorageEndpoint Storage = 10 [json_name = "Storage"]; */
|
||||
/* api.StorageEndpoint Storage = 10; */
|
||||
if (message.Storage)
|
||||
StorageEndpoint.internalBinaryWrite(message.Storage, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string PartnerAppJWT = 11 [json_name = "PartnerAppJWT"]; */
|
||||
/* string PartnerAppJWT = 11; */
|
||||
if (message.PartnerAppJWT !== "")
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.PartnerAppJWT);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -617,16 +617,16 @@ class UpdatePartnerAppRequest$Type extends MessageType<UpdatePartnerAppRequest>
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestProjectHeader Header */ 1:
|
||||
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* string ID = 2 [json_name = "ID"];*/ 2:
|
||||
case /* string ID */ 2:
|
||||
message.ID = reader.string();
|
||||
break;
|
||||
case /* string Name = 3 [json_name = "Name"];*/ 3:
|
||||
case /* string Name */ 3:
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
case /* string Description = 4 [json_name = "Description"];*/ 4:
|
||||
case /* string Description */ 4:
|
||||
message.Description = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -641,16 +641,16 @@ class UpdatePartnerAppRequest$Type extends MessageType<UpdatePartnerAppRequest>
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: UpdatePartnerAppRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestProjectHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ID = 2 [json_name = "ID"]; */
|
||||
/* string ID = 2; */
|
||||
if (message.ID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ID);
|
||||
/* string Name = 3 [json_name = "Name"]; */
|
||||
/* string Name = 3; */
|
||||
if (message.Name !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.Name);
|
||||
/* string Description = 4 [json_name = "Description"]; */
|
||||
/* string Description = 4; */
|
||||
if (message.Description !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.Description);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -681,7 +681,7 @@ class UpdatePartnerAppResult$Type extends MessageType<UpdatePartnerAppResult> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.PartnerApp Result = 1 [json_name = "Result"];*/ 1:
|
||||
case /* api.PartnerApp Result */ 1:
|
||||
message.Result = PartnerApp.internalBinaryRead(reader, reader.uint32(), options, message.Result);
|
||||
break;
|
||||
default:
|
||||
@@ -696,7 +696,7 @@ class UpdatePartnerAppResult$Type extends MessageType<UpdatePartnerAppResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: UpdatePartnerAppResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.PartnerApp Result = 1 [json_name = "Result"]; */
|
||||
/* api.PartnerApp Result = 1; */
|
||||
if (message.Result)
|
||||
PartnerApp.internalBinaryWrite(message.Result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -727,7 +727,7 @@ class GetPartnerAppRequest$Type extends MessageType<GetPartnerAppRequest> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestPartnerAppHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestPartnerAppHeader Header */ 1:
|
||||
message.Header = RequestPartnerAppHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
default:
|
||||
@@ -742,7 +742,7 @@ class GetPartnerAppRequest$Type extends MessageType<GetPartnerAppRequest> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: GetPartnerAppRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestPartnerAppHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestPartnerAppHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestPartnerAppHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -773,7 +773,7 @@ class GetPartnerAppResult$Type extends MessageType<GetPartnerAppResult> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.PartnerApp Result = 1 [json_name = "Result"];*/ 1:
|
||||
case /* api.PartnerApp Result */ 1:
|
||||
message.Result = PartnerApp.internalBinaryRead(reader, reader.uint32(), options, message.Result);
|
||||
break;
|
||||
default:
|
||||
@@ -788,7 +788,7 @@ class GetPartnerAppResult$Type extends MessageType<GetPartnerAppResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: GetPartnerAppResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.PartnerApp Result = 1 [json_name = "Result"]; */
|
||||
/* api.PartnerApp Result = 1; */
|
||||
if (message.Result)
|
||||
PartnerApp.internalBinaryWrite(message.Result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -820,10 +820,10 @@ class ListPartnerAppsRequest$Type extends MessageType<ListPartnerAppsRequest> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestProjectHeader Header */ 1:
|
||||
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* api.Paging Paging = 2 [json_name = "Paging"];*/ 2:
|
||||
case /* api.Paging Paging */ 2:
|
||||
message.Paging = Paging.internalBinaryRead(reader, reader.uint32(), options, message.Paging);
|
||||
break;
|
||||
default:
|
||||
@@ -838,10 +838,10 @@ class ListPartnerAppsRequest$Type extends MessageType<ListPartnerAppsRequest> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ListPartnerAppsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestProjectHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.Paging Paging = 2 [json_name = "Paging"]; */
|
||||
/* api.Paging Paging = 2; */
|
||||
if (message.Paging)
|
||||
Paging.internalBinaryWrite(message.Paging, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -873,7 +873,7 @@ class ListPartnerAppsResult$Type extends MessageType<ListPartnerAppsResult> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.PartnerApp Results = 1 [json_name = "Results"];*/ 1:
|
||||
case /* repeated api.PartnerApp Results */ 1:
|
||||
message.Results.push(PartnerApp.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
@@ -888,7 +888,7 @@ class ListPartnerAppsResult$Type extends MessageType<ListPartnerAppsResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ListPartnerAppsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.PartnerApp Results = 1 [json_name = "Results"]; */
|
||||
/* repeated api.PartnerApp Results = 1; */
|
||||
for (let i = 0; i < message.Results.length; i++)
|
||||
PartnerApp.internalBinaryWrite(message.Results[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -921,10 +921,10 @@ class DeletePartnerAppRequest$Type extends MessageType<DeletePartnerAppRequest>
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestProjectHeader Header */ 1:
|
||||
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* string ID = 2 [json_name = "ID"];*/ 2:
|
||||
case /* string ID */ 2:
|
||||
message.ID = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -939,10 +939,10 @@ class DeletePartnerAppRequest$Type extends MessageType<DeletePartnerAppRequest>
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: DeletePartnerAppRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestProjectHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string ID = 2 [json_name = "ID"]; */
|
||||
/* string ID = 2; */
|
||||
if (message.ID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ID);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -973,7 +973,7 @@ class DeletePartnerAppResult$Type extends MessageType<DeletePartnerAppResult> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.WorkflowExecutionResult WorkflowExecution = 1 [json_name = "WorkflowExecution"];*/ 1:
|
||||
case /* api.WorkflowExecutionResult WorkflowExecution */ 1:
|
||||
message.WorkflowExecution = WorkflowExecutionResult.internalBinaryRead(reader, reader.uint32(), options, message.WorkflowExecution);
|
||||
break;
|
||||
default:
|
||||
@@ -988,7 +988,7 @@ class DeletePartnerAppResult$Type extends MessageType<DeletePartnerAppResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: DeletePartnerAppResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.WorkflowExecutionResult WorkflowExecution = 1 [json_name = "WorkflowExecution"]; */
|
||||
/* api.WorkflowExecutionResult WorkflowExecution = 1; */
|
||||
if (message.WorkflowExecution)
|
||||
WorkflowExecutionResult.internalBinaryWrite(message.WorkflowExecution, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -1020,7 +1020,7 @@ class DeletePartnerAppInDBRequest$Type extends MessageType<DeletePartnerAppInDBR
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string PartnerAppID = 1 [json_name = "PartnerAppID"];*/ 1:
|
||||
case /* string PartnerAppID */ 1:
|
||||
message.PartnerAppID = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -1035,7 +1035,7 @@ class DeletePartnerAppInDBRequest$Type extends MessageType<DeletePartnerAppInDBR
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: DeletePartnerAppInDBRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string PartnerAppID = 1 [json_name = "PartnerAppID"]; */
|
||||
/* string PartnerAppID = 1; */
|
||||
if (message.PartnerAppID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.PartnerAppID);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -1104,7 +1104,7 @@ class RenewPartnerAppRequest$Type extends MessageType<RenewPartnerAppRequest> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestPartnerAppHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestPartnerAppHeader Header */ 1:
|
||||
message.Header = RequestPartnerAppHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
default:
|
||||
@@ -1119,7 +1119,7 @@ class RenewPartnerAppRequest$Type extends MessageType<RenewPartnerAppRequest> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: RenewPartnerAppRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestPartnerAppHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestPartnerAppHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestPartnerAppHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -1165,37 +1165,37 @@ class RenewPartnerAppResult$Type extends MessageType<RenewPartnerAppResult> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* int32 Version = 1 [json_name = "Version"];*/ 1:
|
||||
case /* int32 Version */ 1:
|
||||
message.Version = reader.int32();
|
||||
break;
|
||||
case /* string OrganisationID = 2 [json_name = "OrganisationID"];*/ 2:
|
||||
case /* string OrganisationID */ 2:
|
||||
message.OrganisationID = reader.string();
|
||||
break;
|
||||
case /* string ProjectID = 3 [json_name = "ProjectID"];*/ 3:
|
||||
case /* string ProjectID */ 3:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* string PartnerAppID = 4 [json_name = "PartnerAppID"];*/ 4:
|
||||
case /* string PartnerAppID */ 4:
|
||||
message.PartnerAppID = reader.string();
|
||||
break;
|
||||
case /* string PartnerAppJWT = 11 [json_name = "PartnerAppJWT"];*/ 11:
|
||||
case /* string PartnerAppJWT */ 11:
|
||||
message.PartnerAppJWT = reader.string();
|
||||
break;
|
||||
case /* api.CoreEndpoint Core = 5 [json_name = "Core"];*/ 5:
|
||||
case /* api.CoreEndpoint Core */ 5:
|
||||
message.Core = CoreEndpoint.internalBinaryRead(reader, reader.uint32(), options, message.Core);
|
||||
break;
|
||||
case /* api.IntegrationEndpoint Integration = 6 [json_name = "Integration"];*/ 6:
|
||||
case /* api.IntegrationEndpoint Integration */ 6:
|
||||
message.Integration = IntegrationEndpoint.internalBinaryRead(reader, reader.uint32(), options, message.Integration);
|
||||
break;
|
||||
case /* api.OpenIDCredentials OpenID = 7 [json_name = "OpenID"];*/ 7:
|
||||
case /* api.OpenIDCredentials OpenID */ 7:
|
||||
message.OpenID = OpenIDCredentials.internalBinaryRead(reader, reader.uint32(), options, message.OpenID);
|
||||
break;
|
||||
case /* api.NatsCredentials Nats = 8 [json_name = "Nats"];*/ 8:
|
||||
case /* api.NatsCredentials Nats */ 8:
|
||||
message.Nats = NatsCredentials.internalBinaryRead(reader, reader.uint32(), options, message.Nats);
|
||||
break;
|
||||
case /* api.OpenSearchCredentials OpenDistro = 9 [json_name = "OpenDistro"];*/ 9:
|
||||
case /* api.OpenSearchCredentials OpenDistro */ 9:
|
||||
message.OpenDistro = OpenSearchCredentials.internalBinaryRead(reader, reader.uint32(), options, message.OpenDistro);
|
||||
break;
|
||||
case /* api.StorageEndpoint Storage = 10 [json_name = "Storage"];*/ 10:
|
||||
case /* api.StorageEndpoint Storage */ 10:
|
||||
message.Storage = StorageEndpoint.internalBinaryRead(reader, reader.uint32(), options, message.Storage);
|
||||
break;
|
||||
default:
|
||||
@@ -1210,37 +1210,37 @@ class RenewPartnerAppResult$Type extends MessageType<RenewPartnerAppResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: RenewPartnerAppResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* int32 Version = 1 [json_name = "Version"]; */
|
||||
/* int32 Version = 1; */
|
||||
if (message.Version !== 0)
|
||||
writer.tag(1, WireType.Varint).int32(message.Version);
|
||||
/* string OrganisationID = 2 [json_name = "OrganisationID"]; */
|
||||
/* string OrganisationID = 2; */
|
||||
if (message.OrganisationID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.OrganisationID);
|
||||
/* string ProjectID = 3 [json_name = "ProjectID"]; */
|
||||
/* string ProjectID = 3; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* string PartnerAppID = 4 [json_name = "PartnerAppID"]; */
|
||||
/* string PartnerAppID = 4; */
|
||||
if (message.PartnerAppID !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.PartnerAppID);
|
||||
/* api.CoreEndpoint Core = 5 [json_name = "Core"]; */
|
||||
/* api.CoreEndpoint Core = 5; */
|
||||
if (message.Core)
|
||||
CoreEndpoint.internalBinaryWrite(message.Core, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.IntegrationEndpoint Integration = 6 [json_name = "Integration"]; */
|
||||
/* api.IntegrationEndpoint Integration = 6; */
|
||||
if (message.Integration)
|
||||
IntegrationEndpoint.internalBinaryWrite(message.Integration, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.OpenIDCredentials OpenID = 7 [json_name = "OpenID"]; */
|
||||
/* api.OpenIDCredentials OpenID = 7; */
|
||||
if (message.OpenID)
|
||||
OpenIDCredentials.internalBinaryWrite(message.OpenID, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.NatsCredentials Nats = 8 [json_name = "Nats"]; */
|
||||
/* api.NatsCredentials Nats = 8; */
|
||||
if (message.Nats)
|
||||
NatsCredentials.internalBinaryWrite(message.Nats, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.OpenSearchCredentials OpenDistro = 9 [json_name = "OpenDistro"]; */
|
||||
/* api.OpenSearchCredentials OpenDistro = 9; */
|
||||
if (message.OpenDistro)
|
||||
OpenSearchCredentials.internalBinaryWrite(message.OpenDistro, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.StorageEndpoint Storage = 10 [json_name = "Storage"]; */
|
||||
/* api.StorageEndpoint Storage = 10; */
|
||||
if (message.Storage)
|
||||
StorageEndpoint.internalBinaryWrite(message.Storage, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string PartnerAppJWT = 11 [json_name = "PartnerAppJWT"]; */
|
||||
/* string PartnerAppJWT = 11; */
|
||||
if (message.PartnerAppJWT !== "")
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.PartnerAppJWT);
|
||||
let u = options.writeUnknownFields;
|
||||
|
||||
Reference in New Issue
Block a user