You've already forked npm-core-sdk
Latest generation
This commit is contained in:
242
connection.ts
242
connection.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 "connection.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -23,47 +23,47 @@ import { RequestPartnerAppHeader } from "./shared";
|
||||
*/
|
||||
export interface Connection {
|
||||
/**
|
||||
* @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 ConnectorID = 3 [json_name = "ConnectorID"];
|
||||
* @generated from protobuf field: string ConnectorID = 3
|
||||
*/
|
||||
ConnectorID: 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 ServiceAccountName = 5 [json_name = "ServiceAccountName"];
|
||||
* @generated from protobuf field: string ServiceAccountName = 5
|
||||
*/
|
||||
ServiceAccountName: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UriApiStatus = 6 [json_name = "UriApiStatus"];
|
||||
* @generated from protobuf field: string UriApiStatus = 6
|
||||
*/
|
||||
UriApiStatus: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UriApiStart = 7 [json_name = "UriApiStart"];
|
||||
* @generated from protobuf field: string UriApiStart = 7
|
||||
*/
|
||||
UriApiStart: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UriApiStop = 8 [json_name = "UriApiStop"];
|
||||
* @generated from protobuf field: string UriApiStop = 8
|
||||
*/
|
||||
UriApiStop: string;
|
||||
/**
|
||||
* @generated from protobuf field: string AuthzServer = 9 [json_name = "AuthzServer"];
|
||||
* @generated from protobuf field: string AuthzServer = 9
|
||||
*/
|
||||
AuthzServer: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool InitializedByConnectionManager = 10 [json_name = "InitializedByConnectionManager"];
|
||||
* @generated from protobuf field: bool InitializedByConnectionManager = 10
|
||||
*/
|
||||
InitializedByConnectionManager: boolean;
|
||||
/**
|
||||
* @generated from protobuf field: string UriApiClear = 11 [json_name = "UriApiClear"];
|
||||
* @generated from protobuf field: string UriApiClear = 11
|
||||
*/
|
||||
UriApiClear: string;
|
||||
}
|
||||
@@ -72,15 +72,15 @@ export interface Connection {
|
||||
*/
|
||||
export interface CreateConnectionRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1
|
||||
*/
|
||||
Header?: RequestPartnerAppHeader;
|
||||
/**
|
||||
* @generated from protobuf field: string ConnectorID = 2 [json_name = "ConnectorID"];
|
||||
* @generated from protobuf field: string ConnectorID = 2
|
||||
*/
|
||||
ConnectorID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string Name = 3 [json_name = "Name"];
|
||||
* @generated from protobuf field: string Name = 3
|
||||
*/
|
||||
Name: string;
|
||||
}
|
||||
@@ -89,7 +89,7 @@ export interface CreateConnectionRequest {
|
||||
*/
|
||||
export interface CreateConnectionResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.Connection Result = 1 [json_name = "Result"];
|
||||
* @generated from protobuf field: api.Connection Result = 1
|
||||
*/
|
||||
Result?: Connection;
|
||||
}
|
||||
@@ -98,11 +98,11 @@ export interface CreateConnectionResult {
|
||||
*/
|
||||
export interface DeleteConnectionRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1
|
||||
*/
|
||||
Header?: RequestPartnerAppHeader;
|
||||
/**
|
||||
* @generated from protobuf field: string ConnectionID = 2 [json_name = "ConnectionID"];
|
||||
* @generated from protobuf field: string ConnectionID = 2
|
||||
*/
|
||||
ConnectionID: string;
|
||||
}
|
||||
@@ -111,7 +111,7 @@ export interface DeleteConnectionRequest {
|
||||
*/
|
||||
export interface DeleteConnectionResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1 [json_name = "WorkflowExecution"];
|
||||
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
|
||||
*/
|
||||
WorkflowExecution?: WorkflowExecutionResult;
|
||||
}
|
||||
@@ -120,15 +120,15 @@ export interface DeleteConnectionResult {
|
||||
*/
|
||||
export interface ListConnectionsRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestPartnerAppHeader Header = 1
|
||||
*/
|
||||
Header?: RequestPartnerAppHeader;
|
||||
/**
|
||||
* @generated from protobuf field: string ConnectorID = 2 [json_name = "ConnectorID"];
|
||||
* @generated from protobuf field: string ConnectorID = 2
|
||||
*/
|
||||
ConnectorID: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.Paging Paging = 3 [json_name = "Paging"];
|
||||
* @generated from protobuf field: api.Paging Paging = 3
|
||||
*/
|
||||
Paging?: Paging;
|
||||
}
|
||||
@@ -137,7 +137,7 @@ export interface ListConnectionsRequest {
|
||||
*/
|
||||
export interface ListConnectionsResult {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.Connection Results = 1 [json_name = "Results"];
|
||||
* @generated from protobuf field: repeated api.Connection Results = 1
|
||||
*/
|
||||
Results: Connection[];
|
||||
}
|
||||
@@ -146,7 +146,7 @@ export interface ListConnectionsResult {
|
||||
*/
|
||||
export interface GetDetailsConnectionsRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestConnectionHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestConnectionHeader Header = 1
|
||||
*/
|
||||
Header?: RequestConnectionHeader;
|
||||
}
|
||||
@@ -155,15 +155,15 @@ export interface GetDetailsConnectionsRequest {
|
||||
*/
|
||||
export interface GetDetailsConnectionsResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.Connection Connection = 1 [json_name = "Connection"];
|
||||
* @generated from protobuf field: api.Connection Connection = 1
|
||||
*/
|
||||
Connection?: Connection;
|
||||
/**
|
||||
* @generated from protobuf field: api.Connector Connector = 2 [json_name = "Connector"];
|
||||
* @generated from protobuf field: api.Connector Connector = 2
|
||||
*/
|
||||
Connector?: Connector;
|
||||
/**
|
||||
* @generated from protobuf field: api.PartnerApp PartnerApp = 3 [json_name = "PartnerApp"];
|
||||
* @generated from protobuf field: api.PartnerApp PartnerApp = 3
|
||||
*/
|
||||
PartnerApp?: PartnerApp;
|
||||
}
|
||||
@@ -172,7 +172,7 @@ export interface GetDetailsConnectionsResult {
|
||||
*/
|
||||
export interface GetStartDetailsConnectionsRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestConnectionHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestConnectionHeader Header = 1
|
||||
*/
|
||||
Header?: RequestConnectionHeader;
|
||||
}
|
||||
@@ -181,7 +181,7 @@ export interface GetStartDetailsConnectionsRequest {
|
||||
*/
|
||||
export interface GetStartDetailsConnectionsResult {
|
||||
/**
|
||||
* @generated from protobuf field: string UriStartApi = 1 [json_name = "UriStartApi"];
|
||||
* @generated from protobuf field: string UriStartApi = 1
|
||||
*/
|
||||
UriStartApi: string;
|
||||
}
|
||||
@@ -190,23 +190,23 @@ export interface GetStartDetailsConnectionsResult {
|
||||
*/
|
||||
export interface SetRunDetailsConnectionsRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestConnectionHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestConnectionHeader Header = 1
|
||||
*/
|
||||
Header?: RequestConnectionHeader;
|
||||
/**
|
||||
* @generated from protobuf field: string UriApiStatus = 2 [json_name = "UriApiStatus"];
|
||||
* @generated from protobuf field: string UriApiStatus = 2
|
||||
*/
|
||||
UriApiStatus: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UriApiStart = 3 [json_name = "UriApiStart"];
|
||||
* @generated from protobuf field: string UriApiStart = 3
|
||||
*/
|
||||
UriApiStart: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UriApiStop = 4 [json_name = "UriApiStop"];
|
||||
* @generated from protobuf field: string UriApiStop = 4
|
||||
*/
|
||||
UriApiStop: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UriApiClear = 5 [json_name = "UriApiClear"];
|
||||
* @generated from protobuf field: string UriApiClear = 5
|
||||
*/
|
||||
UriApiClear: string;
|
||||
}
|
||||
@@ -215,7 +215,7 @@ export interface SetRunDetailsConnectionsRequest {
|
||||
*/
|
||||
export interface SetRunDetailsConnectionsResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.Connection Result = 1 [json_name = "Result"];
|
||||
* @generated from protobuf field: api.Connection Result = 1
|
||||
*/
|
||||
Result?: Connection;
|
||||
}
|
||||
@@ -224,7 +224,7 @@ export interface SetRunDetailsConnectionsResult {
|
||||
*/
|
||||
export interface RenewConnectionSARequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestConnectionHeader Header = 1 [json_name = "Header"];
|
||||
* @generated from protobuf field: api.RequestConnectionHeader Header = 1
|
||||
*/
|
||||
Header?: RequestConnectionHeader;
|
||||
}
|
||||
@@ -233,11 +233,11 @@ export interface RenewConnectionSARequest {
|
||||
*/
|
||||
export interface RenewConnectionSAResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.User SA = 1 [json_name = "SA"];
|
||||
* @generated from protobuf field: api.User SA = 1
|
||||
*/
|
||||
SA?: User;
|
||||
/**
|
||||
* @generated from protobuf field: string PEM = 2 [json_name = "PEM"];
|
||||
* @generated from protobuf field: string PEM = 2
|
||||
*/
|
||||
PEM: string;
|
||||
}
|
||||
@@ -246,7 +246,7 @@ export interface RenewConnectionSAResult {
|
||||
*/
|
||||
export interface DeleteConnectionInDBRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ConnectionID = 1 [json_name = "ConnectionID"];
|
||||
* @generated from protobuf field: string ConnectionID = 1
|
||||
*/
|
||||
ConnectionID: string;
|
||||
}
|
||||
@@ -260,7 +260,7 @@ export interface DeleteConnectionInDBResult {
|
||||
*/
|
||||
export interface IsConnectionExistRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ConnectionID = 1 [json_name = "ConnectionID"];
|
||||
* @generated from protobuf field: string ConnectionID = 1
|
||||
*/
|
||||
ConnectionID: string;
|
||||
}
|
||||
@@ -269,7 +269,7 @@ export interface IsConnectionExistRequest {
|
||||
*/
|
||||
export interface IsConnectionExistResult {
|
||||
/**
|
||||
* @generated from protobuf field: bool Exist = 1 [json_name = "Exist"];
|
||||
* @generated from protobuf field: bool Exist = 1
|
||||
*/
|
||||
Exist: boolean;
|
||||
}
|
||||
@@ -312,37 +312,37 @@ class Connection$Type extends MessageType<Connection> {
|
||||
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 ConnectorID = 3 [json_name = "ConnectorID"];*/ 3:
|
||||
case /* string ConnectorID */ 3:
|
||||
message.ConnectorID = reader.string();
|
||||
break;
|
||||
case /* string PartnerAppID = 4 [json_name = "PartnerAppID"];*/ 4:
|
||||
case /* string PartnerAppID */ 4:
|
||||
message.PartnerAppID = reader.string();
|
||||
break;
|
||||
case /* string ServiceAccountName = 5 [json_name = "ServiceAccountName"];*/ 5:
|
||||
case /* string ServiceAccountName */ 5:
|
||||
message.ServiceAccountName = reader.string();
|
||||
break;
|
||||
case /* string UriApiStatus = 6 [json_name = "UriApiStatus"];*/ 6:
|
||||
case /* string UriApiStatus */ 6:
|
||||
message.UriApiStatus = reader.string();
|
||||
break;
|
||||
case /* string UriApiStart = 7 [json_name = "UriApiStart"];*/ 7:
|
||||
case /* string UriApiStart */ 7:
|
||||
message.UriApiStart = reader.string();
|
||||
break;
|
||||
case /* string UriApiStop = 8 [json_name = "UriApiStop"];*/ 8:
|
||||
case /* string UriApiStop */ 8:
|
||||
message.UriApiStop = reader.string();
|
||||
break;
|
||||
case /* string AuthzServer = 9 [json_name = "AuthzServer"];*/ 9:
|
||||
case /* string AuthzServer */ 9:
|
||||
message.AuthzServer = reader.string();
|
||||
break;
|
||||
case /* bool InitializedByConnectionManager = 10 [json_name = "InitializedByConnectionManager"];*/ 10:
|
||||
case /* bool InitializedByConnectionManager */ 10:
|
||||
message.InitializedByConnectionManager = reader.bool();
|
||||
break;
|
||||
case /* string UriApiClear = 11 [json_name = "UriApiClear"];*/ 11:
|
||||
case /* string UriApiClear */ 11:
|
||||
message.UriApiClear = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -357,37 +357,37 @@ class Connection$Type extends MessageType<Connection> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: Connection, 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 ConnectorID = 3 [json_name = "ConnectorID"]; */
|
||||
/* string ConnectorID = 3; */
|
||||
if (message.ConnectorID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.ConnectorID);
|
||||
/* string PartnerAppID = 4 [json_name = "PartnerAppID"]; */
|
||||
/* string PartnerAppID = 4; */
|
||||
if (message.PartnerAppID !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.PartnerAppID);
|
||||
/* string ServiceAccountName = 5 [json_name = "ServiceAccountName"]; */
|
||||
/* string ServiceAccountName = 5; */
|
||||
if (message.ServiceAccountName !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.ServiceAccountName);
|
||||
/* string UriApiStatus = 6 [json_name = "UriApiStatus"]; */
|
||||
/* string UriApiStatus = 6; */
|
||||
if (message.UriApiStatus !== "")
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.UriApiStatus);
|
||||
/* string UriApiStart = 7 [json_name = "UriApiStart"]; */
|
||||
/* string UriApiStart = 7; */
|
||||
if (message.UriApiStart !== "")
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.UriApiStart);
|
||||
/* string UriApiStop = 8 [json_name = "UriApiStop"]; */
|
||||
/* string UriApiStop = 8; */
|
||||
if (message.UriApiStop !== "")
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.UriApiStop);
|
||||
/* string AuthzServer = 9 [json_name = "AuthzServer"]; */
|
||||
/* string AuthzServer = 9; */
|
||||
if (message.AuthzServer !== "")
|
||||
writer.tag(9, WireType.LengthDelimited).string(message.AuthzServer);
|
||||
/* bool InitializedByConnectionManager = 10 [json_name = "InitializedByConnectionManager"]; */
|
||||
/* bool InitializedByConnectionManager = 10; */
|
||||
if (message.InitializedByConnectionManager !== false)
|
||||
writer.tag(10, WireType.Varint).bool(message.InitializedByConnectionManager);
|
||||
/* string UriApiClear = 11 [json_name = "UriApiClear"]; */
|
||||
/* string UriApiClear = 11; */
|
||||
if (message.UriApiClear !== "")
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.UriApiClear);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -422,13 +422,13 @@ class CreateConnectionRequest$Type extends MessageType<CreateConnectionRequest>
|
||||
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;
|
||||
case /* string ConnectorID = 2 [json_name = "ConnectorID"];*/ 2:
|
||||
case /* string ConnectorID */ 2:
|
||||
message.ConnectorID = reader.string();
|
||||
break;
|
||||
case /* string Name = 3 [json_name = "Name"];*/ 3:
|
||||
case /* string Name */ 3:
|
||||
message.Name = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -443,13 +443,13 @@ class CreateConnectionRequest$Type extends MessageType<CreateConnectionRequest>
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: CreateConnectionRequest, 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();
|
||||
/* string ConnectorID = 2 [json_name = "ConnectorID"]; */
|
||||
/* string ConnectorID = 2; */
|
||||
if (message.ConnectorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ConnectorID);
|
||||
/* string Name = 3 [json_name = "Name"]; */
|
||||
/* string Name = 3; */
|
||||
if (message.Name !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.Name);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -480,7 +480,7 @@ class CreateConnectionResult$Type extends MessageType<CreateConnectionResult> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.Connection Result = 1 [json_name = "Result"];*/ 1:
|
||||
case /* api.Connection Result */ 1:
|
||||
message.Result = Connection.internalBinaryRead(reader, reader.uint32(), options, message.Result);
|
||||
break;
|
||||
default:
|
||||
@@ -495,7 +495,7 @@ class CreateConnectionResult$Type extends MessageType<CreateConnectionResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: CreateConnectionResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.Connection Result = 1 [json_name = "Result"]; */
|
||||
/* api.Connection Result = 1; */
|
||||
if (message.Result)
|
||||
Connection.internalBinaryWrite(message.Result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -528,10 +528,10 @@ class DeleteConnectionRequest$Type extends MessageType<DeleteConnectionRequest>
|
||||
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;
|
||||
case /* string ConnectionID = 2 [json_name = "ConnectionID"];*/ 2:
|
||||
case /* string ConnectionID */ 2:
|
||||
message.ConnectionID = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -546,10 +546,10 @@ class DeleteConnectionRequest$Type extends MessageType<DeleteConnectionRequest>
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: DeleteConnectionRequest, 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();
|
||||
/* string ConnectionID = 2 [json_name = "ConnectionID"]; */
|
||||
/* string ConnectionID = 2; */
|
||||
if (message.ConnectionID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ConnectionID);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -580,7 +580,7 @@ class DeleteConnectionResult$Type extends MessageType<DeleteConnectionResult> {
|
||||
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:
|
||||
@@ -595,7 +595,7 @@ class DeleteConnectionResult$Type extends MessageType<DeleteConnectionResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: DeleteConnectionResult, 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;
|
||||
@@ -629,13 +629,13 @@ class ListConnectionsRequest$Type extends MessageType<ListConnectionsRequest> {
|
||||
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;
|
||||
case /* string ConnectorID = 2 [json_name = "ConnectorID"];*/ 2:
|
||||
case /* string ConnectorID */ 2:
|
||||
message.ConnectorID = reader.string();
|
||||
break;
|
||||
case /* api.Paging Paging = 3 [json_name = "Paging"];*/ 3:
|
||||
case /* api.Paging Paging */ 3:
|
||||
message.Paging = Paging.internalBinaryRead(reader, reader.uint32(), options, message.Paging);
|
||||
break;
|
||||
default:
|
||||
@@ -650,13 +650,13 @@ class ListConnectionsRequest$Type extends MessageType<ListConnectionsRequest> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ListConnectionsRequest, 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();
|
||||
/* string ConnectorID = 2 [json_name = "ConnectorID"]; */
|
||||
/* string ConnectorID = 2; */
|
||||
if (message.ConnectorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ConnectorID);
|
||||
/* api.Paging Paging = 3 [json_name = "Paging"]; */
|
||||
/* api.Paging Paging = 3; */
|
||||
if (message.Paging)
|
||||
Paging.internalBinaryWrite(message.Paging, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -688,7 +688,7 @@ class ListConnectionsResult$Type extends MessageType<ListConnectionsResult> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.Connection Results = 1 [json_name = "Results"];*/ 1:
|
||||
case /* repeated api.Connection Results */ 1:
|
||||
message.Results.push(Connection.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
@@ -703,7 +703,7 @@ class ListConnectionsResult$Type extends MessageType<ListConnectionsResult> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ListConnectionsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.Connection Results = 1 [json_name = "Results"]; */
|
||||
/* repeated api.Connection Results = 1; */
|
||||
for (let i = 0; i < message.Results.length; i++)
|
||||
Connection.internalBinaryWrite(message.Results[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -734,7 +734,7 @@ class GetDetailsConnectionsRequest$Type extends MessageType<GetDetailsConnection
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestConnectionHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestConnectionHeader Header */ 1:
|
||||
message.Header = RequestConnectionHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
default:
|
||||
@@ -749,7 +749,7 @@ class GetDetailsConnectionsRequest$Type extends MessageType<GetDetailsConnection
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: GetDetailsConnectionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestConnectionHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestConnectionHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestConnectionHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -782,13 +782,13 @@ class GetDetailsConnectionsResult$Type extends MessageType<GetDetailsConnections
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.Connection Connection = 1 [json_name = "Connection"];*/ 1:
|
||||
case /* api.Connection Connection */ 1:
|
||||
message.Connection = Connection.internalBinaryRead(reader, reader.uint32(), options, message.Connection);
|
||||
break;
|
||||
case /* api.Connector Connector = 2 [json_name = "Connector"];*/ 2:
|
||||
case /* api.Connector Connector */ 2:
|
||||
message.Connector = Connector.internalBinaryRead(reader, reader.uint32(), options, message.Connector);
|
||||
break;
|
||||
case /* api.PartnerApp PartnerApp = 3 [json_name = "PartnerApp"];*/ 3:
|
||||
case /* api.PartnerApp PartnerApp */ 3:
|
||||
message.PartnerApp = PartnerApp.internalBinaryRead(reader, reader.uint32(), options, message.PartnerApp);
|
||||
break;
|
||||
default:
|
||||
@@ -803,13 +803,13 @@ class GetDetailsConnectionsResult$Type extends MessageType<GetDetailsConnections
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: GetDetailsConnectionsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.Connection Connection = 1 [json_name = "Connection"]; */
|
||||
/* api.Connection Connection = 1; */
|
||||
if (message.Connection)
|
||||
Connection.internalBinaryWrite(message.Connection, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.Connector Connector = 2 [json_name = "Connector"]; */
|
||||
/* api.Connector Connector = 2; */
|
||||
if (message.Connector)
|
||||
Connector.internalBinaryWrite(message.Connector, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.PartnerApp PartnerApp = 3 [json_name = "PartnerApp"]; */
|
||||
/* api.PartnerApp PartnerApp = 3; */
|
||||
if (message.PartnerApp)
|
||||
PartnerApp.internalBinaryWrite(message.PartnerApp, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -840,7 +840,7 @@ class GetStartDetailsConnectionsRequest$Type extends MessageType<GetStartDetails
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestConnectionHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestConnectionHeader Header */ 1:
|
||||
message.Header = RequestConnectionHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
default:
|
||||
@@ -855,7 +855,7 @@ class GetStartDetailsConnectionsRequest$Type extends MessageType<GetStartDetails
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: GetStartDetailsConnectionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestConnectionHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestConnectionHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestConnectionHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -887,7 +887,7 @@ class GetStartDetailsConnectionsResult$Type extends MessageType<GetStartDetailsC
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string UriStartApi = 1 [json_name = "UriStartApi"];*/ 1:
|
||||
case /* string UriStartApi */ 1:
|
||||
message.UriStartApi = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -902,7 +902,7 @@ class GetStartDetailsConnectionsResult$Type extends MessageType<GetStartDetailsC
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: GetStartDetailsConnectionsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string UriStartApi = 1 [json_name = "UriStartApi"]; */
|
||||
/* string UriStartApi = 1; */
|
||||
if (message.UriStartApi !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.UriStartApi);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -941,19 +941,19 @@ class SetRunDetailsConnectionsRequest$Type extends MessageType<SetRunDetailsConn
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestConnectionHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestConnectionHeader Header */ 1:
|
||||
message.Header = RequestConnectionHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* string UriApiStatus = 2 [json_name = "UriApiStatus"];*/ 2:
|
||||
case /* string UriApiStatus */ 2:
|
||||
message.UriApiStatus = reader.string();
|
||||
break;
|
||||
case /* string UriApiStart = 3 [json_name = "UriApiStart"];*/ 3:
|
||||
case /* string UriApiStart */ 3:
|
||||
message.UriApiStart = reader.string();
|
||||
break;
|
||||
case /* string UriApiStop = 4 [json_name = "UriApiStop"];*/ 4:
|
||||
case /* string UriApiStop */ 4:
|
||||
message.UriApiStop = reader.string();
|
||||
break;
|
||||
case /* string UriApiClear = 5 [json_name = "UriApiClear"];*/ 5:
|
||||
case /* string UriApiClear */ 5:
|
||||
message.UriApiClear = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -968,19 +968,19 @@ class SetRunDetailsConnectionsRequest$Type extends MessageType<SetRunDetailsConn
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: SetRunDetailsConnectionsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestConnectionHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestConnectionHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestConnectionHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string UriApiStatus = 2 [json_name = "UriApiStatus"]; */
|
||||
/* string UriApiStatus = 2; */
|
||||
if (message.UriApiStatus !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.UriApiStatus);
|
||||
/* string UriApiStart = 3 [json_name = "UriApiStart"]; */
|
||||
/* string UriApiStart = 3; */
|
||||
if (message.UriApiStart !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.UriApiStart);
|
||||
/* string UriApiStop = 4 [json_name = "UriApiStop"]; */
|
||||
/* string UriApiStop = 4; */
|
||||
if (message.UriApiStop !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.UriApiStop);
|
||||
/* string UriApiClear = 5 [json_name = "UriApiClear"]; */
|
||||
/* string UriApiClear = 5; */
|
||||
if (message.UriApiClear !== "")
|
||||
writer.tag(5, WireType.LengthDelimited).string(message.UriApiClear);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -1011,7 +1011,7 @@ class SetRunDetailsConnectionsResult$Type extends MessageType<SetRunDetailsConne
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.Connection Result = 1 [json_name = "Result"];*/ 1:
|
||||
case /* api.Connection Result */ 1:
|
||||
message.Result = Connection.internalBinaryRead(reader, reader.uint32(), options, message.Result);
|
||||
break;
|
||||
default:
|
||||
@@ -1026,7 +1026,7 @@ class SetRunDetailsConnectionsResult$Type extends MessageType<SetRunDetailsConne
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: SetRunDetailsConnectionsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.Connection Result = 1 [json_name = "Result"]; */
|
||||
/* api.Connection Result = 1; */
|
||||
if (message.Result)
|
||||
Connection.internalBinaryWrite(message.Result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -1057,7 +1057,7 @@ class RenewConnectionSARequest$Type extends MessageType<RenewConnectionSARequest
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestConnectionHeader Header = 1 [json_name = "Header"];*/ 1:
|
||||
case /* api.RequestConnectionHeader Header */ 1:
|
||||
message.Header = RequestConnectionHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
default:
|
||||
@@ -1072,7 +1072,7 @@ class RenewConnectionSARequest$Type extends MessageType<RenewConnectionSARequest
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: RenewConnectionSARequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestConnectionHeader Header = 1 [json_name = "Header"]; */
|
||||
/* api.RequestConnectionHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestConnectionHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -1105,10 +1105,10 @@ class RenewConnectionSAResult$Type extends MessageType<RenewConnectionSAResult>
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.User SA = 1 [json_name = "SA"];*/ 1:
|
||||
case /* api.User SA */ 1:
|
||||
message.SA = User.internalBinaryRead(reader, reader.uint32(), options, message.SA);
|
||||
break;
|
||||
case /* string PEM = 2 [json_name = "PEM"];*/ 2:
|
||||
case /* string PEM */ 2:
|
||||
message.PEM = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -1123,10 +1123,10 @@ class RenewConnectionSAResult$Type extends MessageType<RenewConnectionSAResult>
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: RenewConnectionSAResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.User SA = 1 [json_name = "SA"]; */
|
||||
/* api.User SA = 1; */
|
||||
if (message.SA)
|
||||
User.internalBinaryWrite(message.SA, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string PEM = 2 [json_name = "PEM"]; */
|
||||
/* string PEM = 2; */
|
||||
if (message.PEM !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.PEM);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -1158,7 +1158,7 @@ class DeleteConnectionInDBRequest$Type extends MessageType<DeleteConnectionInDBR
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ConnectionID = 1 [json_name = "ConnectionID"];*/ 1:
|
||||
case /* string ConnectionID */ 1:
|
||||
message.ConnectionID = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -1173,7 +1173,7 @@ class DeleteConnectionInDBRequest$Type extends MessageType<DeleteConnectionInDBR
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: DeleteConnectionInDBRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ConnectionID = 1 [json_name = "ConnectionID"]; */
|
||||
/* string ConnectionID = 1; */
|
||||
if (message.ConnectionID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ConnectionID);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -1243,7 +1243,7 @@ class IsConnectionExistRequest$Type extends MessageType<IsConnectionExistRequest
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ConnectionID = 1 [json_name = "ConnectionID"];*/ 1:
|
||||
case /* string ConnectionID */ 1:
|
||||
message.ConnectionID = reader.string();
|
||||
break;
|
||||
default:
|
||||
@@ -1258,7 +1258,7 @@ class IsConnectionExistRequest$Type extends MessageType<IsConnectionExistRequest
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: IsConnectionExistRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ConnectionID = 1 [json_name = "ConnectionID"]; */
|
||||
/* string ConnectionID = 1; */
|
||||
if (message.ConnectionID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ConnectionID);
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -1290,7 +1290,7 @@ class IsConnectionExistResult$Type extends MessageType<IsConnectionExistResult>
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* bool Exist = 1 [json_name = "Exist"];*/ 1:
|
||||
case /* bool Exist */ 1:
|
||||
message.Exist = reader.bool();
|
||||
break;
|
||||
default:
|
||||
@@ -1305,7 +1305,7 @@ class IsConnectionExistResult$Type extends MessageType<IsConnectionExistResult>
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: IsConnectionExistResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* bool Exist = 1 [json_name = "Exist"]; */
|
||||
/* bool Exist = 1; */
|
||||
if (message.Exist !== false)
|
||||
writer.tag(1, WireType.Varint).bool(message.Exist);
|
||||
let u = options.writeUnknownFields;
|
||||
|
||||
Reference in New Issue
Block a user