@@ -224,7 +224,16 @@ export interface InactiveRequest {
224
224
export interface InactiveResponse {
225
225
}
226
226
227
- export interface PingRequest {
227
+ export interface LocalSSHServicePingRequest {
228
+ }
229
+
230
+ export interface LocalSSHServicePingResponse {
231
+ }
232
+
233
+ export interface ExtensionServicePingRequest {
234
+ }
235
+
236
+ export interface ExtensionServicePingResponse {
228
237
}
229
238
230
239
export interface PingResponse {
@@ -1025,19 +1034,105 @@ export const InactiveResponse = {
1025
1034
} ,
1026
1035
} ;
1027
1036
1028
- function createBasePingRequest ( ) : PingRequest {
1037
+ function createBaseLocalSSHServicePingRequest ( ) : LocalSSHServicePingRequest {
1038
+ return { } ;
1039
+ }
1040
+
1041
+ export const LocalSSHServicePingRequest = {
1042
+ encode ( _ : LocalSSHServicePingRequest , writer : _m0 . Writer = _m0 . Writer . create ( ) ) : _m0 . Writer {
1043
+ return writer ;
1044
+ } ,
1045
+
1046
+ decode ( input : _m0 . Reader | Uint8Array , length ?: number ) : LocalSSHServicePingRequest {
1047
+ const reader = input instanceof _m0 . Reader ? input : new _m0 . Reader ( input ) ;
1048
+ let end = length === undefined ? reader . len : reader . pos + length ;
1049
+ const message = createBaseLocalSSHServicePingRequest ( ) ;
1050
+ while ( reader . pos < end ) {
1051
+ const tag = reader . uint32 ( ) ;
1052
+ switch ( tag >>> 3 ) {
1053
+ default :
1054
+ reader . skipType ( tag & 7 ) ;
1055
+ break ;
1056
+ }
1057
+ }
1058
+ return message ;
1059
+ } ,
1060
+
1061
+ fromJSON ( _ : any ) : LocalSSHServicePingRequest {
1062
+ return { } ;
1063
+ } ,
1064
+
1065
+ toJSON ( _ : LocalSSHServicePingRequest ) : unknown {
1066
+ const obj : any = { } ;
1067
+ return obj ;
1068
+ } ,
1069
+
1070
+ create ( base ?: DeepPartial < LocalSSHServicePingRequest > ) : LocalSSHServicePingRequest {
1071
+ return LocalSSHServicePingRequest . fromPartial ( base ?? { } ) ;
1072
+ } ,
1073
+
1074
+ fromPartial ( _ : DeepPartial < LocalSSHServicePingRequest > ) : LocalSSHServicePingRequest {
1075
+ const message = createBaseLocalSSHServicePingRequest ( ) ;
1076
+ return message ;
1077
+ } ,
1078
+ } ;
1079
+
1080
+ function createBaseLocalSSHServicePingResponse ( ) : LocalSSHServicePingResponse {
1081
+ return { } ;
1082
+ }
1083
+
1084
+ export const LocalSSHServicePingResponse = {
1085
+ encode ( _ : LocalSSHServicePingResponse , writer : _m0 . Writer = _m0 . Writer . create ( ) ) : _m0 . Writer {
1086
+ return writer ;
1087
+ } ,
1088
+
1089
+ decode ( input : _m0 . Reader | Uint8Array , length ?: number ) : LocalSSHServicePingResponse {
1090
+ const reader = input instanceof _m0 . Reader ? input : new _m0 . Reader ( input ) ;
1091
+ let end = length === undefined ? reader . len : reader . pos + length ;
1092
+ const message = createBaseLocalSSHServicePingResponse ( ) ;
1093
+ while ( reader . pos < end ) {
1094
+ const tag = reader . uint32 ( ) ;
1095
+ switch ( tag >>> 3 ) {
1096
+ default :
1097
+ reader . skipType ( tag & 7 ) ;
1098
+ break ;
1099
+ }
1100
+ }
1101
+ return message ;
1102
+ } ,
1103
+
1104
+ fromJSON ( _ : any ) : LocalSSHServicePingResponse {
1105
+ return { } ;
1106
+ } ,
1107
+
1108
+ toJSON ( _ : LocalSSHServicePingResponse ) : unknown {
1109
+ const obj : any = { } ;
1110
+ return obj ;
1111
+ } ,
1112
+
1113
+ create ( base ?: DeepPartial < LocalSSHServicePingResponse > ) : LocalSSHServicePingResponse {
1114
+ return LocalSSHServicePingResponse . fromPartial ( base ?? { } ) ;
1115
+ } ,
1116
+
1117
+ fromPartial ( _ : DeepPartial < LocalSSHServicePingResponse > ) : LocalSSHServicePingResponse {
1118
+ const message = createBaseLocalSSHServicePingResponse ( ) ;
1119
+ return message ;
1120
+ } ,
1121
+ } ;
1122
+
1123
+ function createBaseExtensionServicePingRequest ( ) : ExtensionServicePingRequest {
1029
1124
return { } ;
1030
1125
}
1031
1126
1032
- export const PingRequest = {
1033
- encode ( _ : PingRequest , writer : _m0 . Writer = _m0 . Writer . create ( ) ) : _m0 . Writer {
1127
+ export const ExtensionServicePingRequest = {
1128
+ encode ( _ : ExtensionServicePingRequest , writer : _m0 . Writer = _m0 . Writer . create ( ) ) : _m0 . Writer {
1034
1129
return writer ;
1035
1130
} ,
1036
1131
1037
- decode ( input : _m0 . Reader | Uint8Array , length ?: number ) : PingRequest {
1132
+ decode ( input : _m0 . Reader | Uint8Array , length ?: number ) : ExtensionServicePingRequest {
1038
1133
const reader = input instanceof _m0 . Reader ? input : new _m0 . Reader ( input ) ;
1039
1134
let end = length === undefined ? reader . len : reader . pos + length ;
1040
- const message = createBasePingRequest ( ) ;
1135
+ const message = createBaseExtensionServicePingRequest ( ) ;
1041
1136
while ( reader . pos < end ) {
1042
1137
const tag = reader . uint32 ( ) ;
1043
1138
switch ( tag >>> 3 ) {
@@ -1049,21 +1144,64 @@ export const PingRequest = {
1049
1144
return message ;
1050
1145
} ,
1051
1146
1052
- fromJSON ( _ : any ) : PingRequest {
1147
+ fromJSON ( _ : any ) : ExtensionServicePingRequest {
1053
1148
return { } ;
1054
1149
} ,
1055
1150
1056
- toJSON ( _ : PingRequest ) : unknown {
1151
+ toJSON ( _ : ExtensionServicePingRequest ) : unknown {
1057
1152
const obj : any = { } ;
1058
1153
return obj ;
1059
1154
} ,
1060
1155
1061
- create ( base ?: DeepPartial < PingRequest > ) : PingRequest {
1062
- return PingRequest . fromPartial ( base ?? { } ) ;
1156
+ create ( base ?: DeepPartial < ExtensionServicePingRequest > ) : ExtensionServicePingRequest {
1157
+ return ExtensionServicePingRequest . fromPartial ( base ?? { } ) ;
1063
1158
} ,
1064
1159
1065
- fromPartial ( _ : DeepPartial < PingRequest > ) : PingRequest {
1066
- const message = createBasePingRequest ( ) ;
1160
+ fromPartial ( _ : DeepPartial < ExtensionServicePingRequest > ) : ExtensionServicePingRequest {
1161
+ const message = createBaseExtensionServicePingRequest ( ) ;
1162
+ return message ;
1163
+ } ,
1164
+ } ;
1165
+
1166
+ function createBaseExtensionServicePingResponse ( ) : ExtensionServicePingResponse {
1167
+ return { } ;
1168
+ }
1169
+
1170
+ export const ExtensionServicePingResponse = {
1171
+ encode ( _ : ExtensionServicePingResponse , writer : _m0 . Writer = _m0 . Writer . create ( ) ) : _m0 . Writer {
1172
+ return writer ;
1173
+ } ,
1174
+
1175
+ decode ( input : _m0 . Reader | Uint8Array , length ?: number ) : ExtensionServicePingResponse {
1176
+ const reader = input instanceof _m0 . Reader ? input : new _m0 . Reader ( input ) ;
1177
+ let end = length === undefined ? reader . len : reader . pos + length ;
1178
+ const message = createBaseExtensionServicePingResponse ( ) ;
1179
+ while ( reader . pos < end ) {
1180
+ const tag = reader . uint32 ( ) ;
1181
+ switch ( tag >>> 3 ) {
1182
+ default :
1183
+ reader . skipType ( tag & 7 ) ;
1184
+ break ;
1185
+ }
1186
+ }
1187
+ return message ;
1188
+ } ,
1189
+
1190
+ fromJSON ( _ : any ) : ExtensionServicePingResponse {
1191
+ return { } ;
1192
+ } ,
1193
+
1194
+ toJSON ( _ : ExtensionServicePingResponse ) : unknown {
1195
+ const obj : any = { } ;
1196
+ return obj ;
1197
+ } ,
1198
+
1199
+ create ( base ?: DeepPartial < ExtensionServicePingResponse > ) : ExtensionServicePingResponse {
1200
+ return ExtensionServicePingResponse . fromPartial ( base ?? { } ) ;
1201
+ } ,
1202
+
1203
+ fromPartial ( _ : DeepPartial < ExtensionServicePingResponse > ) : ExtensionServicePingResponse {
1204
+ const message = createBaseExtensionServicePingResponse ( ) ;
1067
1205
return message ;
1068
1206
} ,
1069
1207
} ;
@@ -1379,9 +1517,9 @@ export const LocalSSHServiceDefinition = {
1379
1517
} ,
1380
1518
ping : {
1381
1519
name : "Ping" ,
1382
- requestType : PingRequest ,
1520
+ requestType : LocalSSHServicePingRequest ,
1383
1521
requestStream : false ,
1384
- responseType : PingResponse ,
1522
+ responseType : LocalSSHServicePingResponse ,
1385
1523
responseStream : false ,
1386
1524
options : { } ,
1387
1525
} ,
@@ -1420,7 +1558,10 @@ export interface LocalSSHServiceImplementation<CallContextExt = {}> {
1420
1558
active ( request : ActiveRequest , context : CallContext & CallContextExt ) : Promise < DeepPartial < ActiveResponse > > ;
1421
1559
/** Inactive is called when extension is deactivated */
1422
1560
inactive ( request : InactiveRequest , context : CallContext & CallContextExt ) : Promise < DeepPartial < InactiveResponse > > ;
1423
- ping ( request : PingRequest , context : CallContext & CallContextExt ) : Promise < DeepPartial < PingResponse > > ;
1561
+ ping (
1562
+ request : LocalSSHServicePingRequest ,
1563
+ context : CallContext & CallContextExt ,
1564
+ ) : Promise < DeepPartial < LocalSSHServicePingResponse > > ;
1424
1565
/** GetDaemonVersion returns the version of the daemon */
1425
1566
getDaemonVersion (
1426
1567
request : GetDaemonVersionRequest ,
@@ -1443,7 +1584,10 @@ export interface LocalSSHServiceClient<CallOptionsExt = {}> {
1443
1584
active ( request : DeepPartial < ActiveRequest > , options ?: CallOptions & CallOptionsExt ) : Promise < ActiveResponse > ;
1444
1585
/** Inactive is called when extension is deactivated */
1445
1586
inactive ( request : DeepPartial < InactiveRequest > , options ?: CallOptions & CallOptionsExt ) : Promise < InactiveResponse > ;
1446
- ping ( request : DeepPartial < PingRequest > , options ?: CallOptions & CallOptionsExt ) : Promise < PingResponse > ;
1587
+ ping (
1588
+ request : DeepPartial < LocalSSHServicePingRequest > ,
1589
+ options ?: CallOptions & CallOptionsExt ,
1590
+ ) : Promise < LocalSSHServicePingResponse > ;
1447
1591
/** GetDaemonVersion returns the version of the daemon */
1448
1592
getDaemonVersion (
1449
1593
request : DeepPartial < GetDaemonVersionRequest > ,
@@ -1468,9 +1612,9 @@ export const ExtensionServiceDefinition = {
1468
1612
methods : {
1469
1613
ping : {
1470
1614
name : "Ping" ,
1471
- requestType : PingRequest ,
1615
+ requestType : ExtensionServicePingRequest ,
1472
1616
requestStream : false ,
1473
- responseType : PingResponse ,
1617
+ responseType : ExtensionServicePingResponse ,
1474
1618
responseStream : false ,
1475
1619
options : { } ,
1476
1620
} ,
@@ -1502,7 +1646,10 @@ export const ExtensionServiceDefinition = {
1502
1646
} as const ;
1503
1647
1504
1648
export interface ExtensionServiceImplementation < CallContextExt = { } > {
1505
- ping ( request : PingRequest , context : CallContext & CallContextExt ) : Promise < DeepPartial < PingResponse > > ;
1649
+ ping (
1650
+ request : ExtensionServicePingRequest ,
1651
+ context : CallContext & CallContextExt ,
1652
+ ) : Promise < DeepPartial < ExtensionServicePingResponse > > ;
1506
1653
getWorkspaceAuthInfo (
1507
1654
request : GetWorkspaceAuthInfoRequest ,
1508
1655
context : CallContext & CallContextExt ,
@@ -1518,7 +1665,10 @@ export interface ExtensionServiceImplementation<CallContextExt = {}> {
1518
1665
}
1519
1666
1520
1667
export interface ExtensionServiceClient < CallOptionsExt = { } > {
1521
- ping ( request : DeepPartial < PingRequest > , options ?: CallOptions & CallOptionsExt ) : Promise < PingResponse > ;
1668
+ ping (
1669
+ request : DeepPartial < ExtensionServicePingRequest > ,
1670
+ options ?: CallOptions & CallOptionsExt ,
1671
+ ) : Promise < ExtensionServicePingResponse > ;
1522
1672
getWorkspaceAuthInfo (
1523
1673
request : DeepPartial < GetWorkspaceAuthInfoRequest > ,
1524
1674
options ?: CallOptions & CallOptionsExt ,
0 commit comments