@lansweeper/diagrams-grpc 0.0.9 → 0.0.11
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 +16 -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 +8 -5
- package/gen-proto/diagrams_pb.js +52 -45
- 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 +81 -41
- 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 +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.11](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.10...@lansweeper/diagrams-grpc@0.0.11) (2022-11-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.0.10](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.9...@lansweeper/diagrams-grpc@0.0.10) (2022-10-26)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.0.9](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.8...@lansweeper/diagrams-grpc@0.0.9) (2022-10-18)
|
|
7
23
|
|
|
8
24
|
**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.10</PackageVersion>
|
|
11
|
+
<Version>0.0.10</Version>
|
|
12
|
+
<FileVersion>0.0.10</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.10": {
|
|
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.10": {
|
|
95
95
|
"type": "project",
|
|
96
96
|
"serviceable": false,
|
|
97
97
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -11,13 +11,14 @@ export class DiagramRequest extends jspb.Message {
|
|
|
11
11
|
setClientKey(value: string): DiagramRequest;
|
|
12
12
|
getInstallationKey(): string;
|
|
13
13
|
setInstallationKey(value: string): DiagramRequest;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
addAssetTypeNames(value: string, index?: number): string;
|
|
14
|
+
|
|
15
|
+
getAssetTypeNamesMap(): jspb.Map<string, boolean>;
|
|
16
|
+
clearAssetTypeNamesMap(): void;
|
|
18
17
|
|
|
19
18
|
getAssetScopesRulesMap(): jspb.Map<string, string>;
|
|
20
19
|
clearAssetScopesRulesMap(): void;
|
|
20
|
+
getTraceId(): string;
|
|
21
|
+
setTraceId(value: string): DiagramRequest;
|
|
21
22
|
|
|
22
23
|
serializeBinary(): Uint8Array;
|
|
23
24
|
toObject(includeInstance?: boolean): DiagramRequest.AsObject;
|
|
@@ -33,9 +34,11 @@ export namespace DiagramRequest {
|
|
|
33
34
|
export type AsObject = {
|
|
34
35
|
clientKey: string,
|
|
35
36
|
installationKey: string,
|
|
36
|
-
|
|
37
|
+
|
|
38
|
+
assetTypeNamesMap: Array<[string, boolean]>,
|
|
37
39
|
|
|
38
40
|
assetScopesRulesMap: Array<[string, string]>,
|
|
41
|
+
traceId: string,
|
|
39
42
|
}
|
|
40
43
|
}
|
|
41
44
|
|
package/gen-proto/diagrams_pb.js
CHANGED
|
@@ -31,7 +31,7 @@ goog.exportSymbol('proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramRespons
|
|
|
31
31
|
* @constructor
|
|
32
32
|
*/
|
|
33
33
|
proto.lansweeper.diagrams.v1.DiagramRequest = function(opt_data) {
|
|
34
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
34
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
35
35
|
};
|
|
36
36
|
goog.inherits(proto.lansweeper.diagrams.v1.DiagramRequest, jspb.Message);
|
|
37
37
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -126,13 +126,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
126
126
|
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.displayName = 'proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse';
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
/**
|
|
130
|
-
* List of repeated fields within this message type.
|
|
131
|
-
* @private {!Array<number>}
|
|
132
|
-
* @const
|
|
133
|
-
*/
|
|
134
|
-
proto.lansweeper.diagrams.v1.DiagramRequest.repeatedFields_ = [3];
|
|
135
|
-
|
|
136
129
|
|
|
137
130
|
|
|
138
131
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -166,8 +159,9 @@ proto.lansweeper.diagrams.v1.DiagramRequest.toObject = function(includeInstance,
|
|
|
166
159
|
var f, obj = {
|
|
167
160
|
clientKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
168
161
|
installationKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
169
|
-
|
|
170
|
-
assetScopesRulesMap: (f = msg.getAssetScopesRulesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
162
|
+
assetTypeNamesMap: (f = msg.getAssetTypeNamesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
163
|
+
assetScopesRulesMap: (f = msg.getAssetScopesRulesMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
164
|
+
traceId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
171
165
|
};
|
|
172
166
|
|
|
173
167
|
if (includeInstance) {
|
|
@@ -213,8 +207,10 @@ proto.lansweeper.diagrams.v1.DiagramRequest.deserializeBinaryFromReader = functi
|
|
|
213
207
|
msg.setInstallationKey(value);
|
|
214
208
|
break;
|
|
215
209
|
case 3:
|
|
216
|
-
var value =
|
|
217
|
-
|
|
210
|
+
var value = msg.getAssetTypeNamesMap();
|
|
211
|
+
reader.readMessage(value, function(message, reader) {
|
|
212
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readBool, null, "", false);
|
|
213
|
+
});
|
|
218
214
|
break;
|
|
219
215
|
case 4:
|
|
220
216
|
var value = msg.getAssetScopesRulesMap();
|
|
@@ -222,6 +218,10 @@ proto.lansweeper.diagrams.v1.DiagramRequest.deserializeBinaryFromReader = functi
|
|
|
222
218
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
223
219
|
});
|
|
224
220
|
break;
|
|
221
|
+
case 5:
|
|
222
|
+
var value = /** @type {string} */ (reader.readString());
|
|
223
|
+
msg.setTraceId(value);
|
|
224
|
+
break;
|
|
225
225
|
default:
|
|
226
226
|
reader.skipField();
|
|
227
227
|
break;
|
|
@@ -265,17 +265,21 @@ proto.lansweeper.diagrams.v1.DiagramRequest.serializeBinaryToWriter = function(m
|
|
|
265
265
|
f
|
|
266
266
|
);
|
|
267
267
|
}
|
|
268
|
-
f = message.
|
|
269
|
-
if (f.
|
|
270
|
-
writer.
|
|
271
|
-
3,
|
|
272
|
-
f
|
|
273
|
-
);
|
|
268
|
+
f = message.getAssetTypeNamesMap(true);
|
|
269
|
+
if (f && f.getLength() > 0) {
|
|
270
|
+
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeBool);
|
|
274
271
|
}
|
|
275
272
|
f = message.getAssetScopesRulesMap(true);
|
|
276
273
|
if (f && f.getLength() > 0) {
|
|
277
274
|
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
278
275
|
}
|
|
276
|
+
f = message.getTraceId();
|
|
277
|
+
if (f.length > 0) {
|
|
278
|
+
writer.writeString(
|
|
279
|
+
5,
|
|
280
|
+
f
|
|
281
|
+
);
|
|
282
|
+
}
|
|
279
283
|
};
|
|
280
284
|
|
|
281
285
|
|
|
@@ -316,40 +320,25 @@ proto.lansweeper.diagrams.v1.DiagramRequest.prototype.setInstallationKey = funct
|
|
|
316
320
|
|
|
317
321
|
|
|
318
322
|
/**
|
|
319
|
-
*
|
|
320
|
-
* @
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
324
|
-
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* @param {!Array<string>} value
|
|
329
|
-
* @return {!proto.lansweeper.diagrams.v1.DiagramRequest} returns this
|
|
330
|
-
*/
|
|
331
|
-
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.setAssetTypeNamesList = function(value) {
|
|
332
|
-
return jspb.Message.setField(this, 3, value || []);
|
|
333
|
-
};
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* @param {string} value
|
|
338
|
-
* @param {number=} opt_index
|
|
339
|
-
* @return {!proto.lansweeper.diagrams.v1.DiagramRequest} returns this
|
|
323
|
+
* map<string, bool> asset_type_names = 3;
|
|
324
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
325
|
+
* empty, instead returning `undefined`
|
|
326
|
+
* @return {!jspb.Map<string,boolean>}
|
|
340
327
|
*/
|
|
341
|
-
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.
|
|
342
|
-
return jspb.
|
|
328
|
+
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.getAssetTypeNamesMap = function(opt_noLazyCreate) {
|
|
329
|
+
return /** @type {!jspb.Map<string,boolean>} */ (
|
|
330
|
+
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
|
|
331
|
+
null));
|
|
343
332
|
};
|
|
344
333
|
|
|
345
334
|
|
|
346
335
|
/**
|
|
347
|
-
* Clears the
|
|
336
|
+
* Clears values from the map. The map will be non-null.
|
|
348
337
|
* @return {!proto.lansweeper.diagrams.v1.DiagramRequest} returns this
|
|
349
338
|
*/
|
|
350
|
-
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.
|
|
351
|
-
|
|
352
|
-
};
|
|
339
|
+
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.clearAssetTypeNamesMap = function() {
|
|
340
|
+
this.getAssetTypeNamesMap().clear();
|
|
341
|
+
return this;};
|
|
353
342
|
|
|
354
343
|
|
|
355
344
|
/**
|
|
@@ -374,6 +363,24 @@ proto.lansweeper.diagrams.v1.DiagramRequest.prototype.clearAssetScopesRulesMap =
|
|
|
374
363
|
return this;};
|
|
375
364
|
|
|
376
365
|
|
|
366
|
+
/**
|
|
367
|
+
* optional string trace_id = 5;
|
|
368
|
+
* @return {string}
|
|
369
|
+
*/
|
|
370
|
+
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.getTraceId = function() {
|
|
371
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @param {string} value
|
|
377
|
+
* @return {!proto.lansweeper.diagrams.v1.DiagramRequest} returns this
|
|
378
|
+
*/
|
|
379
|
+
proto.lansweeper.diagrams.v1.DiagramRequest.prototype.setTraceId = function(value) {
|
|
380
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
|
|
377
384
|
|
|
378
385
|
|
|
379
386
|
|
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"proto/diagrams.proto","package":"lansweeper.diagrams.v1","messageType":[{"name":"DiagramRequest","field":[{"name":"client_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientKey"},{"name":"installation_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installationKey"},{"name":"asset_type_names","number":3,"label":"LABEL_REPEATED","type":"
|
|
1
|
+
{"file":[{"name":"proto/diagrams.proto","package":"lansweeper.diagrams.v1","messageType":[{"name":"DiagramRequest","field":[{"name":"client_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientKey"},{"name":"installation_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installationKey"},{"name":"asset_type_names","number":3,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.DiagramRequest.AssetTypeNamesEntry","jsonName":"assetTypeNames"},{"name":"asset_scopes_rules","number":4,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.DiagramRequest.AssetScopesRulesEntry","jsonName":"assetScopesRules"},{"name":"trace_id","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}],"nestedType":[{"name":"AssetTypeNamesEntry","field":[{"name":"key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"value"}],"options":{"mapEntry":true}},{"name":"AssetScopesRulesEntry","field":[{"name":"key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"value"}],"options":{"mapEntry":true}}]},{"name":"Asset","field":[{"name":"unique_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"uniqueKey"},{"name":"key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"name","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"name"},{"name":"type_name","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"typeName"},{"name":"group_key","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"groupKey"},{"name":"is_group","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"isGroup"},{"name":"ip_address","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"ipAddress"},{"name":"vm_running_status","number":8,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"vmRunningStatus"},{"name":"category","number":9,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"category"},{"name":"is_virtual","number":10,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"isVirtual"}]},{"name":"Relationship","field":[{"name":"from_asset_unique_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"fromAssetUniqueKey"},{"name":"to_asset_unique_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"toAssetUniqueKey"},{"name":"category","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"category"},{"name":"name","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"name"},{"name":"reverse_name","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"reverseName"},{"name":"icon_name","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"iconName"},{"name":"is_manual","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"isManual"}]},{"name":"NetworkTopologyDiagramResponse","field":[{"name":"assets","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Asset","jsonName":"assets"},{"name":"relationships","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Relationship","jsonName":"relationships"},{"name":"issues","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"issues"}]},{"name":"VirtualEnvironmentDiagramResponse","field":[{"name":"assets","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Asset","jsonName":"assets"},{"name":"relationships","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Relationship","jsonName":"relationships"},{"name":"issues","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"issues"}]}],"service":[{"name":"DiagramsService","method":[{"name":"GetNetworkTopologyDiagramByInstallation","inputType":".lansweeper.diagrams.v1.DiagramRequest","outputType":".lansweeper.diagrams.v1.NetworkTopologyDiagramResponse","options":{}},{"name":"GetVirtualEnvironmentDiagramByInstallation","inputType":".lansweeper.diagrams.v1.DiagramRequest","outputType":".lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse","options":{}}]}],"options":{"csharpNamespace":"Lansweeper.Diagrams.GRPC"},"sourceCodeInfo":{"location":[{"span":[0,0,52,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,31]},{"path":[8],"span":[4,0,53]},{"path":[8,37],"span":[4,0,53]},{"path":[6,0],"span":[6,0,9,1]},{"path":[6,0,1],"span":[6,8,23]},{"path":[6,0,2,0],"span":[7,2,105]},{"path":[6,0,2,0,1],"span":[7,6,45]},{"path":[6,0,2,0,2],"span":[7,46,60]},{"path":[6,0,2,0,3],"span":[7,71,101]},{"path":[6,0,2,1],"span":[8,2,111]},{"path":[6,0,2,1,1],"span":[8,6,48]},{"path":[6,0,2,1,2],"span":[8,49,63]},{"path":[6,0,2,1,3],"span":[8,74,107]},{"path":[4,0],"span":[11,0,17,1]},{"path":[4,0,1],"span":[11,8,22]},{"path":[4,0,2,0],"span":[12,2,24]},{"path":[4,0,2,0,5],"span":[12,2,8]},{"path":[4,0,2,0,1],"span":[12,9,19]},{"path":[4,0,2,0,3],"span":[12,22,23]},{"path":[4,0,2,1],"span":[13,2,30]},{"path":[4,0,2,1,5],"span":[13,2,8]},{"path":[4,0,2,1,1],"span":[13,9,25]},{"path":[4,0,2,1,3],"span":[13,28,29]},{"path":[4,0,2,2],"span":[14,2,41]},{"path":[4,0,2,2,6],"span":[14,2,19]},{"path":[4,0,2,2,1],"span":[14,20,36]},{"path":[4,0,2,2,3],"span":[14,39,40]},{"path":[4,0,2,3],"span":[15,2,45]},{"path":[4,0,2,3,6],"span":[15,2,21]},{"path":[4,0,2,3,1],"span":[15,22,40]},{"path":[4,0,2,3,3],"span":[15,43,44]},{"path":[4,0,2,4],"span":[16,2,22]},{"path":[4,0,2,4,5],"span":[16,2,8]},{"path":[4,0,2,4,1],"span":[16,9,17]},{"path":[4,0,2,4,3],"span":[16,20,21]},{"path":[4,1],"span":[19,0,30,1]},{"path":[4,1,1],"span":[19,8,13]},{"path":[4,1,2,0],"span":[20,2,24]},{"path":[4,1,2,0,5],"span":[20,2,8]},{"path":[4,1,2,0,1],"span":[20,9,19]},{"path":[4,1,2,0,3],"span":[20,22,23]},{"path":[4,1,2,1],"span":[21,2,17]},{"path":[4,1,2,1,5],"span":[21,2,8]},{"path":[4,1,2,1,1],"span":[21,9,12]},{"path":[4,1,2,1,3],"span":[21,15,16]},{"path":[4,1,2,2],"span":[22,2,18]},{"path":[4,1,2,2,5],"span":[22,2,8]},{"path":[4,1,2,2,1],"span":[22,9,13]},{"path":[4,1,2,2,3],"span":[22,16,17]},{"path":[4,1,2,3],"span":[23,2,23]},{"path":[4,1,2,3,5],"span":[23,2,8]},{"path":[4,1,2,3,1],"span":[23,9,18]},{"path":[4,1,2,3,3],"span":[23,21,22]},{"path":[4,1,2,4],"span":[24,2,23]},{"path":[4,1,2,4,5],"span":[24,2,8]},{"path":[4,1,2,4,1],"span":[24,9,18]},{"path":[4,1,2,4,3],"span":[24,21,22]},{"path":[4,1,2,5],"span":[25,2,20]},{"path":[4,1,2,5,5],"span":[25,2,6]},{"path":[4,1,2,5,1],"span":[25,7,15]},{"path":[4,1,2,5,3],"span":[25,18,19]},{"path":[4,1,2,6],"span":[26,2,24]},{"path":[4,1,2,6,5],"span":[26,2,8]},{"path":[4,1,2,6,1],"span":[26,9,19]},{"path":[4,1,2,6,3],"span":[26,22,23]},{"path":[4,1,2,7],"span":[27,2,31]},{"path":[4,1,2,7,5],"span":[27,2,8]},{"path":[4,1,2,7,1],"span":[27,9,26]},{"path":[4,1,2,7,3],"span":[27,29,30]},{"path":[4,1,2,8],"span":[28,2,22]},{"path":[4,1,2,8,5],"span":[28,2,8]},{"path":[4,1,2,8,1],"span":[28,9,17]},{"path":[4,1,2,8,3],"span":[28,20,21]},{"path":[4,1,2,9],"span":[29,2,23]},{"path":[4,1,2,9,5],"span":[29,2,6]},{"path":[4,1,2,9,1],"span":[29,7,17]},{"path":[4,1,2,9,3],"span":[29,20,22]},{"path":[4,2],"span":[32,0,40,1]},{"path":[4,2,1],"span":[32,8,20]},{"path":[4,2,2,0],"span":[33,2,35]},{"path":[4,2,2,0,5],"span":[33,2,8]},{"path":[4,2,2,0,1],"span":[33,9,30]},{"path":[4,2,2,0,3],"span":[33,33,34]},{"path":[4,2,2,1],"span":[34,2,33]},{"path":[4,2,2,1,5],"span":[34,2,8]},{"path":[4,2,2,1,1],"span":[34,9,28]},{"path":[4,2,2,1,3],"span":[34,31,32]},{"path":[4,2,2,2],"span":[35,2,22]},{"path":[4,2,2,2,5],"span":[35,2,8]},{"path":[4,2,2,2,1],"span":[35,9,17]},{"path":[4,2,2,2,3],"span":[35,20,21]},{"path":[4,2,2,3],"span":[36,2,18]},{"path":[4,2,2,3,5],"span":[36,2,8]},{"path":[4,2,2,3,1],"span":[36,9,13]},{"path":[4,2,2,3,3],"span":[36,16,17]},{"path":[4,2,2,4],"span":[37,2,26]},{"path":[4,2,2,4,5],"span":[37,2,8]},{"path":[4,2,2,4,1],"span":[37,9,21]},{"path":[4,2,2,4,3],"span":[37,24,25]},{"path":[4,2,2,5],"span":[38,2,23]},{"path":[4,2,2,5,5],"span":[38,2,8]},{"path":[4,2,2,5,1],"span":[38,9,18]},{"path":[4,2,2,5,3],"span":[38,21,22]},{"path":[4,2,2,6],"span":[39,2,21]},{"path":[4,2,2,6,5],"span":[39,2,6]},{"path":[4,2,2,6,1],"span":[39,7,16]},{"path":[4,2,2,6,3],"span":[39,19,20]},{"path":[4,3],"span":[42,0,46,1]},{"path":[4,3,1],"span":[42,8,38]},{"path":[4,3,2,0],"span":[43,2,28]},{"path":[4,3,2,0,4],"span":[43,2,10]},{"path":[4,3,2,0,6],"span":[43,11,16]},{"path":[4,3,2,0,1],"span":[43,17,23]},{"path":[4,3,2,0,3],"span":[43,26,27]},{"path":[4,3,2,1],"span":[44,2,42]},{"path":[4,3,2,1,4],"span":[44,2,10]},{"path":[4,3,2,1,6],"span":[44,11,23]},{"path":[4,3,2,1,1],"span":[44,24,37]},{"path":[4,3,2,1,3],"span":[44,40,41]},{"path":[4,3,2,2],"span":[45,2,29]},{"path":[4,3,2,2,4],"span":[45,2,10]},{"path":[4,3,2,2,5],"span":[45,11,17]},{"path":[4,3,2,2,1],"span":[45,18,24]},{"path":[4,3,2,2,3],"span":[45,27,28]},{"path":[4,4],"span":[48,0,52,1]},{"path":[4,4,1],"span":[48,8,41]},{"path":[4,4,2,0],"span":[49,2,28]},{"path":[4,4,2,0,4],"span":[49,2,10]},{"path":[4,4,2,0,6],"span":[49,11,16]},{"path":[4,4,2,0,1],"span":[49,17,23]},{"path":[4,4,2,0,3],"span":[49,26,27]},{"path":[4,4,2,1],"span":[50,2,42]},{"path":[4,4,2,1,4],"span":[50,2,10]},{"path":[4,4,2,1,6],"span":[50,11,23]},{"path":[4,4,2,1,1],"span":[50,24,37]},{"path":[4,4,2,1,3],"span":[50,40,41]},{"path":[4,4,2,2],"span":[51,2,29]},{"path":[4,4,2,2,4],"span":[51,2,10]},{"path":[4,4,2,2,5],"span":[51,11,17]},{"path":[4,4,2,2,1],"span":[51,18,24]},{"path":[4,4,2,2,3],"span":[51,27,28]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
@@ -14,11 +14,11 @@ using System.Reflection;
|
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
|
|
16
16
|
[assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
|
|
17
|
-
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.
|
|
18
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.
|
|
17
|
+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.10")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.10")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Diagrams")]
|
|
20
20
|
[assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Diagrams.GRPC")]
|
|
21
|
-
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.
|
|
21
|
+
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.10.0")]
|
|
22
22
|
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
|
|
23
23
|
|
|
24
24
|
// Generated by the MSBuild WriteCodeFragment class.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
32b7fbb76d8b96fc965edac5c5f5c77a37675aa4
|
|
Binary file
|
|
Binary file
|
|
@@ -25,39 +25,42 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
25
25
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
26
26
|
string.Concat(
|
|
27
27
|
"ChRwcm90by9kaWFncmFtcy5wcm90bxIWbGFuc3dlZXBlci5kaWFncmFtcy52",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
28
|
+
"MSLwAgoORGlhZ3JhbVJlcXVlc3QSEgoKY2xpZW50X2tleRgBIAEoCRIYChBp",
|
|
29
|
+
"bnN0YWxsYXRpb25fa2V5GAIgASgJElQKEGFzc2V0X3R5cGVfbmFtZXMYAyAD",
|
|
30
|
+
"KAsyOi5sYW5zd2VlcGVyLmRpYWdyYW1zLnYxLkRpYWdyYW1SZXF1ZXN0LkFz",
|
|
31
|
+
"c2V0VHlwZU5hbWVzRW50cnkSWAoSYXNzZXRfc2NvcGVzX3J1bGVzGAQgAygL",
|
|
32
|
+
"MjwubGFuc3dlZXBlci5kaWFncmFtcy52MS5EaWFncmFtUmVxdWVzdC5Bc3Nl",
|
|
33
|
+
"dFNjb3Blc1J1bGVzRW50cnkSEAoIdHJhY2VfaWQYBSABKAkaNQoTQXNzZXRU",
|
|
34
|
+
"eXBlTmFtZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAg6AjgB",
|
|
35
|
+
"GjcKFUFzc2V0U2NvcGVzUnVsZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFs",
|
|
36
|
+
"dWUYAiABKAk6AjgBIsMBCgVBc3NldBISCgp1bmlxdWVfa2V5GAEgASgJEgsK",
|
|
37
|
+
"A2tleRgCIAEoCRIMCgRuYW1lGAMgASgJEhEKCXR5cGVfbmFtZRgEIAEoCRIR",
|
|
38
|
+
"Cglncm91cF9rZXkYBSABKAkSEAoIaXNfZ3JvdXAYBiABKAgSEgoKaXBfYWRk",
|
|
39
|
+
"cmVzcxgHIAEoCRIZChF2bV9ydW5uaW5nX3N0YXR1cxgIIAEoCRIQCghjYXRl",
|
|
40
|
+
"Z29yeRgJIAEoCRISCgppc192aXJ0dWFsGAogASgIIqYBCgxSZWxhdGlvbnNo",
|
|
41
|
+
"aXASHQoVZnJvbV9hc3NldF91bmlxdWVfa2V5GAEgASgJEhsKE3RvX2Fzc2V0",
|
|
42
|
+
"X3VuaXF1ZV9rZXkYAiABKAkSEAoIY2F0ZWdvcnkYAyABKAkSDAoEbmFtZRgE",
|
|
43
|
+
"IAEoCRIUCgxyZXZlcnNlX25hbWUYBSABKAkSEQoJaWNvbl9uYW1lGAYgASgJ",
|
|
44
|
+
"EhEKCWlzX21hbnVhbBgHIAEoCCKcAQoeTmV0d29ya1RvcG9sb2d5RGlhZ3Jh",
|
|
45
|
+
"bVJlc3BvbnNlEi0KBmFzc2V0cxgBIAMoCzIdLmxhbnN3ZWVwZXIuZGlhZ3Jh",
|
|
46
|
+
"bXMudjEuQXNzZXQSOwoNcmVsYXRpb25zaGlwcxgCIAMoCzIkLmxhbnN3ZWVw",
|
|
47
|
+
"ZXIuZGlhZ3JhbXMudjEuUmVsYXRpb25zaGlwEg4KBmlzc3VlcxgDIAMoCSKf",
|
|
48
|
+
"AQohVmlydHVhbEVudmlyb25tZW50RGlhZ3JhbVJlc3BvbnNlEi0KBmFzc2V0",
|
|
49
|
+
"cxgBIAMoCzIdLmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuQXNzZXQSOwoNcmVs",
|
|
50
|
+
"YXRpb25zaGlwcxgCIAMoCzIkLmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuUmVs",
|
|
51
|
+
"YXRpb25zaGlwEg4KBmlzc3VlcxgDIAMoCTKzAgoPRGlhZ3JhbXNTZXJ2aWNl",
|
|
52
|
+
"EosBCidHZXROZXR3b3JrVG9wb2xvZ3lEaWFncmFtQnlJbnN0YWxsYXRpb24S",
|
|
53
|
+
"Ji5sYW5zd2VlcGVyLmRpYWdyYW1zLnYxLkRpYWdyYW1SZXF1ZXN0GjYubGFu",
|
|
54
|
+
"c3dlZXBlci5kaWFncmFtcy52MS5OZXR3b3JrVG9wb2xvZ3lEaWFncmFtUmVz",
|
|
55
|
+
"cG9uc2UiABKRAQoqR2V0VmlydHVhbEVudmlyb25tZW50RGlhZ3JhbUJ5SW5z",
|
|
56
|
+
"dGFsbGF0aW9uEiYubGFuc3dlZXBlci5kaWFncmFtcy52MS5EaWFncmFtUmVx",
|
|
57
|
+
"dWVzdBo5LmxhbnN3ZWVwZXIuZGlhZ3JhbXMudjEuVmlydHVhbEVudmlyb25t",
|
|
58
|
+
"ZW50RGlhZ3JhbVJlc3BvbnNlIgBCG6oCGExhbnN3ZWVwZXIuRGlhZ3JhbXMu",
|
|
59
|
+
"R1JQQ2IGcHJvdG8z"));
|
|
57
60
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
58
61
|
new pbr::FileDescriptor[] { },
|
|
59
62
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
60
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.DiagramRequest), global::Lansweeper.Diagrams.GRPC.DiagramRequest.Parser, new[]{ "ClientKey", "InstallationKey", "AssetTypeNames", "AssetScopesRules" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }),
|
|
63
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.DiagramRequest), global::Lansweeper.Diagrams.GRPC.DiagramRequest.Parser, new[]{ "ClientKey", "InstallationKey", "AssetTypeNames", "AssetScopesRules", "TraceId" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, }),
|
|
61
64
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Asset), global::Lansweeper.Diagrams.GRPC.Asset.Parser, new[]{ "UniqueKey", "Key", "Name", "TypeName", "GroupKey", "IsGroup", "IpAddress", "VmRunningStatus", "Category", "IsVirtual" }, null, null, null, null),
|
|
62
65
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Relationship), global::Lansweeper.Diagrams.GRPC.Relationship.Parser, new[]{ "FromAssetUniqueKey", "ToAssetUniqueKey", "Category", "Name", "ReverseName", "IconName", "IsManual" }, null, null, null, null),
|
|
63
66
|
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse), global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse.Parser, new[]{ "Assets", "Relationships", "Issues" }, null, null, null, null),
|
|
@@ -106,6 +109,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
106
109
|
installationKey_ = other.installationKey_;
|
|
107
110
|
assetTypeNames_ = other.assetTypeNames_.Clone();
|
|
108
111
|
assetScopesRules_ = other.assetScopesRules_.Clone();
|
|
112
|
+
traceId_ = other.traceId_;
|
|
109
113
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
110
114
|
}
|
|
111
115
|
|
|
@@ -141,12 +145,12 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
141
145
|
|
|
142
146
|
/// <summary>Field number for the "asset_type_names" field.</summary>
|
|
143
147
|
public const int AssetTypeNamesFieldNumber = 3;
|
|
144
|
-
private static readonly
|
|
145
|
-
= pb::FieldCodec.ForString(26);
|
|
146
|
-
private readonly pbc::
|
|
148
|
+
private static readonly pbc::MapField<string, bool>.Codec _map_assetTypeNames_codec
|
|
149
|
+
= new pbc::MapField<string, bool>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForBool(16, false), 26);
|
|
150
|
+
private readonly pbc::MapField<string, bool> assetTypeNames_ = new pbc::MapField<string, bool>();
|
|
147
151
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
148
152
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
149
|
-
public pbc::
|
|
153
|
+
public pbc::MapField<string, bool> AssetTypeNames {
|
|
150
154
|
get { return assetTypeNames_; }
|
|
151
155
|
}
|
|
152
156
|
|
|
@@ -161,6 +165,18 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
161
165
|
get { return assetScopesRules_; }
|
|
162
166
|
}
|
|
163
167
|
|
|
168
|
+
/// <summary>Field number for the "trace_id" field.</summary>
|
|
169
|
+
public const int TraceIdFieldNumber = 5;
|
|
170
|
+
private string traceId_ = "";
|
|
171
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
172
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
173
|
+
public string TraceId {
|
|
174
|
+
get { return traceId_; }
|
|
175
|
+
set {
|
|
176
|
+
traceId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
164
180
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
165
181
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
166
182
|
public override bool Equals(object other) {
|
|
@@ -178,8 +194,9 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
178
194
|
}
|
|
179
195
|
if (ClientKey != other.ClientKey) return false;
|
|
180
196
|
if (InstallationKey != other.InstallationKey) return false;
|
|
181
|
-
if(!
|
|
197
|
+
if (!AssetTypeNames.Equals(other.AssetTypeNames)) return false;
|
|
182
198
|
if (!AssetScopesRules.Equals(other.AssetScopesRules)) return false;
|
|
199
|
+
if (TraceId != other.TraceId) return false;
|
|
183
200
|
return Equals(_unknownFields, other._unknownFields);
|
|
184
201
|
}
|
|
185
202
|
|
|
@@ -189,8 +206,9 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
189
206
|
int hash = 1;
|
|
190
207
|
if (ClientKey.Length != 0) hash ^= ClientKey.GetHashCode();
|
|
191
208
|
if (InstallationKey.Length != 0) hash ^= InstallationKey.GetHashCode();
|
|
192
|
-
hash ^=
|
|
209
|
+
hash ^= AssetTypeNames.GetHashCode();
|
|
193
210
|
hash ^= AssetScopesRules.GetHashCode();
|
|
211
|
+
if (TraceId.Length != 0) hash ^= TraceId.GetHashCode();
|
|
194
212
|
if (_unknownFields != null) {
|
|
195
213
|
hash ^= _unknownFields.GetHashCode();
|
|
196
214
|
}
|
|
@@ -217,8 +235,12 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
217
235
|
output.WriteRawTag(18);
|
|
218
236
|
output.WriteString(InstallationKey);
|
|
219
237
|
}
|
|
220
|
-
assetTypeNames_.WriteTo(output,
|
|
238
|
+
assetTypeNames_.WriteTo(output, _map_assetTypeNames_codec);
|
|
221
239
|
assetScopesRules_.WriteTo(output, _map_assetScopesRules_codec);
|
|
240
|
+
if (TraceId.Length != 0) {
|
|
241
|
+
output.WriteRawTag(42);
|
|
242
|
+
output.WriteString(TraceId);
|
|
243
|
+
}
|
|
222
244
|
if (_unknownFields != null) {
|
|
223
245
|
_unknownFields.WriteTo(output);
|
|
224
246
|
}
|
|
@@ -237,8 +259,12 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
237
259
|
output.WriteRawTag(18);
|
|
238
260
|
output.WriteString(InstallationKey);
|
|
239
261
|
}
|
|
240
|
-
assetTypeNames_.WriteTo(ref output,
|
|
262
|
+
assetTypeNames_.WriteTo(ref output, _map_assetTypeNames_codec);
|
|
241
263
|
assetScopesRules_.WriteTo(ref output, _map_assetScopesRules_codec);
|
|
264
|
+
if (TraceId.Length != 0) {
|
|
265
|
+
output.WriteRawTag(42);
|
|
266
|
+
output.WriteString(TraceId);
|
|
267
|
+
}
|
|
242
268
|
if (_unknownFields != null) {
|
|
243
269
|
_unknownFields.WriteTo(ref output);
|
|
244
270
|
}
|
|
@@ -255,8 +281,11 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
255
281
|
if (InstallationKey.Length != 0) {
|
|
256
282
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(InstallationKey);
|
|
257
283
|
}
|
|
258
|
-
size += assetTypeNames_.CalculateSize(
|
|
284
|
+
size += assetTypeNames_.CalculateSize(_map_assetTypeNames_codec);
|
|
259
285
|
size += assetScopesRules_.CalculateSize(_map_assetScopesRules_codec);
|
|
286
|
+
if (TraceId.Length != 0) {
|
|
287
|
+
size += 1 + pb::CodedOutputStream.ComputeStringSize(TraceId);
|
|
288
|
+
}
|
|
260
289
|
if (_unknownFields != null) {
|
|
261
290
|
size += _unknownFields.CalculateSize();
|
|
262
291
|
}
|
|
@@ -277,6 +306,9 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
277
306
|
}
|
|
278
307
|
assetTypeNames_.Add(other.assetTypeNames_);
|
|
279
308
|
assetScopesRules_.Add(other.assetScopesRules_);
|
|
309
|
+
if (other.TraceId.Length != 0) {
|
|
310
|
+
TraceId = other.TraceId;
|
|
311
|
+
}
|
|
280
312
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
281
313
|
}
|
|
282
314
|
|
|
@@ -301,13 +333,17 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
301
333
|
break;
|
|
302
334
|
}
|
|
303
335
|
case 26: {
|
|
304
|
-
assetTypeNames_.AddEntriesFrom(input,
|
|
336
|
+
assetTypeNames_.AddEntriesFrom(input, _map_assetTypeNames_codec);
|
|
305
337
|
break;
|
|
306
338
|
}
|
|
307
339
|
case 34: {
|
|
308
340
|
assetScopesRules_.AddEntriesFrom(input, _map_assetScopesRules_codec);
|
|
309
341
|
break;
|
|
310
342
|
}
|
|
343
|
+
case 42: {
|
|
344
|
+
TraceId = input.ReadString();
|
|
345
|
+
break;
|
|
346
|
+
}
|
|
311
347
|
}
|
|
312
348
|
}
|
|
313
349
|
#endif
|
|
@@ -332,13 +368,17 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
332
368
|
break;
|
|
333
369
|
}
|
|
334
370
|
case 26: {
|
|
335
|
-
assetTypeNames_.AddEntriesFrom(ref input,
|
|
371
|
+
assetTypeNames_.AddEntriesFrom(ref input, _map_assetTypeNames_codec);
|
|
336
372
|
break;
|
|
337
373
|
}
|
|
338
374
|
case 34: {
|
|
339
375
|
assetScopesRules_.AddEntriesFrom(ref input, _map_assetScopesRules_codec);
|
|
340
376
|
break;
|
|
341
377
|
}
|
|
378
|
+
case 42: {
|
|
379
|
+
TraceId = input.ReadString();
|
|
380
|
+
break;
|
|
381
|
+
}
|
|
342
382
|
}
|
|
343
383
|
}
|
|
344
384
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"projects": {
|
|
7
7
|
"/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj": {
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.10",
|
|
9
9
|
"restore": {
|
|
10
10
|
"projectUniqueName": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
|
|
11
11
|
"projectName": "Lansweeper.Diagrams.GRPC",
|
package/obj/project.assets.json
CHANGED
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
"/home/circleci/.nuget/packages/": {}
|
|
306
306
|
},
|
|
307
307
|
"project": {
|
|
308
|
-
"version": "0.0.
|
|
308
|
+
"version": "0.0.10",
|
|
309
309
|
"restore": {
|
|
310
310
|
"projectUniqueName": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
|
|
311
311
|
"projectName": "Lansweeper.Diagrams.GRPC",
|
package/obj/project.nuget.cache
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 2,
|
|
3
|
-
"dgSpecHash": "
|
|
3
|
+
"dgSpecHash": "RNJXfAZ6cUWdNr2NXCSBRn/2nM95arQkfLo9eDs89hzgKh5hGx70eaDdY/A8NSuuJPXvy2CS2ife0U4llEGeBA==",
|
|
4
4
|
"success": true,
|
|
5
5
|
"projectFilePath": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
|
|
6
6
|
"expectedPackageFiles": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/diagrams-grpc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "Diagrams gRPC",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@types/google-protobuf": "^3.15.5"
|
|
14
14
|
},
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "ba00971eb2f944652f5e1a8b6a1d16b7e8bf9b7b"
|
|
16
16
|
}
|
package/proto/diagrams.proto
CHANGED
|
@@ -12,8 +12,9 @@ service DiagramsService {
|
|
|
12
12
|
message DiagramRequest {
|
|
13
13
|
string client_key = 1;
|
|
14
14
|
string installation_key = 2;
|
|
15
|
-
|
|
15
|
+
map<string, bool> asset_type_names = 3;
|
|
16
16
|
map<string, string> asset_scopes_rules = 4;
|
|
17
|
+
string trace_id = 5;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
message Asset {
|