@lansweeper/multitenant-api-grpc 0.0.6
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/CHANGELOG.md +65 -0
- package/gen-proto/accounts_grpc_pb.js +1 -0
- package/gen-proto/accounts_pb.d.ts +85 -0
- package/gen-proto/accounts_pb.js +645 -0
- package/gen-proto/image.json +1 -0
- package/gen-proto/index.d.ts +6 -0
- package/gen-proto/index.js +11 -0
- package/gen-proto/installs_grpc_pb.js +1 -0
- package/gen-proto/installs_pb.d.ts +602 -0
- package/gen-proto/installs_pb.js +4782 -0
- package/gen-proto/multitenant_grpc_pb.d.ts +267 -0
- package/gen-proto/multitenant_grpc_pb.js +476 -0
- package/gen-proto/multitenant_pb.d.ts +11 -0
- package/gen-proto/multitenant_pb.js +25 -0
- package/gen-proto/profiles_grpc_pb.js +1 -0
- package/gen-proto/profiles_pb.d.ts +131 -0
- package/gen-proto/profiles_pb.js +1011 -0
- package/gen-proto/sites_grpc_pb.js +1 -0
- package/gen-proto/sites_pb.d.ts +90 -0
- package/gen-proto/sites_pb.js +636 -0
- package/package.json +12 -0
- package/proto/accounts.proto +20 -0
- package/proto/installs.proto +137 -0
- package/proto/multitenant.proto +38 -0
- package/proto/profiles.proto +31 -0
- package/proto/sites.proto +29 -0
|
@@ -0,0 +1,4782 @@
|
|
|
1
|
+
// source: installs.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global = Function('return this')();
|
|
17
|
+
|
|
18
|
+
var sites_pb = require('./sites_pb.js');
|
|
19
|
+
goog.object.extend(proto, sites_pb);
|
|
20
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallRequest', null, global);
|
|
21
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallResponse', null, global);
|
|
22
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest', null, global);
|
|
23
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse', null, global);
|
|
24
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest', null, global);
|
|
25
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse', null, global);
|
|
26
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse', null, global);
|
|
28
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountResponse', null, global);
|
|
30
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.Install', null, global);
|
|
31
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.InstallCredentials', null, global);
|
|
32
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest', null, global);
|
|
33
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse', null, global);
|
|
34
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse', null, global);
|
|
36
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse', null, global);
|
|
38
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest', null, global);
|
|
39
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse', null, global);
|
|
40
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings', null, global);
|
|
42
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse', null, global);
|
|
43
|
+
/**
|
|
44
|
+
* Generated by JsPbCodeGenerator.
|
|
45
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
46
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
47
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
48
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
49
|
+
* valid.
|
|
50
|
+
* @extends {jspb.Message}
|
|
51
|
+
* @constructor
|
|
52
|
+
*/
|
|
53
|
+
proto.lansweeper.multitenant.v1.Install = function(opt_data) {
|
|
54
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
55
|
+
};
|
|
56
|
+
goog.inherits(proto.lansweeper.multitenant.v1.Install, jspb.Message);
|
|
57
|
+
if (goog.DEBUG && !COMPILED) {
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
* @override
|
|
61
|
+
*/
|
|
62
|
+
proto.lansweeper.multitenant.v1.Install.displayName = 'proto.lansweeper.multitenant.v1.Install';
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Generated by JsPbCodeGenerator.
|
|
66
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
67
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
68
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
69
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
70
|
+
* valid.
|
|
71
|
+
* @extends {jspb.Message}
|
|
72
|
+
* @constructor
|
|
73
|
+
*/
|
|
74
|
+
proto.lansweeper.multitenant.v1.InstallCredentials = function(opt_data) {
|
|
75
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
76
|
+
};
|
|
77
|
+
goog.inherits(proto.lansweeper.multitenant.v1.InstallCredentials, jspb.Message);
|
|
78
|
+
if (goog.DEBUG && !COMPILED) {
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* @override
|
|
82
|
+
*/
|
|
83
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.displayName = 'proto.lansweeper.multitenant.v1.InstallCredentials';
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Generated by JsPbCodeGenerator.
|
|
87
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
88
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
89
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
90
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
91
|
+
* valid.
|
|
92
|
+
* @extends {jspb.Message}
|
|
93
|
+
* @constructor
|
|
94
|
+
*/
|
|
95
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest = function(opt_data) {
|
|
96
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
97
|
+
};
|
|
98
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest, jspb.Message);
|
|
99
|
+
if (goog.DEBUG && !COMPILED) {
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
* @override
|
|
103
|
+
*/
|
|
104
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.displayName = 'proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest';
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Generated by JsPbCodeGenerator.
|
|
108
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
109
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
110
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
111
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
112
|
+
* valid.
|
|
113
|
+
* @extends {jspb.Message}
|
|
114
|
+
* @constructor
|
|
115
|
+
*/
|
|
116
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse = function(opt_data) {
|
|
117
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
118
|
+
};
|
|
119
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetInstallsCountResponse, jspb.Message);
|
|
120
|
+
if (goog.DEBUG && !COMPILED) {
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
* @override
|
|
124
|
+
*/
|
|
125
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallsCountResponse';
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Generated by JsPbCodeGenerator.
|
|
129
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
130
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
131
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
132
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
133
|
+
* valid.
|
|
134
|
+
* @extends {jspb.Message}
|
|
135
|
+
* @constructor
|
|
136
|
+
*/
|
|
137
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest = function(opt_data) {
|
|
138
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
139
|
+
};
|
|
140
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest, jspb.Message);
|
|
141
|
+
if (goog.DEBUG && !COMPILED) {
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
* @override
|
|
145
|
+
*/
|
|
146
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest';
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Generated by JsPbCodeGenerator.
|
|
150
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
151
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
152
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
153
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
154
|
+
* valid.
|
|
155
|
+
* @extends {jspb.Message}
|
|
156
|
+
* @constructor
|
|
157
|
+
*/
|
|
158
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse = function(opt_data) {
|
|
159
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
160
|
+
};
|
|
161
|
+
goog.inherits(proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse, jspb.Message);
|
|
162
|
+
if (goog.DEBUG && !COMPILED) {
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
* @override
|
|
166
|
+
*/
|
|
167
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse';
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Generated by JsPbCodeGenerator.
|
|
171
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
172
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
173
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
174
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
175
|
+
* valid.
|
|
176
|
+
* @extends {jspb.Message}
|
|
177
|
+
* @constructor
|
|
178
|
+
*/
|
|
179
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest = function(opt_data) {
|
|
180
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
181
|
+
};
|
|
182
|
+
goog.inherits(proto.lansweeper.multitenant.v1.CreateInstallRequest, jspb.Message);
|
|
183
|
+
if (goog.DEBUG && !COMPILED) {
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
* @override
|
|
187
|
+
*/
|
|
188
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.displayName = 'proto.lansweeper.multitenant.v1.CreateInstallRequest';
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Generated by JsPbCodeGenerator.
|
|
192
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
193
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
194
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
195
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
196
|
+
* valid.
|
|
197
|
+
* @extends {jspb.Message}
|
|
198
|
+
* @constructor
|
|
199
|
+
*/
|
|
200
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse = function(opt_data) {
|
|
201
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
202
|
+
};
|
|
203
|
+
goog.inherits(proto.lansweeper.multitenant.v1.CreateInstallResponse, jspb.Message);
|
|
204
|
+
if (goog.DEBUG && !COMPILED) {
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
* @override
|
|
208
|
+
*/
|
|
209
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.displayName = 'proto.lansweeper.multitenant.v1.CreateInstallResponse';
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Generated by JsPbCodeGenerator.
|
|
213
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
214
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
215
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
216
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
217
|
+
* valid.
|
|
218
|
+
* @extends {jspb.Message}
|
|
219
|
+
* @constructor
|
|
220
|
+
*/
|
|
221
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest = function(opt_data) {
|
|
222
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
223
|
+
};
|
|
224
|
+
goog.inherits(proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest, jspb.Message);
|
|
225
|
+
if (goog.DEBUG && !COMPILED) {
|
|
226
|
+
/**
|
|
227
|
+
* @public
|
|
228
|
+
* @override
|
|
229
|
+
*/
|
|
230
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest';
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Generated by JsPbCodeGenerator.
|
|
234
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
235
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
236
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
237
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
238
|
+
* valid.
|
|
239
|
+
* @extends {jspb.Message}
|
|
240
|
+
* @constructor
|
|
241
|
+
*/
|
|
242
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings = function(opt_data) {
|
|
243
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
244
|
+
};
|
|
245
|
+
goog.inherits(proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings, jspb.Message);
|
|
246
|
+
if (goog.DEBUG && !COMPILED) {
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
* @override
|
|
250
|
+
*/
|
|
251
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.displayName = 'proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings';
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Generated by JsPbCodeGenerator.
|
|
255
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
256
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
257
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
258
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
259
|
+
* valid.
|
|
260
|
+
* @extends {jspb.Message}
|
|
261
|
+
* @constructor
|
|
262
|
+
*/
|
|
263
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse = function(opt_data) {
|
|
264
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
265
|
+
};
|
|
266
|
+
goog.inherits(proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse, jspb.Message);
|
|
267
|
+
if (goog.DEBUG && !COMPILED) {
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
* @override
|
|
271
|
+
*/
|
|
272
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse';
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Generated by JsPbCodeGenerator.
|
|
276
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
277
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
278
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
279
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
280
|
+
* valid.
|
|
281
|
+
* @extends {jspb.Message}
|
|
282
|
+
* @constructor
|
|
283
|
+
*/
|
|
284
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest = function(opt_data) {
|
|
285
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
286
|
+
};
|
|
287
|
+
goog.inherits(proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest, jspb.Message);
|
|
288
|
+
if (goog.DEBUG && !COMPILED) {
|
|
289
|
+
/**
|
|
290
|
+
* @public
|
|
291
|
+
* @override
|
|
292
|
+
*/
|
|
293
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest';
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Generated by JsPbCodeGenerator.
|
|
297
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
298
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
299
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
300
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
301
|
+
* valid.
|
|
302
|
+
* @extends {jspb.Message}
|
|
303
|
+
* @constructor
|
|
304
|
+
*/
|
|
305
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse = function(opt_data) {
|
|
306
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
307
|
+
};
|
|
308
|
+
goog.inherits(proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse, jspb.Message);
|
|
309
|
+
if (goog.DEBUG && !COMPILED) {
|
|
310
|
+
/**
|
|
311
|
+
* @public
|
|
312
|
+
* @override
|
|
313
|
+
*/
|
|
314
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse';
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Generated by JsPbCodeGenerator.
|
|
318
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
319
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
320
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
321
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
322
|
+
* valid.
|
|
323
|
+
* @extends {jspb.Message}
|
|
324
|
+
* @constructor
|
|
325
|
+
*/
|
|
326
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest = function(opt_data) {
|
|
327
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
328
|
+
};
|
|
329
|
+
goog.inherits(proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest, jspb.Message);
|
|
330
|
+
if (goog.DEBUG && !COMPILED) {
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
* @override
|
|
334
|
+
*/
|
|
335
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest';
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Generated by JsPbCodeGenerator.
|
|
339
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
340
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
341
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
342
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
343
|
+
* valid.
|
|
344
|
+
* @extends {jspb.Message}
|
|
345
|
+
* @constructor
|
|
346
|
+
*/
|
|
347
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse = function(opt_data) {
|
|
348
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
349
|
+
};
|
|
350
|
+
goog.inherits(proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse, jspb.Message);
|
|
351
|
+
if (goog.DEBUG && !COMPILED) {
|
|
352
|
+
/**
|
|
353
|
+
* @public
|
|
354
|
+
* @override
|
|
355
|
+
*/
|
|
356
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse';
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Generated by JsPbCodeGenerator.
|
|
360
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
361
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
362
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
363
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
364
|
+
* valid.
|
|
365
|
+
* @extends {jspb.Message}
|
|
366
|
+
* @constructor
|
|
367
|
+
*/
|
|
368
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest = function(opt_data) {
|
|
369
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
370
|
+
};
|
|
371
|
+
goog.inherits(proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest, jspb.Message);
|
|
372
|
+
if (goog.DEBUG && !COMPILED) {
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
* @override
|
|
376
|
+
*/
|
|
377
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest';
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Generated by JsPbCodeGenerator.
|
|
381
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
382
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
383
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
384
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
385
|
+
* valid.
|
|
386
|
+
* @extends {jspb.Message}
|
|
387
|
+
* @constructor
|
|
388
|
+
*/
|
|
389
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse = function(opt_data) {
|
|
390
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
391
|
+
};
|
|
392
|
+
goog.inherits(proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse, jspb.Message);
|
|
393
|
+
if (goog.DEBUG && !COMPILED) {
|
|
394
|
+
/**
|
|
395
|
+
* @public
|
|
396
|
+
* @override
|
|
397
|
+
*/
|
|
398
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse';
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Generated by JsPbCodeGenerator.
|
|
402
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
403
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
404
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
405
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
406
|
+
* valid.
|
|
407
|
+
* @extends {jspb.Message}
|
|
408
|
+
* @constructor
|
|
409
|
+
*/
|
|
410
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest = function(opt_data) {
|
|
411
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
412
|
+
};
|
|
413
|
+
goog.inherits(proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest, jspb.Message);
|
|
414
|
+
if (goog.DEBUG && !COMPILED) {
|
|
415
|
+
/**
|
|
416
|
+
* @public
|
|
417
|
+
* @override
|
|
418
|
+
*/
|
|
419
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest';
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Generated by JsPbCodeGenerator.
|
|
423
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
424
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
425
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
426
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
427
|
+
* valid.
|
|
428
|
+
* @extends {jspb.Message}
|
|
429
|
+
* @constructor
|
|
430
|
+
*/
|
|
431
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse = function(opt_data) {
|
|
432
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
433
|
+
};
|
|
434
|
+
goog.inherits(proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse, jspb.Message);
|
|
435
|
+
if (goog.DEBUG && !COMPILED) {
|
|
436
|
+
/**
|
|
437
|
+
* @public
|
|
438
|
+
* @override
|
|
439
|
+
*/
|
|
440
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse';
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Generated by JsPbCodeGenerator.
|
|
444
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
445
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
446
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
447
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
448
|
+
* valid.
|
|
449
|
+
* @extends {jspb.Message}
|
|
450
|
+
* @constructor
|
|
451
|
+
*/
|
|
452
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest = function(opt_data) {
|
|
453
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
454
|
+
};
|
|
455
|
+
goog.inherits(proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest, jspb.Message);
|
|
456
|
+
if (goog.DEBUG && !COMPILED) {
|
|
457
|
+
/**
|
|
458
|
+
* @public
|
|
459
|
+
* @override
|
|
460
|
+
*/
|
|
461
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest';
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Generated by JsPbCodeGenerator.
|
|
465
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
466
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
467
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
468
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
469
|
+
* valid.
|
|
470
|
+
* @extends {jspb.Message}
|
|
471
|
+
* @constructor
|
|
472
|
+
*/
|
|
473
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse = function(opt_data) {
|
|
474
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
475
|
+
};
|
|
476
|
+
goog.inherits(proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse, jspb.Message);
|
|
477
|
+
if (goog.DEBUG && !COMPILED) {
|
|
478
|
+
/**
|
|
479
|
+
* @public
|
|
480
|
+
* @override
|
|
481
|
+
*/
|
|
482
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse';
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* Generated by JsPbCodeGenerator.
|
|
486
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
487
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
488
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
489
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
490
|
+
* valid.
|
|
491
|
+
* @extends {jspb.Message}
|
|
492
|
+
* @constructor
|
|
493
|
+
*/
|
|
494
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest = function(opt_data) {
|
|
495
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
496
|
+
};
|
|
497
|
+
goog.inherits(proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest, jspb.Message);
|
|
498
|
+
if (goog.DEBUG && !COMPILED) {
|
|
499
|
+
/**
|
|
500
|
+
* @public
|
|
501
|
+
* @override
|
|
502
|
+
*/
|
|
503
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.displayName = 'proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest';
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Generated by JsPbCodeGenerator.
|
|
507
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
508
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
509
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
510
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
511
|
+
* valid.
|
|
512
|
+
* @extends {jspb.Message}
|
|
513
|
+
* @constructor
|
|
514
|
+
*/
|
|
515
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse = function(opt_data) {
|
|
516
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
517
|
+
};
|
|
518
|
+
goog.inherits(proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse, jspb.Message);
|
|
519
|
+
if (goog.DEBUG && !COMPILED) {
|
|
520
|
+
/**
|
|
521
|
+
* @public
|
|
522
|
+
* @override
|
|
523
|
+
*/
|
|
524
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse';
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
530
|
+
/**
|
|
531
|
+
* Creates an object representation of this proto.
|
|
532
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
533
|
+
* Optional fields that are not set will be set to undefined.
|
|
534
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
535
|
+
* For the list of reserved names please see:
|
|
536
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
537
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
538
|
+
* JSPB instance for transitional soy proto support:
|
|
539
|
+
* http://goto/soy-param-migration
|
|
540
|
+
* @return {!Object}
|
|
541
|
+
*/
|
|
542
|
+
proto.lansweeper.multitenant.v1.Install.prototype.toObject = function(opt_includeInstance) {
|
|
543
|
+
return proto.lansweeper.multitenant.v1.Install.toObject(opt_includeInstance, this);
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Static version of the {@see toObject} method.
|
|
549
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
550
|
+
* the JSPB instance for transitional soy proto support:
|
|
551
|
+
* http://goto/soy-param-migration
|
|
552
|
+
* @param {!proto.lansweeper.multitenant.v1.Install} msg The msg instance to transform.
|
|
553
|
+
* @return {!Object}
|
|
554
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
555
|
+
*/
|
|
556
|
+
proto.lansweeper.multitenant.v1.Install.toObject = function(includeInstance, msg) {
|
|
557
|
+
var f, obj = {
|
|
558
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
559
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
560
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
561
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
562
|
+
status: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
563
|
+
fqdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
564
|
+
createdById: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
565
|
+
};
|
|
566
|
+
|
|
567
|
+
if (includeInstance) {
|
|
568
|
+
obj.$jspbMessageInstance = msg;
|
|
569
|
+
}
|
|
570
|
+
return obj;
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Deserializes binary data (in protobuf wire format).
|
|
577
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
578
|
+
* @return {!proto.lansweeper.multitenant.v1.Install}
|
|
579
|
+
*/
|
|
580
|
+
proto.lansweeper.multitenant.v1.Install.deserializeBinary = function(bytes) {
|
|
581
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
582
|
+
var msg = new proto.lansweeper.multitenant.v1.Install;
|
|
583
|
+
return proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader(msg, reader);
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
589
|
+
* given reader into the given message object.
|
|
590
|
+
* @param {!proto.lansweeper.multitenant.v1.Install} msg The message object to deserialize into.
|
|
591
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
592
|
+
* @return {!proto.lansweeper.multitenant.v1.Install}
|
|
593
|
+
*/
|
|
594
|
+
proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader = function(msg, reader) {
|
|
595
|
+
while (reader.nextField()) {
|
|
596
|
+
if (reader.isEndGroup()) {
|
|
597
|
+
break;
|
|
598
|
+
}
|
|
599
|
+
var field = reader.getFieldNumber();
|
|
600
|
+
switch (field) {
|
|
601
|
+
case 1:
|
|
602
|
+
var value = /** @type {string} */ (reader.readString());
|
|
603
|
+
msg.setId(value);
|
|
604
|
+
break;
|
|
605
|
+
case 2:
|
|
606
|
+
var value = /** @type {string} */ (reader.readString());
|
|
607
|
+
msg.setSiteId(value);
|
|
608
|
+
break;
|
|
609
|
+
case 3:
|
|
610
|
+
var value = /** @type {string} */ (reader.readString());
|
|
611
|
+
msg.setDisplayName(value);
|
|
612
|
+
break;
|
|
613
|
+
case 4:
|
|
614
|
+
var value = /** @type {string} */ (reader.readString());
|
|
615
|
+
msg.setDescription(value);
|
|
616
|
+
break;
|
|
617
|
+
case 5:
|
|
618
|
+
var value = /** @type {string} */ (reader.readString());
|
|
619
|
+
msg.setStatus(value);
|
|
620
|
+
break;
|
|
621
|
+
case 6:
|
|
622
|
+
var value = /** @type {string} */ (reader.readString());
|
|
623
|
+
msg.setFqdn(value);
|
|
624
|
+
break;
|
|
625
|
+
case 7:
|
|
626
|
+
var value = /** @type {string} */ (reader.readString());
|
|
627
|
+
msg.setCreatedById(value);
|
|
628
|
+
break;
|
|
629
|
+
default:
|
|
630
|
+
reader.skipField();
|
|
631
|
+
break;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
return msg;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
640
|
+
* @return {!Uint8Array}
|
|
641
|
+
*/
|
|
642
|
+
proto.lansweeper.multitenant.v1.Install.prototype.serializeBinary = function() {
|
|
643
|
+
var writer = new jspb.BinaryWriter();
|
|
644
|
+
proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter(this, writer);
|
|
645
|
+
return writer.getResultBuffer();
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
651
|
+
* format), writing to the given BinaryWriter.
|
|
652
|
+
* @param {!proto.lansweeper.multitenant.v1.Install} message
|
|
653
|
+
* @param {!jspb.BinaryWriter} writer
|
|
654
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
655
|
+
*/
|
|
656
|
+
proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter = function(message, writer) {
|
|
657
|
+
var f = undefined;
|
|
658
|
+
f = message.getId();
|
|
659
|
+
if (f.length > 0) {
|
|
660
|
+
writer.writeString(
|
|
661
|
+
1,
|
|
662
|
+
f
|
|
663
|
+
);
|
|
664
|
+
}
|
|
665
|
+
f = message.getSiteId();
|
|
666
|
+
if (f.length > 0) {
|
|
667
|
+
writer.writeString(
|
|
668
|
+
2,
|
|
669
|
+
f
|
|
670
|
+
);
|
|
671
|
+
}
|
|
672
|
+
f = message.getDisplayName();
|
|
673
|
+
if (f.length > 0) {
|
|
674
|
+
writer.writeString(
|
|
675
|
+
3,
|
|
676
|
+
f
|
|
677
|
+
);
|
|
678
|
+
}
|
|
679
|
+
f = message.getDescription();
|
|
680
|
+
if (f.length > 0) {
|
|
681
|
+
writer.writeString(
|
|
682
|
+
4,
|
|
683
|
+
f
|
|
684
|
+
);
|
|
685
|
+
}
|
|
686
|
+
f = message.getStatus();
|
|
687
|
+
if (f.length > 0) {
|
|
688
|
+
writer.writeString(
|
|
689
|
+
5,
|
|
690
|
+
f
|
|
691
|
+
);
|
|
692
|
+
}
|
|
693
|
+
f = message.getFqdn();
|
|
694
|
+
if (f.length > 0) {
|
|
695
|
+
writer.writeString(
|
|
696
|
+
6,
|
|
697
|
+
f
|
|
698
|
+
);
|
|
699
|
+
}
|
|
700
|
+
f = message.getCreatedById();
|
|
701
|
+
if (f.length > 0) {
|
|
702
|
+
writer.writeString(
|
|
703
|
+
7,
|
|
704
|
+
f
|
|
705
|
+
);
|
|
706
|
+
}
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* optional string id = 1;
|
|
712
|
+
* @return {string}
|
|
713
|
+
*/
|
|
714
|
+
proto.lansweeper.multitenant.v1.Install.prototype.getId = function() {
|
|
715
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* @param {string} value
|
|
721
|
+
* @return {!proto.lansweeper.multitenant.v1.Install} returns this
|
|
722
|
+
*/
|
|
723
|
+
proto.lansweeper.multitenant.v1.Install.prototype.setId = function(value) {
|
|
724
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* optional string site_id = 2;
|
|
730
|
+
* @return {string}
|
|
731
|
+
*/
|
|
732
|
+
proto.lansweeper.multitenant.v1.Install.prototype.getSiteId = function() {
|
|
733
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* @param {string} value
|
|
739
|
+
* @return {!proto.lansweeper.multitenant.v1.Install} returns this
|
|
740
|
+
*/
|
|
741
|
+
proto.lansweeper.multitenant.v1.Install.prototype.setSiteId = function(value) {
|
|
742
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* optional string display_name = 3;
|
|
748
|
+
* @return {string}
|
|
749
|
+
*/
|
|
750
|
+
proto.lansweeper.multitenant.v1.Install.prototype.getDisplayName = function() {
|
|
751
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* @param {string} value
|
|
757
|
+
* @return {!proto.lansweeper.multitenant.v1.Install} returns this
|
|
758
|
+
*/
|
|
759
|
+
proto.lansweeper.multitenant.v1.Install.prototype.setDisplayName = function(value) {
|
|
760
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* optional string description = 4;
|
|
766
|
+
* @return {string}
|
|
767
|
+
*/
|
|
768
|
+
proto.lansweeper.multitenant.v1.Install.prototype.getDescription = function() {
|
|
769
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* @param {string} value
|
|
775
|
+
* @return {!proto.lansweeper.multitenant.v1.Install} returns this
|
|
776
|
+
*/
|
|
777
|
+
proto.lansweeper.multitenant.v1.Install.prototype.setDescription = function(value) {
|
|
778
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* optional string status = 5;
|
|
784
|
+
* @return {string}
|
|
785
|
+
*/
|
|
786
|
+
proto.lansweeper.multitenant.v1.Install.prototype.getStatus = function() {
|
|
787
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
788
|
+
};
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* @param {string} value
|
|
793
|
+
* @return {!proto.lansweeper.multitenant.v1.Install} returns this
|
|
794
|
+
*/
|
|
795
|
+
proto.lansweeper.multitenant.v1.Install.prototype.setStatus = function(value) {
|
|
796
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* optional string fqdn = 6;
|
|
802
|
+
* @return {string}
|
|
803
|
+
*/
|
|
804
|
+
proto.lansweeper.multitenant.v1.Install.prototype.getFqdn = function() {
|
|
805
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* @param {string} value
|
|
811
|
+
* @return {!proto.lansweeper.multitenant.v1.Install} returns this
|
|
812
|
+
*/
|
|
813
|
+
proto.lansweeper.multitenant.v1.Install.prototype.setFqdn = function(value) {
|
|
814
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* optional string created_by_id = 7;
|
|
820
|
+
* @return {string}
|
|
821
|
+
*/
|
|
822
|
+
proto.lansweeper.multitenant.v1.Install.prototype.getCreatedById = function() {
|
|
823
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* @param {string} value
|
|
829
|
+
* @return {!proto.lansweeper.multitenant.v1.Install} returns this
|
|
830
|
+
*/
|
|
831
|
+
proto.lansweeper.multitenant.v1.Install.prototype.setCreatedById = function(value) {
|
|
832
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
840
|
+
/**
|
|
841
|
+
* Creates an object representation of this proto.
|
|
842
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
843
|
+
* Optional fields that are not set will be set to undefined.
|
|
844
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
845
|
+
* For the list of reserved names please see:
|
|
846
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
847
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
848
|
+
* JSPB instance for transitional soy proto support:
|
|
849
|
+
* http://goto/soy-param-migration
|
|
850
|
+
* @return {!Object}
|
|
851
|
+
*/
|
|
852
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.prototype.toObject = function(opt_includeInstance) {
|
|
853
|
+
return proto.lansweeper.multitenant.v1.InstallCredentials.toObject(opt_includeInstance, this);
|
|
854
|
+
};
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Static version of the {@see toObject} method.
|
|
859
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
860
|
+
* the JSPB instance for transitional soy proto support:
|
|
861
|
+
* http://goto/soy-param-migration
|
|
862
|
+
* @param {!proto.lansweeper.multitenant.v1.InstallCredentials} msg The msg instance to transform.
|
|
863
|
+
* @return {!Object}
|
|
864
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
865
|
+
*/
|
|
866
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.toObject = function(includeInstance, msg) {
|
|
867
|
+
var f, obj = {
|
|
868
|
+
clienId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
869
|
+
clientSecret: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
if (includeInstance) {
|
|
873
|
+
obj.$jspbMessageInstance = msg;
|
|
874
|
+
}
|
|
875
|
+
return obj;
|
|
876
|
+
};
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* Deserializes binary data (in protobuf wire format).
|
|
882
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
883
|
+
* @return {!proto.lansweeper.multitenant.v1.InstallCredentials}
|
|
884
|
+
*/
|
|
885
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.deserializeBinary = function(bytes) {
|
|
886
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
887
|
+
var msg = new proto.lansweeper.multitenant.v1.InstallCredentials;
|
|
888
|
+
return proto.lansweeper.multitenant.v1.InstallCredentials.deserializeBinaryFromReader(msg, reader);
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
894
|
+
* given reader into the given message object.
|
|
895
|
+
* @param {!proto.lansweeper.multitenant.v1.InstallCredentials} msg The message object to deserialize into.
|
|
896
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
897
|
+
* @return {!proto.lansweeper.multitenant.v1.InstallCredentials}
|
|
898
|
+
*/
|
|
899
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.deserializeBinaryFromReader = function(msg, reader) {
|
|
900
|
+
while (reader.nextField()) {
|
|
901
|
+
if (reader.isEndGroup()) {
|
|
902
|
+
break;
|
|
903
|
+
}
|
|
904
|
+
var field = reader.getFieldNumber();
|
|
905
|
+
switch (field) {
|
|
906
|
+
case 1:
|
|
907
|
+
var value = /** @type {string} */ (reader.readString());
|
|
908
|
+
msg.setClienId(value);
|
|
909
|
+
break;
|
|
910
|
+
case 2:
|
|
911
|
+
var value = /** @type {string} */ (reader.readString());
|
|
912
|
+
msg.setClientSecret(value);
|
|
913
|
+
break;
|
|
914
|
+
default:
|
|
915
|
+
reader.skipField();
|
|
916
|
+
break;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
return msg;
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
925
|
+
* @return {!Uint8Array}
|
|
926
|
+
*/
|
|
927
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.prototype.serializeBinary = function() {
|
|
928
|
+
var writer = new jspb.BinaryWriter();
|
|
929
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.serializeBinaryToWriter(this, writer);
|
|
930
|
+
return writer.getResultBuffer();
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
936
|
+
* format), writing to the given BinaryWriter.
|
|
937
|
+
* @param {!proto.lansweeper.multitenant.v1.InstallCredentials} message
|
|
938
|
+
* @param {!jspb.BinaryWriter} writer
|
|
939
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
940
|
+
*/
|
|
941
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.serializeBinaryToWriter = function(message, writer) {
|
|
942
|
+
var f = undefined;
|
|
943
|
+
f = message.getClienId();
|
|
944
|
+
if (f.length > 0) {
|
|
945
|
+
writer.writeString(
|
|
946
|
+
1,
|
|
947
|
+
f
|
|
948
|
+
);
|
|
949
|
+
}
|
|
950
|
+
f = message.getClientSecret();
|
|
951
|
+
if (f.length > 0) {
|
|
952
|
+
writer.writeString(
|
|
953
|
+
2,
|
|
954
|
+
f
|
|
955
|
+
);
|
|
956
|
+
}
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* optional string clien_id = 1;
|
|
962
|
+
* @return {string}
|
|
963
|
+
*/
|
|
964
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.prototype.getClienId = function() {
|
|
965
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* @param {string} value
|
|
971
|
+
* @return {!proto.lansweeper.multitenant.v1.InstallCredentials} returns this
|
|
972
|
+
*/
|
|
973
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.prototype.setClienId = function(value) {
|
|
974
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* optional string client_secret = 2;
|
|
980
|
+
* @return {string}
|
|
981
|
+
*/
|
|
982
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.prototype.getClientSecret = function() {
|
|
983
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
984
|
+
};
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* @param {string} value
|
|
989
|
+
* @return {!proto.lansweeper.multitenant.v1.InstallCredentials} returns this
|
|
990
|
+
*/
|
|
991
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.prototype.setClientSecret = function(value) {
|
|
992
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1000
|
+
/**
|
|
1001
|
+
* Creates an object representation of this proto.
|
|
1002
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1003
|
+
* Optional fields that are not set will be set to undefined.
|
|
1004
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1005
|
+
* For the list of reserved names please see:
|
|
1006
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1007
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1008
|
+
* JSPB instance for transitional soy proto support:
|
|
1009
|
+
* http://goto/soy-param-migration
|
|
1010
|
+
* @return {!Object}
|
|
1011
|
+
*/
|
|
1012
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1013
|
+
return proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.toObject(opt_includeInstance, this);
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Static version of the {@see toObject} method.
|
|
1019
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1020
|
+
* the JSPB instance for transitional soy proto support:
|
|
1021
|
+
* http://goto/soy-param-migration
|
|
1022
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest} msg The msg instance to transform.
|
|
1023
|
+
* @return {!Object}
|
|
1024
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1025
|
+
*/
|
|
1026
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.toObject = function(includeInstance, msg) {
|
|
1027
|
+
var f, obj = {
|
|
1028
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1031
|
+
if (includeInstance) {
|
|
1032
|
+
obj.$jspbMessageInstance = msg;
|
|
1033
|
+
}
|
|
1034
|
+
return obj;
|
|
1035
|
+
};
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1041
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1042
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest}
|
|
1043
|
+
*/
|
|
1044
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.deserializeBinary = function(bytes) {
|
|
1045
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1046
|
+
var msg = new proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest;
|
|
1047
|
+
return proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.deserializeBinaryFromReader(msg, reader);
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1053
|
+
* given reader into the given message object.
|
|
1054
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest} msg The message object to deserialize into.
|
|
1055
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1056
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest}
|
|
1057
|
+
*/
|
|
1058
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1059
|
+
while (reader.nextField()) {
|
|
1060
|
+
if (reader.isEndGroup()) {
|
|
1061
|
+
break;
|
|
1062
|
+
}
|
|
1063
|
+
var field = reader.getFieldNumber();
|
|
1064
|
+
switch (field) {
|
|
1065
|
+
case 1:
|
|
1066
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1067
|
+
msg.setSiteId(value);
|
|
1068
|
+
break;
|
|
1069
|
+
default:
|
|
1070
|
+
reader.skipField();
|
|
1071
|
+
break;
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
return msg;
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1080
|
+
* @return {!Uint8Array}
|
|
1081
|
+
*/
|
|
1082
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.prototype.serializeBinary = function() {
|
|
1083
|
+
var writer = new jspb.BinaryWriter();
|
|
1084
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.serializeBinaryToWriter(this, writer);
|
|
1085
|
+
return writer.getResultBuffer();
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1091
|
+
* format), writing to the given BinaryWriter.
|
|
1092
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest} message
|
|
1093
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1094
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1095
|
+
*/
|
|
1096
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1097
|
+
var f = undefined;
|
|
1098
|
+
f = message.getSiteId();
|
|
1099
|
+
if (f.length > 0) {
|
|
1100
|
+
writer.writeString(
|
|
1101
|
+
1,
|
|
1102
|
+
f
|
|
1103
|
+
);
|
|
1104
|
+
}
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* optional string site_id = 1;
|
|
1110
|
+
* @return {string}
|
|
1111
|
+
*/
|
|
1112
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.prototype.getSiteId = function() {
|
|
1113
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1114
|
+
};
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* @param {string} value
|
|
1119
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest} returns this
|
|
1120
|
+
*/
|
|
1121
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest.prototype.setSiteId = function(value) {
|
|
1122
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1130
|
+
/**
|
|
1131
|
+
* Creates an object representation of this proto.
|
|
1132
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1133
|
+
* Optional fields that are not set will be set to undefined.
|
|
1134
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1135
|
+
* For the list of reserved names please see:
|
|
1136
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1137
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1138
|
+
* JSPB instance for transitional soy proto support:
|
|
1139
|
+
* http://goto/soy-param-migration
|
|
1140
|
+
* @return {!Object}
|
|
1141
|
+
*/
|
|
1142
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1143
|
+
return proto.lansweeper.multitenant.v1.GetInstallsCountResponse.toObject(opt_includeInstance, this);
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* Static version of the {@see toObject} method.
|
|
1149
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1150
|
+
* the JSPB instance for transitional soy proto support:
|
|
1151
|
+
* http://goto/soy-param-migration
|
|
1152
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallsCountResponse} msg The msg instance to transform.
|
|
1153
|
+
* @return {!Object}
|
|
1154
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1155
|
+
*/
|
|
1156
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.toObject = function(includeInstance, msg) {
|
|
1157
|
+
var f, obj = {
|
|
1158
|
+
count: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
if (includeInstance) {
|
|
1162
|
+
obj.$jspbMessageInstance = msg;
|
|
1163
|
+
}
|
|
1164
|
+
return obj;
|
|
1165
|
+
};
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1171
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1172
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallsCountResponse}
|
|
1173
|
+
*/
|
|
1174
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.deserializeBinary = function(bytes) {
|
|
1175
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1176
|
+
var msg = new proto.lansweeper.multitenant.v1.GetInstallsCountResponse;
|
|
1177
|
+
return proto.lansweeper.multitenant.v1.GetInstallsCountResponse.deserializeBinaryFromReader(msg, reader);
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1183
|
+
* given reader into the given message object.
|
|
1184
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallsCountResponse} msg The message object to deserialize into.
|
|
1185
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1186
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallsCountResponse}
|
|
1187
|
+
*/
|
|
1188
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1189
|
+
while (reader.nextField()) {
|
|
1190
|
+
if (reader.isEndGroup()) {
|
|
1191
|
+
break;
|
|
1192
|
+
}
|
|
1193
|
+
var field = reader.getFieldNumber();
|
|
1194
|
+
switch (field) {
|
|
1195
|
+
case 1:
|
|
1196
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1197
|
+
msg.setCount(value);
|
|
1198
|
+
break;
|
|
1199
|
+
default:
|
|
1200
|
+
reader.skipField();
|
|
1201
|
+
break;
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
return msg;
|
|
1205
|
+
};
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1210
|
+
* @return {!Uint8Array}
|
|
1211
|
+
*/
|
|
1212
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.prototype.serializeBinary = function() {
|
|
1213
|
+
var writer = new jspb.BinaryWriter();
|
|
1214
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.serializeBinaryToWriter(this, writer);
|
|
1215
|
+
return writer.getResultBuffer();
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1221
|
+
* format), writing to the given BinaryWriter.
|
|
1222
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallsCountResponse} message
|
|
1223
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1224
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1225
|
+
*/
|
|
1226
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1227
|
+
var f = undefined;
|
|
1228
|
+
f = message.getCount();
|
|
1229
|
+
if (f !== 0) {
|
|
1230
|
+
writer.writeInt64(
|
|
1231
|
+
1,
|
|
1232
|
+
f
|
|
1233
|
+
);
|
|
1234
|
+
}
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* optional int64 count = 1;
|
|
1240
|
+
* @return {number}
|
|
1241
|
+
*/
|
|
1242
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.prototype.getCount = function() {
|
|
1243
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1244
|
+
};
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* @param {number} value
|
|
1249
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallsCountResponse} returns this
|
|
1250
|
+
*/
|
|
1251
|
+
proto.lansweeper.multitenant.v1.GetInstallsCountResponse.prototype.setCount = function(value) {
|
|
1252
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
1253
|
+
};
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1260
|
+
/**
|
|
1261
|
+
* Creates an object representation of this proto.
|
|
1262
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1263
|
+
* Optional fields that are not set will be set to undefined.
|
|
1264
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1265
|
+
* For the list of reserved names please see:
|
|
1266
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1267
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1268
|
+
* JSPB instance for transitional soy proto support:
|
|
1269
|
+
* http://goto/soy-param-migration
|
|
1270
|
+
* @return {!Object}
|
|
1271
|
+
*/
|
|
1272
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1273
|
+
return proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.toObject(opt_includeInstance, this);
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Static version of the {@see toObject} method.
|
|
1279
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1280
|
+
* the JSPB instance for transitional soy proto support:
|
|
1281
|
+
* http://goto/soy-param-migration
|
|
1282
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest} msg The msg instance to transform.
|
|
1283
|
+
* @return {!Object}
|
|
1284
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1285
|
+
*/
|
|
1286
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.toObject = function(includeInstance, msg) {
|
|
1287
|
+
var f, obj = {
|
|
1288
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1289
|
+
};
|
|
1290
|
+
|
|
1291
|
+
if (includeInstance) {
|
|
1292
|
+
obj.$jspbMessageInstance = msg;
|
|
1293
|
+
}
|
|
1294
|
+
return obj;
|
|
1295
|
+
};
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1301
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1302
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest}
|
|
1303
|
+
*/
|
|
1304
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.deserializeBinary = function(bytes) {
|
|
1305
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1306
|
+
var msg = new proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest;
|
|
1307
|
+
return proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
1308
|
+
};
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1313
|
+
* given reader into the given message object.
|
|
1314
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest} msg The message object to deserialize into.
|
|
1315
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1316
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest}
|
|
1317
|
+
*/
|
|
1318
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1319
|
+
while (reader.nextField()) {
|
|
1320
|
+
if (reader.isEndGroup()) {
|
|
1321
|
+
break;
|
|
1322
|
+
}
|
|
1323
|
+
var field = reader.getFieldNumber();
|
|
1324
|
+
switch (field) {
|
|
1325
|
+
case 1:
|
|
1326
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1327
|
+
msg.setClientId(value);
|
|
1328
|
+
break;
|
|
1329
|
+
default:
|
|
1330
|
+
reader.skipField();
|
|
1331
|
+
break;
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
return msg;
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1340
|
+
* @return {!Uint8Array}
|
|
1341
|
+
*/
|
|
1342
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.prototype.serializeBinary = function() {
|
|
1343
|
+
var writer = new jspb.BinaryWriter();
|
|
1344
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.serializeBinaryToWriter(this, writer);
|
|
1345
|
+
return writer.getResultBuffer();
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1351
|
+
* format), writing to the given BinaryWriter.
|
|
1352
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest} message
|
|
1353
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1354
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1355
|
+
*/
|
|
1356
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1357
|
+
var f = undefined;
|
|
1358
|
+
f = message.getClientId();
|
|
1359
|
+
if (f.length > 0) {
|
|
1360
|
+
writer.writeString(
|
|
1361
|
+
1,
|
|
1362
|
+
f
|
|
1363
|
+
);
|
|
1364
|
+
}
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* optional string client_id = 1;
|
|
1370
|
+
* @return {string}
|
|
1371
|
+
*/
|
|
1372
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.prototype.getClientId = function() {
|
|
1373
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1374
|
+
};
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* @param {string} value
|
|
1379
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest} returns this
|
|
1380
|
+
*/
|
|
1381
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest.prototype.setClientId = function(value) {
|
|
1382
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1383
|
+
};
|
|
1384
|
+
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1390
|
+
/**
|
|
1391
|
+
* Creates an object representation of this proto.
|
|
1392
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1393
|
+
* Optional fields that are not set will be set to undefined.
|
|
1394
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1395
|
+
* For the list of reserved names please see:
|
|
1396
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1397
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1398
|
+
* JSPB instance for transitional soy proto support:
|
|
1399
|
+
* http://goto/soy-param-migration
|
|
1400
|
+
* @return {!Object}
|
|
1401
|
+
*/
|
|
1402
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1403
|
+
return proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.toObject(opt_includeInstance, this);
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* Static version of the {@see toObject} method.
|
|
1409
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1410
|
+
* the JSPB instance for transitional soy proto support:
|
|
1411
|
+
* http://goto/soy-param-migration
|
|
1412
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse} msg The msg instance to transform.
|
|
1413
|
+
* @return {!Object}
|
|
1414
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1415
|
+
*/
|
|
1416
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.toObject = function(includeInstance, msg) {
|
|
1417
|
+
var f, obj = {
|
|
1418
|
+
install: (f = msg.getInstall()) && proto.lansweeper.multitenant.v1.Install.toObject(includeInstance, f)
|
|
1419
|
+
};
|
|
1420
|
+
|
|
1421
|
+
if (includeInstance) {
|
|
1422
|
+
obj.$jspbMessageInstance = msg;
|
|
1423
|
+
}
|
|
1424
|
+
return obj;
|
|
1425
|
+
};
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1431
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1432
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse}
|
|
1433
|
+
*/
|
|
1434
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.deserializeBinary = function(bytes) {
|
|
1435
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1436
|
+
var msg = new proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse;
|
|
1437
|
+
return proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
1438
|
+
};
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1443
|
+
* given reader into the given message object.
|
|
1444
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse} msg The message object to deserialize into.
|
|
1445
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1446
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse}
|
|
1447
|
+
*/
|
|
1448
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1449
|
+
while (reader.nextField()) {
|
|
1450
|
+
if (reader.isEndGroup()) {
|
|
1451
|
+
break;
|
|
1452
|
+
}
|
|
1453
|
+
var field = reader.getFieldNumber();
|
|
1454
|
+
switch (field) {
|
|
1455
|
+
case 1:
|
|
1456
|
+
var value = new proto.lansweeper.multitenant.v1.Install;
|
|
1457
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader);
|
|
1458
|
+
msg.setInstall(value);
|
|
1459
|
+
break;
|
|
1460
|
+
default:
|
|
1461
|
+
reader.skipField();
|
|
1462
|
+
break;
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
return msg;
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1471
|
+
* @return {!Uint8Array}
|
|
1472
|
+
*/
|
|
1473
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.prototype.serializeBinary = function() {
|
|
1474
|
+
var writer = new jspb.BinaryWriter();
|
|
1475
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.serializeBinaryToWriter(this, writer);
|
|
1476
|
+
return writer.getResultBuffer();
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1482
|
+
* format), writing to the given BinaryWriter.
|
|
1483
|
+
* @param {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse} message
|
|
1484
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1485
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1486
|
+
*/
|
|
1487
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1488
|
+
var f = undefined;
|
|
1489
|
+
f = message.getInstall();
|
|
1490
|
+
if (f != null) {
|
|
1491
|
+
writer.writeMessage(
|
|
1492
|
+
1,
|
|
1493
|
+
f,
|
|
1494
|
+
proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter
|
|
1495
|
+
);
|
|
1496
|
+
}
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* optional Install install = 1;
|
|
1502
|
+
* @return {?proto.lansweeper.multitenant.v1.Install}
|
|
1503
|
+
*/
|
|
1504
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.prototype.getInstall = function() {
|
|
1505
|
+
return /** @type{?proto.lansweeper.multitenant.v1.Install} */ (
|
|
1506
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.Install, 1));
|
|
1507
|
+
};
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* @param {?proto.lansweeper.multitenant.v1.Install|undefined} value
|
|
1512
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse} returns this
|
|
1513
|
+
*/
|
|
1514
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.prototype.setInstall = function(value) {
|
|
1515
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1516
|
+
};
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* Clears the message field making it undefined.
|
|
1521
|
+
* @return {!proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse} returns this
|
|
1522
|
+
*/
|
|
1523
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.prototype.clearInstall = function() {
|
|
1524
|
+
return this.setInstall(undefined);
|
|
1525
|
+
};
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* Returns whether this field is set.
|
|
1530
|
+
* @return {boolean}
|
|
1531
|
+
*/
|
|
1532
|
+
proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse.prototype.hasInstall = function() {
|
|
1533
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1541
|
+
/**
|
|
1542
|
+
* Creates an object representation of this proto.
|
|
1543
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1544
|
+
* Optional fields that are not set will be set to undefined.
|
|
1545
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1546
|
+
* For the list of reserved names please see:
|
|
1547
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1548
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1549
|
+
* JSPB instance for transitional soy proto support:
|
|
1550
|
+
* http://goto/soy-param-migration
|
|
1551
|
+
* @return {!Object}
|
|
1552
|
+
*/
|
|
1553
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1554
|
+
return proto.lansweeper.multitenant.v1.CreateInstallRequest.toObject(opt_includeInstance, this);
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Static version of the {@see toObject} method.
|
|
1560
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1561
|
+
* the JSPB instance for transitional soy proto support:
|
|
1562
|
+
* http://goto/soy-param-migration
|
|
1563
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateInstallRequest} msg The msg instance to transform.
|
|
1564
|
+
* @return {!Object}
|
|
1565
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1566
|
+
*/
|
|
1567
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.toObject = function(includeInstance, msg) {
|
|
1568
|
+
var f, obj = {
|
|
1569
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1570
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1571
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1572
|
+
status: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1573
|
+
fqdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1574
|
+
createdById: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1575
|
+
createSqsQueue: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
1576
|
+
siteMode: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
1577
|
+
license: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1578
|
+
};
|
|
1579
|
+
|
|
1580
|
+
if (includeInstance) {
|
|
1581
|
+
obj.$jspbMessageInstance = msg;
|
|
1582
|
+
}
|
|
1583
|
+
return obj;
|
|
1584
|
+
};
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1590
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1591
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest}
|
|
1592
|
+
*/
|
|
1593
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.deserializeBinary = function(bytes) {
|
|
1594
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1595
|
+
var msg = new proto.lansweeper.multitenant.v1.CreateInstallRequest;
|
|
1596
|
+
return proto.lansweeper.multitenant.v1.CreateInstallRequest.deserializeBinaryFromReader(msg, reader);
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1602
|
+
* given reader into the given message object.
|
|
1603
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateInstallRequest} msg The message object to deserialize into.
|
|
1604
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1605
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest}
|
|
1606
|
+
*/
|
|
1607
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1608
|
+
while (reader.nextField()) {
|
|
1609
|
+
if (reader.isEndGroup()) {
|
|
1610
|
+
break;
|
|
1611
|
+
}
|
|
1612
|
+
var field = reader.getFieldNumber();
|
|
1613
|
+
switch (field) {
|
|
1614
|
+
case 1:
|
|
1615
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1616
|
+
msg.setSiteId(value);
|
|
1617
|
+
break;
|
|
1618
|
+
case 3:
|
|
1619
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1620
|
+
msg.setDisplayName(value);
|
|
1621
|
+
break;
|
|
1622
|
+
case 4:
|
|
1623
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1624
|
+
msg.setDescription(value);
|
|
1625
|
+
break;
|
|
1626
|
+
case 5:
|
|
1627
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1628
|
+
msg.setStatus(value);
|
|
1629
|
+
break;
|
|
1630
|
+
case 6:
|
|
1631
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1632
|
+
msg.setFqdn(value);
|
|
1633
|
+
break;
|
|
1634
|
+
case 7:
|
|
1635
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1636
|
+
msg.setCreatedById(value);
|
|
1637
|
+
break;
|
|
1638
|
+
case 8:
|
|
1639
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1640
|
+
msg.setCreateSqsQueue(value);
|
|
1641
|
+
break;
|
|
1642
|
+
case 9:
|
|
1643
|
+
var value = /** @type {!proto.lansweeper.multitenant.v1.SiteMode} */ (reader.readEnum());
|
|
1644
|
+
msg.setSiteMode(value);
|
|
1645
|
+
break;
|
|
1646
|
+
case 10:
|
|
1647
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1648
|
+
msg.setLicense(value);
|
|
1649
|
+
break;
|
|
1650
|
+
default:
|
|
1651
|
+
reader.skipField();
|
|
1652
|
+
break;
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
return msg;
|
|
1656
|
+
};
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1661
|
+
* @return {!Uint8Array}
|
|
1662
|
+
*/
|
|
1663
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.serializeBinary = function() {
|
|
1664
|
+
var writer = new jspb.BinaryWriter();
|
|
1665
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.serializeBinaryToWriter(this, writer);
|
|
1666
|
+
return writer.getResultBuffer();
|
|
1667
|
+
};
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1672
|
+
* format), writing to the given BinaryWriter.
|
|
1673
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateInstallRequest} message
|
|
1674
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1675
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1676
|
+
*/
|
|
1677
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1678
|
+
var f = undefined;
|
|
1679
|
+
f = message.getSiteId();
|
|
1680
|
+
if (f.length > 0) {
|
|
1681
|
+
writer.writeString(
|
|
1682
|
+
1,
|
|
1683
|
+
f
|
|
1684
|
+
);
|
|
1685
|
+
}
|
|
1686
|
+
f = message.getDisplayName();
|
|
1687
|
+
if (f.length > 0) {
|
|
1688
|
+
writer.writeString(
|
|
1689
|
+
3,
|
|
1690
|
+
f
|
|
1691
|
+
);
|
|
1692
|
+
}
|
|
1693
|
+
f = message.getDescription();
|
|
1694
|
+
if (f.length > 0) {
|
|
1695
|
+
writer.writeString(
|
|
1696
|
+
4,
|
|
1697
|
+
f
|
|
1698
|
+
);
|
|
1699
|
+
}
|
|
1700
|
+
f = message.getStatus();
|
|
1701
|
+
if (f.length > 0) {
|
|
1702
|
+
writer.writeString(
|
|
1703
|
+
5,
|
|
1704
|
+
f
|
|
1705
|
+
);
|
|
1706
|
+
}
|
|
1707
|
+
f = message.getFqdn();
|
|
1708
|
+
if (f.length > 0) {
|
|
1709
|
+
writer.writeString(
|
|
1710
|
+
6,
|
|
1711
|
+
f
|
|
1712
|
+
);
|
|
1713
|
+
}
|
|
1714
|
+
f = message.getCreatedById();
|
|
1715
|
+
if (f.length > 0) {
|
|
1716
|
+
writer.writeString(
|
|
1717
|
+
7,
|
|
1718
|
+
f
|
|
1719
|
+
);
|
|
1720
|
+
}
|
|
1721
|
+
f = message.getCreateSqsQueue();
|
|
1722
|
+
if (f) {
|
|
1723
|
+
writer.writeBool(
|
|
1724
|
+
8,
|
|
1725
|
+
f
|
|
1726
|
+
);
|
|
1727
|
+
}
|
|
1728
|
+
f = message.getSiteMode();
|
|
1729
|
+
if (f !== 0.0) {
|
|
1730
|
+
writer.writeEnum(
|
|
1731
|
+
9,
|
|
1732
|
+
f
|
|
1733
|
+
);
|
|
1734
|
+
}
|
|
1735
|
+
f = message.getLicense();
|
|
1736
|
+
if (f.length > 0) {
|
|
1737
|
+
writer.writeString(
|
|
1738
|
+
10,
|
|
1739
|
+
f
|
|
1740
|
+
);
|
|
1741
|
+
}
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* optional string site_id = 1;
|
|
1747
|
+
* @return {string}
|
|
1748
|
+
*/
|
|
1749
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getSiteId = function() {
|
|
1750
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1751
|
+
};
|
|
1752
|
+
|
|
1753
|
+
|
|
1754
|
+
/**
|
|
1755
|
+
* @param {string} value
|
|
1756
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
|
|
1757
|
+
*/
|
|
1758
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setSiteId = function(value) {
|
|
1759
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1760
|
+
};
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* optional string display_name = 3;
|
|
1765
|
+
* @return {string}
|
|
1766
|
+
*/
|
|
1767
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getDisplayName = function() {
|
|
1768
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1769
|
+
};
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* @param {string} value
|
|
1774
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
|
|
1775
|
+
*/
|
|
1776
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setDisplayName = function(value) {
|
|
1777
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* optional string description = 4;
|
|
1783
|
+
* @return {string}
|
|
1784
|
+
*/
|
|
1785
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getDescription = function() {
|
|
1786
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1787
|
+
};
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* @param {string} value
|
|
1792
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
|
|
1793
|
+
*/
|
|
1794
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setDescription = function(value) {
|
|
1795
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1796
|
+
};
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* optional string status = 5;
|
|
1801
|
+
* @return {string}
|
|
1802
|
+
*/
|
|
1803
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getStatus = function() {
|
|
1804
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1805
|
+
};
|
|
1806
|
+
|
|
1807
|
+
|
|
1808
|
+
/**
|
|
1809
|
+
* @param {string} value
|
|
1810
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
|
|
1811
|
+
*/
|
|
1812
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setStatus = function(value) {
|
|
1813
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1814
|
+
};
|
|
1815
|
+
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* optional string fqdn = 6;
|
|
1819
|
+
* @return {string}
|
|
1820
|
+
*/
|
|
1821
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getFqdn = function() {
|
|
1822
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* @param {string} value
|
|
1828
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
|
|
1829
|
+
*/
|
|
1830
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setFqdn = function(value) {
|
|
1831
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1832
|
+
};
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* optional string created_by_id = 7;
|
|
1837
|
+
* @return {string}
|
|
1838
|
+
*/
|
|
1839
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getCreatedById = function() {
|
|
1840
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1841
|
+
};
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* @param {string} value
|
|
1846
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
|
|
1847
|
+
*/
|
|
1848
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setCreatedById = function(value) {
|
|
1849
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1850
|
+
};
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* optional bool create_sqs_queue = 8;
|
|
1855
|
+
* @return {boolean}
|
|
1856
|
+
*/
|
|
1857
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getCreateSqsQueue = function() {
|
|
1858
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
1859
|
+
};
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* @param {boolean} value
|
|
1864
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
|
|
1865
|
+
*/
|
|
1866
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setCreateSqsQueue = function(value) {
|
|
1867
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
1868
|
+
};
|
|
1869
|
+
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* optional SiteMode site_mode = 9;
|
|
1873
|
+
* @return {!proto.lansweeper.multitenant.v1.SiteMode}
|
|
1874
|
+
*/
|
|
1875
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getSiteMode = function() {
|
|
1876
|
+
return /** @type {!proto.lansweeper.multitenant.v1.SiteMode} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
1877
|
+
};
|
|
1878
|
+
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* @param {!proto.lansweeper.multitenant.v1.SiteMode} value
|
|
1882
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
|
|
1883
|
+
*/
|
|
1884
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setSiteMode = function(value) {
|
|
1885
|
+
return jspb.Message.setProto3EnumField(this, 9, value);
|
|
1886
|
+
};
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* optional string license = 10;
|
|
1891
|
+
* @return {string}
|
|
1892
|
+
*/
|
|
1893
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.getLicense = function() {
|
|
1894
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1895
|
+
};
|
|
1896
|
+
|
|
1897
|
+
|
|
1898
|
+
/**
|
|
1899
|
+
* @param {string} value
|
|
1900
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallRequest} returns this
|
|
1901
|
+
*/
|
|
1902
|
+
proto.lansweeper.multitenant.v1.CreateInstallRequest.prototype.setLicense = function(value) {
|
|
1903
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1911
|
+
/**
|
|
1912
|
+
* Creates an object representation of this proto.
|
|
1913
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1914
|
+
* Optional fields that are not set will be set to undefined.
|
|
1915
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1916
|
+
* For the list of reserved names please see:
|
|
1917
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1918
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1919
|
+
* JSPB instance for transitional soy proto support:
|
|
1920
|
+
* http://goto/soy-param-migration
|
|
1921
|
+
* @return {!Object}
|
|
1922
|
+
*/
|
|
1923
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1924
|
+
return proto.lansweeper.multitenant.v1.CreateInstallResponse.toObject(opt_includeInstance, this);
|
|
1925
|
+
};
|
|
1926
|
+
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* Static version of the {@see toObject} method.
|
|
1930
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1931
|
+
* the JSPB instance for transitional soy proto support:
|
|
1932
|
+
* http://goto/soy-param-migration
|
|
1933
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateInstallResponse} msg The msg instance to transform.
|
|
1934
|
+
* @return {!Object}
|
|
1935
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1936
|
+
*/
|
|
1937
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.toObject = function(includeInstance, msg) {
|
|
1938
|
+
var f, obj = {
|
|
1939
|
+
install: (f = msg.getInstall()) && proto.lansweeper.multitenant.v1.Install.toObject(includeInstance, f),
|
|
1940
|
+
credentials: (f = msg.getCredentials()) && proto.lansweeper.multitenant.v1.InstallCredentials.toObject(includeInstance, f)
|
|
1941
|
+
};
|
|
1942
|
+
|
|
1943
|
+
if (includeInstance) {
|
|
1944
|
+
obj.$jspbMessageInstance = msg;
|
|
1945
|
+
}
|
|
1946
|
+
return obj;
|
|
1947
|
+
};
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1953
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1954
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallResponse}
|
|
1955
|
+
*/
|
|
1956
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.deserializeBinary = function(bytes) {
|
|
1957
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1958
|
+
var msg = new proto.lansweeper.multitenant.v1.CreateInstallResponse;
|
|
1959
|
+
return proto.lansweeper.multitenant.v1.CreateInstallResponse.deserializeBinaryFromReader(msg, reader);
|
|
1960
|
+
};
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1965
|
+
* given reader into the given message object.
|
|
1966
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateInstallResponse} msg The message object to deserialize into.
|
|
1967
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1968
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallResponse}
|
|
1969
|
+
*/
|
|
1970
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1971
|
+
while (reader.nextField()) {
|
|
1972
|
+
if (reader.isEndGroup()) {
|
|
1973
|
+
break;
|
|
1974
|
+
}
|
|
1975
|
+
var field = reader.getFieldNumber();
|
|
1976
|
+
switch (field) {
|
|
1977
|
+
case 1:
|
|
1978
|
+
var value = new proto.lansweeper.multitenant.v1.Install;
|
|
1979
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader);
|
|
1980
|
+
msg.setInstall(value);
|
|
1981
|
+
break;
|
|
1982
|
+
case 2:
|
|
1983
|
+
var value = new proto.lansweeper.multitenant.v1.InstallCredentials;
|
|
1984
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.InstallCredentials.deserializeBinaryFromReader);
|
|
1985
|
+
msg.setCredentials(value);
|
|
1986
|
+
break;
|
|
1987
|
+
default:
|
|
1988
|
+
reader.skipField();
|
|
1989
|
+
break;
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
return msg;
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
/**
|
|
1997
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1998
|
+
* @return {!Uint8Array}
|
|
1999
|
+
*/
|
|
2000
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.serializeBinary = function() {
|
|
2001
|
+
var writer = new jspb.BinaryWriter();
|
|
2002
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.serializeBinaryToWriter(this, writer);
|
|
2003
|
+
return writer.getResultBuffer();
|
|
2004
|
+
};
|
|
2005
|
+
|
|
2006
|
+
|
|
2007
|
+
/**
|
|
2008
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2009
|
+
* format), writing to the given BinaryWriter.
|
|
2010
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateInstallResponse} message
|
|
2011
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2012
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2013
|
+
*/
|
|
2014
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2015
|
+
var f = undefined;
|
|
2016
|
+
f = message.getInstall();
|
|
2017
|
+
if (f != null) {
|
|
2018
|
+
writer.writeMessage(
|
|
2019
|
+
1,
|
|
2020
|
+
f,
|
|
2021
|
+
proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter
|
|
2022
|
+
);
|
|
2023
|
+
}
|
|
2024
|
+
f = message.getCredentials();
|
|
2025
|
+
if (f != null) {
|
|
2026
|
+
writer.writeMessage(
|
|
2027
|
+
2,
|
|
2028
|
+
f,
|
|
2029
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.serializeBinaryToWriter
|
|
2030
|
+
);
|
|
2031
|
+
}
|
|
2032
|
+
};
|
|
2033
|
+
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* optional Install install = 1;
|
|
2037
|
+
* @return {?proto.lansweeper.multitenant.v1.Install}
|
|
2038
|
+
*/
|
|
2039
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.getInstall = function() {
|
|
2040
|
+
return /** @type{?proto.lansweeper.multitenant.v1.Install} */ (
|
|
2041
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.Install, 1));
|
|
2042
|
+
};
|
|
2043
|
+
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
* @param {?proto.lansweeper.multitenant.v1.Install|undefined} value
|
|
2047
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallResponse} returns this
|
|
2048
|
+
*/
|
|
2049
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.setInstall = function(value) {
|
|
2050
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2051
|
+
};
|
|
2052
|
+
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* Clears the message field making it undefined.
|
|
2056
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallResponse} returns this
|
|
2057
|
+
*/
|
|
2058
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.clearInstall = function() {
|
|
2059
|
+
return this.setInstall(undefined);
|
|
2060
|
+
};
|
|
2061
|
+
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* Returns whether this field is set.
|
|
2065
|
+
* @return {boolean}
|
|
2066
|
+
*/
|
|
2067
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.hasInstall = function() {
|
|
2068
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2069
|
+
};
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* optional InstallCredentials credentials = 2;
|
|
2074
|
+
* @return {?proto.lansweeper.multitenant.v1.InstallCredentials}
|
|
2075
|
+
*/
|
|
2076
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.getCredentials = function() {
|
|
2077
|
+
return /** @type{?proto.lansweeper.multitenant.v1.InstallCredentials} */ (
|
|
2078
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.InstallCredentials, 2));
|
|
2079
|
+
};
|
|
2080
|
+
|
|
2081
|
+
|
|
2082
|
+
/**
|
|
2083
|
+
* @param {?proto.lansweeper.multitenant.v1.InstallCredentials|undefined} value
|
|
2084
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallResponse} returns this
|
|
2085
|
+
*/
|
|
2086
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.setCredentials = function(value) {
|
|
2087
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* Clears the message field making it undefined.
|
|
2093
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateInstallResponse} returns this
|
|
2094
|
+
*/
|
|
2095
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.clearCredentials = function() {
|
|
2096
|
+
return this.setCredentials(undefined);
|
|
2097
|
+
};
|
|
2098
|
+
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* Returns whether this field is set.
|
|
2102
|
+
* @return {boolean}
|
|
2103
|
+
*/
|
|
2104
|
+
proto.lansweeper.multitenant.v1.CreateInstallResponse.prototype.hasCredentials = function() {
|
|
2105
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2106
|
+
};
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2113
|
+
/**
|
|
2114
|
+
* Creates an object representation of this proto.
|
|
2115
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2116
|
+
* Optional fields that are not set will be set to undefined.
|
|
2117
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2118
|
+
* For the list of reserved names please see:
|
|
2119
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2120
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2121
|
+
* JSPB instance for transitional soy proto support:
|
|
2122
|
+
* http://goto/soy-param-migration
|
|
2123
|
+
* @return {!Object}
|
|
2124
|
+
*/
|
|
2125
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2126
|
+
return proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.toObject(opt_includeInstance, this);
|
|
2127
|
+
};
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* Static version of the {@see toObject} method.
|
|
2132
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2133
|
+
* the JSPB instance for transitional soy proto support:
|
|
2134
|
+
* http://goto/soy-param-migration
|
|
2135
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} msg The msg instance to transform.
|
|
2136
|
+
* @return {!Object}
|
|
2137
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2138
|
+
*/
|
|
2139
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.toObject = function(includeInstance, msg) {
|
|
2140
|
+
var f, obj = {
|
|
2141
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2142
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2143
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2144
|
+
status: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2145
|
+
fqdn: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2146
|
+
syncerSettings: (f = msg.getSyncerSettings()) && proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.toObject(includeInstance, f)
|
|
2147
|
+
};
|
|
2148
|
+
|
|
2149
|
+
if (includeInstance) {
|
|
2150
|
+
obj.$jspbMessageInstance = msg;
|
|
2151
|
+
}
|
|
2152
|
+
return obj;
|
|
2153
|
+
};
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
|
|
2157
|
+
/**
|
|
2158
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2159
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2160
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest}
|
|
2161
|
+
*/
|
|
2162
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.deserializeBinary = function(bytes) {
|
|
2163
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2164
|
+
var msg = new proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest;
|
|
2165
|
+
return proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2171
|
+
* given reader into the given message object.
|
|
2172
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} msg The message object to deserialize into.
|
|
2173
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2174
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest}
|
|
2175
|
+
*/
|
|
2176
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2177
|
+
while (reader.nextField()) {
|
|
2178
|
+
if (reader.isEndGroup()) {
|
|
2179
|
+
break;
|
|
2180
|
+
}
|
|
2181
|
+
var field = reader.getFieldNumber();
|
|
2182
|
+
switch (field) {
|
|
2183
|
+
case 1:
|
|
2184
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2185
|
+
msg.setClientId(value);
|
|
2186
|
+
break;
|
|
2187
|
+
case 2:
|
|
2188
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2189
|
+
msg.setDisplayName(value);
|
|
2190
|
+
break;
|
|
2191
|
+
case 3:
|
|
2192
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2193
|
+
msg.setDescription(value);
|
|
2194
|
+
break;
|
|
2195
|
+
case 4:
|
|
2196
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2197
|
+
msg.setStatus(value);
|
|
2198
|
+
break;
|
|
2199
|
+
case 5:
|
|
2200
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2201
|
+
msg.setFqdn(value);
|
|
2202
|
+
break;
|
|
2203
|
+
case 6:
|
|
2204
|
+
var value = new proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings;
|
|
2205
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.deserializeBinaryFromReader);
|
|
2206
|
+
msg.setSyncerSettings(value);
|
|
2207
|
+
break;
|
|
2208
|
+
default:
|
|
2209
|
+
reader.skipField();
|
|
2210
|
+
break;
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
return msg;
|
|
2214
|
+
};
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2219
|
+
* @return {!Uint8Array}
|
|
2220
|
+
*/
|
|
2221
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.serializeBinary = function() {
|
|
2222
|
+
var writer = new jspb.BinaryWriter();
|
|
2223
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
|
|
2224
|
+
return writer.getResultBuffer();
|
|
2225
|
+
};
|
|
2226
|
+
|
|
2227
|
+
|
|
2228
|
+
/**
|
|
2229
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2230
|
+
* format), writing to the given BinaryWriter.
|
|
2231
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} message
|
|
2232
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2233
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2234
|
+
*/
|
|
2235
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2236
|
+
var f = undefined;
|
|
2237
|
+
f = message.getClientId();
|
|
2238
|
+
if (f.length > 0) {
|
|
2239
|
+
writer.writeString(
|
|
2240
|
+
1,
|
|
2241
|
+
f
|
|
2242
|
+
);
|
|
2243
|
+
}
|
|
2244
|
+
f = message.getDisplayName();
|
|
2245
|
+
if (f.length > 0) {
|
|
2246
|
+
writer.writeString(
|
|
2247
|
+
2,
|
|
2248
|
+
f
|
|
2249
|
+
);
|
|
2250
|
+
}
|
|
2251
|
+
f = message.getDescription();
|
|
2252
|
+
if (f.length > 0) {
|
|
2253
|
+
writer.writeString(
|
|
2254
|
+
3,
|
|
2255
|
+
f
|
|
2256
|
+
);
|
|
2257
|
+
}
|
|
2258
|
+
f = message.getStatus();
|
|
2259
|
+
if (f.length > 0) {
|
|
2260
|
+
writer.writeString(
|
|
2261
|
+
4,
|
|
2262
|
+
f
|
|
2263
|
+
);
|
|
2264
|
+
}
|
|
2265
|
+
f = message.getFqdn();
|
|
2266
|
+
if (f.length > 0) {
|
|
2267
|
+
writer.writeString(
|
|
2268
|
+
5,
|
|
2269
|
+
f
|
|
2270
|
+
);
|
|
2271
|
+
}
|
|
2272
|
+
f = message.getSyncerSettings();
|
|
2273
|
+
if (f != null) {
|
|
2274
|
+
writer.writeMessage(
|
|
2275
|
+
6,
|
|
2276
|
+
f,
|
|
2277
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.serializeBinaryToWriter
|
|
2278
|
+
);
|
|
2279
|
+
}
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2282
|
+
|
|
2283
|
+
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2287
|
+
/**
|
|
2288
|
+
* Creates an object representation of this proto.
|
|
2289
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2290
|
+
* Optional fields that are not set will be set to undefined.
|
|
2291
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2292
|
+
* For the list of reserved names please see:
|
|
2293
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2294
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2295
|
+
* JSPB instance for transitional soy proto support:
|
|
2296
|
+
* http://goto/soy-param-migration
|
|
2297
|
+
* @return {!Object}
|
|
2298
|
+
*/
|
|
2299
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.toObject = function(opt_includeInstance) {
|
|
2300
|
+
return proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.toObject(opt_includeInstance, this);
|
|
2301
|
+
};
|
|
2302
|
+
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* Static version of the {@see toObject} method.
|
|
2306
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2307
|
+
* the JSPB instance for transitional soy proto support:
|
|
2308
|
+
* http://goto/soy-param-migration
|
|
2309
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings} msg The msg instance to transform.
|
|
2310
|
+
* @return {!Object}
|
|
2311
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2312
|
+
*/
|
|
2313
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.toObject = function(includeInstance, msg) {
|
|
2314
|
+
var f, obj = {
|
|
2315
|
+
sendChangedDataTimeout: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2316
|
+
sendFastChangingDataTimeout: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2317
|
+
sendNonChangedDataTimeout: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2318
|
+
syncIntervalInSeconds: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
2319
|
+
};
|
|
2320
|
+
|
|
2321
|
+
if (includeInstance) {
|
|
2322
|
+
obj.$jspbMessageInstance = msg;
|
|
2323
|
+
}
|
|
2324
|
+
return obj;
|
|
2325
|
+
};
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2331
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2332
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings}
|
|
2333
|
+
*/
|
|
2334
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.deserializeBinary = function(bytes) {
|
|
2335
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2336
|
+
var msg = new proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings;
|
|
2337
|
+
return proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.deserializeBinaryFromReader(msg, reader);
|
|
2338
|
+
};
|
|
2339
|
+
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2343
|
+
* given reader into the given message object.
|
|
2344
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings} msg The message object to deserialize into.
|
|
2345
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2346
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings}
|
|
2347
|
+
*/
|
|
2348
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.deserializeBinaryFromReader = function(msg, reader) {
|
|
2349
|
+
while (reader.nextField()) {
|
|
2350
|
+
if (reader.isEndGroup()) {
|
|
2351
|
+
break;
|
|
2352
|
+
}
|
|
2353
|
+
var field = reader.getFieldNumber();
|
|
2354
|
+
switch (field) {
|
|
2355
|
+
case 1:
|
|
2356
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2357
|
+
msg.setSendChangedDataTimeout(value);
|
|
2358
|
+
break;
|
|
2359
|
+
case 2:
|
|
2360
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2361
|
+
msg.setSendFastChangingDataTimeout(value);
|
|
2362
|
+
break;
|
|
2363
|
+
case 3:
|
|
2364
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2365
|
+
msg.setSendNonChangedDataTimeout(value);
|
|
2366
|
+
break;
|
|
2367
|
+
case 4:
|
|
2368
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2369
|
+
msg.setSyncIntervalInSeconds(value);
|
|
2370
|
+
break;
|
|
2371
|
+
default:
|
|
2372
|
+
reader.skipField();
|
|
2373
|
+
break;
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
return msg;
|
|
2377
|
+
};
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2382
|
+
* @return {!Uint8Array}
|
|
2383
|
+
*/
|
|
2384
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.serializeBinary = function() {
|
|
2385
|
+
var writer = new jspb.BinaryWriter();
|
|
2386
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.serializeBinaryToWriter(this, writer);
|
|
2387
|
+
return writer.getResultBuffer();
|
|
2388
|
+
};
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
/**
|
|
2392
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2393
|
+
* format), writing to the given BinaryWriter.
|
|
2394
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings} message
|
|
2395
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2396
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2397
|
+
*/
|
|
2398
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.serializeBinaryToWriter = function(message, writer) {
|
|
2399
|
+
var f = undefined;
|
|
2400
|
+
f = message.getSendChangedDataTimeout();
|
|
2401
|
+
if (f.length > 0) {
|
|
2402
|
+
writer.writeString(
|
|
2403
|
+
1,
|
|
2404
|
+
f
|
|
2405
|
+
);
|
|
2406
|
+
}
|
|
2407
|
+
f = message.getSendFastChangingDataTimeout();
|
|
2408
|
+
if (f.length > 0) {
|
|
2409
|
+
writer.writeString(
|
|
2410
|
+
2,
|
|
2411
|
+
f
|
|
2412
|
+
);
|
|
2413
|
+
}
|
|
2414
|
+
f = message.getSendNonChangedDataTimeout();
|
|
2415
|
+
if (f.length > 0) {
|
|
2416
|
+
writer.writeString(
|
|
2417
|
+
3,
|
|
2418
|
+
f
|
|
2419
|
+
);
|
|
2420
|
+
}
|
|
2421
|
+
f = message.getSyncIntervalInSeconds();
|
|
2422
|
+
if (f.length > 0) {
|
|
2423
|
+
writer.writeString(
|
|
2424
|
+
4,
|
|
2425
|
+
f
|
|
2426
|
+
);
|
|
2427
|
+
}
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* optional string send_changed_data_timeout = 1;
|
|
2433
|
+
* @return {string}
|
|
2434
|
+
*/
|
|
2435
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.getSendChangedDataTimeout = function() {
|
|
2436
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2437
|
+
};
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
* @param {string} value
|
|
2442
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings} returns this
|
|
2443
|
+
*/
|
|
2444
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.setSendChangedDataTimeout = function(value) {
|
|
2445
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2446
|
+
};
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
/**
|
|
2450
|
+
* optional string send_fast_changing_data_timeout = 2;
|
|
2451
|
+
* @return {string}
|
|
2452
|
+
*/
|
|
2453
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.getSendFastChangingDataTimeout = function() {
|
|
2454
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* @param {string} value
|
|
2460
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings} returns this
|
|
2461
|
+
*/
|
|
2462
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.setSendFastChangingDataTimeout = function(value) {
|
|
2463
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2464
|
+
};
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* optional string send_non_changed_data_timeout = 3;
|
|
2469
|
+
* @return {string}
|
|
2470
|
+
*/
|
|
2471
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.getSendNonChangedDataTimeout = function() {
|
|
2472
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2473
|
+
};
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
/**
|
|
2477
|
+
* @param {string} value
|
|
2478
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings} returns this
|
|
2479
|
+
*/
|
|
2480
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.setSendNonChangedDataTimeout = function(value) {
|
|
2481
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2482
|
+
};
|
|
2483
|
+
|
|
2484
|
+
|
|
2485
|
+
/**
|
|
2486
|
+
* optional string sync_interval_in_seconds = 4;
|
|
2487
|
+
* @return {string}
|
|
2488
|
+
*/
|
|
2489
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.getSyncIntervalInSeconds = function() {
|
|
2490
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2491
|
+
};
|
|
2492
|
+
|
|
2493
|
+
|
|
2494
|
+
/**
|
|
2495
|
+
* @param {string} value
|
|
2496
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings} returns this
|
|
2497
|
+
*/
|
|
2498
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings.prototype.setSyncIntervalInSeconds = function(value) {
|
|
2499
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2500
|
+
};
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* optional string client_id = 1;
|
|
2505
|
+
* @return {string}
|
|
2506
|
+
*/
|
|
2507
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.getClientId = function() {
|
|
2508
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2509
|
+
};
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
/**
|
|
2513
|
+
* @param {string} value
|
|
2514
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} returns this
|
|
2515
|
+
*/
|
|
2516
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.setClientId = function(value) {
|
|
2517
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2518
|
+
};
|
|
2519
|
+
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
* optional string display_name = 2;
|
|
2523
|
+
* @return {string}
|
|
2524
|
+
*/
|
|
2525
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.getDisplayName = function() {
|
|
2526
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2527
|
+
};
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* @param {string} value
|
|
2532
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} returns this
|
|
2533
|
+
*/
|
|
2534
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.setDisplayName = function(value) {
|
|
2535
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2536
|
+
};
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
/**
|
|
2540
|
+
* optional string description = 3;
|
|
2541
|
+
* @return {string}
|
|
2542
|
+
*/
|
|
2543
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.getDescription = function() {
|
|
2544
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2545
|
+
};
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* @param {string} value
|
|
2550
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} returns this
|
|
2551
|
+
*/
|
|
2552
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.setDescription = function(value) {
|
|
2553
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2554
|
+
};
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
/**
|
|
2558
|
+
* optional string status = 4;
|
|
2559
|
+
* @return {string}
|
|
2560
|
+
*/
|
|
2561
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.getStatus = function() {
|
|
2562
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2563
|
+
};
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* @param {string} value
|
|
2568
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} returns this
|
|
2569
|
+
*/
|
|
2570
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.setStatus = function(value) {
|
|
2571
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2572
|
+
};
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* optional string fqdn = 5;
|
|
2577
|
+
* @return {string}
|
|
2578
|
+
*/
|
|
2579
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.getFqdn = function() {
|
|
2580
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2581
|
+
};
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* @param {string} value
|
|
2586
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} returns this
|
|
2587
|
+
*/
|
|
2588
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.setFqdn = function(value) {
|
|
2589
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* optional SyncerSettings syncer_settings = 6;
|
|
2595
|
+
* @return {?proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings}
|
|
2596
|
+
*/
|
|
2597
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.getSyncerSettings = function() {
|
|
2598
|
+
return /** @type{?proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings} */ (
|
|
2599
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings, 6));
|
|
2600
|
+
};
|
|
2601
|
+
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* @param {?proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.SyncerSettings|undefined} value
|
|
2605
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} returns this
|
|
2606
|
+
*/
|
|
2607
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.setSyncerSettings = function(value) {
|
|
2608
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
2609
|
+
};
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* Clears the message field making it undefined.
|
|
2614
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest} returns this
|
|
2615
|
+
*/
|
|
2616
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.clearSyncerSettings = function() {
|
|
2617
|
+
return this.setSyncerSettings(undefined);
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* Returns whether this field is set.
|
|
2623
|
+
* @return {boolean}
|
|
2624
|
+
*/
|
|
2625
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdRequest.prototype.hasSyncerSettings = function() {
|
|
2626
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2634
|
+
/**
|
|
2635
|
+
* Creates an object representation of this proto.
|
|
2636
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2637
|
+
* Optional fields that are not set will be set to undefined.
|
|
2638
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2639
|
+
* For the list of reserved names please see:
|
|
2640
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2641
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2642
|
+
* JSPB instance for transitional soy proto support:
|
|
2643
|
+
* http://goto/soy-param-migration
|
|
2644
|
+
* @return {!Object}
|
|
2645
|
+
*/
|
|
2646
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2647
|
+
return proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.toObject(opt_includeInstance, this);
|
|
2648
|
+
};
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* Static version of the {@see toObject} method.
|
|
2653
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2654
|
+
* the JSPB instance for transitional soy proto support:
|
|
2655
|
+
* http://goto/soy-param-migration
|
|
2656
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse} msg The msg instance to transform.
|
|
2657
|
+
* @return {!Object}
|
|
2658
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2659
|
+
*/
|
|
2660
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.toObject = function(includeInstance, msg) {
|
|
2661
|
+
var f, obj = {
|
|
2662
|
+
install: (f = msg.getInstall()) && proto.lansweeper.multitenant.v1.Install.toObject(includeInstance, f)
|
|
2663
|
+
};
|
|
2664
|
+
|
|
2665
|
+
if (includeInstance) {
|
|
2666
|
+
obj.$jspbMessageInstance = msg;
|
|
2667
|
+
}
|
|
2668
|
+
return obj;
|
|
2669
|
+
};
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
/**
|
|
2674
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2675
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2676
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse}
|
|
2677
|
+
*/
|
|
2678
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.deserializeBinary = function(bytes) {
|
|
2679
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2680
|
+
var msg = new proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse;
|
|
2681
|
+
return proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
2682
|
+
};
|
|
2683
|
+
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2687
|
+
* given reader into the given message object.
|
|
2688
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse} msg The message object to deserialize into.
|
|
2689
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2690
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse}
|
|
2691
|
+
*/
|
|
2692
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2693
|
+
while (reader.nextField()) {
|
|
2694
|
+
if (reader.isEndGroup()) {
|
|
2695
|
+
break;
|
|
2696
|
+
}
|
|
2697
|
+
var field = reader.getFieldNumber();
|
|
2698
|
+
switch (field) {
|
|
2699
|
+
case 1:
|
|
2700
|
+
var value = new proto.lansweeper.multitenant.v1.Install;
|
|
2701
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader);
|
|
2702
|
+
msg.setInstall(value);
|
|
2703
|
+
break;
|
|
2704
|
+
default:
|
|
2705
|
+
reader.skipField();
|
|
2706
|
+
break;
|
|
2707
|
+
}
|
|
2708
|
+
}
|
|
2709
|
+
return msg;
|
|
2710
|
+
};
|
|
2711
|
+
|
|
2712
|
+
|
|
2713
|
+
/**
|
|
2714
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2715
|
+
* @return {!Uint8Array}
|
|
2716
|
+
*/
|
|
2717
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.prototype.serializeBinary = function() {
|
|
2718
|
+
var writer = new jspb.BinaryWriter();
|
|
2719
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
|
|
2720
|
+
return writer.getResultBuffer();
|
|
2721
|
+
};
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
/**
|
|
2725
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2726
|
+
* format), writing to the given BinaryWriter.
|
|
2727
|
+
* @param {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse} message
|
|
2728
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2729
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2730
|
+
*/
|
|
2731
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2732
|
+
var f = undefined;
|
|
2733
|
+
f = message.getInstall();
|
|
2734
|
+
if (f != null) {
|
|
2735
|
+
writer.writeMessage(
|
|
2736
|
+
1,
|
|
2737
|
+
f,
|
|
2738
|
+
proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter
|
|
2739
|
+
);
|
|
2740
|
+
}
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* optional Install install = 1;
|
|
2746
|
+
* @return {?proto.lansweeper.multitenant.v1.Install}
|
|
2747
|
+
*/
|
|
2748
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.prototype.getInstall = function() {
|
|
2749
|
+
return /** @type{?proto.lansweeper.multitenant.v1.Install} */ (
|
|
2750
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.Install, 1));
|
|
2751
|
+
};
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
/**
|
|
2755
|
+
* @param {?proto.lansweeper.multitenant.v1.Install|undefined} value
|
|
2756
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse} returns this
|
|
2757
|
+
*/
|
|
2758
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.prototype.setInstall = function(value) {
|
|
2759
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2760
|
+
};
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
/**
|
|
2764
|
+
* Clears the message field making it undefined.
|
|
2765
|
+
* @return {!proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse} returns this
|
|
2766
|
+
*/
|
|
2767
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.prototype.clearInstall = function() {
|
|
2768
|
+
return this.setInstall(undefined);
|
|
2769
|
+
};
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* Returns whether this field is set.
|
|
2774
|
+
* @return {boolean}
|
|
2775
|
+
*/
|
|
2776
|
+
proto.lansweeper.multitenant.v1.UpdateInstallByClientIdResponse.prototype.hasInstall = function() {
|
|
2777
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2778
|
+
};
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2785
|
+
/**
|
|
2786
|
+
* Creates an object representation of this proto.
|
|
2787
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2788
|
+
* Optional fields that are not set will be set to undefined.
|
|
2789
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2790
|
+
* For the list of reserved names please see:
|
|
2791
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2792
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2793
|
+
* JSPB instance for transitional soy proto support:
|
|
2794
|
+
* http://goto/soy-param-migration
|
|
2795
|
+
* @return {!Object}
|
|
2796
|
+
*/
|
|
2797
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2798
|
+
return proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.toObject(opt_includeInstance, this);
|
|
2799
|
+
};
|
|
2800
|
+
|
|
2801
|
+
|
|
2802
|
+
/**
|
|
2803
|
+
* Static version of the {@see toObject} method.
|
|
2804
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2805
|
+
* the JSPB instance for transitional soy proto support:
|
|
2806
|
+
* http://goto/soy-param-migration
|
|
2807
|
+
* @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest} msg The msg instance to transform.
|
|
2808
|
+
* @return {!Object}
|
|
2809
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2810
|
+
*/
|
|
2811
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.toObject = function(includeInstance, msg) {
|
|
2812
|
+
var f, obj = {
|
|
2813
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2814
|
+
};
|
|
2815
|
+
|
|
2816
|
+
if (includeInstance) {
|
|
2817
|
+
obj.$jspbMessageInstance = msg;
|
|
2818
|
+
}
|
|
2819
|
+
return obj;
|
|
2820
|
+
};
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
|
|
2824
|
+
/**
|
|
2825
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2826
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2827
|
+
* @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest}
|
|
2828
|
+
*/
|
|
2829
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.deserializeBinary = function(bytes) {
|
|
2830
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2831
|
+
var msg = new proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest;
|
|
2832
|
+
return proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
2833
|
+
};
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
/**
|
|
2837
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2838
|
+
* given reader into the given message object.
|
|
2839
|
+
* @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest} msg The message object to deserialize into.
|
|
2840
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2841
|
+
* @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest}
|
|
2842
|
+
*/
|
|
2843
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2844
|
+
while (reader.nextField()) {
|
|
2845
|
+
if (reader.isEndGroup()) {
|
|
2846
|
+
break;
|
|
2847
|
+
}
|
|
2848
|
+
var field = reader.getFieldNumber();
|
|
2849
|
+
switch (field) {
|
|
2850
|
+
case 1:
|
|
2851
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2852
|
+
msg.setClientId(value);
|
|
2853
|
+
break;
|
|
2854
|
+
default:
|
|
2855
|
+
reader.skipField();
|
|
2856
|
+
break;
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
return msg;
|
|
2860
|
+
};
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
/**
|
|
2864
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2865
|
+
* @return {!Uint8Array}
|
|
2866
|
+
*/
|
|
2867
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.serializeBinary = function() {
|
|
2868
|
+
var writer = new jspb.BinaryWriter();
|
|
2869
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
|
|
2870
|
+
return writer.getResultBuffer();
|
|
2871
|
+
};
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2876
|
+
* format), writing to the given BinaryWriter.
|
|
2877
|
+
* @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest} message
|
|
2878
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2879
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2880
|
+
*/
|
|
2881
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2882
|
+
var f = undefined;
|
|
2883
|
+
f = message.getClientId();
|
|
2884
|
+
if (f.length > 0) {
|
|
2885
|
+
writer.writeString(
|
|
2886
|
+
1,
|
|
2887
|
+
f
|
|
2888
|
+
);
|
|
2889
|
+
}
|
|
2890
|
+
};
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
/**
|
|
2894
|
+
* optional string client_id = 1;
|
|
2895
|
+
* @return {string}
|
|
2896
|
+
*/
|
|
2897
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.getClientId = function() {
|
|
2898
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2899
|
+
};
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
/**
|
|
2903
|
+
* @param {string} value
|
|
2904
|
+
* @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest} returns this
|
|
2905
|
+
*/
|
|
2906
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdRequest.prototype.setClientId = function(value) {
|
|
2907
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2908
|
+
};
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
|
|
2914
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2915
|
+
/**
|
|
2916
|
+
* Creates an object representation of this proto.
|
|
2917
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2918
|
+
* Optional fields that are not set will be set to undefined.
|
|
2919
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2920
|
+
* For the list of reserved names please see:
|
|
2921
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2922
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2923
|
+
* JSPB instance for transitional soy proto support:
|
|
2924
|
+
* http://goto/soy-param-migration
|
|
2925
|
+
* @return {!Object}
|
|
2926
|
+
*/
|
|
2927
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2928
|
+
return proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.toObject(opt_includeInstance, this);
|
|
2929
|
+
};
|
|
2930
|
+
|
|
2931
|
+
|
|
2932
|
+
/**
|
|
2933
|
+
* Static version of the {@see toObject} method.
|
|
2934
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2935
|
+
* the JSPB instance for transitional soy proto support:
|
|
2936
|
+
* http://goto/soy-param-migration
|
|
2937
|
+
* @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse} msg The msg instance to transform.
|
|
2938
|
+
* @return {!Object}
|
|
2939
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2940
|
+
*/
|
|
2941
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.toObject = function(includeInstance, msg) {
|
|
2942
|
+
var f, obj = {
|
|
2943
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
2944
|
+
};
|
|
2945
|
+
|
|
2946
|
+
if (includeInstance) {
|
|
2947
|
+
obj.$jspbMessageInstance = msg;
|
|
2948
|
+
}
|
|
2949
|
+
return obj;
|
|
2950
|
+
};
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
/**
|
|
2955
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2956
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2957
|
+
* @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse}
|
|
2958
|
+
*/
|
|
2959
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.deserializeBinary = function(bytes) {
|
|
2960
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2961
|
+
var msg = new proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse;
|
|
2962
|
+
return proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
2963
|
+
};
|
|
2964
|
+
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2968
|
+
* given reader into the given message object.
|
|
2969
|
+
* @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse} msg The message object to deserialize into.
|
|
2970
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2971
|
+
* @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse}
|
|
2972
|
+
*/
|
|
2973
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2974
|
+
while (reader.nextField()) {
|
|
2975
|
+
if (reader.isEndGroup()) {
|
|
2976
|
+
break;
|
|
2977
|
+
}
|
|
2978
|
+
var field = reader.getFieldNumber();
|
|
2979
|
+
switch (field) {
|
|
2980
|
+
case 1:
|
|
2981
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2982
|
+
msg.setSuccess(value);
|
|
2983
|
+
break;
|
|
2984
|
+
default:
|
|
2985
|
+
reader.skipField();
|
|
2986
|
+
break;
|
|
2987
|
+
}
|
|
2988
|
+
}
|
|
2989
|
+
return msg;
|
|
2990
|
+
};
|
|
2991
|
+
|
|
2992
|
+
|
|
2993
|
+
/**
|
|
2994
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2995
|
+
* @return {!Uint8Array}
|
|
2996
|
+
*/
|
|
2997
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.prototype.serializeBinary = function() {
|
|
2998
|
+
var writer = new jspb.BinaryWriter();
|
|
2999
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
|
|
3000
|
+
return writer.getResultBuffer();
|
|
3001
|
+
};
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
/**
|
|
3005
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3006
|
+
* format), writing to the given BinaryWriter.
|
|
3007
|
+
* @param {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse} message
|
|
3008
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3009
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3010
|
+
*/
|
|
3011
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3012
|
+
var f = undefined;
|
|
3013
|
+
f = message.getSuccess();
|
|
3014
|
+
if (f) {
|
|
3015
|
+
writer.writeBool(
|
|
3016
|
+
1,
|
|
3017
|
+
f
|
|
3018
|
+
);
|
|
3019
|
+
}
|
|
3020
|
+
};
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
/**
|
|
3024
|
+
* optional bool success = 1;
|
|
3025
|
+
* @return {boolean}
|
|
3026
|
+
*/
|
|
3027
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.prototype.getSuccess = function() {
|
|
3028
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
3029
|
+
};
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
/**
|
|
3033
|
+
* @param {boolean} value
|
|
3034
|
+
* @return {!proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse} returns this
|
|
3035
|
+
*/
|
|
3036
|
+
proto.lansweeper.multitenant.v1.DeleteInstallByClientIdResponse.prototype.setSuccess = function(value) {
|
|
3037
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
3038
|
+
};
|
|
3039
|
+
|
|
3040
|
+
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
|
|
3044
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3045
|
+
/**
|
|
3046
|
+
* Creates an object representation of this proto.
|
|
3047
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3048
|
+
* Optional fields that are not set will be set to undefined.
|
|
3049
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3050
|
+
* For the list of reserved names please see:
|
|
3051
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3052
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3053
|
+
* JSPB instance for transitional soy proto support:
|
|
3054
|
+
* http://goto/soy-param-migration
|
|
3055
|
+
* @return {!Object}
|
|
3056
|
+
*/
|
|
3057
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3058
|
+
return proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.toObject(opt_includeInstance, this);
|
|
3059
|
+
};
|
|
3060
|
+
|
|
3061
|
+
|
|
3062
|
+
/**
|
|
3063
|
+
* Static version of the {@see toObject} method.
|
|
3064
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3065
|
+
* the JSPB instance for transitional soy proto support:
|
|
3066
|
+
* http://goto/soy-param-migration
|
|
3067
|
+
* @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} msg The msg instance to transform.
|
|
3068
|
+
* @return {!Object}
|
|
3069
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3070
|
+
*/
|
|
3071
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.toObject = function(includeInstance, msg) {
|
|
3072
|
+
var f, obj = {
|
|
3073
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3074
|
+
trackId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3075
|
+
};
|
|
3076
|
+
|
|
3077
|
+
if (includeInstance) {
|
|
3078
|
+
obj.$jspbMessageInstance = msg;
|
|
3079
|
+
}
|
|
3080
|
+
return obj;
|
|
3081
|
+
};
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
|
|
3085
|
+
/**
|
|
3086
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3087
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3088
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest}
|
|
3089
|
+
*/
|
|
3090
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.deserializeBinary = function(bytes) {
|
|
3091
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3092
|
+
var msg = new proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest;
|
|
3093
|
+
return proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
3094
|
+
};
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
/**
|
|
3098
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3099
|
+
* given reader into the given message object.
|
|
3100
|
+
* @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} msg The message object to deserialize into.
|
|
3101
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3102
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest}
|
|
3103
|
+
*/
|
|
3104
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3105
|
+
while (reader.nextField()) {
|
|
3106
|
+
if (reader.isEndGroup()) {
|
|
3107
|
+
break;
|
|
3108
|
+
}
|
|
3109
|
+
var field = reader.getFieldNumber();
|
|
3110
|
+
switch (field) {
|
|
3111
|
+
case 1:
|
|
3112
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3113
|
+
msg.setClientId(value);
|
|
3114
|
+
break;
|
|
3115
|
+
case 2:
|
|
3116
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3117
|
+
msg.setTrackId(value);
|
|
3118
|
+
break;
|
|
3119
|
+
default:
|
|
3120
|
+
reader.skipField();
|
|
3121
|
+
break;
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
return msg;
|
|
3125
|
+
};
|
|
3126
|
+
|
|
3127
|
+
|
|
3128
|
+
/**
|
|
3129
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3130
|
+
* @return {!Uint8Array}
|
|
3131
|
+
*/
|
|
3132
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.serializeBinary = function() {
|
|
3133
|
+
var writer = new jspb.BinaryWriter();
|
|
3134
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
|
|
3135
|
+
return writer.getResultBuffer();
|
|
3136
|
+
};
|
|
3137
|
+
|
|
3138
|
+
|
|
3139
|
+
/**
|
|
3140
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3141
|
+
* format), writing to the given BinaryWriter.
|
|
3142
|
+
* @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} message
|
|
3143
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3144
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3145
|
+
*/
|
|
3146
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3147
|
+
var f = undefined;
|
|
3148
|
+
f = message.getClientId();
|
|
3149
|
+
if (f.length > 0) {
|
|
3150
|
+
writer.writeString(
|
|
3151
|
+
1,
|
|
3152
|
+
f
|
|
3153
|
+
);
|
|
3154
|
+
}
|
|
3155
|
+
f = message.getTrackId();
|
|
3156
|
+
if (f.length > 0) {
|
|
3157
|
+
writer.writeString(
|
|
3158
|
+
2,
|
|
3159
|
+
f
|
|
3160
|
+
);
|
|
3161
|
+
}
|
|
3162
|
+
};
|
|
3163
|
+
|
|
3164
|
+
|
|
3165
|
+
/**
|
|
3166
|
+
* optional string client_id = 1;
|
|
3167
|
+
* @return {string}
|
|
3168
|
+
*/
|
|
3169
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.getClientId = function() {
|
|
3170
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3171
|
+
};
|
|
3172
|
+
|
|
3173
|
+
|
|
3174
|
+
/**
|
|
3175
|
+
* @param {string} value
|
|
3176
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} returns this
|
|
3177
|
+
*/
|
|
3178
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.setClientId = function(value) {
|
|
3179
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3180
|
+
};
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
/**
|
|
3184
|
+
* optional string track_id = 2;
|
|
3185
|
+
* @return {string}
|
|
3186
|
+
*/
|
|
3187
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.getTrackId = function() {
|
|
3188
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3189
|
+
};
|
|
3190
|
+
|
|
3191
|
+
|
|
3192
|
+
/**
|
|
3193
|
+
* @param {string} value
|
|
3194
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest} returns this
|
|
3195
|
+
*/
|
|
3196
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest.prototype.setTrackId = function(value) {
|
|
3197
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3198
|
+
};
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
|
|
3202
|
+
|
|
3203
|
+
|
|
3204
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3205
|
+
/**
|
|
3206
|
+
* Creates an object representation of this proto.
|
|
3207
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3208
|
+
* Optional fields that are not set will be set to undefined.
|
|
3209
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3210
|
+
* For the list of reserved names please see:
|
|
3211
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3212
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3213
|
+
* JSPB instance for transitional soy proto support:
|
|
3214
|
+
* http://goto/soy-param-migration
|
|
3215
|
+
* @return {!Object}
|
|
3216
|
+
*/
|
|
3217
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3218
|
+
return proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.toObject(opt_includeInstance, this);
|
|
3219
|
+
};
|
|
3220
|
+
|
|
3221
|
+
|
|
3222
|
+
/**
|
|
3223
|
+
* Static version of the {@see toObject} method.
|
|
3224
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3225
|
+
* the JSPB instance for transitional soy proto support:
|
|
3226
|
+
* http://goto/soy-param-migration
|
|
3227
|
+
* @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} msg The msg instance to transform.
|
|
3228
|
+
* @return {!Object}
|
|
3229
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3230
|
+
*/
|
|
3231
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.toObject = function(includeInstance, msg) {
|
|
3232
|
+
var f, obj = {
|
|
3233
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
3234
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3235
|
+
oldInstallId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3236
|
+
newInstallId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3237
|
+
credentials: (f = msg.getCredentials()) && proto.lansweeper.multitenant.v1.InstallCredentials.toObject(includeInstance, f)
|
|
3238
|
+
};
|
|
3239
|
+
|
|
3240
|
+
if (includeInstance) {
|
|
3241
|
+
obj.$jspbMessageInstance = msg;
|
|
3242
|
+
}
|
|
3243
|
+
return obj;
|
|
3244
|
+
};
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3250
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3251
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse}
|
|
3252
|
+
*/
|
|
3253
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.deserializeBinary = function(bytes) {
|
|
3254
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3255
|
+
var msg = new proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse;
|
|
3256
|
+
return proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
3257
|
+
};
|
|
3258
|
+
|
|
3259
|
+
|
|
3260
|
+
/**
|
|
3261
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3262
|
+
* given reader into the given message object.
|
|
3263
|
+
* @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} msg The message object to deserialize into.
|
|
3264
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3265
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse}
|
|
3266
|
+
*/
|
|
3267
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3268
|
+
while (reader.nextField()) {
|
|
3269
|
+
if (reader.isEndGroup()) {
|
|
3270
|
+
break;
|
|
3271
|
+
}
|
|
3272
|
+
var field = reader.getFieldNumber();
|
|
3273
|
+
switch (field) {
|
|
3274
|
+
case 1:
|
|
3275
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3276
|
+
msg.setSuccess(value);
|
|
3277
|
+
break;
|
|
3278
|
+
case 2:
|
|
3279
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3280
|
+
msg.setSiteId(value);
|
|
3281
|
+
break;
|
|
3282
|
+
case 3:
|
|
3283
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3284
|
+
msg.setOldInstallId(value);
|
|
3285
|
+
break;
|
|
3286
|
+
case 4:
|
|
3287
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3288
|
+
msg.setNewInstallId(value);
|
|
3289
|
+
break;
|
|
3290
|
+
case 5:
|
|
3291
|
+
var value = new proto.lansweeper.multitenant.v1.InstallCredentials;
|
|
3292
|
+
reader.readMessage(value,proto.lansweeper.multitenant.v1.InstallCredentials.deserializeBinaryFromReader);
|
|
3293
|
+
msg.setCredentials(value);
|
|
3294
|
+
break;
|
|
3295
|
+
default:
|
|
3296
|
+
reader.skipField();
|
|
3297
|
+
break;
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
return msg;
|
|
3301
|
+
};
|
|
3302
|
+
|
|
3303
|
+
|
|
3304
|
+
/**
|
|
3305
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3306
|
+
* @return {!Uint8Array}
|
|
3307
|
+
*/
|
|
3308
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.serializeBinary = function() {
|
|
3309
|
+
var writer = new jspb.BinaryWriter();
|
|
3310
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
|
|
3311
|
+
return writer.getResultBuffer();
|
|
3312
|
+
};
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
/**
|
|
3316
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3317
|
+
* format), writing to the given BinaryWriter.
|
|
3318
|
+
* @param {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} message
|
|
3319
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3320
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3321
|
+
*/
|
|
3322
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3323
|
+
var f = undefined;
|
|
3324
|
+
f = message.getSuccess();
|
|
3325
|
+
if (f) {
|
|
3326
|
+
writer.writeBool(
|
|
3327
|
+
1,
|
|
3328
|
+
f
|
|
3329
|
+
);
|
|
3330
|
+
}
|
|
3331
|
+
f = message.getSiteId();
|
|
3332
|
+
if (f.length > 0) {
|
|
3333
|
+
writer.writeString(
|
|
3334
|
+
2,
|
|
3335
|
+
f
|
|
3336
|
+
);
|
|
3337
|
+
}
|
|
3338
|
+
f = message.getOldInstallId();
|
|
3339
|
+
if (f.length > 0) {
|
|
3340
|
+
writer.writeString(
|
|
3341
|
+
3,
|
|
3342
|
+
f
|
|
3343
|
+
);
|
|
3344
|
+
}
|
|
3345
|
+
f = message.getNewInstallId();
|
|
3346
|
+
if (f.length > 0) {
|
|
3347
|
+
writer.writeString(
|
|
3348
|
+
4,
|
|
3349
|
+
f
|
|
3350
|
+
);
|
|
3351
|
+
}
|
|
3352
|
+
f = message.getCredentials();
|
|
3353
|
+
if (f != null) {
|
|
3354
|
+
writer.writeMessage(
|
|
3355
|
+
5,
|
|
3356
|
+
f,
|
|
3357
|
+
proto.lansweeper.multitenant.v1.InstallCredentials.serializeBinaryToWriter
|
|
3358
|
+
);
|
|
3359
|
+
}
|
|
3360
|
+
};
|
|
3361
|
+
|
|
3362
|
+
|
|
3363
|
+
/**
|
|
3364
|
+
* optional bool success = 1;
|
|
3365
|
+
* @return {boolean}
|
|
3366
|
+
*/
|
|
3367
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getSuccess = function() {
|
|
3368
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
3369
|
+
};
|
|
3370
|
+
|
|
3371
|
+
|
|
3372
|
+
/**
|
|
3373
|
+
* @param {boolean} value
|
|
3374
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
|
|
3375
|
+
*/
|
|
3376
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setSuccess = function(value) {
|
|
3377
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
3378
|
+
};
|
|
3379
|
+
|
|
3380
|
+
|
|
3381
|
+
/**
|
|
3382
|
+
* optional string site_id = 2;
|
|
3383
|
+
* @return {string}
|
|
3384
|
+
*/
|
|
3385
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getSiteId = function() {
|
|
3386
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3387
|
+
};
|
|
3388
|
+
|
|
3389
|
+
|
|
3390
|
+
/**
|
|
3391
|
+
* @param {string} value
|
|
3392
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
|
|
3393
|
+
*/
|
|
3394
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setSiteId = function(value) {
|
|
3395
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3396
|
+
};
|
|
3397
|
+
|
|
3398
|
+
|
|
3399
|
+
/**
|
|
3400
|
+
* optional string old_install_id = 3;
|
|
3401
|
+
* @return {string}
|
|
3402
|
+
*/
|
|
3403
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getOldInstallId = function() {
|
|
3404
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3405
|
+
};
|
|
3406
|
+
|
|
3407
|
+
|
|
3408
|
+
/**
|
|
3409
|
+
* @param {string} value
|
|
3410
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
|
|
3411
|
+
*/
|
|
3412
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setOldInstallId = function(value) {
|
|
3413
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3414
|
+
};
|
|
3415
|
+
|
|
3416
|
+
|
|
3417
|
+
/**
|
|
3418
|
+
* optional string new_install_id = 4;
|
|
3419
|
+
* @return {string}
|
|
3420
|
+
*/
|
|
3421
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getNewInstallId = function() {
|
|
3422
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3423
|
+
};
|
|
3424
|
+
|
|
3425
|
+
|
|
3426
|
+
/**
|
|
3427
|
+
* @param {string} value
|
|
3428
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
|
|
3429
|
+
*/
|
|
3430
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setNewInstallId = function(value) {
|
|
3431
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3432
|
+
};
|
|
3433
|
+
|
|
3434
|
+
|
|
3435
|
+
/**
|
|
3436
|
+
* optional InstallCredentials credentials = 5;
|
|
3437
|
+
* @return {?proto.lansweeper.multitenant.v1.InstallCredentials}
|
|
3438
|
+
*/
|
|
3439
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.getCredentials = function() {
|
|
3440
|
+
return /** @type{?proto.lansweeper.multitenant.v1.InstallCredentials} */ (
|
|
3441
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.InstallCredentials, 5));
|
|
3442
|
+
};
|
|
3443
|
+
|
|
3444
|
+
|
|
3445
|
+
/**
|
|
3446
|
+
* @param {?proto.lansweeper.multitenant.v1.InstallCredentials|undefined} value
|
|
3447
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
|
|
3448
|
+
*/
|
|
3449
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.setCredentials = function(value) {
|
|
3450
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
3451
|
+
};
|
|
3452
|
+
|
|
3453
|
+
|
|
3454
|
+
/**
|
|
3455
|
+
* Clears the message field making it undefined.
|
|
3456
|
+
* @return {!proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse} returns this
|
|
3457
|
+
*/
|
|
3458
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.clearCredentials = function() {
|
|
3459
|
+
return this.setCredentials(undefined);
|
|
3460
|
+
};
|
|
3461
|
+
|
|
3462
|
+
|
|
3463
|
+
/**
|
|
3464
|
+
* Returns whether this field is set.
|
|
3465
|
+
* @return {boolean}
|
|
3466
|
+
*/
|
|
3467
|
+
proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse.prototype.hasCredentials = function() {
|
|
3468
|
+
return jspb.Message.getField(this, 5) != null;
|
|
3469
|
+
};
|
|
3470
|
+
|
|
3471
|
+
|
|
3472
|
+
|
|
3473
|
+
|
|
3474
|
+
|
|
3475
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3476
|
+
/**
|
|
3477
|
+
* Creates an object representation of this proto.
|
|
3478
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3479
|
+
* Optional fields that are not set will be set to undefined.
|
|
3480
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3481
|
+
* For the list of reserved names please see:
|
|
3482
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3483
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3484
|
+
* JSPB instance for transitional soy proto support:
|
|
3485
|
+
* http://goto/soy-param-migration
|
|
3486
|
+
* @return {!Object}
|
|
3487
|
+
*/
|
|
3488
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3489
|
+
return proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.toObject(opt_includeInstance, this);
|
|
3490
|
+
};
|
|
3491
|
+
|
|
3492
|
+
|
|
3493
|
+
/**
|
|
3494
|
+
* Static version of the {@see toObject} method.
|
|
3495
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3496
|
+
* the JSPB instance for transitional soy proto support:
|
|
3497
|
+
* http://goto/soy-param-migration
|
|
3498
|
+
* @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} msg The msg instance to transform.
|
|
3499
|
+
* @return {!Object}
|
|
3500
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3501
|
+
*/
|
|
3502
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.toObject = function(includeInstance, msg) {
|
|
3503
|
+
var f, obj = {
|
|
3504
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3505
|
+
trackId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3506
|
+
};
|
|
3507
|
+
|
|
3508
|
+
if (includeInstance) {
|
|
3509
|
+
obj.$jspbMessageInstance = msg;
|
|
3510
|
+
}
|
|
3511
|
+
return obj;
|
|
3512
|
+
};
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3515
|
+
|
|
3516
|
+
/**
|
|
3517
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3518
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3519
|
+
* @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest}
|
|
3520
|
+
*/
|
|
3521
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.deserializeBinary = function(bytes) {
|
|
3522
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3523
|
+
var msg = new proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest;
|
|
3524
|
+
return proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
3525
|
+
};
|
|
3526
|
+
|
|
3527
|
+
|
|
3528
|
+
/**
|
|
3529
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3530
|
+
* given reader into the given message object.
|
|
3531
|
+
* @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} msg The message object to deserialize into.
|
|
3532
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3533
|
+
* @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest}
|
|
3534
|
+
*/
|
|
3535
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3536
|
+
while (reader.nextField()) {
|
|
3537
|
+
if (reader.isEndGroup()) {
|
|
3538
|
+
break;
|
|
3539
|
+
}
|
|
3540
|
+
var field = reader.getFieldNumber();
|
|
3541
|
+
switch (field) {
|
|
3542
|
+
case 1:
|
|
3543
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3544
|
+
msg.setClientId(value);
|
|
3545
|
+
break;
|
|
3546
|
+
case 2:
|
|
3547
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3548
|
+
msg.setTrackId(value);
|
|
3549
|
+
break;
|
|
3550
|
+
default:
|
|
3551
|
+
reader.skipField();
|
|
3552
|
+
break;
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
return msg;
|
|
3556
|
+
};
|
|
3557
|
+
|
|
3558
|
+
|
|
3559
|
+
/**
|
|
3560
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3561
|
+
* @return {!Uint8Array}
|
|
3562
|
+
*/
|
|
3563
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.serializeBinary = function() {
|
|
3564
|
+
var writer = new jspb.BinaryWriter();
|
|
3565
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
|
|
3566
|
+
return writer.getResultBuffer();
|
|
3567
|
+
};
|
|
3568
|
+
|
|
3569
|
+
|
|
3570
|
+
/**
|
|
3571
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3572
|
+
* format), writing to the given BinaryWriter.
|
|
3573
|
+
* @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} message
|
|
3574
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3575
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3576
|
+
*/
|
|
3577
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3578
|
+
var f = undefined;
|
|
3579
|
+
f = message.getClientId();
|
|
3580
|
+
if (f.length > 0) {
|
|
3581
|
+
writer.writeString(
|
|
3582
|
+
1,
|
|
3583
|
+
f
|
|
3584
|
+
);
|
|
3585
|
+
}
|
|
3586
|
+
f = message.getTrackId();
|
|
3587
|
+
if (f.length > 0) {
|
|
3588
|
+
writer.writeString(
|
|
3589
|
+
2,
|
|
3590
|
+
f
|
|
3591
|
+
);
|
|
3592
|
+
}
|
|
3593
|
+
};
|
|
3594
|
+
|
|
3595
|
+
|
|
3596
|
+
/**
|
|
3597
|
+
* optional string client_id = 1;
|
|
3598
|
+
* @return {string}
|
|
3599
|
+
*/
|
|
3600
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.getClientId = function() {
|
|
3601
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3602
|
+
};
|
|
3603
|
+
|
|
3604
|
+
|
|
3605
|
+
/**
|
|
3606
|
+
* @param {string} value
|
|
3607
|
+
* @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} returns this
|
|
3608
|
+
*/
|
|
3609
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.setClientId = function(value) {
|
|
3610
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3611
|
+
};
|
|
3612
|
+
|
|
3613
|
+
|
|
3614
|
+
/**
|
|
3615
|
+
* optional string track_id = 2;
|
|
3616
|
+
* @return {string}
|
|
3617
|
+
*/
|
|
3618
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.getTrackId = function() {
|
|
3619
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3620
|
+
};
|
|
3621
|
+
|
|
3622
|
+
|
|
3623
|
+
/**
|
|
3624
|
+
* @param {string} value
|
|
3625
|
+
* @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest} returns this
|
|
3626
|
+
*/
|
|
3627
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdRequest.prototype.setTrackId = function(value) {
|
|
3628
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3629
|
+
};
|
|
3630
|
+
|
|
3631
|
+
|
|
3632
|
+
|
|
3633
|
+
|
|
3634
|
+
|
|
3635
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3636
|
+
/**
|
|
3637
|
+
* Creates an object representation of this proto.
|
|
3638
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3639
|
+
* Optional fields that are not set will be set to undefined.
|
|
3640
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3641
|
+
* For the list of reserved names please see:
|
|
3642
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3643
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3644
|
+
* JSPB instance for transitional soy proto support:
|
|
3645
|
+
* http://goto/soy-param-migration
|
|
3646
|
+
* @return {!Object}
|
|
3647
|
+
*/
|
|
3648
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3649
|
+
return proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.toObject(opt_includeInstance, this);
|
|
3650
|
+
};
|
|
3651
|
+
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* Static version of the {@see toObject} method.
|
|
3655
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3656
|
+
* the JSPB instance for transitional soy proto support:
|
|
3657
|
+
* http://goto/soy-param-migration
|
|
3658
|
+
* @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse} msg The msg instance to transform.
|
|
3659
|
+
* @return {!Object}
|
|
3660
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3661
|
+
*/
|
|
3662
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.toObject = function(includeInstance, msg) {
|
|
3663
|
+
var f, obj = {
|
|
3664
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
3665
|
+
};
|
|
3666
|
+
|
|
3667
|
+
if (includeInstance) {
|
|
3668
|
+
obj.$jspbMessageInstance = msg;
|
|
3669
|
+
}
|
|
3670
|
+
return obj;
|
|
3671
|
+
};
|
|
3672
|
+
}
|
|
3673
|
+
|
|
3674
|
+
|
|
3675
|
+
/**
|
|
3676
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3677
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3678
|
+
* @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse}
|
|
3679
|
+
*/
|
|
3680
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.deserializeBinary = function(bytes) {
|
|
3681
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3682
|
+
var msg = new proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse;
|
|
3683
|
+
return proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
3684
|
+
};
|
|
3685
|
+
|
|
3686
|
+
|
|
3687
|
+
/**
|
|
3688
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3689
|
+
* given reader into the given message object.
|
|
3690
|
+
* @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse} msg The message object to deserialize into.
|
|
3691
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3692
|
+
* @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse}
|
|
3693
|
+
*/
|
|
3694
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3695
|
+
while (reader.nextField()) {
|
|
3696
|
+
if (reader.isEndGroup()) {
|
|
3697
|
+
break;
|
|
3698
|
+
}
|
|
3699
|
+
var field = reader.getFieldNumber();
|
|
3700
|
+
switch (field) {
|
|
3701
|
+
case 1:
|
|
3702
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3703
|
+
msg.setSuccess(value);
|
|
3704
|
+
break;
|
|
3705
|
+
default:
|
|
3706
|
+
reader.skipField();
|
|
3707
|
+
break;
|
|
3708
|
+
}
|
|
3709
|
+
}
|
|
3710
|
+
return msg;
|
|
3711
|
+
};
|
|
3712
|
+
|
|
3713
|
+
|
|
3714
|
+
/**
|
|
3715
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3716
|
+
* @return {!Uint8Array}
|
|
3717
|
+
*/
|
|
3718
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.prototype.serializeBinary = function() {
|
|
3719
|
+
var writer = new jspb.BinaryWriter();
|
|
3720
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
|
|
3721
|
+
return writer.getResultBuffer();
|
|
3722
|
+
};
|
|
3723
|
+
|
|
3724
|
+
|
|
3725
|
+
/**
|
|
3726
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3727
|
+
* format), writing to the given BinaryWriter.
|
|
3728
|
+
* @param {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse} message
|
|
3729
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3730
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3731
|
+
*/
|
|
3732
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3733
|
+
var f = undefined;
|
|
3734
|
+
f = message.getSuccess();
|
|
3735
|
+
if (f) {
|
|
3736
|
+
writer.writeBool(
|
|
3737
|
+
1,
|
|
3738
|
+
f
|
|
3739
|
+
);
|
|
3740
|
+
}
|
|
3741
|
+
};
|
|
3742
|
+
|
|
3743
|
+
|
|
3744
|
+
/**
|
|
3745
|
+
* optional bool success = 1;
|
|
3746
|
+
* @return {boolean}
|
|
3747
|
+
*/
|
|
3748
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.prototype.getSuccess = function() {
|
|
3749
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
3750
|
+
};
|
|
3751
|
+
|
|
3752
|
+
|
|
3753
|
+
/**
|
|
3754
|
+
* @param {boolean} value
|
|
3755
|
+
* @return {!proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse} returns this
|
|
3756
|
+
*/
|
|
3757
|
+
proto.lansweeper.multitenant.v1.ResetInstallByClientIdResponse.prototype.setSuccess = function(value) {
|
|
3758
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
3759
|
+
};
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
|
|
3764
|
+
|
|
3765
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3766
|
+
/**
|
|
3767
|
+
* Creates an object representation of this proto.
|
|
3768
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3769
|
+
* Optional fields that are not set will be set to undefined.
|
|
3770
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3771
|
+
* For the list of reserved names please see:
|
|
3772
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3773
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3774
|
+
* JSPB instance for transitional soy proto support:
|
|
3775
|
+
* http://goto/soy-param-migration
|
|
3776
|
+
* @return {!Object}
|
|
3777
|
+
*/
|
|
3778
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3779
|
+
return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.toObject(opt_includeInstance, this);
|
|
3780
|
+
};
|
|
3781
|
+
|
|
3782
|
+
|
|
3783
|
+
/**
|
|
3784
|
+
* Static version of the {@see toObject} method.
|
|
3785
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3786
|
+
* the JSPB instance for transitional soy proto support:
|
|
3787
|
+
* http://goto/soy-param-migration
|
|
3788
|
+
* @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} msg The msg instance to transform.
|
|
3789
|
+
* @return {!Object}
|
|
3790
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3791
|
+
*/
|
|
3792
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.toObject = function(includeInstance, msg) {
|
|
3793
|
+
var f, obj = {
|
|
3794
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3795
|
+
trackId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3796
|
+
removeData: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
3797
|
+
fromOnprem: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
3798
|
+
};
|
|
3799
|
+
|
|
3800
|
+
if (includeInstance) {
|
|
3801
|
+
obj.$jspbMessageInstance = msg;
|
|
3802
|
+
}
|
|
3803
|
+
return obj;
|
|
3804
|
+
};
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3810
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3811
|
+
* @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest}
|
|
3812
|
+
*/
|
|
3813
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.deserializeBinary = function(bytes) {
|
|
3814
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3815
|
+
var msg = new proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest;
|
|
3816
|
+
return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
3817
|
+
};
|
|
3818
|
+
|
|
3819
|
+
|
|
3820
|
+
/**
|
|
3821
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3822
|
+
* given reader into the given message object.
|
|
3823
|
+
* @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} msg The message object to deserialize into.
|
|
3824
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3825
|
+
* @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest}
|
|
3826
|
+
*/
|
|
3827
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3828
|
+
while (reader.nextField()) {
|
|
3829
|
+
if (reader.isEndGroup()) {
|
|
3830
|
+
break;
|
|
3831
|
+
}
|
|
3832
|
+
var field = reader.getFieldNumber();
|
|
3833
|
+
switch (field) {
|
|
3834
|
+
case 1:
|
|
3835
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3836
|
+
msg.setClientId(value);
|
|
3837
|
+
break;
|
|
3838
|
+
case 2:
|
|
3839
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3840
|
+
msg.setTrackId(value);
|
|
3841
|
+
break;
|
|
3842
|
+
case 3:
|
|
3843
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3844
|
+
msg.setRemoveData(value);
|
|
3845
|
+
break;
|
|
3846
|
+
case 4:
|
|
3847
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3848
|
+
msg.setFromOnprem(value);
|
|
3849
|
+
break;
|
|
3850
|
+
default:
|
|
3851
|
+
reader.skipField();
|
|
3852
|
+
break;
|
|
3853
|
+
}
|
|
3854
|
+
}
|
|
3855
|
+
return msg;
|
|
3856
|
+
};
|
|
3857
|
+
|
|
3858
|
+
|
|
3859
|
+
/**
|
|
3860
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3861
|
+
* @return {!Uint8Array}
|
|
3862
|
+
*/
|
|
3863
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.serializeBinary = function() {
|
|
3864
|
+
var writer = new jspb.BinaryWriter();
|
|
3865
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.serializeBinaryToWriter(this, writer);
|
|
3866
|
+
return writer.getResultBuffer();
|
|
3867
|
+
};
|
|
3868
|
+
|
|
3869
|
+
|
|
3870
|
+
/**
|
|
3871
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3872
|
+
* format), writing to the given BinaryWriter.
|
|
3873
|
+
* @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} message
|
|
3874
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3875
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3876
|
+
*/
|
|
3877
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3878
|
+
var f = undefined;
|
|
3879
|
+
f = message.getClientId();
|
|
3880
|
+
if (f.length > 0) {
|
|
3881
|
+
writer.writeString(
|
|
3882
|
+
1,
|
|
3883
|
+
f
|
|
3884
|
+
);
|
|
3885
|
+
}
|
|
3886
|
+
f = message.getTrackId();
|
|
3887
|
+
if (f.length > 0) {
|
|
3888
|
+
writer.writeString(
|
|
3889
|
+
2,
|
|
3890
|
+
f
|
|
3891
|
+
);
|
|
3892
|
+
}
|
|
3893
|
+
f = message.getRemoveData();
|
|
3894
|
+
if (f) {
|
|
3895
|
+
writer.writeBool(
|
|
3896
|
+
3,
|
|
3897
|
+
f
|
|
3898
|
+
);
|
|
3899
|
+
}
|
|
3900
|
+
f = message.getFromOnprem();
|
|
3901
|
+
if (f) {
|
|
3902
|
+
writer.writeBool(
|
|
3903
|
+
4,
|
|
3904
|
+
f
|
|
3905
|
+
);
|
|
3906
|
+
}
|
|
3907
|
+
};
|
|
3908
|
+
|
|
3909
|
+
|
|
3910
|
+
/**
|
|
3911
|
+
* optional string client_id = 1;
|
|
3912
|
+
* @return {string}
|
|
3913
|
+
*/
|
|
3914
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getClientId = function() {
|
|
3915
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3916
|
+
};
|
|
3917
|
+
|
|
3918
|
+
|
|
3919
|
+
/**
|
|
3920
|
+
* @param {string} value
|
|
3921
|
+
* @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
|
|
3922
|
+
*/
|
|
3923
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setClientId = function(value) {
|
|
3924
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3925
|
+
};
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
/**
|
|
3929
|
+
* optional string track_id = 2;
|
|
3930
|
+
* @return {string}
|
|
3931
|
+
*/
|
|
3932
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getTrackId = function() {
|
|
3933
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3934
|
+
};
|
|
3935
|
+
|
|
3936
|
+
|
|
3937
|
+
/**
|
|
3938
|
+
* @param {string} value
|
|
3939
|
+
* @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
|
|
3940
|
+
*/
|
|
3941
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setTrackId = function(value) {
|
|
3942
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3943
|
+
};
|
|
3944
|
+
|
|
3945
|
+
|
|
3946
|
+
/**
|
|
3947
|
+
* optional bool remove_data = 3;
|
|
3948
|
+
* @return {boolean}
|
|
3949
|
+
*/
|
|
3950
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getRemoveData = function() {
|
|
3951
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
3952
|
+
};
|
|
3953
|
+
|
|
3954
|
+
|
|
3955
|
+
/**
|
|
3956
|
+
* @param {boolean} value
|
|
3957
|
+
* @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
|
|
3958
|
+
*/
|
|
3959
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setRemoveData = function(value) {
|
|
3960
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
3961
|
+
};
|
|
3962
|
+
|
|
3963
|
+
|
|
3964
|
+
/**
|
|
3965
|
+
* optional bool from_onprem = 4;
|
|
3966
|
+
* @return {boolean}
|
|
3967
|
+
*/
|
|
3968
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.getFromOnprem = function() {
|
|
3969
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
3970
|
+
};
|
|
3971
|
+
|
|
3972
|
+
|
|
3973
|
+
/**
|
|
3974
|
+
* @param {boolean} value
|
|
3975
|
+
* @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest} returns this
|
|
3976
|
+
*/
|
|
3977
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest.prototype.setFromOnprem = function(value) {
|
|
3978
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
3979
|
+
};
|
|
3980
|
+
|
|
3981
|
+
|
|
3982
|
+
|
|
3983
|
+
|
|
3984
|
+
|
|
3985
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3986
|
+
/**
|
|
3987
|
+
* Creates an object representation of this proto.
|
|
3988
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3989
|
+
* Optional fields that are not set will be set to undefined.
|
|
3990
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3991
|
+
* For the list of reserved names please see:
|
|
3992
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3993
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3994
|
+
* JSPB instance for transitional soy proto support:
|
|
3995
|
+
* http://goto/soy-param-migration
|
|
3996
|
+
* @return {!Object}
|
|
3997
|
+
*/
|
|
3998
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3999
|
+
return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.toObject(opt_includeInstance, this);
|
|
4000
|
+
};
|
|
4001
|
+
|
|
4002
|
+
|
|
4003
|
+
/**
|
|
4004
|
+
* Static version of the {@see toObject} method.
|
|
4005
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4006
|
+
* the JSPB instance for transitional soy proto support:
|
|
4007
|
+
* http://goto/soy-param-migration
|
|
4008
|
+
* @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} msg The msg instance to transform.
|
|
4009
|
+
* @return {!Object}
|
|
4010
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4011
|
+
*/
|
|
4012
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.toObject = function(includeInstance, msg) {
|
|
4013
|
+
var f, obj = {
|
|
4014
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
4015
|
+
};
|
|
4016
|
+
|
|
4017
|
+
if (includeInstance) {
|
|
4018
|
+
obj.$jspbMessageInstance = msg;
|
|
4019
|
+
}
|
|
4020
|
+
return obj;
|
|
4021
|
+
};
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
|
|
4025
|
+
/**
|
|
4026
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4027
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4028
|
+
* @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse}
|
|
4029
|
+
*/
|
|
4030
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.deserializeBinary = function(bytes) {
|
|
4031
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4032
|
+
var msg = new proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse;
|
|
4033
|
+
return proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
4034
|
+
};
|
|
4035
|
+
|
|
4036
|
+
|
|
4037
|
+
/**
|
|
4038
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4039
|
+
* given reader into the given message object.
|
|
4040
|
+
* @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} msg The message object to deserialize into.
|
|
4041
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4042
|
+
* @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse}
|
|
4043
|
+
*/
|
|
4044
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4045
|
+
while (reader.nextField()) {
|
|
4046
|
+
if (reader.isEndGroup()) {
|
|
4047
|
+
break;
|
|
4048
|
+
}
|
|
4049
|
+
var field = reader.getFieldNumber();
|
|
4050
|
+
switch (field) {
|
|
4051
|
+
case 1:
|
|
4052
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4053
|
+
msg.setSuccess(value);
|
|
4054
|
+
break;
|
|
4055
|
+
default:
|
|
4056
|
+
reader.skipField();
|
|
4057
|
+
break;
|
|
4058
|
+
}
|
|
4059
|
+
}
|
|
4060
|
+
return msg;
|
|
4061
|
+
};
|
|
4062
|
+
|
|
4063
|
+
|
|
4064
|
+
/**
|
|
4065
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4066
|
+
* @return {!Uint8Array}
|
|
4067
|
+
*/
|
|
4068
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.serializeBinary = function() {
|
|
4069
|
+
var writer = new jspb.BinaryWriter();
|
|
4070
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.serializeBinaryToWriter(this, writer);
|
|
4071
|
+
return writer.getResultBuffer();
|
|
4072
|
+
};
|
|
4073
|
+
|
|
4074
|
+
|
|
4075
|
+
/**
|
|
4076
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4077
|
+
* format), writing to the given BinaryWriter.
|
|
4078
|
+
* @param {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} message
|
|
4079
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4080
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4081
|
+
*/
|
|
4082
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4083
|
+
var f = undefined;
|
|
4084
|
+
f = message.getSuccess();
|
|
4085
|
+
if (f) {
|
|
4086
|
+
writer.writeBool(
|
|
4087
|
+
1,
|
|
4088
|
+
f
|
|
4089
|
+
);
|
|
4090
|
+
}
|
|
4091
|
+
};
|
|
4092
|
+
|
|
4093
|
+
|
|
4094
|
+
/**
|
|
4095
|
+
* optional bool success = 1;
|
|
4096
|
+
* @return {boolean}
|
|
4097
|
+
*/
|
|
4098
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.getSuccess = function() {
|
|
4099
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
4100
|
+
};
|
|
4101
|
+
|
|
4102
|
+
|
|
4103
|
+
/**
|
|
4104
|
+
* @param {boolean} value
|
|
4105
|
+
* @return {!proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse} returns this
|
|
4106
|
+
*/
|
|
4107
|
+
proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.setSuccess = function(value) {
|
|
4108
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
4109
|
+
};
|
|
4110
|
+
|
|
4111
|
+
|
|
4112
|
+
|
|
4113
|
+
|
|
4114
|
+
|
|
4115
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4116
|
+
/**
|
|
4117
|
+
* Creates an object representation of this proto.
|
|
4118
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4119
|
+
* Optional fields that are not set will be set to undefined.
|
|
4120
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4121
|
+
* For the list of reserved names please see:
|
|
4122
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4123
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4124
|
+
* JSPB instance for transitional soy proto support:
|
|
4125
|
+
* http://goto/soy-param-migration
|
|
4126
|
+
* @return {!Object}
|
|
4127
|
+
*/
|
|
4128
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4129
|
+
return proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.toObject(opt_includeInstance, this);
|
|
4130
|
+
};
|
|
4131
|
+
|
|
4132
|
+
|
|
4133
|
+
/**
|
|
4134
|
+
* Static version of the {@see toObject} method.
|
|
4135
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4136
|
+
* the JSPB instance for transitional soy proto support:
|
|
4137
|
+
* http://goto/soy-param-migration
|
|
4138
|
+
* @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} msg The msg instance to transform.
|
|
4139
|
+
* @return {!Object}
|
|
4140
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4141
|
+
*/
|
|
4142
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.toObject = function(includeInstance, msg) {
|
|
4143
|
+
var f, obj = {
|
|
4144
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4145
|
+
trackId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4146
|
+
pushId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4147
|
+
};
|
|
4148
|
+
|
|
4149
|
+
if (includeInstance) {
|
|
4150
|
+
obj.$jspbMessageInstance = msg;
|
|
4151
|
+
}
|
|
4152
|
+
return obj;
|
|
4153
|
+
};
|
|
4154
|
+
}
|
|
4155
|
+
|
|
4156
|
+
|
|
4157
|
+
/**
|
|
4158
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4159
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4160
|
+
* @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest}
|
|
4161
|
+
*/
|
|
4162
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.deserializeBinary = function(bytes) {
|
|
4163
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4164
|
+
var msg = new proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest;
|
|
4165
|
+
return proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
4166
|
+
};
|
|
4167
|
+
|
|
4168
|
+
|
|
4169
|
+
/**
|
|
4170
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4171
|
+
* given reader into the given message object.
|
|
4172
|
+
* @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} msg The message object to deserialize into.
|
|
4173
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4174
|
+
* @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest}
|
|
4175
|
+
*/
|
|
4176
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4177
|
+
while (reader.nextField()) {
|
|
4178
|
+
if (reader.isEndGroup()) {
|
|
4179
|
+
break;
|
|
4180
|
+
}
|
|
4181
|
+
var field = reader.getFieldNumber();
|
|
4182
|
+
switch (field) {
|
|
4183
|
+
case 1:
|
|
4184
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4185
|
+
msg.setClientId(value);
|
|
4186
|
+
break;
|
|
4187
|
+
case 2:
|
|
4188
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4189
|
+
msg.setTrackId(value);
|
|
4190
|
+
break;
|
|
4191
|
+
case 3:
|
|
4192
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4193
|
+
msg.setPushId(value);
|
|
4194
|
+
break;
|
|
4195
|
+
default:
|
|
4196
|
+
reader.skipField();
|
|
4197
|
+
break;
|
|
4198
|
+
}
|
|
4199
|
+
}
|
|
4200
|
+
return msg;
|
|
4201
|
+
};
|
|
4202
|
+
|
|
4203
|
+
|
|
4204
|
+
/**
|
|
4205
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4206
|
+
* @return {!Uint8Array}
|
|
4207
|
+
*/
|
|
4208
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.serializeBinary = function() {
|
|
4209
|
+
var writer = new jspb.BinaryWriter();
|
|
4210
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.serializeBinaryToWriter(this, writer);
|
|
4211
|
+
return writer.getResultBuffer();
|
|
4212
|
+
};
|
|
4213
|
+
|
|
4214
|
+
|
|
4215
|
+
/**
|
|
4216
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4217
|
+
* format), writing to the given BinaryWriter.
|
|
4218
|
+
* @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} message
|
|
4219
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4220
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4221
|
+
*/
|
|
4222
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4223
|
+
var f = undefined;
|
|
4224
|
+
f = message.getClientId();
|
|
4225
|
+
if (f.length > 0) {
|
|
4226
|
+
writer.writeString(
|
|
4227
|
+
1,
|
|
4228
|
+
f
|
|
4229
|
+
);
|
|
4230
|
+
}
|
|
4231
|
+
f = message.getTrackId();
|
|
4232
|
+
if (f.length > 0) {
|
|
4233
|
+
writer.writeString(
|
|
4234
|
+
2,
|
|
4235
|
+
f
|
|
4236
|
+
);
|
|
4237
|
+
}
|
|
4238
|
+
f = message.getPushId();
|
|
4239
|
+
if (f.length > 0) {
|
|
4240
|
+
writer.writeString(
|
|
4241
|
+
3,
|
|
4242
|
+
f
|
|
4243
|
+
);
|
|
4244
|
+
}
|
|
4245
|
+
};
|
|
4246
|
+
|
|
4247
|
+
|
|
4248
|
+
/**
|
|
4249
|
+
* optional string client_id = 1;
|
|
4250
|
+
* @return {string}
|
|
4251
|
+
*/
|
|
4252
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.getClientId = function() {
|
|
4253
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4254
|
+
};
|
|
4255
|
+
|
|
4256
|
+
|
|
4257
|
+
/**
|
|
4258
|
+
* @param {string} value
|
|
4259
|
+
* @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} returns this
|
|
4260
|
+
*/
|
|
4261
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.setClientId = function(value) {
|
|
4262
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4263
|
+
};
|
|
4264
|
+
|
|
4265
|
+
|
|
4266
|
+
/**
|
|
4267
|
+
* optional string track_id = 2;
|
|
4268
|
+
* @return {string}
|
|
4269
|
+
*/
|
|
4270
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.getTrackId = function() {
|
|
4271
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4272
|
+
};
|
|
4273
|
+
|
|
4274
|
+
|
|
4275
|
+
/**
|
|
4276
|
+
* @param {string} value
|
|
4277
|
+
* @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} returns this
|
|
4278
|
+
*/
|
|
4279
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.setTrackId = function(value) {
|
|
4280
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4281
|
+
};
|
|
4282
|
+
|
|
4283
|
+
|
|
4284
|
+
/**
|
|
4285
|
+
* optional string push_id = 3;
|
|
4286
|
+
* @return {string}
|
|
4287
|
+
*/
|
|
4288
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.getPushId = function() {
|
|
4289
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4290
|
+
};
|
|
4291
|
+
|
|
4292
|
+
|
|
4293
|
+
/**
|
|
4294
|
+
* @param {string} value
|
|
4295
|
+
* @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest} returns this
|
|
4296
|
+
*/
|
|
4297
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdRequest.prototype.setPushId = function(value) {
|
|
4298
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4299
|
+
};
|
|
4300
|
+
|
|
4301
|
+
|
|
4302
|
+
|
|
4303
|
+
|
|
4304
|
+
|
|
4305
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4306
|
+
/**
|
|
4307
|
+
* Creates an object representation of this proto.
|
|
4308
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4309
|
+
* Optional fields that are not set will be set to undefined.
|
|
4310
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4311
|
+
* For the list of reserved names please see:
|
|
4312
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4313
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4314
|
+
* JSPB instance for transitional soy proto support:
|
|
4315
|
+
* http://goto/soy-param-migration
|
|
4316
|
+
* @return {!Object}
|
|
4317
|
+
*/
|
|
4318
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4319
|
+
return proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.toObject(opt_includeInstance, this);
|
|
4320
|
+
};
|
|
4321
|
+
|
|
4322
|
+
|
|
4323
|
+
/**
|
|
4324
|
+
* Static version of the {@see toObject} method.
|
|
4325
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4326
|
+
* the JSPB instance for transitional soy proto support:
|
|
4327
|
+
* http://goto/soy-param-migration
|
|
4328
|
+
* @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse} msg The msg instance to transform.
|
|
4329
|
+
* @return {!Object}
|
|
4330
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4331
|
+
*/
|
|
4332
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.toObject = function(includeInstance, msg) {
|
|
4333
|
+
var f, obj = {
|
|
4334
|
+
pushId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4335
|
+
};
|
|
4336
|
+
|
|
4337
|
+
if (includeInstance) {
|
|
4338
|
+
obj.$jspbMessageInstance = msg;
|
|
4339
|
+
}
|
|
4340
|
+
return obj;
|
|
4341
|
+
};
|
|
4342
|
+
}
|
|
4343
|
+
|
|
4344
|
+
|
|
4345
|
+
/**
|
|
4346
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4347
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4348
|
+
* @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse}
|
|
4349
|
+
*/
|
|
4350
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.deserializeBinary = function(bytes) {
|
|
4351
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4352
|
+
var msg = new proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse;
|
|
4353
|
+
return proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
4354
|
+
};
|
|
4355
|
+
|
|
4356
|
+
|
|
4357
|
+
/**
|
|
4358
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4359
|
+
* given reader into the given message object.
|
|
4360
|
+
* @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse} msg The message object to deserialize into.
|
|
4361
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4362
|
+
* @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse}
|
|
4363
|
+
*/
|
|
4364
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4365
|
+
while (reader.nextField()) {
|
|
4366
|
+
if (reader.isEndGroup()) {
|
|
4367
|
+
break;
|
|
4368
|
+
}
|
|
4369
|
+
var field = reader.getFieldNumber();
|
|
4370
|
+
switch (field) {
|
|
4371
|
+
case 1:
|
|
4372
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4373
|
+
msg.setPushId(value);
|
|
4374
|
+
break;
|
|
4375
|
+
default:
|
|
4376
|
+
reader.skipField();
|
|
4377
|
+
break;
|
|
4378
|
+
}
|
|
4379
|
+
}
|
|
4380
|
+
return msg;
|
|
4381
|
+
};
|
|
4382
|
+
|
|
4383
|
+
|
|
4384
|
+
/**
|
|
4385
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4386
|
+
* @return {!Uint8Array}
|
|
4387
|
+
*/
|
|
4388
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.prototype.serializeBinary = function() {
|
|
4389
|
+
var writer = new jspb.BinaryWriter();
|
|
4390
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.serializeBinaryToWriter(this, writer);
|
|
4391
|
+
return writer.getResultBuffer();
|
|
4392
|
+
};
|
|
4393
|
+
|
|
4394
|
+
|
|
4395
|
+
/**
|
|
4396
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4397
|
+
* format), writing to the given BinaryWriter.
|
|
4398
|
+
* @param {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse} message
|
|
4399
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4400
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4401
|
+
*/
|
|
4402
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4403
|
+
var f = undefined;
|
|
4404
|
+
f = message.getPushId();
|
|
4405
|
+
if (f.length > 0) {
|
|
4406
|
+
writer.writeString(
|
|
4407
|
+
1,
|
|
4408
|
+
f
|
|
4409
|
+
);
|
|
4410
|
+
}
|
|
4411
|
+
};
|
|
4412
|
+
|
|
4413
|
+
|
|
4414
|
+
/**
|
|
4415
|
+
* optional string push_id = 1;
|
|
4416
|
+
* @return {string}
|
|
4417
|
+
*/
|
|
4418
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.prototype.getPushId = function() {
|
|
4419
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4420
|
+
};
|
|
4421
|
+
|
|
4422
|
+
|
|
4423
|
+
/**
|
|
4424
|
+
* @param {string} value
|
|
4425
|
+
* @return {!proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse} returns this
|
|
4426
|
+
*/
|
|
4427
|
+
proto.lansweeper.multitenant.v1.StartInstallPushByClientIdResponse.prototype.setPushId = function(value) {
|
|
4428
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4429
|
+
};
|
|
4430
|
+
|
|
4431
|
+
|
|
4432
|
+
|
|
4433
|
+
|
|
4434
|
+
|
|
4435
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4436
|
+
/**
|
|
4437
|
+
* Creates an object representation of this proto.
|
|
4438
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4439
|
+
* Optional fields that are not set will be set to undefined.
|
|
4440
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4441
|
+
* For the list of reserved names please see:
|
|
4442
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4443
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4444
|
+
* JSPB instance for transitional soy proto support:
|
|
4445
|
+
* http://goto/soy-param-migration
|
|
4446
|
+
* @return {!Object}
|
|
4447
|
+
*/
|
|
4448
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4449
|
+
return proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.toObject(opt_includeInstance, this);
|
|
4450
|
+
};
|
|
4451
|
+
|
|
4452
|
+
|
|
4453
|
+
/**
|
|
4454
|
+
* Static version of the {@see toObject} method.
|
|
4455
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4456
|
+
* the JSPB instance for transitional soy proto support:
|
|
4457
|
+
* http://goto/soy-param-migration
|
|
4458
|
+
* @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} msg The msg instance to transform.
|
|
4459
|
+
* @return {!Object}
|
|
4460
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4461
|
+
*/
|
|
4462
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.toObject = function(includeInstance, msg) {
|
|
4463
|
+
var f, obj = {
|
|
4464
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4465
|
+
trackId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4466
|
+
pushId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4467
|
+
error: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
4468
|
+
};
|
|
4469
|
+
|
|
4470
|
+
if (includeInstance) {
|
|
4471
|
+
obj.$jspbMessageInstance = msg;
|
|
4472
|
+
}
|
|
4473
|
+
return obj;
|
|
4474
|
+
};
|
|
4475
|
+
}
|
|
4476
|
+
|
|
4477
|
+
|
|
4478
|
+
/**
|
|
4479
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4480
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4481
|
+
* @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest}
|
|
4482
|
+
*/
|
|
4483
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.deserializeBinary = function(bytes) {
|
|
4484
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4485
|
+
var msg = new proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest;
|
|
4486
|
+
return proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.deserializeBinaryFromReader(msg, reader);
|
|
4487
|
+
};
|
|
4488
|
+
|
|
4489
|
+
|
|
4490
|
+
/**
|
|
4491
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4492
|
+
* given reader into the given message object.
|
|
4493
|
+
* @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} msg The message object to deserialize into.
|
|
4494
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4495
|
+
* @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest}
|
|
4496
|
+
*/
|
|
4497
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4498
|
+
while (reader.nextField()) {
|
|
4499
|
+
if (reader.isEndGroup()) {
|
|
4500
|
+
break;
|
|
4501
|
+
}
|
|
4502
|
+
var field = reader.getFieldNumber();
|
|
4503
|
+
switch (field) {
|
|
4504
|
+
case 1:
|
|
4505
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4506
|
+
msg.setClientId(value);
|
|
4507
|
+
break;
|
|
4508
|
+
case 2:
|
|
4509
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4510
|
+
msg.setTrackId(value);
|
|
4511
|
+
break;
|
|
4512
|
+
case 3:
|
|
4513
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4514
|
+
msg.setPushId(value);
|
|
4515
|
+
break;
|
|
4516
|
+
case 4:
|
|
4517
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4518
|
+
msg.setError(value);
|
|
4519
|
+
break;
|
|
4520
|
+
default:
|
|
4521
|
+
reader.skipField();
|
|
4522
|
+
break;
|
|
4523
|
+
}
|
|
4524
|
+
}
|
|
4525
|
+
return msg;
|
|
4526
|
+
};
|
|
4527
|
+
|
|
4528
|
+
|
|
4529
|
+
/**
|
|
4530
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4531
|
+
* @return {!Uint8Array}
|
|
4532
|
+
*/
|
|
4533
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.serializeBinary = function() {
|
|
4534
|
+
var writer = new jspb.BinaryWriter();
|
|
4535
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.serializeBinaryToWriter(this, writer);
|
|
4536
|
+
return writer.getResultBuffer();
|
|
4537
|
+
};
|
|
4538
|
+
|
|
4539
|
+
|
|
4540
|
+
/**
|
|
4541
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4542
|
+
* format), writing to the given BinaryWriter.
|
|
4543
|
+
* @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} message
|
|
4544
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4545
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4546
|
+
*/
|
|
4547
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4548
|
+
var f = undefined;
|
|
4549
|
+
f = message.getClientId();
|
|
4550
|
+
if (f.length > 0) {
|
|
4551
|
+
writer.writeString(
|
|
4552
|
+
1,
|
|
4553
|
+
f
|
|
4554
|
+
);
|
|
4555
|
+
}
|
|
4556
|
+
f = message.getTrackId();
|
|
4557
|
+
if (f.length > 0) {
|
|
4558
|
+
writer.writeString(
|
|
4559
|
+
2,
|
|
4560
|
+
f
|
|
4561
|
+
);
|
|
4562
|
+
}
|
|
4563
|
+
f = message.getPushId();
|
|
4564
|
+
if (f.length > 0) {
|
|
4565
|
+
writer.writeString(
|
|
4566
|
+
3,
|
|
4567
|
+
f
|
|
4568
|
+
);
|
|
4569
|
+
}
|
|
4570
|
+
f = message.getError();
|
|
4571
|
+
if (f.length > 0) {
|
|
4572
|
+
writer.writeString(
|
|
4573
|
+
4,
|
|
4574
|
+
f
|
|
4575
|
+
);
|
|
4576
|
+
}
|
|
4577
|
+
};
|
|
4578
|
+
|
|
4579
|
+
|
|
4580
|
+
/**
|
|
4581
|
+
* optional string client_id = 1;
|
|
4582
|
+
* @return {string}
|
|
4583
|
+
*/
|
|
4584
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.getClientId = function() {
|
|
4585
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4586
|
+
};
|
|
4587
|
+
|
|
4588
|
+
|
|
4589
|
+
/**
|
|
4590
|
+
* @param {string} value
|
|
4591
|
+
* @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} returns this
|
|
4592
|
+
*/
|
|
4593
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.setClientId = function(value) {
|
|
4594
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4595
|
+
};
|
|
4596
|
+
|
|
4597
|
+
|
|
4598
|
+
/**
|
|
4599
|
+
* optional string track_id = 2;
|
|
4600
|
+
* @return {string}
|
|
4601
|
+
*/
|
|
4602
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.getTrackId = function() {
|
|
4603
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4604
|
+
};
|
|
4605
|
+
|
|
4606
|
+
|
|
4607
|
+
/**
|
|
4608
|
+
* @param {string} value
|
|
4609
|
+
* @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} returns this
|
|
4610
|
+
*/
|
|
4611
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.setTrackId = function(value) {
|
|
4612
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4613
|
+
};
|
|
4614
|
+
|
|
4615
|
+
|
|
4616
|
+
/**
|
|
4617
|
+
* optional string push_id = 3;
|
|
4618
|
+
* @return {string}
|
|
4619
|
+
*/
|
|
4620
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.getPushId = function() {
|
|
4621
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4622
|
+
};
|
|
4623
|
+
|
|
4624
|
+
|
|
4625
|
+
/**
|
|
4626
|
+
* @param {string} value
|
|
4627
|
+
* @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} returns this
|
|
4628
|
+
*/
|
|
4629
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.setPushId = function(value) {
|
|
4630
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4631
|
+
};
|
|
4632
|
+
|
|
4633
|
+
|
|
4634
|
+
/**
|
|
4635
|
+
* optional string error = 4;
|
|
4636
|
+
* @return {string}
|
|
4637
|
+
*/
|
|
4638
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.getError = function() {
|
|
4639
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4640
|
+
};
|
|
4641
|
+
|
|
4642
|
+
|
|
4643
|
+
/**
|
|
4644
|
+
* @param {string} value
|
|
4645
|
+
* @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest} returns this
|
|
4646
|
+
*/
|
|
4647
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest.prototype.setError = function(value) {
|
|
4648
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4649
|
+
};
|
|
4650
|
+
|
|
4651
|
+
|
|
4652
|
+
|
|
4653
|
+
|
|
4654
|
+
|
|
4655
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4656
|
+
/**
|
|
4657
|
+
* Creates an object representation of this proto.
|
|
4658
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4659
|
+
* Optional fields that are not set will be set to undefined.
|
|
4660
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4661
|
+
* For the list of reserved names please see:
|
|
4662
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4663
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4664
|
+
* JSPB instance for transitional soy proto support:
|
|
4665
|
+
* http://goto/soy-param-migration
|
|
4666
|
+
* @return {!Object}
|
|
4667
|
+
*/
|
|
4668
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
4669
|
+
return proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.toObject(opt_includeInstance, this);
|
|
4670
|
+
};
|
|
4671
|
+
|
|
4672
|
+
|
|
4673
|
+
/**
|
|
4674
|
+
* Static version of the {@see toObject} method.
|
|
4675
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4676
|
+
* the JSPB instance for transitional soy proto support:
|
|
4677
|
+
* http://goto/soy-param-migration
|
|
4678
|
+
* @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse} msg The msg instance to transform.
|
|
4679
|
+
* @return {!Object}
|
|
4680
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4681
|
+
*/
|
|
4682
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.toObject = function(includeInstance, msg) {
|
|
4683
|
+
var f, obj = {
|
|
4684
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
4685
|
+
};
|
|
4686
|
+
|
|
4687
|
+
if (includeInstance) {
|
|
4688
|
+
obj.$jspbMessageInstance = msg;
|
|
4689
|
+
}
|
|
4690
|
+
return obj;
|
|
4691
|
+
};
|
|
4692
|
+
}
|
|
4693
|
+
|
|
4694
|
+
|
|
4695
|
+
/**
|
|
4696
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4697
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4698
|
+
* @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse}
|
|
4699
|
+
*/
|
|
4700
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.deserializeBinary = function(bytes) {
|
|
4701
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4702
|
+
var msg = new proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse;
|
|
4703
|
+
return proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.deserializeBinaryFromReader(msg, reader);
|
|
4704
|
+
};
|
|
4705
|
+
|
|
4706
|
+
|
|
4707
|
+
/**
|
|
4708
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4709
|
+
* given reader into the given message object.
|
|
4710
|
+
* @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse} msg The message object to deserialize into.
|
|
4711
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4712
|
+
* @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse}
|
|
4713
|
+
*/
|
|
4714
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
4715
|
+
while (reader.nextField()) {
|
|
4716
|
+
if (reader.isEndGroup()) {
|
|
4717
|
+
break;
|
|
4718
|
+
}
|
|
4719
|
+
var field = reader.getFieldNumber();
|
|
4720
|
+
switch (field) {
|
|
4721
|
+
case 1:
|
|
4722
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4723
|
+
msg.setSuccess(value);
|
|
4724
|
+
break;
|
|
4725
|
+
default:
|
|
4726
|
+
reader.skipField();
|
|
4727
|
+
break;
|
|
4728
|
+
}
|
|
4729
|
+
}
|
|
4730
|
+
return msg;
|
|
4731
|
+
};
|
|
4732
|
+
|
|
4733
|
+
|
|
4734
|
+
/**
|
|
4735
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4736
|
+
* @return {!Uint8Array}
|
|
4737
|
+
*/
|
|
4738
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.serializeBinary = function() {
|
|
4739
|
+
var writer = new jspb.BinaryWriter();
|
|
4740
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.serializeBinaryToWriter(this, writer);
|
|
4741
|
+
return writer.getResultBuffer();
|
|
4742
|
+
};
|
|
4743
|
+
|
|
4744
|
+
|
|
4745
|
+
/**
|
|
4746
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4747
|
+
* format), writing to the given BinaryWriter.
|
|
4748
|
+
* @param {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse} message
|
|
4749
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4750
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4751
|
+
*/
|
|
4752
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4753
|
+
var f = undefined;
|
|
4754
|
+
f = message.getSuccess();
|
|
4755
|
+
if (f) {
|
|
4756
|
+
writer.writeBool(
|
|
4757
|
+
1,
|
|
4758
|
+
f
|
|
4759
|
+
);
|
|
4760
|
+
}
|
|
4761
|
+
};
|
|
4762
|
+
|
|
4763
|
+
|
|
4764
|
+
/**
|
|
4765
|
+
* optional bool success = 1;
|
|
4766
|
+
* @return {boolean}
|
|
4767
|
+
*/
|
|
4768
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.getSuccess = function() {
|
|
4769
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
4770
|
+
};
|
|
4771
|
+
|
|
4772
|
+
|
|
4773
|
+
/**
|
|
4774
|
+
* @param {boolean} value
|
|
4775
|
+
* @return {!proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse} returns this
|
|
4776
|
+
*/
|
|
4777
|
+
proto.lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse.prototype.setSuccess = function(value) {
|
|
4778
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
4779
|
+
};
|
|
4780
|
+
|
|
4781
|
+
|
|
4782
|
+
goog.object.extend(exports, proto.lansweeper.multitenant.v1);
|