You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -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 "adminConnection.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -17,15 +17,15 @@ import { ValueType } from "./shared";
|
||||
*/
|
||||
export interface AdminConnection {
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 1 [json_name = "ID"];
|
||||
* @generated from protobuf field: string ID = 1
|
||||
*/
|
||||
ID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UriStartApi = 2 [json_name = "UriStartApi"];
|
||||
* @generated from protobuf field: string UriStartApi = 2
|
||||
*/
|
||||
UriStartApi: string;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.ArgElement ArgsUriStart = 3 [json_name = "ArgsUriStart"];
|
||||
* @generated from protobuf field: repeated api.ArgElement ArgsUriStart = 3
|
||||
*/
|
||||
ArgsUriStart: ArgElement[];
|
||||
}
|
||||
@@ -34,11 +34,11 @@ export interface AdminConnection {
|
||||
*/
|
||||
export interface ArgElement {
|
||||
/**
|
||||
* @generated from protobuf field: string Key = 1 [json_name = "Key"];
|
||||
* @generated from protobuf field: string Key = 1
|
||||
*/
|
||||
Key: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.ValueType Value = 2 [json_name = "Value"];
|
||||
* @generated from protobuf field: api.ValueType Value = 2
|
||||
*/
|
||||
Value?: ValueType;
|
||||
}
|
||||
@@ -47,15 +47,15 @@ export interface ArgElement {
|
||||
*/
|
||||
export interface RegisterConnectionManagerRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string ID = 1 [json_name = "ID"];
|
||||
* @generated from protobuf field: string ID = 1
|
||||
*/
|
||||
ID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UriStartApi = 2 [json_name = "UriStartApi"];
|
||||
* @generated from protobuf field: string UriStartApi = 2
|
||||
*/
|
||||
UriStartApi: string;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.ArgElement ArgsUriStart = 3 [json_name = "ArgsUriStart"];
|
||||
* @generated from protobuf field: repeated api.ArgElement ArgsUriStart = 3
|
||||
*/
|
||||
ArgsUriStart: ArgElement[];
|
||||
}
|
||||
@@ -74,7 +74,7 @@ export interface ListConnectionManagerRequest {
|
||||
*/
|
||||
export interface ListConnectionManagerResult {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.AdminConnection Results = 1 [json_name = "Results"];
|
||||
* @generated from protobuf field: repeated api.AdminConnection Results = 1
|
||||
*/
|
||||
Results: AdminConnection[];
|
||||
}
|
||||
@@ -101,13 +101,13 @@ class AdminConnection$Type extends MessageType<AdminConnection> {
|
||||
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 UriStartApi = 2 [json_name = "UriStartApi"];*/ 2:
|
||||
case /* string UriStartApi */ 2:
|
||||
message.UriStartApi = reader.string();
|
||||
break;
|
||||
case /* repeated api.ArgElement ArgsUriStart = 3 [json_name = "ArgsUriStart"];*/ 3:
|
||||
case /* repeated api.ArgElement ArgsUriStart */ 3:
|
||||
message.ArgsUriStart.push(ArgElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
@@ -122,13 +122,13 @@ class AdminConnection$Type extends MessageType<AdminConnection> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AdminConnection, 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 UriStartApi = 2 [json_name = "UriStartApi"]; */
|
||||
/* string UriStartApi = 2; */
|
||||
if (message.UriStartApi !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.UriStartApi);
|
||||
/* repeated api.ArgElement ArgsUriStart = 3 [json_name = "ArgsUriStart"]; */
|
||||
/* repeated api.ArgElement ArgsUriStart = 3; */
|
||||
for (let i = 0; i < message.ArgsUriStart.length; i++)
|
||||
ArgElement.internalBinaryWrite(message.ArgsUriStart[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -161,10 +161,10 @@ class ArgElement$Type extends MessageType<ArgElement> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string Key = 1 [json_name = "Key"];*/ 1:
|
||||
case /* string Key */ 1:
|
||||
message.Key = reader.string();
|
||||
break;
|
||||
case /* api.ValueType Value = 2 [json_name = "Value"];*/ 2:
|
||||
case /* api.ValueType Value */ 2:
|
||||
message.Value = ValueType.internalBinaryRead(reader, reader.uint32(), options, message.Value);
|
||||
break;
|
||||
default:
|
||||
@@ -179,10 +179,10 @@ class ArgElement$Type extends MessageType<ArgElement> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ArgElement, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string Key = 1 [json_name = "Key"]; */
|
||||
/* string Key = 1; */
|
||||
if (message.Key !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.Key);
|
||||
/* api.ValueType Value = 2 [json_name = "Value"]; */
|
||||
/* api.ValueType Value = 2; */
|
||||
if (message.Value)
|
||||
ValueType.internalBinaryWrite(message.Value, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -218,13 +218,13 @@ class RegisterConnectionManagerRequest$Type extends MessageType<RegisterConnecti
|
||||
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 UriStartApi = 2 [json_name = "UriStartApi"];*/ 2:
|
||||
case /* string UriStartApi */ 2:
|
||||
message.UriStartApi = reader.string();
|
||||
break;
|
||||
case /* repeated api.ArgElement ArgsUriStart = 3 [json_name = "ArgsUriStart"];*/ 3:
|
||||
case /* repeated api.ArgElement ArgsUriStart */ 3:
|
||||
message.ArgsUriStart.push(ArgElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
@@ -239,13 +239,13 @@ class RegisterConnectionManagerRequest$Type extends MessageType<RegisterConnecti
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: RegisterConnectionManagerRequest, 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 UriStartApi = 2 [json_name = "UriStartApi"]; */
|
||||
/* string UriStartApi = 2; */
|
||||
if (message.UriStartApi !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.UriStartApi);
|
||||
/* repeated api.ArgElement ArgsUriStart = 3 [json_name = "ArgsUriStart"]; */
|
||||
/* repeated api.ArgElement ArgsUriStart = 3; */
|
||||
for (let i = 0; i < message.ArgsUriStart.length; i++)
|
||||
ArgElement.internalBinaryWrite(message.ArgsUriStart[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
@@ -353,7 +353,7 @@ class ListConnectionManagerResult$Type extends MessageType<ListConnectionManager
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.AdminConnection Results = 1 [json_name = "Results"];*/ 1:
|
||||
case /* repeated api.AdminConnection Results */ 1:
|
||||
message.Results.push(AdminConnection.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
@@ -368,7 +368,7 @@ class ListConnectionManagerResult$Type extends MessageType<ListConnectionManager
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ListConnectionManagerResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.AdminConnection Results = 1 [json_name = "Results"]; */
|
||||
/* repeated api.AdminConnection Results = 1; */
|
||||
for (let i = 0; i < message.Results.length; i++)
|
||||
AdminConnection.internalBinaryWrite(message.Results[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
|
||||
Reference in New Issue
Block a user