@lansweeper/discovery-sensor-proto 2.67.0 → 2.69.0
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/gen-proto/discovery_sections_esxi_grpc_pb.js +1 -0
- package/gen-proto/discovery_sections_esxi_pb.d.ts +698 -0
- package/gen-proto/discovery_sections_esxi_pb.js +5803 -0
- package/gen-proto/discovery_sections_mac_pb.d.ts +12 -0
- package/gen-proto/discovery_sections_mac_pb.js +103 -1
- package/gen-proto/discovery_sections_vcenter_grpc_pb.js +1 -0
- package/gen-proto/discovery_sections_vcenter_pb.d.ts +387 -0
- package/gen-proto/discovery_sections_vcenter_pb.js +3267 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/import/discovery_common_vmware_grpc_pb.js +1 -0
- package/gen-proto/import/discovery_common_vmware_pb.d.ts +281 -0
- package/gen-proto/import/discovery_common_vmware_pb.js +2299 -0
- package/gen-proto/index.d.ts +3 -0
- package/gen-proto/index.js +7 -1
- package/package.json +2 -2
- package/proto/discovery_sections_api.proto +17 -0
- package/proto/discovery_sections_esxi.proto +141 -0
- package/proto/discovery_sections_mac.proto +2 -0
- package/proto/discovery_sections_vcenter.proto +86 -0
- package/proto/import/discovery_common_vmware.proto +58 -0
|
@@ -0,0 +1,3267 @@
|
|
|
1
|
+
// source: discovery_sections_vcenter.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() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
23
|
+
|
|
24
|
+
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
25
|
+
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
26
|
+
var import_discovery_common_vmware_pb = require('./import/discovery_common_vmware_pb.js');
|
|
27
|
+
goog.object.extend(proto, import_discovery_common_vmware_pb);
|
|
28
|
+
var discovery_sections_esxi_pb = require('./discovery_sections_esxi_pb.js');
|
|
29
|
+
goog.object.extend(proto, discovery_sections_esxi_pb);
|
|
30
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter', null, global);
|
|
31
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster', null, global);
|
|
32
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule', null, global);
|
|
33
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride', null, global);
|
|
34
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs', null, global);
|
|
35
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster', null, global);
|
|
36
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter', null, global);
|
|
37
|
+
/**
|
|
38
|
+
* Generated by JsPbCodeGenerator.
|
|
39
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
40
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
41
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
42
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
43
|
+
* valid.
|
|
44
|
+
* @extends {jspb.Message}
|
|
45
|
+
* @constructor
|
|
46
|
+
*/
|
|
47
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter = function(opt_data) {
|
|
48
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.repeatedFields_, null);
|
|
49
|
+
};
|
|
50
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter, jspb.Message);
|
|
51
|
+
if (goog.DEBUG && !COMPILED) {
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @override
|
|
55
|
+
*/
|
|
56
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.displayName = 'proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter';
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Generated by JsPbCodeGenerator.
|
|
60
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
61
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
62
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
63
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
64
|
+
* valid.
|
|
65
|
+
* @extends {jspb.Message}
|
|
66
|
+
* @constructor
|
|
67
|
+
*/
|
|
68
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule = function(opt_data) {
|
|
69
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
70
|
+
};
|
|
71
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule, jspb.Message);
|
|
72
|
+
if (goog.DEBUG && !COMPILED) {
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* @override
|
|
76
|
+
*/
|
|
77
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.displayName = 'proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule';
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Generated by JsPbCodeGenerator.
|
|
81
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
82
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
83
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
84
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
85
|
+
* valid.
|
|
86
|
+
* @extends {jspb.Message}
|
|
87
|
+
* @constructor
|
|
88
|
+
*/
|
|
89
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride = function(opt_data) {
|
|
90
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
91
|
+
};
|
|
92
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride, jspb.Message);
|
|
93
|
+
if (goog.DEBUG && !COMPILED) {
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @override
|
|
97
|
+
*/
|
|
98
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.displayName = 'proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride';
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Generated by JsPbCodeGenerator.
|
|
102
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
103
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
104
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
105
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
106
|
+
* valid.
|
|
107
|
+
* @extends {jspb.Message}
|
|
108
|
+
* @constructor
|
|
109
|
+
*/
|
|
110
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster = function(opt_data) {
|
|
111
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.repeatedFields_, null);
|
|
112
|
+
};
|
|
113
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster, jspb.Message);
|
|
114
|
+
if (goog.DEBUG && !COMPILED) {
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
* @override
|
|
118
|
+
*/
|
|
119
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.displayName = 'proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster';
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Generated by JsPbCodeGenerator.
|
|
123
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
124
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
125
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
126
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
127
|
+
* valid.
|
|
128
|
+
* @extends {jspb.Message}
|
|
129
|
+
* @constructor
|
|
130
|
+
*/
|
|
131
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs = function(opt_data) {
|
|
132
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
133
|
+
};
|
|
134
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs, jspb.Message);
|
|
135
|
+
if (goog.DEBUG && !COMPILED) {
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
* @override
|
|
139
|
+
*/
|
|
140
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.displayName = 'proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs';
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Generated by JsPbCodeGenerator.
|
|
144
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
145
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
146
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
147
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
148
|
+
* valid.
|
|
149
|
+
* @extends {jspb.Message}
|
|
150
|
+
* @constructor
|
|
151
|
+
*/
|
|
152
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster = function(opt_data) {
|
|
153
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.repeatedFields_, null);
|
|
154
|
+
};
|
|
155
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster, jspb.Message);
|
|
156
|
+
if (goog.DEBUG && !COMPILED) {
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* @override
|
|
160
|
+
*/
|
|
161
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.displayName = 'proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster';
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Generated by JsPbCodeGenerator.
|
|
165
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
166
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
167
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
168
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
169
|
+
* valid.
|
|
170
|
+
* @extends {jspb.Message}
|
|
171
|
+
* @constructor
|
|
172
|
+
*/
|
|
173
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter = function(opt_data) {
|
|
174
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.repeatedFields_, null);
|
|
175
|
+
};
|
|
176
|
+
goog.inherits(proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter, jspb.Message);
|
|
177
|
+
if (goog.DEBUG && !COMPILED) {
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
* @override
|
|
181
|
+
*/
|
|
182
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.displayName = 'proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter';
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* List of repeated fields within this message type.
|
|
187
|
+
* @private {!Array<number>}
|
|
188
|
+
* @const
|
|
189
|
+
*/
|
|
190
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.repeatedFields_ = [2];
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
195
|
+
/**
|
|
196
|
+
* Creates an object representation of this proto.
|
|
197
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
198
|
+
* Optional fields that are not set will be set to undefined.
|
|
199
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
200
|
+
* For the list of reserved names please see:
|
|
201
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
202
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
203
|
+
* JSPB instance for transitional soy proto support:
|
|
204
|
+
* http://goto/soy-param-migration
|
|
205
|
+
* @return {!Object}
|
|
206
|
+
*/
|
|
207
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.toObject = function(opt_includeInstance) {
|
|
208
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.toObject(opt_includeInstance, this);
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Static version of the {@see toObject} method.
|
|
214
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
215
|
+
* the JSPB instance for transitional soy proto support:
|
|
216
|
+
* http://goto/soy-param-migration
|
|
217
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter} msg The msg instance to transform.
|
|
218
|
+
* @return {!Object}
|
|
219
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
220
|
+
*/
|
|
221
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.toObject = function(includeInstance, msg) {
|
|
222
|
+
var f, obj = {
|
|
223
|
+
productInfo: (f = msg.getProductInfo()) && import_discovery_common_vmware_pb.VmwareProductInfo.toObject(includeInstance, f),
|
|
224
|
+
datacentersList: jspb.Message.toObjectList(msg.getDatacentersList(),
|
|
225
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.toObject, includeInstance)
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
if (includeInstance) {
|
|
229
|
+
obj.$jspbMessageInstance = msg;
|
|
230
|
+
}
|
|
231
|
+
return obj;
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Deserializes binary data (in protobuf wire format).
|
|
238
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
239
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter}
|
|
240
|
+
*/
|
|
241
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.deserializeBinary = function(bytes) {
|
|
242
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
243
|
+
var msg = new proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter;
|
|
244
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.deserializeBinaryFromReader(msg, reader);
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
250
|
+
* given reader into the given message object.
|
|
251
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter} msg The message object to deserialize into.
|
|
252
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
253
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter}
|
|
254
|
+
*/
|
|
255
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.deserializeBinaryFromReader = function(msg, reader) {
|
|
256
|
+
while (reader.nextField()) {
|
|
257
|
+
if (reader.isEndGroup()) {
|
|
258
|
+
break;
|
|
259
|
+
}
|
|
260
|
+
var field = reader.getFieldNumber();
|
|
261
|
+
switch (field) {
|
|
262
|
+
case 1:
|
|
263
|
+
var value = new import_discovery_common_vmware_pb.VmwareProductInfo;
|
|
264
|
+
reader.readMessage(value,import_discovery_common_vmware_pb.VmwareProductInfo.deserializeBinaryFromReader);
|
|
265
|
+
msg.setProductInfo(value);
|
|
266
|
+
break;
|
|
267
|
+
case 2:
|
|
268
|
+
var value = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter;
|
|
269
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.deserializeBinaryFromReader);
|
|
270
|
+
msg.addDatacenters(value);
|
|
271
|
+
break;
|
|
272
|
+
default:
|
|
273
|
+
reader.skipField();
|
|
274
|
+
break;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return msg;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
283
|
+
* @return {!Uint8Array}
|
|
284
|
+
*/
|
|
285
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.serializeBinary = function() {
|
|
286
|
+
var writer = new jspb.BinaryWriter();
|
|
287
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.serializeBinaryToWriter(this, writer);
|
|
288
|
+
return writer.getResultBuffer();
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
294
|
+
* format), writing to the given BinaryWriter.
|
|
295
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter} message
|
|
296
|
+
* @param {!jspb.BinaryWriter} writer
|
|
297
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
298
|
+
*/
|
|
299
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.serializeBinaryToWriter = function(message, writer) {
|
|
300
|
+
var f = undefined;
|
|
301
|
+
f = message.getProductInfo();
|
|
302
|
+
if (f != null) {
|
|
303
|
+
writer.writeMessage(
|
|
304
|
+
1,
|
|
305
|
+
f,
|
|
306
|
+
import_discovery_common_vmware_pb.VmwareProductInfo.serializeBinaryToWriter
|
|
307
|
+
);
|
|
308
|
+
}
|
|
309
|
+
f = message.getDatacentersList();
|
|
310
|
+
if (f.length > 0) {
|
|
311
|
+
writer.writeRepeatedMessage(
|
|
312
|
+
2,
|
|
313
|
+
f,
|
|
314
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.serializeBinaryToWriter
|
|
315
|
+
);
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* optional com.lansweeper.discovery.sensor.vmware.v1.VmwareProductInfo product_info = 1;
|
|
322
|
+
* @return {?proto.com.lansweeper.discovery.sensor.vmware.v1.VmwareProductInfo}
|
|
323
|
+
*/
|
|
324
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.getProductInfo = function() {
|
|
325
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.vmware.v1.VmwareProductInfo} */ (
|
|
326
|
+
jspb.Message.getWrapperField(this, import_discovery_common_vmware_pb.VmwareProductInfo, 1));
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* @param {?proto.com.lansweeper.discovery.sensor.vmware.v1.VmwareProductInfo|undefined} value
|
|
332
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter} returns this
|
|
333
|
+
*/
|
|
334
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.setProductInfo = function(value) {
|
|
335
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Clears the message field making it undefined.
|
|
341
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter} returns this
|
|
342
|
+
*/
|
|
343
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.clearProductInfo = function() {
|
|
344
|
+
return this.setProductInfo(undefined);
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Returns whether this field is set.
|
|
350
|
+
* @return {boolean}
|
|
351
|
+
*/
|
|
352
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.hasProductInfo = function() {
|
|
353
|
+
return jspb.Message.getField(this, 1) != null;
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* repeated DataCenter datacenters = 2;
|
|
359
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter>}
|
|
360
|
+
*/
|
|
361
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.getDatacentersList = function() {
|
|
362
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter>} */ (
|
|
363
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter, 2));
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter>} value
|
|
369
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter} returns this
|
|
370
|
+
*/
|
|
371
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.setDatacentersList = function(value) {
|
|
372
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter=} opt_value
|
|
378
|
+
* @param {number=} opt_index
|
|
379
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter}
|
|
380
|
+
*/
|
|
381
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.addDatacenters = function(opt_value, opt_index) {
|
|
382
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter, opt_index);
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Clears the list making it empty but non-null.
|
|
388
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter} returns this
|
|
389
|
+
*/
|
|
390
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.clearDatacentersList = function() {
|
|
391
|
+
return this.setDatacentersList([]);
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
399
|
+
/**
|
|
400
|
+
* Creates an object representation of this proto.
|
|
401
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
402
|
+
* Optional fields that are not set will be set to undefined.
|
|
403
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
404
|
+
* For the list of reserved names please see:
|
|
405
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
406
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
407
|
+
* JSPB instance for transitional soy proto support:
|
|
408
|
+
* http://goto/soy-param-migration
|
|
409
|
+
* @return {!Object}
|
|
410
|
+
*/
|
|
411
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.toObject = function(opt_includeInstance) {
|
|
412
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.toObject(opt_includeInstance, this);
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Static version of the {@see toObject} method.
|
|
418
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
419
|
+
* the JSPB instance for transitional soy proto support:
|
|
420
|
+
* http://goto/soy-param-migration
|
|
421
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} msg The msg instance to transform.
|
|
422
|
+
* @return {!Object}
|
|
423
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
424
|
+
*/
|
|
425
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.toObject = function(includeInstance, msg) {
|
|
426
|
+
var f, obj = {
|
|
427
|
+
name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
428
|
+
enabled: (f = msg.getEnabled()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
|
|
429
|
+
type: (f = msg.getType()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
|
|
430
|
+
dataClusterGuid: (f = msg.getDataClusterGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
if (includeInstance) {
|
|
434
|
+
obj.$jspbMessageInstance = msg;
|
|
435
|
+
}
|
|
436
|
+
return obj;
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Deserializes binary data (in protobuf wire format).
|
|
443
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
444
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule}
|
|
445
|
+
*/
|
|
446
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.deserializeBinary = function(bytes) {
|
|
447
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
448
|
+
var msg = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule;
|
|
449
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.deserializeBinaryFromReader(msg, reader);
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
455
|
+
* given reader into the given message object.
|
|
456
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} msg The message object to deserialize into.
|
|
457
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
458
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule}
|
|
459
|
+
*/
|
|
460
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.deserializeBinaryFromReader = function(msg, reader) {
|
|
461
|
+
while (reader.nextField()) {
|
|
462
|
+
if (reader.isEndGroup()) {
|
|
463
|
+
break;
|
|
464
|
+
}
|
|
465
|
+
var field = reader.getFieldNumber();
|
|
466
|
+
switch (field) {
|
|
467
|
+
case 1:
|
|
468
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
469
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
470
|
+
msg.setName(value);
|
|
471
|
+
break;
|
|
472
|
+
case 2:
|
|
473
|
+
var value = new google_protobuf_wrappers_pb.BoolValue;
|
|
474
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
475
|
+
msg.setEnabled(value);
|
|
476
|
+
break;
|
|
477
|
+
case 3:
|
|
478
|
+
var value = new google_protobuf_wrappers_pb.Int32Value;
|
|
479
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
480
|
+
msg.setType(value);
|
|
481
|
+
break;
|
|
482
|
+
case 4:
|
|
483
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
484
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
485
|
+
msg.setDataClusterGuid(value);
|
|
486
|
+
break;
|
|
487
|
+
default:
|
|
488
|
+
reader.skipField();
|
|
489
|
+
break;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
return msg;
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
498
|
+
* @return {!Uint8Array}
|
|
499
|
+
*/
|
|
500
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.serializeBinary = function() {
|
|
501
|
+
var writer = new jspb.BinaryWriter();
|
|
502
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.serializeBinaryToWriter(this, writer);
|
|
503
|
+
return writer.getResultBuffer();
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
509
|
+
* format), writing to the given BinaryWriter.
|
|
510
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} message
|
|
511
|
+
* @param {!jspb.BinaryWriter} writer
|
|
512
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
513
|
+
*/
|
|
514
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.serializeBinaryToWriter = function(message, writer) {
|
|
515
|
+
var f = undefined;
|
|
516
|
+
f = message.getName();
|
|
517
|
+
if (f != null) {
|
|
518
|
+
writer.writeMessage(
|
|
519
|
+
1,
|
|
520
|
+
f,
|
|
521
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
522
|
+
);
|
|
523
|
+
}
|
|
524
|
+
f = message.getEnabled();
|
|
525
|
+
if (f != null) {
|
|
526
|
+
writer.writeMessage(
|
|
527
|
+
2,
|
|
528
|
+
f,
|
|
529
|
+
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
530
|
+
);
|
|
531
|
+
}
|
|
532
|
+
f = message.getType();
|
|
533
|
+
if (f != null) {
|
|
534
|
+
writer.writeMessage(
|
|
535
|
+
3,
|
|
536
|
+
f,
|
|
537
|
+
google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
|
|
538
|
+
);
|
|
539
|
+
}
|
|
540
|
+
f = message.getDataClusterGuid();
|
|
541
|
+
if (f != null) {
|
|
542
|
+
writer.writeMessage(
|
|
543
|
+
4,
|
|
544
|
+
f,
|
|
545
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
546
|
+
);
|
|
547
|
+
}
|
|
548
|
+
};
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* optional google.protobuf.StringValue name = 1;
|
|
553
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
554
|
+
*/
|
|
555
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.getName = function() {
|
|
556
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
557
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
563
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} returns this
|
|
564
|
+
*/
|
|
565
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.setName = function(value) {
|
|
566
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Clears the message field making it undefined.
|
|
572
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} returns this
|
|
573
|
+
*/
|
|
574
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.clearName = function() {
|
|
575
|
+
return this.setName(undefined);
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Returns whether this field is set.
|
|
581
|
+
* @return {boolean}
|
|
582
|
+
*/
|
|
583
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.hasName = function() {
|
|
584
|
+
return jspb.Message.getField(this, 1) != null;
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* optional google.protobuf.BoolValue enabled = 2;
|
|
590
|
+
* @return {?proto.google.protobuf.BoolValue}
|
|
591
|
+
*/
|
|
592
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.getEnabled = function() {
|
|
593
|
+
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
594
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 2));
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
600
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} returns this
|
|
601
|
+
*/
|
|
602
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.setEnabled = function(value) {
|
|
603
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Clears the message field making it undefined.
|
|
609
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} returns this
|
|
610
|
+
*/
|
|
611
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.clearEnabled = function() {
|
|
612
|
+
return this.setEnabled(undefined);
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Returns whether this field is set.
|
|
618
|
+
* @return {boolean}
|
|
619
|
+
*/
|
|
620
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.hasEnabled = function() {
|
|
621
|
+
return jspb.Message.getField(this, 2) != null;
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* optional google.protobuf.Int32Value type = 3;
|
|
627
|
+
* @return {?proto.google.protobuf.Int32Value}
|
|
628
|
+
*/
|
|
629
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.getType = function() {
|
|
630
|
+
return /** @type{?proto.google.protobuf.Int32Value} */ (
|
|
631
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 3));
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* @param {?proto.google.protobuf.Int32Value|undefined} value
|
|
637
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} returns this
|
|
638
|
+
*/
|
|
639
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.setType = function(value) {
|
|
640
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Clears the message field making it undefined.
|
|
646
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} returns this
|
|
647
|
+
*/
|
|
648
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.clearType = function() {
|
|
649
|
+
return this.setType(undefined);
|
|
650
|
+
};
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Returns whether this field is set.
|
|
655
|
+
* @return {boolean}
|
|
656
|
+
*/
|
|
657
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.hasType = function() {
|
|
658
|
+
return jspb.Message.getField(this, 3) != null;
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* optional google.protobuf.StringValue data_cluster_guid = 4;
|
|
664
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
665
|
+
*/
|
|
666
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.getDataClusterGuid = function() {
|
|
667
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
668
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
674
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} returns this
|
|
675
|
+
*/
|
|
676
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.setDataClusterGuid = function(value) {
|
|
677
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Clears the message field making it undefined.
|
|
683
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule} returns this
|
|
684
|
+
*/
|
|
685
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.clearDataClusterGuid = function() {
|
|
686
|
+
return this.setDataClusterGuid(undefined);
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Returns whether this field is set.
|
|
692
|
+
* @return {boolean}
|
|
693
|
+
*/
|
|
694
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.prototype.hasDataClusterGuid = function() {
|
|
695
|
+
return jspb.Message.getField(this, 4) != null;
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
703
|
+
/**
|
|
704
|
+
* Creates an object representation of this proto.
|
|
705
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
706
|
+
* Optional fields that are not set will be set to undefined.
|
|
707
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
708
|
+
* For the list of reserved names please see:
|
|
709
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
710
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
711
|
+
* JSPB instance for transitional soy proto support:
|
|
712
|
+
* http://goto/soy-param-migration
|
|
713
|
+
* @return {!Object}
|
|
714
|
+
*/
|
|
715
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.toObject = function(opt_includeInstance) {
|
|
716
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.toObject(opt_includeInstance, this);
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Static version of the {@see toObject} method.
|
|
722
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
723
|
+
* the JSPB instance for transitional soy proto support:
|
|
724
|
+
* http://goto/soy-param-migration
|
|
725
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} msg The msg instance to transform.
|
|
726
|
+
* @return {!Object}
|
|
727
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
728
|
+
*/
|
|
729
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.toObject = function(includeInstance, msg) {
|
|
730
|
+
var f, obj = {
|
|
731
|
+
enabled: (f = msg.getEnabled()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
|
|
732
|
+
behaviour: (f = msg.getBehaviour()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
733
|
+
intraVmAffinity: (f = msg.getIntraVmAffinity()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
|
|
734
|
+
intraVmAntiAffinity: (f = msg.getIntraVmAntiAffinity()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
735
|
+
dataClusterGuid: (f = msg.getDataClusterGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
736
|
+
};
|
|
737
|
+
|
|
738
|
+
if (includeInstance) {
|
|
739
|
+
obj.$jspbMessageInstance = msg;
|
|
740
|
+
}
|
|
741
|
+
return obj;
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* Deserializes binary data (in protobuf wire format).
|
|
748
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
749
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride}
|
|
750
|
+
*/
|
|
751
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.deserializeBinary = function(bytes) {
|
|
752
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
753
|
+
var msg = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride;
|
|
754
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.deserializeBinaryFromReader(msg, reader);
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
760
|
+
* given reader into the given message object.
|
|
761
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} msg The message object to deserialize into.
|
|
762
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
763
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride}
|
|
764
|
+
*/
|
|
765
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.deserializeBinaryFromReader = function(msg, reader) {
|
|
766
|
+
while (reader.nextField()) {
|
|
767
|
+
if (reader.isEndGroup()) {
|
|
768
|
+
break;
|
|
769
|
+
}
|
|
770
|
+
var field = reader.getFieldNumber();
|
|
771
|
+
switch (field) {
|
|
772
|
+
case 1:
|
|
773
|
+
var value = new google_protobuf_wrappers_pb.BoolValue;
|
|
774
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
775
|
+
msg.setEnabled(value);
|
|
776
|
+
break;
|
|
777
|
+
case 2:
|
|
778
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
779
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
780
|
+
msg.setBehaviour(value);
|
|
781
|
+
break;
|
|
782
|
+
case 3:
|
|
783
|
+
var value = new google_protobuf_wrappers_pb.BoolValue;
|
|
784
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
785
|
+
msg.setIntraVmAffinity(value);
|
|
786
|
+
break;
|
|
787
|
+
case 4:
|
|
788
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
789
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
790
|
+
msg.setIntraVmAntiAffinity(value);
|
|
791
|
+
break;
|
|
792
|
+
case 5:
|
|
793
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
794
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
795
|
+
msg.setDataClusterGuid(value);
|
|
796
|
+
break;
|
|
797
|
+
default:
|
|
798
|
+
reader.skipField();
|
|
799
|
+
break;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
return msg;
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
808
|
+
* @return {!Uint8Array}
|
|
809
|
+
*/
|
|
810
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.serializeBinary = function() {
|
|
811
|
+
var writer = new jspb.BinaryWriter();
|
|
812
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.serializeBinaryToWriter(this, writer);
|
|
813
|
+
return writer.getResultBuffer();
|
|
814
|
+
};
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
819
|
+
* format), writing to the given BinaryWriter.
|
|
820
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} message
|
|
821
|
+
* @param {!jspb.BinaryWriter} writer
|
|
822
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
823
|
+
*/
|
|
824
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.serializeBinaryToWriter = function(message, writer) {
|
|
825
|
+
var f = undefined;
|
|
826
|
+
f = message.getEnabled();
|
|
827
|
+
if (f != null) {
|
|
828
|
+
writer.writeMessage(
|
|
829
|
+
1,
|
|
830
|
+
f,
|
|
831
|
+
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
832
|
+
);
|
|
833
|
+
}
|
|
834
|
+
f = message.getBehaviour();
|
|
835
|
+
if (f != null) {
|
|
836
|
+
writer.writeMessage(
|
|
837
|
+
2,
|
|
838
|
+
f,
|
|
839
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
840
|
+
);
|
|
841
|
+
}
|
|
842
|
+
f = message.getIntraVmAffinity();
|
|
843
|
+
if (f != null) {
|
|
844
|
+
writer.writeMessage(
|
|
845
|
+
3,
|
|
846
|
+
f,
|
|
847
|
+
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
848
|
+
);
|
|
849
|
+
}
|
|
850
|
+
f = message.getIntraVmAntiAffinity();
|
|
851
|
+
if (f != null) {
|
|
852
|
+
writer.writeMessage(
|
|
853
|
+
4,
|
|
854
|
+
f,
|
|
855
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
856
|
+
);
|
|
857
|
+
}
|
|
858
|
+
f = message.getDataClusterGuid();
|
|
859
|
+
if (f != null) {
|
|
860
|
+
writer.writeMessage(
|
|
861
|
+
5,
|
|
862
|
+
f,
|
|
863
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
864
|
+
);
|
|
865
|
+
}
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* optional google.protobuf.BoolValue enabled = 1;
|
|
871
|
+
* @return {?proto.google.protobuf.BoolValue}
|
|
872
|
+
*/
|
|
873
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.getEnabled = function() {
|
|
874
|
+
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
875
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 1));
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
881
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
882
|
+
*/
|
|
883
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.setEnabled = function(value) {
|
|
884
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Clears the message field making it undefined.
|
|
890
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
891
|
+
*/
|
|
892
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.clearEnabled = function() {
|
|
893
|
+
return this.setEnabled(undefined);
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Returns whether this field is set.
|
|
899
|
+
* @return {boolean}
|
|
900
|
+
*/
|
|
901
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.hasEnabled = function() {
|
|
902
|
+
return jspb.Message.getField(this, 1) != null;
|
|
903
|
+
};
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* optional google.protobuf.StringValue behaviour = 2;
|
|
908
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
909
|
+
*/
|
|
910
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.getBehaviour = function() {
|
|
911
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
912
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
918
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
919
|
+
*/
|
|
920
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.setBehaviour = function(value) {
|
|
921
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
922
|
+
};
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Clears the message field making it undefined.
|
|
927
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
928
|
+
*/
|
|
929
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.clearBehaviour = function() {
|
|
930
|
+
return this.setBehaviour(undefined);
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Returns whether this field is set.
|
|
936
|
+
* @return {boolean}
|
|
937
|
+
*/
|
|
938
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.hasBehaviour = function() {
|
|
939
|
+
return jspb.Message.getField(this, 2) != null;
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* optional google.protobuf.BoolValue intra_vm_affinity = 3;
|
|
945
|
+
* @return {?proto.google.protobuf.BoolValue}
|
|
946
|
+
*/
|
|
947
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.getIntraVmAffinity = function() {
|
|
948
|
+
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
949
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 3));
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
955
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
956
|
+
*/
|
|
957
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.setIntraVmAffinity = function(value) {
|
|
958
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
959
|
+
};
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Clears the message field making it undefined.
|
|
964
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
965
|
+
*/
|
|
966
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.clearIntraVmAffinity = function() {
|
|
967
|
+
return this.setIntraVmAffinity(undefined);
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Returns whether this field is set.
|
|
973
|
+
* @return {boolean}
|
|
974
|
+
*/
|
|
975
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.hasIntraVmAffinity = function() {
|
|
976
|
+
return jspb.Message.getField(this, 3) != null;
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* optional google.protobuf.StringValue intra_vm_anti_affinity = 4;
|
|
982
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
983
|
+
*/
|
|
984
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.getIntraVmAntiAffinity = function() {
|
|
985
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
986
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
987
|
+
};
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
992
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
993
|
+
*/
|
|
994
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.setIntraVmAntiAffinity = function(value) {
|
|
995
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Clears the message field making it undefined.
|
|
1001
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
1002
|
+
*/
|
|
1003
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.clearIntraVmAntiAffinity = function() {
|
|
1004
|
+
return this.setIntraVmAntiAffinity(undefined);
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Returns whether this field is set.
|
|
1010
|
+
* @return {boolean}
|
|
1011
|
+
*/
|
|
1012
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.hasIntraVmAntiAffinity = function() {
|
|
1013
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* optional google.protobuf.StringValue data_cluster_guid = 5;
|
|
1019
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1020
|
+
*/
|
|
1021
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.getDataClusterGuid = function() {
|
|
1022
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1023
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1029
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
1030
|
+
*/
|
|
1031
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.setDataClusterGuid = function(value) {
|
|
1032
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Clears the message field making it undefined.
|
|
1038
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride} returns this
|
|
1039
|
+
*/
|
|
1040
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.clearDataClusterGuid = function() {
|
|
1041
|
+
return this.setDataClusterGuid(undefined);
|
|
1042
|
+
};
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* Returns whether this field is set.
|
|
1047
|
+
* @return {boolean}
|
|
1048
|
+
*/
|
|
1049
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.prototype.hasDataClusterGuid = function() {
|
|
1050
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* List of repeated fields within this message type.
|
|
1057
|
+
* @private {!Array<number>}
|
|
1058
|
+
* @const
|
|
1059
|
+
*/
|
|
1060
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.repeatedFields_ = [7,8,9];
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1065
|
+
/**
|
|
1066
|
+
* Creates an object representation of this proto.
|
|
1067
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1068
|
+
* Optional fields that are not set will be set to undefined.
|
|
1069
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1070
|
+
* For the list of reserved names please see:
|
|
1071
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1072
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1073
|
+
* JSPB instance for transitional soy proto support:
|
|
1074
|
+
* http://goto/soy-param-migration
|
|
1075
|
+
* @return {!Object}
|
|
1076
|
+
*/
|
|
1077
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.toObject = function(opt_includeInstance) {
|
|
1078
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.toObject(opt_includeInstance, this);
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Static version of the {@see toObject} method.
|
|
1084
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1085
|
+
* the JSPB instance for transitional soy proto support:
|
|
1086
|
+
* http://goto/soy-param-migration
|
|
1087
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} msg The msg instance to transform.
|
|
1088
|
+
* @return {!Object}
|
|
1089
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1090
|
+
*/
|
|
1091
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.toObject = function(includeInstance, msg) {
|
|
1092
|
+
var f, obj = {
|
|
1093
|
+
dataClusterGuid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1094
|
+
internalKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1095
|
+
name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1096
|
+
capacity: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1097
|
+
freeSpace: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
1098
|
+
datastoreClusterStorageDrs: (f = msg.getDatastoreClusterStorageDrs()) && proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.toObject(includeInstance, f),
|
|
1099
|
+
datastoresList: jspb.Message.toObjectList(msg.getDatastoresList(),
|
|
1100
|
+
import_discovery_common_vmware_pb.Datastore.toObject, includeInstance),
|
|
1101
|
+
datastoreClusterDrsPodConfigRulesList: jspb.Message.toObjectList(msg.getDatastoreClusterDrsPodConfigRulesList(),
|
|
1102
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.toObject, includeInstance),
|
|
1103
|
+
datastoreClusterDrsVmOverridesList: jspb.Message.toObjectList(msg.getDatastoreClusterDrsVmOverridesList(),
|
|
1104
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.toObject, includeInstance),
|
|
1105
|
+
datacenterGuid: (f = msg.getDatacenterGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
if (includeInstance) {
|
|
1109
|
+
obj.$jspbMessageInstance = msg;
|
|
1110
|
+
}
|
|
1111
|
+
return obj;
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1118
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1119
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster}
|
|
1120
|
+
*/
|
|
1121
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.deserializeBinary = function(bytes) {
|
|
1122
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1123
|
+
var msg = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster;
|
|
1124
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.deserializeBinaryFromReader(msg, reader);
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1130
|
+
* given reader into the given message object.
|
|
1131
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} msg The message object to deserialize into.
|
|
1132
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1133
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster}
|
|
1134
|
+
*/
|
|
1135
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.deserializeBinaryFromReader = function(msg, reader) {
|
|
1136
|
+
while (reader.nextField()) {
|
|
1137
|
+
if (reader.isEndGroup()) {
|
|
1138
|
+
break;
|
|
1139
|
+
}
|
|
1140
|
+
var field = reader.getFieldNumber();
|
|
1141
|
+
switch (field) {
|
|
1142
|
+
case 1:
|
|
1143
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1144
|
+
msg.setDataClusterGuid(value);
|
|
1145
|
+
break;
|
|
1146
|
+
case 2:
|
|
1147
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1148
|
+
msg.setInternalKey(value);
|
|
1149
|
+
break;
|
|
1150
|
+
case 3:
|
|
1151
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1152
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1153
|
+
msg.setName(value);
|
|
1154
|
+
break;
|
|
1155
|
+
case 4:
|
|
1156
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1157
|
+
msg.setCapacity(value);
|
|
1158
|
+
break;
|
|
1159
|
+
case 5:
|
|
1160
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1161
|
+
msg.setFreeSpace(value);
|
|
1162
|
+
break;
|
|
1163
|
+
case 6:
|
|
1164
|
+
var value = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs;
|
|
1165
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.deserializeBinaryFromReader);
|
|
1166
|
+
msg.setDatastoreClusterStorageDrs(value);
|
|
1167
|
+
break;
|
|
1168
|
+
case 7:
|
|
1169
|
+
var value = new import_discovery_common_vmware_pb.Datastore;
|
|
1170
|
+
reader.readMessage(value,import_discovery_common_vmware_pb.Datastore.deserializeBinaryFromReader);
|
|
1171
|
+
msg.addDatastores(value);
|
|
1172
|
+
break;
|
|
1173
|
+
case 8:
|
|
1174
|
+
var value = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule;
|
|
1175
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.deserializeBinaryFromReader);
|
|
1176
|
+
msg.addDatastoreClusterDrsPodConfigRules(value);
|
|
1177
|
+
break;
|
|
1178
|
+
case 9:
|
|
1179
|
+
var value = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride;
|
|
1180
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.deserializeBinaryFromReader);
|
|
1181
|
+
msg.addDatastoreClusterDrsVmOverrides(value);
|
|
1182
|
+
break;
|
|
1183
|
+
case 10:
|
|
1184
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1185
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1186
|
+
msg.setDatacenterGuid(value);
|
|
1187
|
+
break;
|
|
1188
|
+
default:
|
|
1189
|
+
reader.skipField();
|
|
1190
|
+
break;
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
return msg;
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1199
|
+
* @return {!Uint8Array}
|
|
1200
|
+
*/
|
|
1201
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.serializeBinary = function() {
|
|
1202
|
+
var writer = new jspb.BinaryWriter();
|
|
1203
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.serializeBinaryToWriter(this, writer);
|
|
1204
|
+
return writer.getResultBuffer();
|
|
1205
|
+
};
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1210
|
+
* format), writing to the given BinaryWriter.
|
|
1211
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} message
|
|
1212
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1213
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1214
|
+
*/
|
|
1215
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.serializeBinaryToWriter = function(message, writer) {
|
|
1216
|
+
var f = undefined;
|
|
1217
|
+
f = message.getDataClusterGuid();
|
|
1218
|
+
if (f.length > 0) {
|
|
1219
|
+
writer.writeString(
|
|
1220
|
+
1,
|
|
1221
|
+
f
|
|
1222
|
+
);
|
|
1223
|
+
}
|
|
1224
|
+
f = message.getInternalKey();
|
|
1225
|
+
if (f.length > 0) {
|
|
1226
|
+
writer.writeString(
|
|
1227
|
+
2,
|
|
1228
|
+
f
|
|
1229
|
+
);
|
|
1230
|
+
}
|
|
1231
|
+
f = message.getName();
|
|
1232
|
+
if (f != null) {
|
|
1233
|
+
writer.writeMessage(
|
|
1234
|
+
3,
|
|
1235
|
+
f,
|
|
1236
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1237
|
+
);
|
|
1238
|
+
}
|
|
1239
|
+
f = message.getCapacity();
|
|
1240
|
+
if (f !== 0) {
|
|
1241
|
+
writer.writeInt64(
|
|
1242
|
+
4,
|
|
1243
|
+
f
|
|
1244
|
+
);
|
|
1245
|
+
}
|
|
1246
|
+
f = message.getFreeSpace();
|
|
1247
|
+
if (f !== 0) {
|
|
1248
|
+
writer.writeInt64(
|
|
1249
|
+
5,
|
|
1250
|
+
f
|
|
1251
|
+
);
|
|
1252
|
+
}
|
|
1253
|
+
f = message.getDatastoreClusterStorageDrs();
|
|
1254
|
+
if (f != null) {
|
|
1255
|
+
writer.writeMessage(
|
|
1256
|
+
6,
|
|
1257
|
+
f,
|
|
1258
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.serializeBinaryToWriter
|
|
1259
|
+
);
|
|
1260
|
+
}
|
|
1261
|
+
f = message.getDatastoresList();
|
|
1262
|
+
if (f.length > 0) {
|
|
1263
|
+
writer.writeRepeatedMessage(
|
|
1264
|
+
7,
|
|
1265
|
+
f,
|
|
1266
|
+
import_discovery_common_vmware_pb.Datastore.serializeBinaryToWriter
|
|
1267
|
+
);
|
|
1268
|
+
}
|
|
1269
|
+
f = message.getDatastoreClusterDrsPodConfigRulesList();
|
|
1270
|
+
if (f.length > 0) {
|
|
1271
|
+
writer.writeRepeatedMessage(
|
|
1272
|
+
8,
|
|
1273
|
+
f,
|
|
1274
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule.serializeBinaryToWriter
|
|
1275
|
+
);
|
|
1276
|
+
}
|
|
1277
|
+
f = message.getDatastoreClusterDrsVmOverridesList();
|
|
1278
|
+
if (f.length > 0) {
|
|
1279
|
+
writer.writeRepeatedMessage(
|
|
1280
|
+
9,
|
|
1281
|
+
f,
|
|
1282
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride.serializeBinaryToWriter
|
|
1283
|
+
);
|
|
1284
|
+
}
|
|
1285
|
+
f = message.getDatacenterGuid();
|
|
1286
|
+
if (f != null) {
|
|
1287
|
+
writer.writeMessage(
|
|
1288
|
+
10,
|
|
1289
|
+
f,
|
|
1290
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1291
|
+
);
|
|
1292
|
+
}
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* optional string data_cluster_guid = 1;
|
|
1298
|
+
* @return {string}
|
|
1299
|
+
*/
|
|
1300
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getDataClusterGuid = function() {
|
|
1301
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1302
|
+
};
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* @param {string} value
|
|
1307
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1308
|
+
*/
|
|
1309
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setDataClusterGuid = function(value) {
|
|
1310
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1311
|
+
};
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* optional string internal_key = 2;
|
|
1316
|
+
* @return {string}
|
|
1317
|
+
*/
|
|
1318
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getInternalKey = function() {
|
|
1319
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* @param {string} value
|
|
1325
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1326
|
+
*/
|
|
1327
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setInternalKey = function(value) {
|
|
1328
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* optional google.protobuf.StringValue name = 3;
|
|
1334
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1335
|
+
*/
|
|
1336
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getName = function() {
|
|
1337
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1338
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1344
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1345
|
+
*/
|
|
1346
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setName = function(value) {
|
|
1347
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1348
|
+
};
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Clears the message field making it undefined.
|
|
1353
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1354
|
+
*/
|
|
1355
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.clearName = function() {
|
|
1356
|
+
return this.setName(undefined);
|
|
1357
|
+
};
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* Returns whether this field is set.
|
|
1362
|
+
* @return {boolean}
|
|
1363
|
+
*/
|
|
1364
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.hasName = function() {
|
|
1365
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* optional int64 capacity = 4;
|
|
1371
|
+
* @return {number}
|
|
1372
|
+
*/
|
|
1373
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getCapacity = function() {
|
|
1374
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* @param {number} value
|
|
1380
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1381
|
+
*/
|
|
1382
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setCapacity = function(value) {
|
|
1383
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* optional int64 free_space = 5;
|
|
1389
|
+
* @return {number}
|
|
1390
|
+
*/
|
|
1391
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getFreeSpace = function() {
|
|
1392
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* @param {number} value
|
|
1398
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1399
|
+
*/
|
|
1400
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setFreeSpace = function(value) {
|
|
1401
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* optional DatastoreClusterStorageDrs datastore_cluster_storage_drs = 6;
|
|
1407
|
+
* @return {?proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs}
|
|
1408
|
+
*/
|
|
1409
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getDatastoreClusterStorageDrs = function() {
|
|
1410
|
+
return /** @type{?proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} */ (
|
|
1411
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs, 6));
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* @param {?proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs|undefined} value
|
|
1417
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1418
|
+
*/
|
|
1419
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setDatastoreClusterStorageDrs = function(value) {
|
|
1420
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Clears the message field making it undefined.
|
|
1426
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1427
|
+
*/
|
|
1428
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.clearDatastoreClusterStorageDrs = function() {
|
|
1429
|
+
return this.setDatastoreClusterStorageDrs(undefined);
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* Returns whether this field is set.
|
|
1435
|
+
* @return {boolean}
|
|
1436
|
+
*/
|
|
1437
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.hasDatastoreClusterStorageDrs = function() {
|
|
1438
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1439
|
+
};
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* repeated com.lansweeper.discovery.sensor.vmware.v1.Datastore datastores = 7;
|
|
1444
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore>}
|
|
1445
|
+
*/
|
|
1446
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getDatastoresList = function() {
|
|
1447
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore>} */ (
|
|
1448
|
+
jspb.Message.getRepeatedWrapperField(this, import_discovery_common_vmware_pb.Datastore, 7));
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore>} value
|
|
1454
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1455
|
+
*/
|
|
1456
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setDatastoresList = function(value) {
|
|
1457
|
+
return jspb.Message.setRepeatedWrapperField(this, 7, value);
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore=} opt_value
|
|
1463
|
+
* @param {number=} opt_index
|
|
1464
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore}
|
|
1465
|
+
*/
|
|
1466
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.addDatastores = function(opt_value, opt_index) {
|
|
1467
|
+
return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore, opt_index);
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Clears the list making it empty but non-null.
|
|
1473
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1474
|
+
*/
|
|
1475
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.clearDatastoresList = function() {
|
|
1476
|
+
return this.setDatastoresList([]);
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
/**
|
|
1481
|
+
* repeated DatastoreClusterDrsPodConfigRule datastore_cluster_drs_pod_config_rules = 8;
|
|
1482
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule>}
|
|
1483
|
+
*/
|
|
1484
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getDatastoreClusterDrsPodConfigRulesList = function() {
|
|
1485
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule>} */ (
|
|
1486
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule, 8));
|
|
1487
|
+
};
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
/**
|
|
1491
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule>} value
|
|
1492
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1493
|
+
*/
|
|
1494
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setDatastoreClusterDrsPodConfigRulesList = function(value) {
|
|
1495
|
+
return jspb.Message.setRepeatedWrapperField(this, 8, value);
|
|
1496
|
+
};
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule=} opt_value
|
|
1501
|
+
* @param {number=} opt_index
|
|
1502
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule}
|
|
1503
|
+
*/
|
|
1504
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.addDatastoreClusterDrsPodConfigRules = function(opt_value, opt_index) {
|
|
1505
|
+
return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsPodConfigRule, opt_index);
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
/**
|
|
1510
|
+
* Clears the list making it empty but non-null.
|
|
1511
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1512
|
+
*/
|
|
1513
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.clearDatastoreClusterDrsPodConfigRulesList = function() {
|
|
1514
|
+
return this.setDatastoreClusterDrsPodConfigRulesList([]);
|
|
1515
|
+
};
|
|
1516
|
+
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* repeated DatastoreClusterDrsVmOverride datastore_cluster_drs_vm_overrides = 9;
|
|
1520
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride>}
|
|
1521
|
+
*/
|
|
1522
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getDatastoreClusterDrsVmOverridesList = function() {
|
|
1523
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride>} */ (
|
|
1524
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride, 9));
|
|
1525
|
+
};
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride>} value
|
|
1530
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1531
|
+
*/
|
|
1532
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setDatastoreClusterDrsVmOverridesList = function(value) {
|
|
1533
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride=} opt_value
|
|
1539
|
+
* @param {number=} opt_index
|
|
1540
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride}
|
|
1541
|
+
*/
|
|
1542
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.addDatastoreClusterDrsVmOverrides = function(opt_value, opt_index) {
|
|
1543
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterDrsVmOverride, opt_index);
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* Clears the list making it empty but non-null.
|
|
1549
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1550
|
+
*/
|
|
1551
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.clearDatastoreClusterDrsVmOverridesList = function() {
|
|
1552
|
+
return this.setDatastoreClusterDrsVmOverridesList([]);
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* optional google.protobuf.StringValue datacenter_guid = 10;
|
|
1558
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1559
|
+
*/
|
|
1560
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.getDatacenterGuid = function() {
|
|
1561
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1562
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
|
|
1563
|
+
};
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1568
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1569
|
+
*/
|
|
1570
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.setDatacenterGuid = function(value) {
|
|
1571
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
1572
|
+
};
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* Clears the message field making it undefined.
|
|
1577
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster} returns this
|
|
1578
|
+
*/
|
|
1579
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.clearDatacenterGuid = function() {
|
|
1580
|
+
return this.setDatacenterGuid(undefined);
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* Returns whether this field is set.
|
|
1586
|
+
* @return {boolean}
|
|
1587
|
+
*/
|
|
1588
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.prototype.hasDatacenterGuid = function() {
|
|
1589
|
+
return jspb.Message.getField(this, 10) != null;
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1597
|
+
/**
|
|
1598
|
+
* Creates an object representation of this proto.
|
|
1599
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1600
|
+
* Optional fields that are not set will be set to undefined.
|
|
1601
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1602
|
+
* For the list of reserved names please see:
|
|
1603
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1604
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1605
|
+
* JSPB instance for transitional soy proto support:
|
|
1606
|
+
* http://goto/soy-param-migration
|
|
1607
|
+
* @return {!Object}
|
|
1608
|
+
*/
|
|
1609
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.toObject = function(opt_includeInstance) {
|
|
1610
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.toObject(opt_includeInstance, this);
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* Static version of the {@see toObject} method.
|
|
1616
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1617
|
+
* the JSPB instance for transitional soy proto support:
|
|
1618
|
+
* http://goto/soy-param-migration
|
|
1619
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} msg The msg instance to transform.
|
|
1620
|
+
* @return {!Object}
|
|
1621
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1622
|
+
*/
|
|
1623
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.toObject = function(includeInstance, msg) {
|
|
1624
|
+
var f, obj = {
|
|
1625
|
+
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
1626
|
+
ioLoadBalanceEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
1627
|
+
defaultVmBehaviour: (f = msg.getDefaultVmBehaviour()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
1628
|
+
loadBalanceInterval: (f = msg.getLoadBalanceInterval()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
|
|
1629
|
+
defaultIntraVmAffinity: (f = msg.getDefaultIntraVmAffinity()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
|
|
1630
|
+
spaceUtilizationThreshold: (f = msg.getSpaceUtilizationThreshold()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
|
|
1631
|
+
minSpaceUtilizationDifference: (f = msg.getMinSpaceUtilizationDifference()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
|
|
1632
|
+
ioLatencyThreshold: (f = msg.getIoLatencyThreshold()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
|
|
1633
|
+
ioLoadImbalanceThreshold: (f = msg.getIoLoadImbalanceThreshold()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
|
|
1634
|
+
dataClusterGuid: (f = msg.getDataClusterGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
if (includeInstance) {
|
|
1638
|
+
obj.$jspbMessageInstance = msg;
|
|
1639
|
+
}
|
|
1640
|
+
return obj;
|
|
1641
|
+
};
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1647
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1648
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs}
|
|
1649
|
+
*/
|
|
1650
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.deserializeBinary = function(bytes) {
|
|
1651
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1652
|
+
var msg = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs;
|
|
1653
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.deserializeBinaryFromReader(msg, reader);
|
|
1654
|
+
};
|
|
1655
|
+
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1659
|
+
* given reader into the given message object.
|
|
1660
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} msg The message object to deserialize into.
|
|
1661
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1662
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs}
|
|
1663
|
+
*/
|
|
1664
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.deserializeBinaryFromReader = function(msg, reader) {
|
|
1665
|
+
while (reader.nextField()) {
|
|
1666
|
+
if (reader.isEndGroup()) {
|
|
1667
|
+
break;
|
|
1668
|
+
}
|
|
1669
|
+
var field = reader.getFieldNumber();
|
|
1670
|
+
switch (field) {
|
|
1671
|
+
case 1:
|
|
1672
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1673
|
+
msg.setEnabled(value);
|
|
1674
|
+
break;
|
|
1675
|
+
case 2:
|
|
1676
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1677
|
+
msg.setIoLoadBalanceEnabled(value);
|
|
1678
|
+
break;
|
|
1679
|
+
case 3:
|
|
1680
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1681
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1682
|
+
msg.setDefaultVmBehaviour(value);
|
|
1683
|
+
break;
|
|
1684
|
+
case 4:
|
|
1685
|
+
var value = new google_protobuf_wrappers_pb.Int32Value;
|
|
1686
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
1687
|
+
msg.setLoadBalanceInterval(value);
|
|
1688
|
+
break;
|
|
1689
|
+
case 5:
|
|
1690
|
+
var value = new google_protobuf_wrappers_pb.BoolValue;
|
|
1691
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
|
|
1692
|
+
msg.setDefaultIntraVmAffinity(value);
|
|
1693
|
+
break;
|
|
1694
|
+
case 6:
|
|
1695
|
+
var value = new google_protobuf_wrappers_pb.Int32Value;
|
|
1696
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
1697
|
+
msg.setSpaceUtilizationThreshold(value);
|
|
1698
|
+
break;
|
|
1699
|
+
case 7:
|
|
1700
|
+
var value = new google_protobuf_wrappers_pb.Int32Value;
|
|
1701
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
1702
|
+
msg.setMinSpaceUtilizationDifference(value);
|
|
1703
|
+
break;
|
|
1704
|
+
case 8:
|
|
1705
|
+
var value = new google_protobuf_wrappers_pb.Int32Value;
|
|
1706
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
1707
|
+
msg.setIoLatencyThreshold(value);
|
|
1708
|
+
break;
|
|
1709
|
+
case 9:
|
|
1710
|
+
var value = new google_protobuf_wrappers_pb.Int32Value;
|
|
1711
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
1712
|
+
msg.setIoLoadImbalanceThreshold(value);
|
|
1713
|
+
break;
|
|
1714
|
+
case 10:
|
|
1715
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
1716
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
1717
|
+
msg.setDataClusterGuid(value);
|
|
1718
|
+
break;
|
|
1719
|
+
default:
|
|
1720
|
+
reader.skipField();
|
|
1721
|
+
break;
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
return msg;
|
|
1725
|
+
};
|
|
1726
|
+
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1730
|
+
* @return {!Uint8Array}
|
|
1731
|
+
*/
|
|
1732
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.serializeBinary = function() {
|
|
1733
|
+
var writer = new jspb.BinaryWriter();
|
|
1734
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.serializeBinaryToWriter(this, writer);
|
|
1735
|
+
return writer.getResultBuffer();
|
|
1736
|
+
};
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1741
|
+
* format), writing to the given BinaryWriter.
|
|
1742
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} message
|
|
1743
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1744
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1745
|
+
*/
|
|
1746
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.serializeBinaryToWriter = function(message, writer) {
|
|
1747
|
+
var f = undefined;
|
|
1748
|
+
f = message.getEnabled();
|
|
1749
|
+
if (f) {
|
|
1750
|
+
writer.writeBool(
|
|
1751
|
+
1,
|
|
1752
|
+
f
|
|
1753
|
+
);
|
|
1754
|
+
}
|
|
1755
|
+
f = message.getIoLoadBalanceEnabled();
|
|
1756
|
+
if (f) {
|
|
1757
|
+
writer.writeBool(
|
|
1758
|
+
2,
|
|
1759
|
+
f
|
|
1760
|
+
);
|
|
1761
|
+
}
|
|
1762
|
+
f = message.getDefaultVmBehaviour();
|
|
1763
|
+
if (f != null) {
|
|
1764
|
+
writer.writeMessage(
|
|
1765
|
+
3,
|
|
1766
|
+
f,
|
|
1767
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1768
|
+
);
|
|
1769
|
+
}
|
|
1770
|
+
f = message.getLoadBalanceInterval();
|
|
1771
|
+
if (f != null) {
|
|
1772
|
+
writer.writeMessage(
|
|
1773
|
+
4,
|
|
1774
|
+
f,
|
|
1775
|
+
google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
|
|
1776
|
+
);
|
|
1777
|
+
}
|
|
1778
|
+
f = message.getDefaultIntraVmAffinity();
|
|
1779
|
+
if (f != null) {
|
|
1780
|
+
writer.writeMessage(
|
|
1781
|
+
5,
|
|
1782
|
+
f,
|
|
1783
|
+
google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
|
|
1784
|
+
);
|
|
1785
|
+
}
|
|
1786
|
+
f = message.getSpaceUtilizationThreshold();
|
|
1787
|
+
if (f != null) {
|
|
1788
|
+
writer.writeMessage(
|
|
1789
|
+
6,
|
|
1790
|
+
f,
|
|
1791
|
+
google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
|
|
1792
|
+
);
|
|
1793
|
+
}
|
|
1794
|
+
f = message.getMinSpaceUtilizationDifference();
|
|
1795
|
+
if (f != null) {
|
|
1796
|
+
writer.writeMessage(
|
|
1797
|
+
7,
|
|
1798
|
+
f,
|
|
1799
|
+
google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
|
|
1800
|
+
);
|
|
1801
|
+
}
|
|
1802
|
+
f = message.getIoLatencyThreshold();
|
|
1803
|
+
if (f != null) {
|
|
1804
|
+
writer.writeMessage(
|
|
1805
|
+
8,
|
|
1806
|
+
f,
|
|
1807
|
+
google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
|
|
1808
|
+
);
|
|
1809
|
+
}
|
|
1810
|
+
f = message.getIoLoadImbalanceThreshold();
|
|
1811
|
+
if (f != null) {
|
|
1812
|
+
writer.writeMessage(
|
|
1813
|
+
9,
|
|
1814
|
+
f,
|
|
1815
|
+
google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
|
|
1816
|
+
);
|
|
1817
|
+
}
|
|
1818
|
+
f = message.getDataClusterGuid();
|
|
1819
|
+
if (f != null) {
|
|
1820
|
+
writer.writeMessage(
|
|
1821
|
+
10,
|
|
1822
|
+
f,
|
|
1823
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
1824
|
+
);
|
|
1825
|
+
}
|
|
1826
|
+
};
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
/**
|
|
1830
|
+
* optional bool enabled = 1;
|
|
1831
|
+
* @return {boolean}
|
|
1832
|
+
*/
|
|
1833
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getEnabled = function() {
|
|
1834
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
1835
|
+
};
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* @param {boolean} value
|
|
1840
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1841
|
+
*/
|
|
1842
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setEnabled = function(value) {
|
|
1843
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
1844
|
+
};
|
|
1845
|
+
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* optional bool io_load_balance_enabled = 2;
|
|
1849
|
+
* @return {boolean}
|
|
1850
|
+
*/
|
|
1851
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getIoLoadBalanceEnabled = function() {
|
|
1852
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
1853
|
+
};
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* @param {boolean} value
|
|
1858
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1859
|
+
*/
|
|
1860
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setIoLoadBalanceEnabled = function(value) {
|
|
1861
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
1862
|
+
};
|
|
1863
|
+
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* optional google.protobuf.StringValue default_vm_behaviour = 3;
|
|
1867
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
1868
|
+
*/
|
|
1869
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getDefaultVmBehaviour = function() {
|
|
1870
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
1871
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
1872
|
+
};
|
|
1873
|
+
|
|
1874
|
+
|
|
1875
|
+
/**
|
|
1876
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
1877
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1878
|
+
*/
|
|
1879
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setDefaultVmBehaviour = function(value) {
|
|
1880
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
1881
|
+
};
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* Clears the message field making it undefined.
|
|
1886
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1887
|
+
*/
|
|
1888
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.clearDefaultVmBehaviour = function() {
|
|
1889
|
+
return this.setDefaultVmBehaviour(undefined);
|
|
1890
|
+
};
|
|
1891
|
+
|
|
1892
|
+
|
|
1893
|
+
/**
|
|
1894
|
+
* Returns whether this field is set.
|
|
1895
|
+
* @return {boolean}
|
|
1896
|
+
*/
|
|
1897
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.hasDefaultVmBehaviour = function() {
|
|
1898
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1899
|
+
};
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* optional google.protobuf.Int32Value load_balance_interval = 4;
|
|
1904
|
+
* @return {?proto.google.protobuf.Int32Value}
|
|
1905
|
+
*/
|
|
1906
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getLoadBalanceInterval = function() {
|
|
1907
|
+
return /** @type{?proto.google.protobuf.Int32Value} */ (
|
|
1908
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 4));
|
|
1909
|
+
};
|
|
1910
|
+
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* @param {?proto.google.protobuf.Int32Value|undefined} value
|
|
1914
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1915
|
+
*/
|
|
1916
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setLoadBalanceInterval = function(value) {
|
|
1917
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1918
|
+
};
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
* Clears the message field making it undefined.
|
|
1923
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1924
|
+
*/
|
|
1925
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.clearLoadBalanceInterval = function() {
|
|
1926
|
+
return this.setLoadBalanceInterval(undefined);
|
|
1927
|
+
};
|
|
1928
|
+
|
|
1929
|
+
|
|
1930
|
+
/**
|
|
1931
|
+
* Returns whether this field is set.
|
|
1932
|
+
* @return {boolean}
|
|
1933
|
+
*/
|
|
1934
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.hasLoadBalanceInterval = function() {
|
|
1935
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1936
|
+
};
|
|
1937
|
+
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* optional google.protobuf.BoolValue default_intra_vm_affinity = 5;
|
|
1941
|
+
* @return {?proto.google.protobuf.BoolValue}
|
|
1942
|
+
*/
|
|
1943
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getDefaultIntraVmAffinity = function() {
|
|
1944
|
+
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
1945
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 5));
|
|
1946
|
+
};
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
1951
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1952
|
+
*/
|
|
1953
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setDefaultIntraVmAffinity = function(value) {
|
|
1954
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1955
|
+
};
|
|
1956
|
+
|
|
1957
|
+
|
|
1958
|
+
/**
|
|
1959
|
+
* Clears the message field making it undefined.
|
|
1960
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1961
|
+
*/
|
|
1962
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.clearDefaultIntraVmAffinity = function() {
|
|
1963
|
+
return this.setDefaultIntraVmAffinity(undefined);
|
|
1964
|
+
};
|
|
1965
|
+
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* Returns whether this field is set.
|
|
1969
|
+
* @return {boolean}
|
|
1970
|
+
*/
|
|
1971
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.hasDefaultIntraVmAffinity = function() {
|
|
1972
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1973
|
+
};
|
|
1974
|
+
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* optional google.protobuf.Int32Value space_utilization_threshold = 6;
|
|
1978
|
+
* @return {?proto.google.protobuf.Int32Value}
|
|
1979
|
+
*/
|
|
1980
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getSpaceUtilizationThreshold = function() {
|
|
1981
|
+
return /** @type{?proto.google.protobuf.Int32Value} */ (
|
|
1982
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 6));
|
|
1983
|
+
};
|
|
1984
|
+
|
|
1985
|
+
|
|
1986
|
+
/**
|
|
1987
|
+
* @param {?proto.google.protobuf.Int32Value|undefined} value
|
|
1988
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1989
|
+
*/
|
|
1990
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setSpaceUtilizationThreshold = function(value) {
|
|
1991
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1992
|
+
};
|
|
1993
|
+
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* Clears the message field making it undefined.
|
|
1997
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
1998
|
+
*/
|
|
1999
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.clearSpaceUtilizationThreshold = function() {
|
|
2000
|
+
return this.setSpaceUtilizationThreshold(undefined);
|
|
2001
|
+
};
|
|
2002
|
+
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* Returns whether this field is set.
|
|
2006
|
+
* @return {boolean}
|
|
2007
|
+
*/
|
|
2008
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.hasSpaceUtilizationThreshold = function() {
|
|
2009
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2010
|
+
};
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
/**
|
|
2014
|
+
* optional google.protobuf.Int32Value min_space_utilization_difference = 7;
|
|
2015
|
+
* @return {?proto.google.protobuf.Int32Value}
|
|
2016
|
+
*/
|
|
2017
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getMinSpaceUtilizationDifference = function() {
|
|
2018
|
+
return /** @type{?proto.google.protobuf.Int32Value} */ (
|
|
2019
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 7));
|
|
2020
|
+
};
|
|
2021
|
+
|
|
2022
|
+
|
|
2023
|
+
/**
|
|
2024
|
+
* @param {?proto.google.protobuf.Int32Value|undefined} value
|
|
2025
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
2026
|
+
*/
|
|
2027
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setMinSpaceUtilizationDifference = function(value) {
|
|
2028
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
2029
|
+
};
|
|
2030
|
+
|
|
2031
|
+
|
|
2032
|
+
/**
|
|
2033
|
+
* Clears the message field making it undefined.
|
|
2034
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
2035
|
+
*/
|
|
2036
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.clearMinSpaceUtilizationDifference = function() {
|
|
2037
|
+
return this.setMinSpaceUtilizationDifference(undefined);
|
|
2038
|
+
};
|
|
2039
|
+
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* Returns whether this field is set.
|
|
2043
|
+
* @return {boolean}
|
|
2044
|
+
*/
|
|
2045
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.hasMinSpaceUtilizationDifference = function() {
|
|
2046
|
+
return jspb.Message.getField(this, 7) != null;
|
|
2047
|
+
};
|
|
2048
|
+
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* optional google.protobuf.Int32Value io_latency_threshold = 8;
|
|
2052
|
+
* @return {?proto.google.protobuf.Int32Value}
|
|
2053
|
+
*/
|
|
2054
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getIoLatencyThreshold = function() {
|
|
2055
|
+
return /** @type{?proto.google.protobuf.Int32Value} */ (
|
|
2056
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 8));
|
|
2057
|
+
};
|
|
2058
|
+
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* @param {?proto.google.protobuf.Int32Value|undefined} value
|
|
2062
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
2063
|
+
*/
|
|
2064
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setIoLatencyThreshold = function(value) {
|
|
2065
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
2066
|
+
};
|
|
2067
|
+
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* Clears the message field making it undefined.
|
|
2071
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
2072
|
+
*/
|
|
2073
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.clearIoLatencyThreshold = function() {
|
|
2074
|
+
return this.setIoLatencyThreshold(undefined);
|
|
2075
|
+
};
|
|
2076
|
+
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* Returns whether this field is set.
|
|
2080
|
+
* @return {boolean}
|
|
2081
|
+
*/
|
|
2082
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.hasIoLatencyThreshold = function() {
|
|
2083
|
+
return jspb.Message.getField(this, 8) != null;
|
|
2084
|
+
};
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* optional google.protobuf.Int32Value io_load_imbalance_threshold = 9;
|
|
2089
|
+
* @return {?proto.google.protobuf.Int32Value}
|
|
2090
|
+
*/
|
|
2091
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getIoLoadImbalanceThreshold = function() {
|
|
2092
|
+
return /** @type{?proto.google.protobuf.Int32Value} */ (
|
|
2093
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 9));
|
|
2094
|
+
};
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* @param {?proto.google.protobuf.Int32Value|undefined} value
|
|
2099
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
2100
|
+
*/
|
|
2101
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setIoLoadImbalanceThreshold = function(value) {
|
|
2102
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
2103
|
+
};
|
|
2104
|
+
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* Clears the message field making it undefined.
|
|
2108
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
2109
|
+
*/
|
|
2110
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.clearIoLoadImbalanceThreshold = function() {
|
|
2111
|
+
return this.setIoLoadImbalanceThreshold(undefined);
|
|
2112
|
+
};
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* Returns whether this field is set.
|
|
2117
|
+
* @return {boolean}
|
|
2118
|
+
*/
|
|
2119
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.hasIoLoadImbalanceThreshold = function() {
|
|
2120
|
+
return jspb.Message.getField(this, 9) != null;
|
|
2121
|
+
};
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
* optional google.protobuf.StringValue data_cluster_guid = 10;
|
|
2126
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
2127
|
+
*/
|
|
2128
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.getDataClusterGuid = function() {
|
|
2129
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2130
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2136
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
2137
|
+
*/
|
|
2138
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.setDataClusterGuid = function(value) {
|
|
2139
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
2140
|
+
};
|
|
2141
|
+
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* Clears the message field making it undefined.
|
|
2145
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs} returns this
|
|
2146
|
+
*/
|
|
2147
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.clearDataClusterGuid = function() {
|
|
2148
|
+
return this.setDataClusterGuid(undefined);
|
|
2149
|
+
};
|
|
2150
|
+
|
|
2151
|
+
|
|
2152
|
+
/**
|
|
2153
|
+
* Returns whether this field is set.
|
|
2154
|
+
* @return {boolean}
|
|
2155
|
+
*/
|
|
2156
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreClusterStorageDrs.prototype.hasDataClusterGuid = function() {
|
|
2157
|
+
return jspb.Message.getField(this, 10) != null;
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* List of repeated fields within this message type.
|
|
2164
|
+
* @private {!Array<number>}
|
|
2165
|
+
* @const
|
|
2166
|
+
*/
|
|
2167
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.repeatedFields_ = [5];
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2172
|
+
/**
|
|
2173
|
+
* Creates an object representation of this proto.
|
|
2174
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2175
|
+
* Optional fields that are not set will be set to undefined.
|
|
2176
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2177
|
+
* For the list of reserved names please see:
|
|
2178
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2179
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2180
|
+
* JSPB instance for transitional soy proto support:
|
|
2181
|
+
* http://goto/soy-param-migration
|
|
2182
|
+
* @return {!Object}
|
|
2183
|
+
*/
|
|
2184
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.toObject = function(opt_includeInstance) {
|
|
2185
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.toObject(opt_includeInstance, this);
|
|
2186
|
+
};
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
/**
|
|
2190
|
+
* Static version of the {@see toObject} method.
|
|
2191
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2192
|
+
* the JSPB instance for transitional soy proto support:
|
|
2193
|
+
* http://goto/soy-param-migration
|
|
2194
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} msg The msg instance to transform.
|
|
2195
|
+
* @return {!Object}
|
|
2196
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2197
|
+
*/
|
|
2198
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.toObject = function(includeInstance, msg) {
|
|
2199
|
+
var f, obj = {
|
|
2200
|
+
esxiClusterGuid: (f = msg.getEsxiClusterGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2201
|
+
name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2202
|
+
internalKey: (f = msg.getInternalKey()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2203
|
+
parentFolder: (f = msg.getParentFolder()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2204
|
+
hostsList: jspb.Message.toObjectList(msg.getHostsList(),
|
|
2205
|
+
discovery_sections_esxi_pb.Esxi.toObject, includeInstance),
|
|
2206
|
+
totalCpu: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
2207
|
+
totalMemory: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
2208
|
+
numCpuCores: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
2209
|
+
numCpuThreads: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
2210
|
+
effectiveCpu: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
2211
|
+
effectiveMemory: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
2212
|
+
numHosts: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
2213
|
+
numEffectiveHosts: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
2214
|
+
overallStatus: (f = msg.getOverallStatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2215
|
+
datacenterGuid: (f = msg.getDatacenterGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
2216
|
+
};
|
|
2217
|
+
|
|
2218
|
+
if (includeInstance) {
|
|
2219
|
+
obj.$jspbMessageInstance = msg;
|
|
2220
|
+
}
|
|
2221
|
+
return obj;
|
|
2222
|
+
};
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2228
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2229
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster}
|
|
2230
|
+
*/
|
|
2231
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.deserializeBinary = function(bytes) {
|
|
2232
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2233
|
+
var msg = new proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster;
|
|
2234
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.deserializeBinaryFromReader(msg, reader);
|
|
2235
|
+
};
|
|
2236
|
+
|
|
2237
|
+
|
|
2238
|
+
/**
|
|
2239
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2240
|
+
* given reader into the given message object.
|
|
2241
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} msg The message object to deserialize into.
|
|
2242
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2243
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster}
|
|
2244
|
+
*/
|
|
2245
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.deserializeBinaryFromReader = function(msg, reader) {
|
|
2246
|
+
while (reader.nextField()) {
|
|
2247
|
+
if (reader.isEndGroup()) {
|
|
2248
|
+
break;
|
|
2249
|
+
}
|
|
2250
|
+
var field = reader.getFieldNumber();
|
|
2251
|
+
switch (field) {
|
|
2252
|
+
case 1:
|
|
2253
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
2254
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
2255
|
+
msg.setEsxiClusterGuid(value);
|
|
2256
|
+
break;
|
|
2257
|
+
case 2:
|
|
2258
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
2259
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
2260
|
+
msg.setName(value);
|
|
2261
|
+
break;
|
|
2262
|
+
case 3:
|
|
2263
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
2264
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
2265
|
+
msg.setInternalKey(value);
|
|
2266
|
+
break;
|
|
2267
|
+
case 4:
|
|
2268
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
2269
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
2270
|
+
msg.setParentFolder(value);
|
|
2271
|
+
break;
|
|
2272
|
+
case 5:
|
|
2273
|
+
var value = new discovery_sections_esxi_pb.Esxi;
|
|
2274
|
+
reader.readMessage(value,discovery_sections_esxi_pb.Esxi.deserializeBinaryFromReader);
|
|
2275
|
+
msg.addHosts(value);
|
|
2276
|
+
break;
|
|
2277
|
+
case 6:
|
|
2278
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2279
|
+
msg.setTotalCpu(value);
|
|
2280
|
+
break;
|
|
2281
|
+
case 7:
|
|
2282
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2283
|
+
msg.setTotalMemory(value);
|
|
2284
|
+
break;
|
|
2285
|
+
case 8:
|
|
2286
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2287
|
+
msg.setNumCpuCores(value);
|
|
2288
|
+
break;
|
|
2289
|
+
case 9:
|
|
2290
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2291
|
+
msg.setNumCpuThreads(value);
|
|
2292
|
+
break;
|
|
2293
|
+
case 10:
|
|
2294
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2295
|
+
msg.setEffectiveCpu(value);
|
|
2296
|
+
break;
|
|
2297
|
+
case 11:
|
|
2298
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2299
|
+
msg.setEffectiveMemory(value);
|
|
2300
|
+
break;
|
|
2301
|
+
case 12:
|
|
2302
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2303
|
+
msg.setNumHosts(value);
|
|
2304
|
+
break;
|
|
2305
|
+
case 13:
|
|
2306
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2307
|
+
msg.setNumEffectiveHosts(value);
|
|
2308
|
+
break;
|
|
2309
|
+
case 14:
|
|
2310
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
2311
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
2312
|
+
msg.setOverallStatus(value);
|
|
2313
|
+
break;
|
|
2314
|
+
case 15:
|
|
2315
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
2316
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
2317
|
+
msg.setDatacenterGuid(value);
|
|
2318
|
+
break;
|
|
2319
|
+
default:
|
|
2320
|
+
reader.skipField();
|
|
2321
|
+
break;
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
return msg;
|
|
2325
|
+
};
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
/**
|
|
2329
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2330
|
+
* @return {!Uint8Array}
|
|
2331
|
+
*/
|
|
2332
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.serializeBinary = function() {
|
|
2333
|
+
var writer = new jspb.BinaryWriter();
|
|
2334
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.serializeBinaryToWriter(this, writer);
|
|
2335
|
+
return writer.getResultBuffer();
|
|
2336
|
+
};
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
/**
|
|
2340
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2341
|
+
* format), writing to the given BinaryWriter.
|
|
2342
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} message
|
|
2343
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2344
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2345
|
+
*/
|
|
2346
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.serializeBinaryToWriter = function(message, writer) {
|
|
2347
|
+
var f = undefined;
|
|
2348
|
+
f = message.getEsxiClusterGuid();
|
|
2349
|
+
if (f != null) {
|
|
2350
|
+
writer.writeMessage(
|
|
2351
|
+
1,
|
|
2352
|
+
f,
|
|
2353
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
2354
|
+
);
|
|
2355
|
+
}
|
|
2356
|
+
f = message.getName();
|
|
2357
|
+
if (f != null) {
|
|
2358
|
+
writer.writeMessage(
|
|
2359
|
+
2,
|
|
2360
|
+
f,
|
|
2361
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
2362
|
+
);
|
|
2363
|
+
}
|
|
2364
|
+
f = message.getInternalKey();
|
|
2365
|
+
if (f != null) {
|
|
2366
|
+
writer.writeMessage(
|
|
2367
|
+
3,
|
|
2368
|
+
f,
|
|
2369
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
2370
|
+
);
|
|
2371
|
+
}
|
|
2372
|
+
f = message.getParentFolder();
|
|
2373
|
+
if (f != null) {
|
|
2374
|
+
writer.writeMessage(
|
|
2375
|
+
4,
|
|
2376
|
+
f,
|
|
2377
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
2378
|
+
);
|
|
2379
|
+
}
|
|
2380
|
+
f = message.getHostsList();
|
|
2381
|
+
if (f.length > 0) {
|
|
2382
|
+
writer.writeRepeatedMessage(
|
|
2383
|
+
5,
|
|
2384
|
+
f,
|
|
2385
|
+
discovery_sections_esxi_pb.Esxi.serializeBinaryToWriter
|
|
2386
|
+
);
|
|
2387
|
+
}
|
|
2388
|
+
f = message.getTotalCpu();
|
|
2389
|
+
if (f !== 0) {
|
|
2390
|
+
writer.writeInt32(
|
|
2391
|
+
6,
|
|
2392
|
+
f
|
|
2393
|
+
);
|
|
2394
|
+
}
|
|
2395
|
+
f = message.getTotalMemory();
|
|
2396
|
+
if (f !== 0) {
|
|
2397
|
+
writer.writeInt64(
|
|
2398
|
+
7,
|
|
2399
|
+
f
|
|
2400
|
+
);
|
|
2401
|
+
}
|
|
2402
|
+
f = message.getNumCpuCores();
|
|
2403
|
+
if (f !== 0) {
|
|
2404
|
+
writer.writeInt32(
|
|
2405
|
+
8,
|
|
2406
|
+
f
|
|
2407
|
+
);
|
|
2408
|
+
}
|
|
2409
|
+
f = message.getNumCpuThreads();
|
|
2410
|
+
if (f !== 0) {
|
|
2411
|
+
writer.writeInt32(
|
|
2412
|
+
9,
|
|
2413
|
+
f
|
|
2414
|
+
);
|
|
2415
|
+
}
|
|
2416
|
+
f = message.getEffectiveCpu();
|
|
2417
|
+
if (f !== 0) {
|
|
2418
|
+
writer.writeInt32(
|
|
2419
|
+
10,
|
|
2420
|
+
f
|
|
2421
|
+
);
|
|
2422
|
+
}
|
|
2423
|
+
f = message.getEffectiveMemory();
|
|
2424
|
+
if (f !== 0) {
|
|
2425
|
+
writer.writeInt64(
|
|
2426
|
+
11,
|
|
2427
|
+
f
|
|
2428
|
+
);
|
|
2429
|
+
}
|
|
2430
|
+
f = message.getNumHosts();
|
|
2431
|
+
if (f !== 0) {
|
|
2432
|
+
writer.writeInt32(
|
|
2433
|
+
12,
|
|
2434
|
+
f
|
|
2435
|
+
);
|
|
2436
|
+
}
|
|
2437
|
+
f = message.getNumEffectiveHosts();
|
|
2438
|
+
if (f !== 0) {
|
|
2439
|
+
writer.writeInt32(
|
|
2440
|
+
13,
|
|
2441
|
+
f
|
|
2442
|
+
);
|
|
2443
|
+
}
|
|
2444
|
+
f = message.getOverallStatus();
|
|
2445
|
+
if (f != null) {
|
|
2446
|
+
writer.writeMessage(
|
|
2447
|
+
14,
|
|
2448
|
+
f,
|
|
2449
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
2450
|
+
);
|
|
2451
|
+
}
|
|
2452
|
+
f = message.getDatacenterGuid();
|
|
2453
|
+
if (f != null) {
|
|
2454
|
+
writer.writeMessage(
|
|
2455
|
+
15,
|
|
2456
|
+
f,
|
|
2457
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
2458
|
+
);
|
|
2459
|
+
}
|
|
2460
|
+
};
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
/**
|
|
2464
|
+
* optional google.protobuf.StringValue esxi_cluster_guid = 1;
|
|
2465
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
2466
|
+
*/
|
|
2467
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getEsxiClusterGuid = function() {
|
|
2468
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2469
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
2470
|
+
};
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
/**
|
|
2474
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2475
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2476
|
+
*/
|
|
2477
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setEsxiClusterGuid = function(value) {
|
|
2478
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2479
|
+
};
|
|
2480
|
+
|
|
2481
|
+
|
|
2482
|
+
/**
|
|
2483
|
+
* Clears the message field making it undefined.
|
|
2484
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2485
|
+
*/
|
|
2486
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.clearEsxiClusterGuid = function() {
|
|
2487
|
+
return this.setEsxiClusterGuid(undefined);
|
|
2488
|
+
};
|
|
2489
|
+
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* Returns whether this field is set.
|
|
2493
|
+
* @return {boolean}
|
|
2494
|
+
*/
|
|
2495
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.hasEsxiClusterGuid = function() {
|
|
2496
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2497
|
+
};
|
|
2498
|
+
|
|
2499
|
+
|
|
2500
|
+
/**
|
|
2501
|
+
* optional google.protobuf.StringValue name = 2;
|
|
2502
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
2503
|
+
*/
|
|
2504
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getName = function() {
|
|
2505
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2506
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
2507
|
+
};
|
|
2508
|
+
|
|
2509
|
+
|
|
2510
|
+
/**
|
|
2511
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2512
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2513
|
+
*/
|
|
2514
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setName = function(value) {
|
|
2515
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2516
|
+
};
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* Clears the message field making it undefined.
|
|
2521
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2522
|
+
*/
|
|
2523
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.clearName = function() {
|
|
2524
|
+
return this.setName(undefined);
|
|
2525
|
+
};
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
/**
|
|
2529
|
+
* Returns whether this field is set.
|
|
2530
|
+
* @return {boolean}
|
|
2531
|
+
*/
|
|
2532
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.hasName = function() {
|
|
2533
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2534
|
+
};
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
/**
|
|
2538
|
+
* optional google.protobuf.StringValue internal_key = 3;
|
|
2539
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
2540
|
+
*/
|
|
2541
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getInternalKey = function() {
|
|
2542
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2543
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
2544
|
+
};
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
/**
|
|
2548
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2549
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2550
|
+
*/
|
|
2551
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setInternalKey = function(value) {
|
|
2552
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Clears the message field making it undefined.
|
|
2558
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2559
|
+
*/
|
|
2560
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.clearInternalKey = function() {
|
|
2561
|
+
return this.setInternalKey(undefined);
|
|
2562
|
+
};
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
/**
|
|
2566
|
+
* Returns whether this field is set.
|
|
2567
|
+
* @return {boolean}
|
|
2568
|
+
*/
|
|
2569
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.hasInternalKey = function() {
|
|
2570
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2571
|
+
};
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
/**
|
|
2575
|
+
* optional google.protobuf.StringValue parent_folder = 4;
|
|
2576
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
2577
|
+
*/
|
|
2578
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getParentFolder = function() {
|
|
2579
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2580
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
|
|
2581
|
+
};
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2586
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2587
|
+
*/
|
|
2588
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setParentFolder = function(value) {
|
|
2589
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* Clears the message field making it undefined.
|
|
2595
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2596
|
+
*/
|
|
2597
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.clearParentFolder = function() {
|
|
2598
|
+
return this.setParentFolder(undefined);
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* Returns whether this field is set.
|
|
2604
|
+
* @return {boolean}
|
|
2605
|
+
*/
|
|
2606
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.hasParentFolder = function() {
|
|
2607
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2608
|
+
};
|
|
2609
|
+
|
|
2610
|
+
|
|
2611
|
+
/**
|
|
2612
|
+
* repeated com.lansweeper.discovery.sensor.esxi.v1.Esxi hosts = 5;
|
|
2613
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi>}
|
|
2614
|
+
*/
|
|
2615
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getHostsList = function() {
|
|
2616
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi>} */ (
|
|
2617
|
+
jspb.Message.getRepeatedWrapperField(this, discovery_sections_esxi_pb.Esxi, 5));
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi>} value
|
|
2623
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2624
|
+
*/
|
|
2625
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setHostsList = function(value) {
|
|
2626
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* @param {!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi=} opt_value
|
|
2632
|
+
* @param {number=} opt_index
|
|
2633
|
+
* @return {!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi}
|
|
2634
|
+
*/
|
|
2635
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.addHosts = function(opt_value, opt_index) {
|
|
2636
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi, opt_index);
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* Clears the list making it empty but non-null.
|
|
2642
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2643
|
+
*/
|
|
2644
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.clearHostsList = function() {
|
|
2645
|
+
return this.setHostsList([]);
|
|
2646
|
+
};
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
/**
|
|
2650
|
+
* optional int32 total_cpu = 6;
|
|
2651
|
+
* @return {number}
|
|
2652
|
+
*/
|
|
2653
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getTotalCpu = function() {
|
|
2654
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
2655
|
+
};
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
* @param {number} value
|
|
2660
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2661
|
+
*/
|
|
2662
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setTotalCpu = function(value) {
|
|
2663
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
2664
|
+
};
|
|
2665
|
+
|
|
2666
|
+
|
|
2667
|
+
/**
|
|
2668
|
+
* optional int64 total_memory = 7;
|
|
2669
|
+
* @return {number}
|
|
2670
|
+
*/
|
|
2671
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getTotalMemory = function() {
|
|
2672
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
2673
|
+
};
|
|
2674
|
+
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* @param {number} value
|
|
2678
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2679
|
+
*/
|
|
2680
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setTotalMemory = function(value) {
|
|
2681
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
2682
|
+
};
|
|
2683
|
+
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* optional int32 num_cpu_cores = 8;
|
|
2687
|
+
* @return {number}
|
|
2688
|
+
*/
|
|
2689
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getNumCpuCores = function() {
|
|
2690
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
2691
|
+
};
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
/**
|
|
2695
|
+
* @param {number} value
|
|
2696
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2697
|
+
*/
|
|
2698
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setNumCpuCores = function(value) {
|
|
2699
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
2700
|
+
};
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
/**
|
|
2704
|
+
* optional int32 num_cpu_threads = 9;
|
|
2705
|
+
* @return {number}
|
|
2706
|
+
*/
|
|
2707
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getNumCpuThreads = function() {
|
|
2708
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
2709
|
+
};
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
/**
|
|
2713
|
+
* @param {number} value
|
|
2714
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2715
|
+
*/
|
|
2716
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setNumCpuThreads = function(value) {
|
|
2717
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
2718
|
+
};
|
|
2719
|
+
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* optional int32 effective_cpu = 10;
|
|
2723
|
+
* @return {number}
|
|
2724
|
+
*/
|
|
2725
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getEffectiveCpu = function() {
|
|
2726
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
2727
|
+
};
|
|
2728
|
+
|
|
2729
|
+
|
|
2730
|
+
/**
|
|
2731
|
+
* @param {number} value
|
|
2732
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2733
|
+
*/
|
|
2734
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setEffectiveCpu = function(value) {
|
|
2735
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
2736
|
+
};
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
/**
|
|
2740
|
+
* optional int64 effective_memory = 11;
|
|
2741
|
+
* @return {number}
|
|
2742
|
+
*/
|
|
2743
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getEffectiveMemory = function() {
|
|
2744
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
/**
|
|
2749
|
+
* @param {number} value
|
|
2750
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2751
|
+
*/
|
|
2752
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setEffectiveMemory = function(value) {
|
|
2753
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
/**
|
|
2758
|
+
* optional int32 num_hosts = 12;
|
|
2759
|
+
* @return {number}
|
|
2760
|
+
*/
|
|
2761
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getNumHosts = function() {
|
|
2762
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
2763
|
+
};
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
/**
|
|
2767
|
+
* @param {number} value
|
|
2768
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2769
|
+
*/
|
|
2770
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setNumHosts = function(value) {
|
|
2771
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
2772
|
+
};
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
/**
|
|
2776
|
+
* optional int32 num_effective_hosts = 13;
|
|
2777
|
+
* @return {number}
|
|
2778
|
+
*/
|
|
2779
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getNumEffectiveHosts = function() {
|
|
2780
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
2781
|
+
};
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
/**
|
|
2785
|
+
* @param {number} value
|
|
2786
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2787
|
+
*/
|
|
2788
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setNumEffectiveHosts = function(value) {
|
|
2789
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
2790
|
+
};
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* optional google.protobuf.StringValue overall_status = 14;
|
|
2795
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
2796
|
+
*/
|
|
2797
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getOverallStatus = function() {
|
|
2798
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2799
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14));
|
|
2800
|
+
};
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
/**
|
|
2804
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2805
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2806
|
+
*/
|
|
2807
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setOverallStatus = function(value) {
|
|
2808
|
+
return jspb.Message.setWrapperField(this, 14, value);
|
|
2809
|
+
};
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
/**
|
|
2813
|
+
* Clears the message field making it undefined.
|
|
2814
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2815
|
+
*/
|
|
2816
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.clearOverallStatus = function() {
|
|
2817
|
+
return this.setOverallStatus(undefined);
|
|
2818
|
+
};
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* Returns whether this field is set.
|
|
2823
|
+
* @return {boolean}
|
|
2824
|
+
*/
|
|
2825
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.hasOverallStatus = function() {
|
|
2826
|
+
return jspb.Message.getField(this, 14) != null;
|
|
2827
|
+
};
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
/**
|
|
2831
|
+
* optional google.protobuf.StringValue datacenter_guid = 15;
|
|
2832
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
2833
|
+
*/
|
|
2834
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.getDatacenterGuid = function() {
|
|
2835
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2836
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 15));
|
|
2837
|
+
};
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
/**
|
|
2841
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2842
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2843
|
+
*/
|
|
2844
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.setDatacenterGuid = function(value) {
|
|
2845
|
+
return jspb.Message.setWrapperField(this, 15, value);
|
|
2846
|
+
};
|
|
2847
|
+
|
|
2848
|
+
|
|
2849
|
+
/**
|
|
2850
|
+
* Clears the message field making it undefined.
|
|
2851
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster} returns this
|
|
2852
|
+
*/
|
|
2853
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.clearDatacenterGuid = function() {
|
|
2854
|
+
return this.setDatacenterGuid(undefined);
|
|
2855
|
+
};
|
|
2856
|
+
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* Returns whether this field is set.
|
|
2860
|
+
* @return {boolean}
|
|
2861
|
+
*/
|
|
2862
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.prototype.hasDatacenterGuid = function() {
|
|
2863
|
+
return jspb.Message.getField(this, 15) != null;
|
|
2864
|
+
};
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* List of repeated fields within this message type.
|
|
2870
|
+
* @private {!Array<number>}
|
|
2871
|
+
* @const
|
|
2872
|
+
*/
|
|
2873
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.repeatedFields_ = [3,4,5,6];
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2878
|
+
/**
|
|
2879
|
+
* Creates an object representation of this proto.
|
|
2880
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2881
|
+
* Optional fields that are not set will be set to undefined.
|
|
2882
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2883
|
+
* For the list of reserved names please see:
|
|
2884
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2885
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2886
|
+
* JSPB instance for transitional soy proto support:
|
|
2887
|
+
* http://goto/soy-param-migration
|
|
2888
|
+
* @return {!Object}
|
|
2889
|
+
*/
|
|
2890
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.toObject = function(opt_includeInstance) {
|
|
2891
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.toObject(opt_includeInstance, this);
|
|
2892
|
+
};
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
/**
|
|
2896
|
+
* Static version of the {@see toObject} method.
|
|
2897
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2898
|
+
* the JSPB instance for transitional soy proto support:
|
|
2899
|
+
* http://goto/soy-param-migration
|
|
2900
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} msg The msg instance to transform.
|
|
2901
|
+
* @return {!Object}
|
|
2902
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2903
|
+
*/
|
|
2904
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.toObject = function(includeInstance, msg) {
|
|
2905
|
+
var f, obj = {
|
|
2906
|
+
internalKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2907
|
+
name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2908
|
+
datastoresList: jspb.Message.toObjectList(msg.getDatastoresList(),
|
|
2909
|
+
import_discovery_common_vmware_pb.Datastore.toObject, includeInstance),
|
|
2910
|
+
datastoreClustersList: jspb.Message.toObjectList(msg.getDatastoreClustersList(),
|
|
2911
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.toObject, includeInstance),
|
|
2912
|
+
hostsList: jspb.Message.toObjectList(msg.getHostsList(),
|
|
2913
|
+
discovery_sections_esxi_pb.Esxi.toObject, includeInstance),
|
|
2914
|
+
hostClustersList: jspb.Message.toObjectList(msg.getHostClustersList(),
|
|
2915
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.toObject, includeInstance)
|
|
2916
|
+
};
|
|
2917
|
+
|
|
2918
|
+
if (includeInstance) {
|
|
2919
|
+
obj.$jspbMessageInstance = msg;
|
|
2920
|
+
}
|
|
2921
|
+
return obj;
|
|
2922
|
+
};
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
|
|
2926
|
+
/**
|
|
2927
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2928
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2929
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter}
|
|
2930
|
+
*/
|
|
2931
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.deserializeBinary = function(bytes) {
|
|
2932
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2933
|
+
var msg = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter;
|
|
2934
|
+
return proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.deserializeBinaryFromReader(msg, reader);
|
|
2935
|
+
};
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
/**
|
|
2939
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2940
|
+
* given reader into the given message object.
|
|
2941
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} msg The message object to deserialize into.
|
|
2942
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2943
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter}
|
|
2944
|
+
*/
|
|
2945
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.deserializeBinaryFromReader = function(msg, reader) {
|
|
2946
|
+
while (reader.nextField()) {
|
|
2947
|
+
if (reader.isEndGroup()) {
|
|
2948
|
+
break;
|
|
2949
|
+
}
|
|
2950
|
+
var field = reader.getFieldNumber();
|
|
2951
|
+
switch (field) {
|
|
2952
|
+
case 1:
|
|
2953
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2954
|
+
msg.setInternalKey(value);
|
|
2955
|
+
break;
|
|
2956
|
+
case 2:
|
|
2957
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
2958
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
2959
|
+
msg.setName(value);
|
|
2960
|
+
break;
|
|
2961
|
+
case 3:
|
|
2962
|
+
var value = new import_discovery_common_vmware_pb.Datastore;
|
|
2963
|
+
reader.readMessage(value,import_discovery_common_vmware_pb.Datastore.deserializeBinaryFromReader);
|
|
2964
|
+
msg.addDatastores(value);
|
|
2965
|
+
break;
|
|
2966
|
+
case 4:
|
|
2967
|
+
var value = new proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster;
|
|
2968
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.deserializeBinaryFromReader);
|
|
2969
|
+
msg.addDatastoreClusters(value);
|
|
2970
|
+
break;
|
|
2971
|
+
case 5:
|
|
2972
|
+
var value = new discovery_sections_esxi_pb.Esxi;
|
|
2973
|
+
reader.readMessage(value,discovery_sections_esxi_pb.Esxi.deserializeBinaryFromReader);
|
|
2974
|
+
msg.addHosts(value);
|
|
2975
|
+
break;
|
|
2976
|
+
case 6:
|
|
2977
|
+
var value = new proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster;
|
|
2978
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.deserializeBinaryFromReader);
|
|
2979
|
+
msg.addHostClusters(value);
|
|
2980
|
+
break;
|
|
2981
|
+
default:
|
|
2982
|
+
reader.skipField();
|
|
2983
|
+
break;
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2986
|
+
return msg;
|
|
2987
|
+
};
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
/**
|
|
2991
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2992
|
+
* @return {!Uint8Array}
|
|
2993
|
+
*/
|
|
2994
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.serializeBinary = function() {
|
|
2995
|
+
var writer = new jspb.BinaryWriter();
|
|
2996
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.serializeBinaryToWriter(this, writer);
|
|
2997
|
+
return writer.getResultBuffer();
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3003
|
+
* format), writing to the given BinaryWriter.
|
|
3004
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} message
|
|
3005
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3006
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3007
|
+
*/
|
|
3008
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.serializeBinaryToWriter = function(message, writer) {
|
|
3009
|
+
var f = undefined;
|
|
3010
|
+
f = message.getInternalKey();
|
|
3011
|
+
if (f.length > 0) {
|
|
3012
|
+
writer.writeString(
|
|
3013
|
+
1,
|
|
3014
|
+
f
|
|
3015
|
+
);
|
|
3016
|
+
}
|
|
3017
|
+
f = message.getName();
|
|
3018
|
+
if (f != null) {
|
|
3019
|
+
writer.writeMessage(
|
|
3020
|
+
2,
|
|
3021
|
+
f,
|
|
3022
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
3023
|
+
);
|
|
3024
|
+
}
|
|
3025
|
+
f = message.getDatastoresList();
|
|
3026
|
+
if (f.length > 0) {
|
|
3027
|
+
writer.writeRepeatedMessage(
|
|
3028
|
+
3,
|
|
3029
|
+
f,
|
|
3030
|
+
import_discovery_common_vmware_pb.Datastore.serializeBinaryToWriter
|
|
3031
|
+
);
|
|
3032
|
+
}
|
|
3033
|
+
f = message.getDatastoreClustersList();
|
|
3034
|
+
if (f.length > 0) {
|
|
3035
|
+
writer.writeRepeatedMessage(
|
|
3036
|
+
4,
|
|
3037
|
+
f,
|
|
3038
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster.serializeBinaryToWriter
|
|
3039
|
+
);
|
|
3040
|
+
}
|
|
3041
|
+
f = message.getHostsList();
|
|
3042
|
+
if (f.length > 0) {
|
|
3043
|
+
writer.writeRepeatedMessage(
|
|
3044
|
+
5,
|
|
3045
|
+
f,
|
|
3046
|
+
discovery_sections_esxi_pb.Esxi.serializeBinaryToWriter
|
|
3047
|
+
);
|
|
3048
|
+
}
|
|
3049
|
+
f = message.getHostClustersList();
|
|
3050
|
+
if (f.length > 0) {
|
|
3051
|
+
writer.writeRepeatedMessage(
|
|
3052
|
+
6,
|
|
3053
|
+
f,
|
|
3054
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.serializeBinaryToWriter
|
|
3055
|
+
);
|
|
3056
|
+
}
|
|
3057
|
+
};
|
|
3058
|
+
|
|
3059
|
+
|
|
3060
|
+
/**
|
|
3061
|
+
* optional string internal_key = 1;
|
|
3062
|
+
* @return {string}
|
|
3063
|
+
*/
|
|
3064
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.getInternalKey = function() {
|
|
3065
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3066
|
+
};
|
|
3067
|
+
|
|
3068
|
+
|
|
3069
|
+
/**
|
|
3070
|
+
* @param {string} value
|
|
3071
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3072
|
+
*/
|
|
3073
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.setInternalKey = function(value) {
|
|
3074
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3075
|
+
};
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* optional google.protobuf.StringValue name = 2;
|
|
3080
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
3081
|
+
*/
|
|
3082
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.getName = function() {
|
|
3083
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
3084
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
3085
|
+
};
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
3090
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3091
|
+
*/
|
|
3092
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.setName = function(value) {
|
|
3093
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3094
|
+
};
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
/**
|
|
3098
|
+
* Clears the message field making it undefined.
|
|
3099
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3100
|
+
*/
|
|
3101
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.clearName = function() {
|
|
3102
|
+
return this.setName(undefined);
|
|
3103
|
+
};
|
|
3104
|
+
|
|
3105
|
+
|
|
3106
|
+
/**
|
|
3107
|
+
* Returns whether this field is set.
|
|
3108
|
+
* @return {boolean}
|
|
3109
|
+
*/
|
|
3110
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.hasName = function() {
|
|
3111
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* repeated com.lansweeper.discovery.sensor.vmware.v1.Datastore datastores = 3;
|
|
3117
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore>}
|
|
3118
|
+
*/
|
|
3119
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.getDatastoresList = function() {
|
|
3120
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore>} */ (
|
|
3121
|
+
jspb.Message.getRepeatedWrapperField(this, import_discovery_common_vmware_pb.Datastore, 3));
|
|
3122
|
+
};
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore>} value
|
|
3127
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3128
|
+
*/
|
|
3129
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.setDatastoresList = function(value) {
|
|
3130
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
3131
|
+
};
|
|
3132
|
+
|
|
3133
|
+
|
|
3134
|
+
/**
|
|
3135
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore=} opt_value
|
|
3136
|
+
* @param {number=} opt_index
|
|
3137
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore}
|
|
3138
|
+
*/
|
|
3139
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.addDatastores = function(opt_value, opt_index) {
|
|
3140
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.com.lansweeper.discovery.sensor.vmware.v1.Datastore, opt_index);
|
|
3141
|
+
};
|
|
3142
|
+
|
|
3143
|
+
|
|
3144
|
+
/**
|
|
3145
|
+
* Clears the list making it empty but non-null.
|
|
3146
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3147
|
+
*/
|
|
3148
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.clearDatastoresList = function() {
|
|
3149
|
+
return this.setDatastoresList([]);
|
|
3150
|
+
};
|
|
3151
|
+
|
|
3152
|
+
|
|
3153
|
+
/**
|
|
3154
|
+
* repeated DatastoreCluster datastore_clusters = 4;
|
|
3155
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster>}
|
|
3156
|
+
*/
|
|
3157
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.getDatastoreClustersList = function() {
|
|
3158
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster>} */ (
|
|
3159
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster, 4));
|
|
3160
|
+
};
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
/**
|
|
3164
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster>} value
|
|
3165
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3166
|
+
*/
|
|
3167
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.setDatastoreClustersList = function(value) {
|
|
3168
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
3169
|
+
};
|
|
3170
|
+
|
|
3171
|
+
|
|
3172
|
+
/**
|
|
3173
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster=} opt_value
|
|
3174
|
+
* @param {number=} opt_index
|
|
3175
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster}
|
|
3176
|
+
*/
|
|
3177
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.addDatastoreClusters = function(opt_value, opt_index) {
|
|
3178
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.com.lansweeper.discovery.sensor.vcenter.v1.DatastoreCluster, opt_index);
|
|
3179
|
+
};
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* Clears the list making it empty but non-null.
|
|
3184
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3185
|
+
*/
|
|
3186
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.clearDatastoreClustersList = function() {
|
|
3187
|
+
return this.setDatastoreClustersList([]);
|
|
3188
|
+
};
|
|
3189
|
+
|
|
3190
|
+
|
|
3191
|
+
/**
|
|
3192
|
+
* repeated com.lansweeper.discovery.sensor.esxi.v1.Esxi hosts = 5;
|
|
3193
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi>}
|
|
3194
|
+
*/
|
|
3195
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.getHostsList = function() {
|
|
3196
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi>} */ (
|
|
3197
|
+
jspb.Message.getRepeatedWrapperField(this, discovery_sections_esxi_pb.Esxi, 5));
|
|
3198
|
+
};
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
/**
|
|
3202
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi>} value
|
|
3203
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3204
|
+
*/
|
|
3205
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.setHostsList = function(value) {
|
|
3206
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
3207
|
+
};
|
|
3208
|
+
|
|
3209
|
+
|
|
3210
|
+
/**
|
|
3211
|
+
* @param {!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi=} opt_value
|
|
3212
|
+
* @param {number=} opt_index
|
|
3213
|
+
* @return {!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi}
|
|
3214
|
+
*/
|
|
3215
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.addHosts = function(opt_value, opt_index) {
|
|
3216
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi, opt_index);
|
|
3217
|
+
};
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
/**
|
|
3221
|
+
* Clears the list making it empty but non-null.
|
|
3222
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3223
|
+
*/
|
|
3224
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.clearHostsList = function() {
|
|
3225
|
+
return this.setHostsList([]);
|
|
3226
|
+
};
|
|
3227
|
+
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* repeated EsxiCluster host_clusters = 6;
|
|
3231
|
+
* @return {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster>}
|
|
3232
|
+
*/
|
|
3233
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.getHostClustersList = function() {
|
|
3234
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster>} */ (
|
|
3235
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster, 6));
|
|
3236
|
+
};
|
|
3237
|
+
|
|
3238
|
+
|
|
3239
|
+
/**
|
|
3240
|
+
* @param {!Array<!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster>} value
|
|
3241
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3242
|
+
*/
|
|
3243
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.setHostClustersList = function(value) {
|
|
3244
|
+
return jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
3245
|
+
};
|
|
3246
|
+
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* @param {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster=} opt_value
|
|
3250
|
+
* @param {number=} opt_index
|
|
3251
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster}
|
|
3252
|
+
*/
|
|
3253
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.addHostClusters = function(opt_value, opt_index) {
|
|
3254
|
+
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster, opt_index);
|
|
3255
|
+
};
|
|
3256
|
+
|
|
3257
|
+
|
|
3258
|
+
/**
|
|
3259
|
+
* Clears the list making it empty but non-null.
|
|
3260
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3261
|
+
*/
|
|
3262
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.clearHostClustersList = function() {
|
|
3263
|
+
return this.setHostClustersList([]);
|
|
3264
|
+
};
|
|
3265
|
+
|
|
3266
|
+
|
|
3267
|
+
goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.vcenter.v1);
|