@lansweeper/diagrams-grpc 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/Lansweeper.Diagrams.GRPC.csproj +3 -3
- package/bin/Debug/net6.0/Lansweeper.Diagrams.GRPC.deps.json +2 -2
- package/bin/Debug/net6.0/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.Diagrams.GRPC.pdb +0 -0
- package/gen-proto/diagrams_pb.d.ts +36 -0
- package/gen-proto/diagrams_pb.js +322 -4
- package/gen-proto/image.json +1 -1
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.AssemblyInfo.cs +3 -3
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.AssemblyInfoInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.pdb +0 -0
- package/obj/Debug/net6.0/proto/Diagrams.cs +344 -24
- package/obj/Debug/net6.0/ref/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/obj/Debug/net6.0/refint/Lansweeper.Diagrams.GRPC.dll +0 -0
- package/obj/Lansweeper.Diagrams.GRPC.csproj.nuget.dgspec.json +1 -1
- package/obj/project.assets.json +1 -1
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/proto/diagrams.proto +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.0.15](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.14...@lansweeper/diagrams-grpc@0.0.15) (2022-11-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.0.14](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.13...@lansweeper/diagrams-grpc@0.0.14) (2022-11-11)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
<Company>Lansweeper</Company>
|
|
8
8
|
<Product>Lansweeper Diagrams</Product>
|
|
9
9
|
<Copyright>Lansweeper</Copyright>
|
|
10
|
-
<PackageVersion>0.0.
|
|
11
|
-
<Version>0.0.
|
|
12
|
-
<FileVersion>0.0.
|
|
10
|
+
<PackageVersion>0.0.14</PackageVersion>
|
|
11
|
+
<Version>0.0.14</Version>
|
|
12
|
+
<FileVersion>0.0.14</FileVersion>
|
|
13
13
|
<RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
|
|
14
14
|
</PropertyGroup>
|
|
15
15
|
<ItemGroup>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v6.0": {
|
|
9
|
-
"Lansweeper.Diagrams.GRPC/0.0.
|
|
9
|
+
"Lansweeper.Diagrams.GRPC/0.0.14": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Google.Protobuf": "3.15.0",
|
|
12
12
|
"Grpc": "2.46.1",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"libraries": {
|
|
94
|
-
"Lansweeper.Diagrams.GRPC/0.0.
|
|
94
|
+
"Lansweeper.Diagrams.GRPC/0.0.14": {
|
|
95
95
|
"type": "project",
|
|
96
96
|
"serviceable": false,
|
|
97
97
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -169,6 +169,32 @@ export namespace Relationship {
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
+
export class AssetType extends jspb.Message {
|
|
173
|
+
getTypeName(): string;
|
|
174
|
+
setTypeName(value: string): AssetType;
|
|
175
|
+
getIsMandatory(): boolean;
|
|
176
|
+
setIsMandatory(value: boolean): AssetType;
|
|
177
|
+
getIsEnabledByDefault(): boolean;
|
|
178
|
+
setIsEnabledByDefault(value: boolean): AssetType;
|
|
179
|
+
|
|
180
|
+
serializeBinary(): Uint8Array;
|
|
181
|
+
toObject(includeInstance?: boolean): AssetType.AsObject;
|
|
182
|
+
static toObject(includeInstance: boolean, msg: AssetType): AssetType.AsObject;
|
|
183
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
184
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
185
|
+
static serializeBinaryToWriter(message: AssetType, writer: jspb.BinaryWriter): void;
|
|
186
|
+
static deserializeBinary(bytes: Uint8Array): AssetType;
|
|
187
|
+
static deserializeBinaryFromReader(message: AssetType, reader: jspb.BinaryReader): AssetType;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export namespace AssetType {
|
|
191
|
+
export type AsObject = {
|
|
192
|
+
typeName: string,
|
|
193
|
+
isMandatory: boolean,
|
|
194
|
+
isEnabledByDefault: boolean,
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
172
198
|
export class NetworkTopologyDiagramResponse extends jspb.Message {
|
|
173
199
|
clearAssetsList(): void;
|
|
174
200
|
getAssetsList(): Array<Asset>;
|
|
@@ -186,6 +212,10 @@ export class NetworkTopologyDiagramResponse extends jspb.Message {
|
|
|
186
212
|
getErrorsList(): Array<Error>;
|
|
187
213
|
setErrorsList(value: Array<Error>): NetworkTopologyDiagramResponse;
|
|
188
214
|
addErrors(value?: Error, index?: number): Error;
|
|
215
|
+
clearAssetTypesList(): void;
|
|
216
|
+
getAssetTypesList(): Array<AssetType>;
|
|
217
|
+
setAssetTypesList(value: Array<AssetType>): NetworkTopologyDiagramResponse;
|
|
218
|
+
addAssetTypes(value?: AssetType, index?: number): AssetType;
|
|
189
219
|
|
|
190
220
|
serializeBinary(): Uint8Array;
|
|
191
221
|
toObject(includeInstance?: boolean): NetworkTopologyDiagramResponse.AsObject;
|
|
@@ -203,6 +233,7 @@ export namespace NetworkTopologyDiagramResponse {
|
|
|
203
233
|
relationshipsList: Array<Relationship.AsObject>,
|
|
204
234
|
issuesList: Array<string>,
|
|
205
235
|
errorsList: Array<Error.AsObject>,
|
|
236
|
+
assetTypesList: Array<AssetType.AsObject>,
|
|
206
237
|
}
|
|
207
238
|
}
|
|
208
239
|
|
|
@@ -223,6 +254,10 @@ export class VirtualEnvironmentDiagramResponse extends jspb.Message {
|
|
|
223
254
|
getErrorsList(): Array<Error>;
|
|
224
255
|
setErrorsList(value: Array<Error>): VirtualEnvironmentDiagramResponse;
|
|
225
256
|
addErrors(value?: Error, index?: number): Error;
|
|
257
|
+
clearAssetTypesList(): void;
|
|
258
|
+
getAssetTypesList(): Array<AssetType>;
|
|
259
|
+
setAssetTypesList(value: Array<AssetType>): VirtualEnvironmentDiagramResponse;
|
|
260
|
+
addAssetTypes(value?: AssetType, index?: number): AssetType;
|
|
226
261
|
|
|
227
262
|
serializeBinary(): Uint8Array;
|
|
228
263
|
toObject(includeInstance?: boolean): VirtualEnvironmentDiagramResponse.AsObject;
|
|
@@ -240,6 +275,7 @@ export namespace VirtualEnvironmentDiagramResponse {
|
|
|
240
275
|
relationshipsList: Array<Relationship.AsObject>,
|
|
241
276
|
issuesList: Array<string>,
|
|
242
277
|
errorsList: Array<Error.AsObject>,
|
|
278
|
+
assetTypesList: Array<AssetType.AsObject>,
|
|
243
279
|
}
|
|
244
280
|
}
|
|
245
281
|
|
package/gen-proto/diagrams_pb.js
CHANGED
|
@@ -18,6 +18,7 @@ var global = Function('return this')();
|
|
|
18
18
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
20
20
|
goog.exportSymbol('proto.lansweeper.diagrams.v1.Asset', null, global);
|
|
21
|
+
goog.exportSymbol('proto.lansweeper.diagrams.v1.AssetType', null, global);
|
|
21
22
|
goog.exportSymbol('proto.lansweeper.diagrams.v1.DiagramRequest', null, global);
|
|
22
23
|
goog.exportSymbol('proto.lansweeper.diagrams.v1.Error', null, global);
|
|
23
24
|
goog.exportSymbol('proto.lansweeper.diagrams.v1.ErrorType', null, global);
|
|
@@ -108,6 +109,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
108
109
|
*/
|
|
109
110
|
proto.lansweeper.diagrams.v1.Relationship.displayName = 'proto.lansweeper.diagrams.v1.Relationship';
|
|
110
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* Generated by JsPbCodeGenerator.
|
|
114
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
115
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
116
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
117
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
118
|
+
* valid.
|
|
119
|
+
* @extends {jspb.Message}
|
|
120
|
+
* @constructor
|
|
121
|
+
*/
|
|
122
|
+
proto.lansweeper.diagrams.v1.AssetType = function(opt_data) {
|
|
123
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
124
|
+
};
|
|
125
|
+
goog.inherits(proto.lansweeper.diagrams.v1.AssetType, jspb.Message);
|
|
126
|
+
if (goog.DEBUG && !COMPILED) {
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
* @override
|
|
130
|
+
*/
|
|
131
|
+
proto.lansweeper.diagrams.v1.AssetType.displayName = 'proto.lansweeper.diagrams.v1.AssetType';
|
|
132
|
+
}
|
|
111
133
|
/**
|
|
112
134
|
* Generated by JsPbCodeGenerator.
|
|
113
135
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1439,12 +1461,202 @@ proto.lansweeper.diagrams.v1.Relationship.prototype.setComments = function(value
|
|
|
1439
1461
|
|
|
1440
1462
|
|
|
1441
1463
|
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1467
|
+
/**
|
|
1468
|
+
* Creates an object representation of this proto.
|
|
1469
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1470
|
+
* Optional fields that are not set will be set to undefined.
|
|
1471
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1472
|
+
* For the list of reserved names please see:
|
|
1473
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1474
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1475
|
+
* JSPB instance for transitional soy proto support:
|
|
1476
|
+
* http://goto/soy-param-migration
|
|
1477
|
+
* @return {!Object}
|
|
1478
|
+
*/
|
|
1479
|
+
proto.lansweeper.diagrams.v1.AssetType.prototype.toObject = function(opt_includeInstance) {
|
|
1480
|
+
return proto.lansweeper.diagrams.v1.AssetType.toObject(opt_includeInstance, this);
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* Static version of the {@see toObject} method.
|
|
1486
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1487
|
+
* the JSPB instance for transitional soy proto support:
|
|
1488
|
+
* http://goto/soy-param-migration
|
|
1489
|
+
* @param {!proto.lansweeper.diagrams.v1.AssetType} msg The msg instance to transform.
|
|
1490
|
+
* @return {!Object}
|
|
1491
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1492
|
+
*/
|
|
1493
|
+
proto.lansweeper.diagrams.v1.AssetType.toObject = function(includeInstance, msg) {
|
|
1494
|
+
var f, obj = {
|
|
1495
|
+
typeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1496
|
+
isMandatory: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
1497
|
+
isEnabledByDefault: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
1498
|
+
};
|
|
1499
|
+
|
|
1500
|
+
if (includeInstance) {
|
|
1501
|
+
obj.$jspbMessageInstance = msg;
|
|
1502
|
+
}
|
|
1503
|
+
return obj;
|
|
1504
|
+
};
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1510
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1511
|
+
* @return {!proto.lansweeper.diagrams.v1.AssetType}
|
|
1512
|
+
*/
|
|
1513
|
+
proto.lansweeper.diagrams.v1.AssetType.deserializeBinary = function(bytes) {
|
|
1514
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1515
|
+
var msg = new proto.lansweeper.diagrams.v1.AssetType;
|
|
1516
|
+
return proto.lansweeper.diagrams.v1.AssetType.deserializeBinaryFromReader(msg, reader);
|
|
1517
|
+
};
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1522
|
+
* given reader into the given message object.
|
|
1523
|
+
* @param {!proto.lansweeper.diagrams.v1.AssetType} msg The message object to deserialize into.
|
|
1524
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1525
|
+
* @return {!proto.lansweeper.diagrams.v1.AssetType}
|
|
1526
|
+
*/
|
|
1527
|
+
proto.lansweeper.diagrams.v1.AssetType.deserializeBinaryFromReader = function(msg, reader) {
|
|
1528
|
+
while (reader.nextField()) {
|
|
1529
|
+
if (reader.isEndGroup()) {
|
|
1530
|
+
break;
|
|
1531
|
+
}
|
|
1532
|
+
var field = reader.getFieldNumber();
|
|
1533
|
+
switch (field) {
|
|
1534
|
+
case 1:
|
|
1535
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1536
|
+
msg.setTypeName(value);
|
|
1537
|
+
break;
|
|
1538
|
+
case 2:
|
|
1539
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1540
|
+
msg.setIsMandatory(value);
|
|
1541
|
+
break;
|
|
1542
|
+
case 3:
|
|
1543
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1544
|
+
msg.setIsEnabledByDefault(value);
|
|
1545
|
+
break;
|
|
1546
|
+
default:
|
|
1547
|
+
reader.skipField();
|
|
1548
|
+
break;
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
return msg;
|
|
1552
|
+
};
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1557
|
+
* @return {!Uint8Array}
|
|
1558
|
+
*/
|
|
1559
|
+
proto.lansweeper.diagrams.v1.AssetType.prototype.serializeBinary = function() {
|
|
1560
|
+
var writer = new jspb.BinaryWriter();
|
|
1561
|
+
proto.lansweeper.diagrams.v1.AssetType.serializeBinaryToWriter(this, writer);
|
|
1562
|
+
return writer.getResultBuffer();
|
|
1563
|
+
};
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1568
|
+
* format), writing to the given BinaryWriter.
|
|
1569
|
+
* @param {!proto.lansweeper.diagrams.v1.AssetType} message
|
|
1570
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1571
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1572
|
+
*/
|
|
1573
|
+
proto.lansweeper.diagrams.v1.AssetType.serializeBinaryToWriter = function(message, writer) {
|
|
1574
|
+
var f = undefined;
|
|
1575
|
+
f = message.getTypeName();
|
|
1576
|
+
if (f.length > 0) {
|
|
1577
|
+
writer.writeString(
|
|
1578
|
+
1,
|
|
1579
|
+
f
|
|
1580
|
+
);
|
|
1581
|
+
}
|
|
1582
|
+
f = message.getIsMandatory();
|
|
1583
|
+
if (f) {
|
|
1584
|
+
writer.writeBool(
|
|
1585
|
+
2,
|
|
1586
|
+
f
|
|
1587
|
+
);
|
|
1588
|
+
}
|
|
1589
|
+
f = message.getIsEnabledByDefault();
|
|
1590
|
+
if (f) {
|
|
1591
|
+
writer.writeBool(
|
|
1592
|
+
3,
|
|
1593
|
+
f
|
|
1594
|
+
);
|
|
1595
|
+
}
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* optional string type_name = 1;
|
|
1601
|
+
* @return {string}
|
|
1602
|
+
*/
|
|
1603
|
+
proto.lansweeper.diagrams.v1.AssetType.prototype.getTypeName = function() {
|
|
1604
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1605
|
+
};
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* @param {string} value
|
|
1610
|
+
* @return {!proto.lansweeper.diagrams.v1.AssetType} returns this
|
|
1611
|
+
*/
|
|
1612
|
+
proto.lansweeper.diagrams.v1.AssetType.prototype.setTypeName = function(value) {
|
|
1613
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1614
|
+
};
|
|
1615
|
+
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* optional bool is_mandatory = 2;
|
|
1619
|
+
* @return {boolean}
|
|
1620
|
+
*/
|
|
1621
|
+
proto.lansweeper.diagrams.v1.AssetType.prototype.getIsMandatory = function() {
|
|
1622
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
1623
|
+
};
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* @param {boolean} value
|
|
1628
|
+
* @return {!proto.lansweeper.diagrams.v1.AssetType} returns this
|
|
1629
|
+
*/
|
|
1630
|
+
proto.lansweeper.diagrams.v1.AssetType.prototype.setIsMandatory = function(value) {
|
|
1631
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
|
|
1635
|
+
/**
|
|
1636
|
+
* optional bool is_enabled_by_default = 3;
|
|
1637
|
+
* @return {boolean}
|
|
1638
|
+
*/
|
|
1639
|
+
proto.lansweeper.diagrams.v1.AssetType.prototype.getIsEnabledByDefault = function() {
|
|
1640
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
1641
|
+
};
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* @param {boolean} value
|
|
1646
|
+
* @return {!proto.lansweeper.diagrams.v1.AssetType} returns this
|
|
1647
|
+
*/
|
|
1648
|
+
proto.lansweeper.diagrams.v1.AssetType.prototype.setIsEnabledByDefault = function(value) {
|
|
1649
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
|
|
1442
1654
|
/**
|
|
1443
1655
|
* List of repeated fields within this message type.
|
|
1444
1656
|
* @private {!Array<number>}
|
|
1445
1657
|
* @const
|
|
1446
1658
|
*/
|
|
1447
|
-
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.repeatedFields_ = [1,2,3,4];
|
|
1659
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.repeatedFields_ = [1,2,3,4,5];
|
|
1448
1660
|
|
|
1449
1661
|
|
|
1450
1662
|
|
|
@@ -1483,7 +1695,9 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.toObject = function(
|
|
|
1483
1695
|
proto.lansweeper.diagrams.v1.Relationship.toObject, includeInstance),
|
|
1484
1696
|
issuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1485
1697
|
errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
|
|
1486
|
-
proto.lansweeper.diagrams.v1.Error.toObject, includeInstance)
|
|
1698
|
+
proto.lansweeper.diagrams.v1.Error.toObject, includeInstance),
|
|
1699
|
+
assetTypesList: jspb.Message.toObjectList(msg.getAssetTypesList(),
|
|
1700
|
+
proto.lansweeper.diagrams.v1.AssetType.toObject, includeInstance)
|
|
1487
1701
|
};
|
|
1488
1702
|
|
|
1489
1703
|
if (includeInstance) {
|
|
@@ -1539,6 +1753,11 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.deserializeBinaryFro
|
|
|
1539
1753
|
reader.readMessage(value,proto.lansweeper.diagrams.v1.Error.deserializeBinaryFromReader);
|
|
1540
1754
|
msg.addErrors(value);
|
|
1541
1755
|
break;
|
|
1756
|
+
case 5:
|
|
1757
|
+
var value = new proto.lansweeper.diagrams.v1.AssetType;
|
|
1758
|
+
reader.readMessage(value,proto.lansweeper.diagrams.v1.AssetType.deserializeBinaryFromReader);
|
|
1759
|
+
msg.addAssetTypes(value);
|
|
1760
|
+
break;
|
|
1542
1761
|
default:
|
|
1543
1762
|
reader.skipField();
|
|
1544
1763
|
break;
|
|
@@ -1599,6 +1818,14 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.serializeBinaryToWri
|
|
|
1599
1818
|
proto.lansweeper.diagrams.v1.Error.serializeBinaryToWriter
|
|
1600
1819
|
);
|
|
1601
1820
|
}
|
|
1821
|
+
f = message.getAssetTypesList();
|
|
1822
|
+
if (f.length > 0) {
|
|
1823
|
+
writer.writeRepeatedMessage(
|
|
1824
|
+
5,
|
|
1825
|
+
f,
|
|
1826
|
+
proto.lansweeper.diagrams.v1.AssetType.serializeBinaryToWriter
|
|
1827
|
+
);
|
|
1828
|
+
}
|
|
1602
1829
|
};
|
|
1603
1830
|
|
|
1604
1831
|
|
|
@@ -1753,13 +1980,51 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.clearError
|
|
|
1753
1980
|
};
|
|
1754
1981
|
|
|
1755
1982
|
|
|
1983
|
+
/**
|
|
1984
|
+
* repeated AssetType asset_types = 5;
|
|
1985
|
+
* @return {!Array<!proto.lansweeper.diagrams.v1.AssetType>}
|
|
1986
|
+
*/
|
|
1987
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.getAssetTypesList = function() {
|
|
1988
|
+
return /** @type{!Array<!proto.lansweeper.diagrams.v1.AssetType>} */ (
|
|
1989
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.diagrams.v1.AssetType, 5));
|
|
1990
|
+
};
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
/**
|
|
1994
|
+
* @param {!Array<!proto.lansweeper.diagrams.v1.AssetType>} value
|
|
1995
|
+
* @return {!proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse} returns this
|
|
1996
|
+
*/
|
|
1997
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.setAssetTypesList = function(value) {
|
|
1998
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
1999
|
+
};
|
|
2000
|
+
|
|
2001
|
+
|
|
2002
|
+
/**
|
|
2003
|
+
* @param {!proto.lansweeper.diagrams.v1.AssetType=} opt_value
|
|
2004
|
+
* @param {number=} opt_index
|
|
2005
|
+
* @return {!proto.lansweeper.diagrams.v1.AssetType}
|
|
2006
|
+
*/
|
|
2007
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.addAssetTypes = function(opt_value, opt_index) {
|
|
2008
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.lansweeper.diagrams.v1.AssetType, opt_index);
|
|
2009
|
+
};
|
|
2010
|
+
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* Clears the list making it empty but non-null.
|
|
2014
|
+
* @return {!proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse} returns this
|
|
2015
|
+
*/
|
|
2016
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.clearAssetTypesList = function() {
|
|
2017
|
+
return this.setAssetTypesList([]);
|
|
2018
|
+
};
|
|
2019
|
+
|
|
2020
|
+
|
|
1756
2021
|
|
|
1757
2022
|
/**
|
|
1758
2023
|
* List of repeated fields within this message type.
|
|
1759
2024
|
* @private {!Array<number>}
|
|
1760
2025
|
* @const
|
|
1761
2026
|
*/
|
|
1762
|
-
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.repeatedFields_ = [1,2,3,4];
|
|
2027
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.repeatedFields_ = [1,2,3,4,5];
|
|
1763
2028
|
|
|
1764
2029
|
|
|
1765
2030
|
|
|
@@ -1798,7 +2063,9 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.toObject = functi
|
|
|
1798
2063
|
proto.lansweeper.diagrams.v1.Relationship.toObject, includeInstance),
|
|
1799
2064
|
issuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1800
2065
|
errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
|
|
1801
|
-
proto.lansweeper.diagrams.v1.Error.toObject, includeInstance)
|
|
2066
|
+
proto.lansweeper.diagrams.v1.Error.toObject, includeInstance),
|
|
2067
|
+
assetTypesList: jspb.Message.toObjectList(msg.getAssetTypesList(),
|
|
2068
|
+
proto.lansweeper.diagrams.v1.AssetType.toObject, includeInstance)
|
|
1802
2069
|
};
|
|
1803
2070
|
|
|
1804
2071
|
if (includeInstance) {
|
|
@@ -1854,6 +2121,11 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.deserializeBinary
|
|
|
1854
2121
|
reader.readMessage(value,proto.lansweeper.diagrams.v1.Error.deserializeBinaryFromReader);
|
|
1855
2122
|
msg.addErrors(value);
|
|
1856
2123
|
break;
|
|
2124
|
+
case 5:
|
|
2125
|
+
var value = new proto.lansweeper.diagrams.v1.AssetType;
|
|
2126
|
+
reader.readMessage(value,proto.lansweeper.diagrams.v1.AssetType.deserializeBinaryFromReader);
|
|
2127
|
+
msg.addAssetTypes(value);
|
|
2128
|
+
break;
|
|
1857
2129
|
default:
|
|
1858
2130
|
reader.skipField();
|
|
1859
2131
|
break;
|
|
@@ -1914,6 +2186,14 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.serializeBinaryTo
|
|
|
1914
2186
|
proto.lansweeper.diagrams.v1.Error.serializeBinaryToWriter
|
|
1915
2187
|
);
|
|
1916
2188
|
}
|
|
2189
|
+
f = message.getAssetTypesList();
|
|
2190
|
+
if (f.length > 0) {
|
|
2191
|
+
writer.writeRepeatedMessage(
|
|
2192
|
+
5,
|
|
2193
|
+
f,
|
|
2194
|
+
proto.lansweeper.diagrams.v1.AssetType.serializeBinaryToWriter
|
|
2195
|
+
);
|
|
2196
|
+
}
|
|
1917
2197
|
};
|
|
1918
2198
|
|
|
1919
2199
|
|
|
@@ -2068,6 +2348,44 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.clearEr
|
|
|
2068
2348
|
};
|
|
2069
2349
|
|
|
2070
2350
|
|
|
2351
|
+
/**
|
|
2352
|
+
* repeated AssetType asset_types = 5;
|
|
2353
|
+
* @return {!Array<!proto.lansweeper.diagrams.v1.AssetType>}
|
|
2354
|
+
*/
|
|
2355
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.getAssetTypesList = function() {
|
|
2356
|
+
return /** @type{!Array<!proto.lansweeper.diagrams.v1.AssetType>} */ (
|
|
2357
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.diagrams.v1.AssetType, 5));
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* @param {!Array<!proto.lansweeper.diagrams.v1.AssetType>} value
|
|
2363
|
+
* @return {!proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse} returns this
|
|
2364
|
+
*/
|
|
2365
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.setAssetTypesList = function(value) {
|
|
2366
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
2367
|
+
};
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* @param {!proto.lansweeper.diagrams.v1.AssetType=} opt_value
|
|
2372
|
+
* @param {number=} opt_index
|
|
2373
|
+
* @return {!proto.lansweeper.diagrams.v1.AssetType}
|
|
2374
|
+
*/
|
|
2375
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.addAssetTypes = function(opt_value, opt_index) {
|
|
2376
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.lansweeper.diagrams.v1.AssetType, opt_index);
|
|
2377
|
+
};
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* Clears the list making it empty but non-null.
|
|
2382
|
+
* @return {!proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse} returns this
|
|
2383
|
+
*/
|
|
2384
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.clearAssetTypesList = function() {
|
|
2385
|
+
return this.setAssetTypesList([]);
|
|
2386
|
+
};
|
|
2387
|
+
|
|
2388
|
+
|
|
2071
2389
|
/**
|
|
2072
2390
|
* @enum {number}
|
|
2073
2391
|
*/
|