@gitpod/supervisor-api-grpc 0.1.5-se-workspace-id.35 → 0.1.5-se-init.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/control_grpc_pb.d.ts +7 -6
- package/lib/control_pb.d.ts +2 -6
- package/lib/control_pb.js +32 -42
- package/lib/info_grpc_pb.d.ts +7 -6
- package/lib/info_pb.d.ts +61 -29
- package/lib/info_pb.js +476 -43
- package/lib/notification_grpc_pb.d.ts +73 -0
- package/lib/notification_grpc_pb.js +121 -0
- package/lib/notification_pb.d.ts +148 -0
- package/lib/notification_pb.js +1076 -0
- package/lib/port_grpc_pb.d.ts +108 -0
- package/lib/port_grpc_pb.js +187 -0
- package/lib/port_pb.d.ts +232 -0
- package/lib/port_pb.js +1672 -0
- package/lib/status_grpc_pb.d.ts +23 -21
- package/lib/status_grpc_pb.js +1 -0
- package/lib/status_pb.d.ts +105 -51
- package/lib/status_pb.js +887 -213
- package/lib/terminal_grpc_pb.d.ts +86 -34
- package/lib/terminal_grpc_pb.js +127 -25
- package/lib/terminal_pb.d.ts +263 -134
- package/lib/terminal_pb.js +2257 -893
- package/lib/token_grpc_pb.d.ts +16 -15
- package/lib/token_pb.d.ts +31 -50
- package/lib/token_pb.js +262 -111
- package/package.json +8 -7
- package/pkg-yarn.lock +3 -3
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// package: supervisor
|
|
2
|
+
// file: notification.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as grpc from "@grpc/grpc-js";
|
|
8
|
+
import * as notification_pb from "./notification_pb";
|
|
9
|
+
|
|
10
|
+
interface INotificationServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
11
|
+
notify: INotificationServiceService_INotify;
|
|
12
|
+
subscribe: INotificationServiceService_ISubscribe;
|
|
13
|
+
respond: INotificationServiceService_IRespond;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface INotificationServiceService_INotify extends grpc.MethodDefinition<notification_pb.NotifyRequest, notification_pb.NotifyResponse> {
|
|
17
|
+
path: "/supervisor.NotificationService/Notify";
|
|
18
|
+
requestStream: false;
|
|
19
|
+
responseStream: false;
|
|
20
|
+
requestSerialize: grpc.serialize<notification_pb.NotifyRequest>;
|
|
21
|
+
requestDeserialize: grpc.deserialize<notification_pb.NotifyRequest>;
|
|
22
|
+
responseSerialize: grpc.serialize<notification_pb.NotifyResponse>;
|
|
23
|
+
responseDeserialize: grpc.deserialize<notification_pb.NotifyResponse>;
|
|
24
|
+
}
|
|
25
|
+
interface INotificationServiceService_ISubscribe extends grpc.MethodDefinition<notification_pb.SubscribeRequest, notification_pb.SubscribeResponse> {
|
|
26
|
+
path: "/supervisor.NotificationService/Subscribe";
|
|
27
|
+
requestStream: false;
|
|
28
|
+
responseStream: true;
|
|
29
|
+
requestSerialize: grpc.serialize<notification_pb.SubscribeRequest>;
|
|
30
|
+
requestDeserialize: grpc.deserialize<notification_pb.SubscribeRequest>;
|
|
31
|
+
responseSerialize: grpc.serialize<notification_pb.SubscribeResponse>;
|
|
32
|
+
responseDeserialize: grpc.deserialize<notification_pb.SubscribeResponse>;
|
|
33
|
+
}
|
|
34
|
+
interface INotificationServiceService_IRespond extends grpc.MethodDefinition<notification_pb.RespondRequest, notification_pb.RespondResponse> {
|
|
35
|
+
path: "/supervisor.NotificationService/Respond";
|
|
36
|
+
requestStream: false;
|
|
37
|
+
responseStream: false;
|
|
38
|
+
requestSerialize: grpc.serialize<notification_pb.RespondRequest>;
|
|
39
|
+
requestDeserialize: grpc.deserialize<notification_pb.RespondRequest>;
|
|
40
|
+
responseSerialize: grpc.serialize<notification_pb.RespondResponse>;
|
|
41
|
+
responseDeserialize: grpc.deserialize<notification_pb.RespondResponse>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export const NotificationServiceService: INotificationServiceService;
|
|
45
|
+
|
|
46
|
+
export interface INotificationServiceServer extends grpc.UntypedServiceImplementation {
|
|
47
|
+
notify: grpc.handleUnaryCall<notification_pb.NotifyRequest, notification_pb.NotifyResponse>;
|
|
48
|
+
subscribe: grpc.handleServerStreamingCall<notification_pb.SubscribeRequest, notification_pb.SubscribeResponse>;
|
|
49
|
+
respond: grpc.handleUnaryCall<notification_pb.RespondRequest, notification_pb.RespondResponse>;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface INotificationServiceClient {
|
|
53
|
+
notify(request: notification_pb.NotifyRequest, callback: (error: grpc.ServiceError | null, response: notification_pb.NotifyResponse) => void): grpc.ClientUnaryCall;
|
|
54
|
+
notify(request: notification_pb.NotifyRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: notification_pb.NotifyResponse) => void): grpc.ClientUnaryCall;
|
|
55
|
+
notify(request: notification_pb.NotifyRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: notification_pb.NotifyResponse) => void): grpc.ClientUnaryCall;
|
|
56
|
+
subscribe(request: notification_pb.SubscribeRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<notification_pb.SubscribeResponse>;
|
|
57
|
+
subscribe(request: notification_pb.SubscribeRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<notification_pb.SubscribeResponse>;
|
|
58
|
+
respond(request: notification_pb.RespondRequest, callback: (error: grpc.ServiceError | null, response: notification_pb.RespondResponse) => void): grpc.ClientUnaryCall;
|
|
59
|
+
respond(request: notification_pb.RespondRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: notification_pb.RespondResponse) => void): grpc.ClientUnaryCall;
|
|
60
|
+
respond(request: notification_pb.RespondRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: notification_pb.RespondResponse) => void): grpc.ClientUnaryCall;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export class NotificationServiceClient extends grpc.Client implements INotificationServiceClient {
|
|
64
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial<grpc.ClientOptions>);
|
|
65
|
+
public notify(request: notification_pb.NotifyRequest, callback: (error: grpc.ServiceError | null, response: notification_pb.NotifyResponse) => void): grpc.ClientUnaryCall;
|
|
66
|
+
public notify(request: notification_pb.NotifyRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: notification_pb.NotifyResponse) => void): grpc.ClientUnaryCall;
|
|
67
|
+
public notify(request: notification_pb.NotifyRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: notification_pb.NotifyResponse) => void): grpc.ClientUnaryCall;
|
|
68
|
+
public subscribe(request: notification_pb.SubscribeRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<notification_pb.SubscribeResponse>;
|
|
69
|
+
public subscribe(request: notification_pb.SubscribeRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<notification_pb.SubscribeResponse>;
|
|
70
|
+
public respond(request: notification_pb.RespondRequest, callback: (error: grpc.ServiceError | null, response: notification_pb.RespondResponse) => void): grpc.ClientUnaryCall;
|
|
71
|
+
public respond(request: notification_pb.RespondRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: notification_pb.RespondResponse) => void): grpc.ClientUnaryCall;
|
|
72
|
+
public respond(request: notification_pb.RespondRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: notification_pb.RespondResponse) => void): grpc.ClientUnaryCall;
|
|
73
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// Original file comments:
|
|
4
|
+
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
|
|
5
|
+
// Licensed under the GNU Affero General Public License (AGPL).
|
|
6
|
+
// See License-AGPL.txt in the project root for license information.
|
|
7
|
+
//
|
|
8
|
+
'use strict';
|
|
9
|
+
var grpc = require('@grpc/grpc-js');
|
|
10
|
+
var notification_pb = require('./notification_pb.js');
|
|
11
|
+
|
|
12
|
+
function serialize_supervisor_NotifyRequest(arg) {
|
|
13
|
+
if (!(arg instanceof notification_pb.NotifyRequest)) {
|
|
14
|
+
throw new Error('Expected argument of type supervisor.NotifyRequest');
|
|
15
|
+
}
|
|
16
|
+
return Buffer.from(arg.serializeBinary());
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function deserialize_supervisor_NotifyRequest(buffer_arg) {
|
|
20
|
+
return notification_pb.NotifyRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function serialize_supervisor_NotifyResponse(arg) {
|
|
24
|
+
if (!(arg instanceof notification_pb.NotifyResponse)) {
|
|
25
|
+
throw new Error('Expected argument of type supervisor.NotifyResponse');
|
|
26
|
+
}
|
|
27
|
+
return Buffer.from(arg.serializeBinary());
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function deserialize_supervisor_NotifyResponse(buffer_arg) {
|
|
31
|
+
return notification_pb.NotifyResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function serialize_supervisor_RespondRequest(arg) {
|
|
35
|
+
if (!(arg instanceof notification_pb.RespondRequest)) {
|
|
36
|
+
throw new Error('Expected argument of type supervisor.RespondRequest');
|
|
37
|
+
}
|
|
38
|
+
return Buffer.from(arg.serializeBinary());
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function deserialize_supervisor_RespondRequest(buffer_arg) {
|
|
42
|
+
return notification_pb.RespondRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function serialize_supervisor_RespondResponse(arg) {
|
|
46
|
+
if (!(arg instanceof notification_pb.RespondResponse)) {
|
|
47
|
+
throw new Error('Expected argument of type supervisor.RespondResponse');
|
|
48
|
+
}
|
|
49
|
+
return Buffer.from(arg.serializeBinary());
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function deserialize_supervisor_RespondResponse(buffer_arg) {
|
|
53
|
+
return notification_pb.RespondResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function serialize_supervisor_SubscribeRequest(arg) {
|
|
57
|
+
if (!(arg instanceof notification_pb.SubscribeRequest)) {
|
|
58
|
+
throw new Error('Expected argument of type supervisor.SubscribeRequest');
|
|
59
|
+
}
|
|
60
|
+
return Buffer.from(arg.serializeBinary());
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function deserialize_supervisor_SubscribeRequest(buffer_arg) {
|
|
64
|
+
return notification_pb.SubscribeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function serialize_supervisor_SubscribeResponse(arg) {
|
|
68
|
+
if (!(arg instanceof notification_pb.SubscribeResponse)) {
|
|
69
|
+
throw new Error('Expected argument of type supervisor.SubscribeResponse');
|
|
70
|
+
}
|
|
71
|
+
return Buffer.from(arg.serializeBinary());
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function deserialize_supervisor_SubscribeResponse(buffer_arg) {
|
|
75
|
+
return notification_pb.SubscribeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
// Notification serivce allows external processes to notify the user and ask for decisions.
|
|
80
|
+
var NotificationServiceService = exports.NotificationServiceService = {
|
|
81
|
+
// Prompts the user and asks for a decision. Typically called by some external process.
|
|
82
|
+
// If the list of actions is empty this service returns immediately,
|
|
83
|
+
// otherwise it blocks until the user has made their choice.
|
|
84
|
+
notify: {
|
|
85
|
+
path: '/supervisor.NotificationService/Notify',
|
|
86
|
+
requestStream: false,
|
|
87
|
+
responseStream: false,
|
|
88
|
+
requestType: notification_pb.NotifyRequest,
|
|
89
|
+
responseType: notification_pb.NotifyResponse,
|
|
90
|
+
requestSerialize: serialize_supervisor_NotifyRequest,
|
|
91
|
+
requestDeserialize: deserialize_supervisor_NotifyRequest,
|
|
92
|
+
responseSerialize: serialize_supervisor_NotifyResponse,
|
|
93
|
+
responseDeserialize: deserialize_supervisor_NotifyResponse,
|
|
94
|
+
},
|
|
95
|
+
// Subscribe to notifications. Typically called by the IDE.
|
|
96
|
+
subscribe: {
|
|
97
|
+
path: '/supervisor.NotificationService/Subscribe',
|
|
98
|
+
requestStream: false,
|
|
99
|
+
responseStream: true,
|
|
100
|
+
requestType: notification_pb.SubscribeRequest,
|
|
101
|
+
responseType: notification_pb.SubscribeResponse,
|
|
102
|
+
requestSerialize: serialize_supervisor_SubscribeRequest,
|
|
103
|
+
requestDeserialize: deserialize_supervisor_SubscribeRequest,
|
|
104
|
+
responseSerialize: serialize_supervisor_SubscribeResponse,
|
|
105
|
+
responseDeserialize: deserialize_supervisor_SubscribeResponse,
|
|
106
|
+
},
|
|
107
|
+
// Report a user's choice as a response to a notification. Typically called by the IDE.
|
|
108
|
+
respond: {
|
|
109
|
+
path: '/supervisor.NotificationService/Respond',
|
|
110
|
+
requestStream: false,
|
|
111
|
+
responseStream: false,
|
|
112
|
+
requestType: notification_pb.RespondRequest,
|
|
113
|
+
responseType: notification_pb.RespondResponse,
|
|
114
|
+
requestSerialize: serialize_supervisor_RespondRequest,
|
|
115
|
+
requestDeserialize: deserialize_supervisor_RespondRequest,
|
|
116
|
+
responseSerialize: serialize_supervisor_RespondResponse,
|
|
117
|
+
responseDeserialize: deserialize_supervisor_RespondResponse,
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
exports.NotificationServiceClient = grpc.makeGenericClientConstructor(NotificationServiceService);
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
// package: supervisor
|
|
2
|
+
// file: notification.proto
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
|
|
7
|
+
import * as jspb from "google-protobuf";
|
|
8
|
+
|
|
9
|
+
export class NotifyRequest extends jspb.Message {
|
|
10
|
+
getLevel(): NotifyRequest.Level;
|
|
11
|
+
setLevel(value: NotifyRequest.Level): NotifyRequest;
|
|
12
|
+
getMessage(): string;
|
|
13
|
+
setMessage(value: string): NotifyRequest;
|
|
14
|
+
clearActionsList(): void;
|
|
15
|
+
getActionsList(): Array<string>;
|
|
16
|
+
setActionsList(value: Array<string>): NotifyRequest;
|
|
17
|
+
addActions(value: string, index?: number): string;
|
|
18
|
+
|
|
19
|
+
serializeBinary(): Uint8Array;
|
|
20
|
+
toObject(includeInstance?: boolean): NotifyRequest.AsObject;
|
|
21
|
+
static toObject(includeInstance: boolean, msg: NotifyRequest): NotifyRequest.AsObject;
|
|
22
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
23
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
24
|
+
static serializeBinaryToWriter(message: NotifyRequest, writer: jspb.BinaryWriter): void;
|
|
25
|
+
static deserializeBinary(bytes: Uint8Array): NotifyRequest;
|
|
26
|
+
static deserializeBinaryFromReader(message: NotifyRequest, reader: jspb.BinaryReader): NotifyRequest;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export namespace NotifyRequest {
|
|
30
|
+
export type AsObject = {
|
|
31
|
+
level: NotifyRequest.Level,
|
|
32
|
+
message: string,
|
|
33
|
+
actionsList: Array<string>,
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export enum Level {
|
|
37
|
+
ERROR = 0,
|
|
38
|
+
WARNING = 1,
|
|
39
|
+
INFO = 2,
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export class NotifyResponse extends jspb.Message {
|
|
45
|
+
getAction(): string;
|
|
46
|
+
setAction(value: string): NotifyResponse;
|
|
47
|
+
|
|
48
|
+
serializeBinary(): Uint8Array;
|
|
49
|
+
toObject(includeInstance?: boolean): NotifyResponse.AsObject;
|
|
50
|
+
static toObject(includeInstance: boolean, msg: NotifyResponse): NotifyResponse.AsObject;
|
|
51
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
52
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
53
|
+
static serializeBinaryToWriter(message: NotifyResponse, writer: jspb.BinaryWriter): void;
|
|
54
|
+
static deserializeBinary(bytes: Uint8Array): NotifyResponse;
|
|
55
|
+
static deserializeBinaryFromReader(message: NotifyResponse, reader: jspb.BinaryReader): NotifyResponse;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export namespace NotifyResponse {
|
|
59
|
+
export type AsObject = {
|
|
60
|
+
action: string,
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export class SubscribeRequest extends jspb.Message {
|
|
65
|
+
|
|
66
|
+
serializeBinary(): Uint8Array;
|
|
67
|
+
toObject(includeInstance?: boolean): SubscribeRequest.AsObject;
|
|
68
|
+
static toObject(includeInstance: boolean, msg: SubscribeRequest): SubscribeRequest.AsObject;
|
|
69
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
70
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
71
|
+
static serializeBinaryToWriter(message: SubscribeRequest, writer: jspb.BinaryWriter): void;
|
|
72
|
+
static deserializeBinary(bytes: Uint8Array): SubscribeRequest;
|
|
73
|
+
static deserializeBinaryFromReader(message: SubscribeRequest, reader: jspb.BinaryReader): SubscribeRequest;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export namespace SubscribeRequest {
|
|
77
|
+
export type AsObject = {
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export class SubscribeResponse extends jspb.Message {
|
|
82
|
+
getRequestid(): number;
|
|
83
|
+
setRequestid(value: number): SubscribeResponse;
|
|
84
|
+
|
|
85
|
+
hasRequest(): boolean;
|
|
86
|
+
clearRequest(): void;
|
|
87
|
+
getRequest(): NotifyRequest | undefined;
|
|
88
|
+
setRequest(value?: NotifyRequest): SubscribeResponse;
|
|
89
|
+
|
|
90
|
+
serializeBinary(): Uint8Array;
|
|
91
|
+
toObject(includeInstance?: boolean): SubscribeResponse.AsObject;
|
|
92
|
+
static toObject(includeInstance: boolean, msg: SubscribeResponse): SubscribeResponse.AsObject;
|
|
93
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
94
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
95
|
+
static serializeBinaryToWriter(message: SubscribeResponse, writer: jspb.BinaryWriter): void;
|
|
96
|
+
static deserializeBinary(bytes: Uint8Array): SubscribeResponse;
|
|
97
|
+
static deserializeBinaryFromReader(message: SubscribeResponse, reader: jspb.BinaryReader): SubscribeResponse;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export namespace SubscribeResponse {
|
|
101
|
+
export type AsObject = {
|
|
102
|
+
requestid: number,
|
|
103
|
+
request?: NotifyRequest.AsObject,
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export class RespondRequest extends jspb.Message {
|
|
108
|
+
getRequestid(): number;
|
|
109
|
+
setRequestid(value: number): RespondRequest;
|
|
110
|
+
|
|
111
|
+
hasResponse(): boolean;
|
|
112
|
+
clearResponse(): void;
|
|
113
|
+
getResponse(): NotifyResponse | undefined;
|
|
114
|
+
setResponse(value?: NotifyResponse): RespondRequest;
|
|
115
|
+
|
|
116
|
+
serializeBinary(): Uint8Array;
|
|
117
|
+
toObject(includeInstance?: boolean): RespondRequest.AsObject;
|
|
118
|
+
static toObject(includeInstance: boolean, msg: RespondRequest): RespondRequest.AsObject;
|
|
119
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
120
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
121
|
+
static serializeBinaryToWriter(message: RespondRequest, writer: jspb.BinaryWriter): void;
|
|
122
|
+
static deserializeBinary(bytes: Uint8Array): RespondRequest;
|
|
123
|
+
static deserializeBinaryFromReader(message: RespondRequest, reader: jspb.BinaryReader): RespondRequest;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export namespace RespondRequest {
|
|
127
|
+
export type AsObject = {
|
|
128
|
+
requestid: number,
|
|
129
|
+
response?: NotifyResponse.AsObject,
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class RespondResponse extends jspb.Message {
|
|
134
|
+
|
|
135
|
+
serializeBinary(): Uint8Array;
|
|
136
|
+
toObject(includeInstance?: boolean): RespondResponse.AsObject;
|
|
137
|
+
static toObject(includeInstance: boolean, msg: RespondResponse): RespondResponse.AsObject;
|
|
138
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
139
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
140
|
+
static serializeBinaryToWriter(message: RespondResponse, writer: jspb.BinaryWriter): void;
|
|
141
|
+
static deserializeBinary(bytes: Uint8Array): RespondResponse;
|
|
142
|
+
static deserializeBinaryFromReader(message: RespondResponse, reader: jspb.BinaryReader): RespondResponse;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export namespace RespondResponse {
|
|
146
|
+
export type AsObject = {
|
|
147
|
+
}
|
|
148
|
+
}
|