@lansweeper/diagrams-grpc 0.0.11 → 0.0.13
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 +42 -0
- package/gen-proto/diagrams_pb.js +333 -5
- 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.csproj.AssemblyReference.cache +0 -0
- package/obj/Debug/net6.0/Lansweeper.Diagrams.GRPC.csproj.CoreCompileInputs.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 +358 -28
- 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 +2 -2
- package/obj/project.assets.json +2 -2
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/proto/diagrams.proto +14 -0
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.13](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.12...@lansweeper/diagrams-grpc@0.0.13) (2022-11-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.0.12](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/diagrams-grpc@0.0.11...@lansweeper/diagrams-grpc@0.0.12) (2022-11-07)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @lansweeper/diagrams-grpc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [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
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.12</PackageVersion>
|
|
11
|
+
<Version>0.0.12</Version>
|
|
12
|
+
<FileVersion>0.0.12</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.12": {
|
|
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.12": {
|
|
95
95
|
"type": "project",
|
|
96
96
|
"serviceable": false,
|
|
97
97
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -63,6 +63,8 @@ export class Asset extends jspb.Message {
|
|
|
63
63
|
setCategory(value: string): Asset;
|
|
64
64
|
getIsVirtual(): boolean;
|
|
65
65
|
setIsVirtual(value: boolean): Asset;
|
|
66
|
+
getIsVmRunning(): boolean;
|
|
67
|
+
setIsVmRunning(value: boolean): Asset;
|
|
66
68
|
|
|
67
69
|
serializeBinary(): Uint8Array;
|
|
68
70
|
toObject(includeInstance?: boolean): Asset.AsObject;
|
|
@@ -86,6 +88,30 @@ export namespace Asset {
|
|
|
86
88
|
vmRunningStatus: string,
|
|
87
89
|
category: string,
|
|
88
90
|
isVirtual: boolean,
|
|
91
|
+
isVmRunning: boolean,
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class Error extends jspb.Message {
|
|
96
|
+
getType(): ErrorType;
|
|
97
|
+
setType(value: ErrorType): Error;
|
|
98
|
+
getMessage(): string;
|
|
99
|
+
setMessage(value: string): Error;
|
|
100
|
+
|
|
101
|
+
serializeBinary(): Uint8Array;
|
|
102
|
+
toObject(includeInstance?: boolean): Error.AsObject;
|
|
103
|
+
static toObject(includeInstance: boolean, msg: Error): Error.AsObject;
|
|
104
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
105
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
106
|
+
static serializeBinaryToWriter(message: Error, writer: jspb.BinaryWriter): void;
|
|
107
|
+
static deserializeBinary(bytes: Uint8Array): Error;
|
|
108
|
+
static deserializeBinaryFromReader(message: Error, reader: jspb.BinaryReader): Error;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export namespace Error {
|
|
112
|
+
export type AsObject = {
|
|
113
|
+
type: ErrorType,
|
|
114
|
+
message: string,
|
|
89
115
|
}
|
|
90
116
|
}
|
|
91
117
|
|
|
@@ -140,6 +166,10 @@ export class NetworkTopologyDiagramResponse extends jspb.Message {
|
|
|
140
166
|
getIssuesList(): Array<string>;
|
|
141
167
|
setIssuesList(value: Array<string>): NetworkTopologyDiagramResponse;
|
|
142
168
|
addIssues(value: string, index?: number): string;
|
|
169
|
+
clearErrorsList(): void;
|
|
170
|
+
getErrorsList(): Array<Error>;
|
|
171
|
+
setErrorsList(value: Array<Error>): NetworkTopologyDiagramResponse;
|
|
172
|
+
addErrors(value?: Error, index?: number): Error;
|
|
143
173
|
|
|
144
174
|
serializeBinary(): Uint8Array;
|
|
145
175
|
toObject(includeInstance?: boolean): NetworkTopologyDiagramResponse.AsObject;
|
|
@@ -156,6 +186,7 @@ export namespace NetworkTopologyDiagramResponse {
|
|
|
156
186
|
assetsList: Array<Asset.AsObject>,
|
|
157
187
|
relationshipsList: Array<Relationship.AsObject>,
|
|
158
188
|
issuesList: Array<string>,
|
|
189
|
+
errorsList: Array<Error.AsObject>,
|
|
159
190
|
}
|
|
160
191
|
}
|
|
161
192
|
|
|
@@ -172,6 +203,10 @@ export class VirtualEnvironmentDiagramResponse extends jspb.Message {
|
|
|
172
203
|
getIssuesList(): Array<string>;
|
|
173
204
|
setIssuesList(value: Array<string>): VirtualEnvironmentDiagramResponse;
|
|
174
205
|
addIssues(value: string, index?: number): string;
|
|
206
|
+
clearErrorsList(): void;
|
|
207
|
+
getErrorsList(): Array<Error>;
|
|
208
|
+
setErrorsList(value: Array<Error>): VirtualEnvironmentDiagramResponse;
|
|
209
|
+
addErrors(value?: Error, index?: number): Error;
|
|
175
210
|
|
|
176
211
|
serializeBinary(): Uint8Array;
|
|
177
212
|
toObject(includeInstance?: boolean): VirtualEnvironmentDiagramResponse.AsObject;
|
|
@@ -188,5 +223,12 @@ export namespace VirtualEnvironmentDiagramResponse {
|
|
|
188
223
|
assetsList: Array<Asset.AsObject>,
|
|
189
224
|
relationshipsList: Array<Relationship.AsObject>,
|
|
190
225
|
issuesList: Array<string>,
|
|
226
|
+
errorsList: Array<Error.AsObject>,
|
|
191
227
|
}
|
|
192
228
|
}
|
|
229
|
+
|
|
230
|
+
export enum ErrorType {
|
|
231
|
+
UNKNOWN = 0,
|
|
232
|
+
GENERATION_ERROR = 1,
|
|
233
|
+
NO_ASSET = 2,
|
|
234
|
+
}
|
package/gen-proto/diagrams_pb.js
CHANGED
|
@@ -17,6 +17,8 @@ var global = Function('return this')();
|
|
|
17
17
|
|
|
18
18
|
goog.exportSymbol('proto.lansweeper.diagrams.v1.Asset', null, global);
|
|
19
19
|
goog.exportSymbol('proto.lansweeper.diagrams.v1.DiagramRequest', null, global);
|
|
20
|
+
goog.exportSymbol('proto.lansweeper.diagrams.v1.Error', null, global);
|
|
21
|
+
goog.exportSymbol('proto.lansweeper.diagrams.v1.ErrorType', null, global);
|
|
20
22
|
goog.exportSymbol('proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse', null, global);
|
|
21
23
|
goog.exportSymbol('proto.lansweeper.diagrams.v1.Relationship', null, global);
|
|
22
24
|
goog.exportSymbol('proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse', null, global);
|
|
@@ -62,6 +64,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
62
64
|
*/
|
|
63
65
|
proto.lansweeper.diagrams.v1.Asset.displayName = 'proto.lansweeper.diagrams.v1.Asset';
|
|
64
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Generated by JsPbCodeGenerator.
|
|
69
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
70
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
71
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
72
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
73
|
+
* valid.
|
|
74
|
+
* @extends {jspb.Message}
|
|
75
|
+
* @constructor
|
|
76
|
+
*/
|
|
77
|
+
proto.lansweeper.diagrams.v1.Error = function(opt_data) {
|
|
78
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
79
|
+
};
|
|
80
|
+
goog.inherits(proto.lansweeper.diagrams.v1.Error, jspb.Message);
|
|
81
|
+
if (goog.DEBUG && !COMPILED) {
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* @override
|
|
85
|
+
*/
|
|
86
|
+
proto.lansweeper.diagrams.v1.Error.displayName = 'proto.lansweeper.diagrams.v1.Error';
|
|
87
|
+
}
|
|
65
88
|
/**
|
|
66
89
|
* Generated by JsPbCodeGenerator.
|
|
67
90
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -422,7 +445,8 @@ proto.lansweeper.diagrams.v1.Asset.toObject = function(includeInstance, msg) {
|
|
|
422
445
|
ipAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
423
446
|
vmRunningStatus: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
424
447
|
category: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
425
|
-
isVirtual: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
448
|
+
isVirtual: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
449
|
+
isVmRunning: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
426
450
|
};
|
|
427
451
|
|
|
428
452
|
if (includeInstance) {
|
|
@@ -499,6 +523,10 @@ proto.lansweeper.diagrams.v1.Asset.deserializeBinaryFromReader = function(msg, r
|
|
|
499
523
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
500
524
|
msg.setIsVirtual(value);
|
|
501
525
|
break;
|
|
526
|
+
case 11:
|
|
527
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
528
|
+
msg.setIsVmRunning(value);
|
|
529
|
+
break;
|
|
502
530
|
default:
|
|
503
531
|
reader.skipField();
|
|
504
532
|
break;
|
|
@@ -598,6 +626,13 @@ proto.lansweeper.diagrams.v1.Asset.serializeBinaryToWriter = function(message, w
|
|
|
598
626
|
f
|
|
599
627
|
);
|
|
600
628
|
}
|
|
629
|
+
f = message.getIsVmRunning();
|
|
630
|
+
if (f) {
|
|
631
|
+
writer.writeBool(
|
|
632
|
+
11,
|
|
633
|
+
f
|
|
634
|
+
);
|
|
635
|
+
}
|
|
601
636
|
};
|
|
602
637
|
|
|
603
638
|
|
|
@@ -781,6 +816,184 @@ proto.lansweeper.diagrams.v1.Asset.prototype.setIsVirtual = function(value) {
|
|
|
781
816
|
};
|
|
782
817
|
|
|
783
818
|
|
|
819
|
+
/**
|
|
820
|
+
* optional bool is_vm_running = 11;
|
|
821
|
+
* @return {boolean}
|
|
822
|
+
*/
|
|
823
|
+
proto.lansweeper.diagrams.v1.Asset.prototype.getIsVmRunning = function() {
|
|
824
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* @param {boolean} value
|
|
830
|
+
* @return {!proto.lansweeper.diagrams.v1.Asset} returns this
|
|
831
|
+
*/
|
|
832
|
+
proto.lansweeper.diagrams.v1.Asset.prototype.setIsVmRunning = function(value) {
|
|
833
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
841
|
+
/**
|
|
842
|
+
* Creates an object representation of this proto.
|
|
843
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
844
|
+
* Optional fields that are not set will be set to undefined.
|
|
845
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
846
|
+
* For the list of reserved names please see:
|
|
847
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
848
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
849
|
+
* JSPB instance for transitional soy proto support:
|
|
850
|
+
* http://goto/soy-param-migration
|
|
851
|
+
* @return {!Object}
|
|
852
|
+
*/
|
|
853
|
+
proto.lansweeper.diagrams.v1.Error.prototype.toObject = function(opt_includeInstance) {
|
|
854
|
+
return proto.lansweeper.diagrams.v1.Error.toObject(opt_includeInstance, this);
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Static version of the {@see toObject} method.
|
|
860
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
861
|
+
* the JSPB instance for transitional soy proto support:
|
|
862
|
+
* http://goto/soy-param-migration
|
|
863
|
+
* @param {!proto.lansweeper.diagrams.v1.Error} msg The msg instance to transform.
|
|
864
|
+
* @return {!Object}
|
|
865
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
866
|
+
*/
|
|
867
|
+
proto.lansweeper.diagrams.v1.Error.toObject = function(includeInstance, msg) {
|
|
868
|
+
var f, obj = {
|
|
869
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
870
|
+
message: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
if (includeInstance) {
|
|
874
|
+
obj.$jspbMessageInstance = msg;
|
|
875
|
+
}
|
|
876
|
+
return obj;
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Deserializes binary data (in protobuf wire format).
|
|
883
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
884
|
+
* @return {!proto.lansweeper.diagrams.v1.Error}
|
|
885
|
+
*/
|
|
886
|
+
proto.lansweeper.diagrams.v1.Error.deserializeBinary = function(bytes) {
|
|
887
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
888
|
+
var msg = new proto.lansweeper.diagrams.v1.Error;
|
|
889
|
+
return proto.lansweeper.diagrams.v1.Error.deserializeBinaryFromReader(msg, reader);
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
895
|
+
* given reader into the given message object.
|
|
896
|
+
* @param {!proto.lansweeper.diagrams.v1.Error} msg The message object to deserialize into.
|
|
897
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
898
|
+
* @return {!proto.lansweeper.diagrams.v1.Error}
|
|
899
|
+
*/
|
|
900
|
+
proto.lansweeper.diagrams.v1.Error.deserializeBinaryFromReader = function(msg, reader) {
|
|
901
|
+
while (reader.nextField()) {
|
|
902
|
+
if (reader.isEndGroup()) {
|
|
903
|
+
break;
|
|
904
|
+
}
|
|
905
|
+
var field = reader.getFieldNumber();
|
|
906
|
+
switch (field) {
|
|
907
|
+
case 1:
|
|
908
|
+
var value = /** @type {!proto.lansweeper.diagrams.v1.ErrorType} */ (reader.readEnum());
|
|
909
|
+
msg.setType(value);
|
|
910
|
+
break;
|
|
911
|
+
case 2:
|
|
912
|
+
var value = /** @type {string} */ (reader.readString());
|
|
913
|
+
msg.setMessage(value);
|
|
914
|
+
break;
|
|
915
|
+
default:
|
|
916
|
+
reader.skipField();
|
|
917
|
+
break;
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
return msg;
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
926
|
+
* @return {!Uint8Array}
|
|
927
|
+
*/
|
|
928
|
+
proto.lansweeper.diagrams.v1.Error.prototype.serializeBinary = function() {
|
|
929
|
+
var writer = new jspb.BinaryWriter();
|
|
930
|
+
proto.lansweeper.diagrams.v1.Error.serializeBinaryToWriter(this, writer);
|
|
931
|
+
return writer.getResultBuffer();
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
937
|
+
* format), writing to the given BinaryWriter.
|
|
938
|
+
* @param {!proto.lansweeper.diagrams.v1.Error} message
|
|
939
|
+
* @param {!jspb.BinaryWriter} writer
|
|
940
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
941
|
+
*/
|
|
942
|
+
proto.lansweeper.diagrams.v1.Error.serializeBinaryToWriter = function(message, writer) {
|
|
943
|
+
var f = undefined;
|
|
944
|
+
f = message.getType();
|
|
945
|
+
if (f !== 0.0) {
|
|
946
|
+
writer.writeEnum(
|
|
947
|
+
1,
|
|
948
|
+
f
|
|
949
|
+
);
|
|
950
|
+
}
|
|
951
|
+
f = message.getMessage();
|
|
952
|
+
if (f.length > 0) {
|
|
953
|
+
writer.writeString(
|
|
954
|
+
2,
|
|
955
|
+
f
|
|
956
|
+
);
|
|
957
|
+
}
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* optional ErrorType type = 1;
|
|
963
|
+
* @return {!proto.lansweeper.diagrams.v1.ErrorType}
|
|
964
|
+
*/
|
|
965
|
+
proto.lansweeper.diagrams.v1.Error.prototype.getType = function() {
|
|
966
|
+
return /** @type {!proto.lansweeper.diagrams.v1.ErrorType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* @param {!proto.lansweeper.diagrams.v1.ErrorType} value
|
|
972
|
+
* @return {!proto.lansweeper.diagrams.v1.Error} returns this
|
|
973
|
+
*/
|
|
974
|
+
proto.lansweeper.diagrams.v1.Error.prototype.setType = function(value) {
|
|
975
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
976
|
+
};
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* optional string message = 2;
|
|
981
|
+
* @return {string}
|
|
982
|
+
*/
|
|
983
|
+
proto.lansweeper.diagrams.v1.Error.prototype.getMessage = function() {
|
|
984
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* @param {string} value
|
|
990
|
+
* @return {!proto.lansweeper.diagrams.v1.Error} returns this
|
|
991
|
+
*/
|
|
992
|
+
proto.lansweeper.diagrams.v1.Error.prototype.setMessage = function(value) {
|
|
993
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
994
|
+
};
|
|
995
|
+
|
|
996
|
+
|
|
784
997
|
|
|
785
998
|
|
|
786
999
|
|
|
@@ -1097,7 +1310,7 @@ proto.lansweeper.diagrams.v1.Relationship.prototype.setIsManual = function(value
|
|
|
1097
1310
|
* @private {!Array<number>}
|
|
1098
1311
|
* @const
|
|
1099
1312
|
*/
|
|
1100
|
-
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.repeatedFields_ = [1,2,3];
|
|
1313
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.repeatedFields_ = [1,2,3,4];
|
|
1101
1314
|
|
|
1102
1315
|
|
|
1103
1316
|
|
|
@@ -1134,7 +1347,9 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.toObject = function(
|
|
|
1134
1347
|
proto.lansweeper.diagrams.v1.Asset.toObject, includeInstance),
|
|
1135
1348
|
relationshipsList: jspb.Message.toObjectList(msg.getRelationshipsList(),
|
|
1136
1349
|
proto.lansweeper.diagrams.v1.Relationship.toObject, includeInstance),
|
|
1137
|
-
issuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
1350
|
+
issuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1351
|
+
errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
|
|
1352
|
+
proto.lansweeper.diagrams.v1.Error.toObject, includeInstance)
|
|
1138
1353
|
};
|
|
1139
1354
|
|
|
1140
1355
|
if (includeInstance) {
|
|
@@ -1185,6 +1400,11 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.deserializeBinaryFro
|
|
|
1185
1400
|
var value = /** @type {string} */ (reader.readString());
|
|
1186
1401
|
msg.addIssues(value);
|
|
1187
1402
|
break;
|
|
1403
|
+
case 4:
|
|
1404
|
+
var value = new proto.lansweeper.diagrams.v1.Error;
|
|
1405
|
+
reader.readMessage(value,proto.lansweeper.diagrams.v1.Error.deserializeBinaryFromReader);
|
|
1406
|
+
msg.addErrors(value);
|
|
1407
|
+
break;
|
|
1188
1408
|
default:
|
|
1189
1409
|
reader.skipField();
|
|
1190
1410
|
break;
|
|
@@ -1237,6 +1457,14 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.serializeBinaryToWri
|
|
|
1237
1457
|
f
|
|
1238
1458
|
);
|
|
1239
1459
|
}
|
|
1460
|
+
f = message.getErrorsList();
|
|
1461
|
+
if (f.length > 0) {
|
|
1462
|
+
writer.writeRepeatedMessage(
|
|
1463
|
+
4,
|
|
1464
|
+
f,
|
|
1465
|
+
proto.lansweeper.diagrams.v1.Error.serializeBinaryToWriter
|
|
1466
|
+
);
|
|
1467
|
+
}
|
|
1240
1468
|
};
|
|
1241
1469
|
|
|
1242
1470
|
|
|
@@ -1353,13 +1581,51 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.clearIssue
|
|
|
1353
1581
|
};
|
|
1354
1582
|
|
|
1355
1583
|
|
|
1584
|
+
/**
|
|
1585
|
+
* repeated Error errors = 4;
|
|
1586
|
+
* @return {!Array<!proto.lansweeper.diagrams.v1.Error>}
|
|
1587
|
+
*/
|
|
1588
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.getErrorsList = function() {
|
|
1589
|
+
return /** @type{!Array<!proto.lansweeper.diagrams.v1.Error>} */ (
|
|
1590
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.diagrams.v1.Error, 4));
|
|
1591
|
+
};
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* @param {!Array<!proto.lansweeper.diagrams.v1.Error>} value
|
|
1596
|
+
* @return {!proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse} returns this
|
|
1597
|
+
*/
|
|
1598
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.setErrorsList = function(value) {
|
|
1599
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
/**
|
|
1604
|
+
* @param {!proto.lansweeper.diagrams.v1.Error=} opt_value
|
|
1605
|
+
* @param {number=} opt_index
|
|
1606
|
+
* @return {!proto.lansweeper.diagrams.v1.Error}
|
|
1607
|
+
*/
|
|
1608
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.addErrors = function(opt_value, opt_index) {
|
|
1609
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.lansweeper.diagrams.v1.Error, opt_index);
|
|
1610
|
+
};
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* Clears the list making it empty but non-null.
|
|
1615
|
+
* @return {!proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse} returns this
|
|
1616
|
+
*/
|
|
1617
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.clearErrorsList = function() {
|
|
1618
|
+
return this.setErrorsList([]);
|
|
1619
|
+
};
|
|
1620
|
+
|
|
1621
|
+
|
|
1356
1622
|
|
|
1357
1623
|
/**
|
|
1358
1624
|
* List of repeated fields within this message type.
|
|
1359
1625
|
* @private {!Array<number>}
|
|
1360
1626
|
* @const
|
|
1361
1627
|
*/
|
|
1362
|
-
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.repeatedFields_ = [1,2,3];
|
|
1628
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.repeatedFields_ = [1,2,3,4];
|
|
1363
1629
|
|
|
1364
1630
|
|
|
1365
1631
|
|
|
@@ -1396,7 +1662,9 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.toObject = functi
|
|
|
1396
1662
|
proto.lansweeper.diagrams.v1.Asset.toObject, includeInstance),
|
|
1397
1663
|
relationshipsList: jspb.Message.toObjectList(msg.getRelationshipsList(),
|
|
1398
1664
|
proto.lansweeper.diagrams.v1.Relationship.toObject, includeInstance),
|
|
1399
|
-
issuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
1665
|
+
issuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1666
|
+
errorsList: jspb.Message.toObjectList(msg.getErrorsList(),
|
|
1667
|
+
proto.lansweeper.diagrams.v1.Error.toObject, includeInstance)
|
|
1400
1668
|
};
|
|
1401
1669
|
|
|
1402
1670
|
if (includeInstance) {
|
|
@@ -1447,6 +1715,11 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.deserializeBinary
|
|
|
1447
1715
|
var value = /** @type {string} */ (reader.readString());
|
|
1448
1716
|
msg.addIssues(value);
|
|
1449
1717
|
break;
|
|
1718
|
+
case 4:
|
|
1719
|
+
var value = new proto.lansweeper.diagrams.v1.Error;
|
|
1720
|
+
reader.readMessage(value,proto.lansweeper.diagrams.v1.Error.deserializeBinaryFromReader);
|
|
1721
|
+
msg.addErrors(value);
|
|
1722
|
+
break;
|
|
1450
1723
|
default:
|
|
1451
1724
|
reader.skipField();
|
|
1452
1725
|
break;
|
|
@@ -1499,6 +1772,14 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.serializeBinaryTo
|
|
|
1499
1772
|
f
|
|
1500
1773
|
);
|
|
1501
1774
|
}
|
|
1775
|
+
f = message.getErrorsList();
|
|
1776
|
+
if (f.length > 0) {
|
|
1777
|
+
writer.writeRepeatedMessage(
|
|
1778
|
+
4,
|
|
1779
|
+
f,
|
|
1780
|
+
proto.lansweeper.diagrams.v1.Error.serializeBinaryToWriter
|
|
1781
|
+
);
|
|
1782
|
+
}
|
|
1502
1783
|
};
|
|
1503
1784
|
|
|
1504
1785
|
|
|
@@ -1615,4 +1896,51 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.clearIs
|
|
|
1615
1896
|
};
|
|
1616
1897
|
|
|
1617
1898
|
|
|
1899
|
+
/**
|
|
1900
|
+
* repeated Error errors = 4;
|
|
1901
|
+
* @return {!Array<!proto.lansweeper.diagrams.v1.Error>}
|
|
1902
|
+
*/
|
|
1903
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.getErrorsList = function() {
|
|
1904
|
+
return /** @type{!Array<!proto.lansweeper.diagrams.v1.Error>} */ (
|
|
1905
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.diagrams.v1.Error, 4));
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
/**
|
|
1910
|
+
* @param {!Array<!proto.lansweeper.diagrams.v1.Error>} value
|
|
1911
|
+
* @return {!proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse} returns this
|
|
1912
|
+
*/
|
|
1913
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.setErrorsList = function(value) {
|
|
1914
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
1915
|
+
};
|
|
1916
|
+
|
|
1917
|
+
|
|
1918
|
+
/**
|
|
1919
|
+
* @param {!proto.lansweeper.diagrams.v1.Error=} opt_value
|
|
1920
|
+
* @param {number=} opt_index
|
|
1921
|
+
* @return {!proto.lansweeper.diagrams.v1.Error}
|
|
1922
|
+
*/
|
|
1923
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.addErrors = function(opt_value, opt_index) {
|
|
1924
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.lansweeper.diagrams.v1.Error, opt_index);
|
|
1925
|
+
};
|
|
1926
|
+
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* Clears the list making it empty but non-null.
|
|
1930
|
+
* @return {!proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse} returns this
|
|
1931
|
+
*/
|
|
1932
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.clearErrorsList = function() {
|
|
1933
|
+
return this.setErrorsList([]);
|
|
1934
|
+
};
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* @enum {number}
|
|
1939
|
+
*/
|
|
1940
|
+
proto.lansweeper.diagrams.v1.ErrorType = {
|
|
1941
|
+
UNKNOWN: 0,
|
|
1942
|
+
GENERATION_ERROR: 1,
|
|
1943
|
+
NO_ASSET: 2
|
|
1944
|
+
};
|
|
1945
|
+
|
|
1618
1946
|
goog.object.extend(exports, proto.lansweeper.diagrams.v1);
|
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":"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}}]}
|
|
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":"is_vm_running","number":11,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"isVmRunning"}]},{"name":"Error","field":[{"name":"type","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.diagrams.v1.ErrorType","jsonName":"type"},{"name":"message","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"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":"errors","number":4,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Error","jsonName":"errors"}]},{"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"},{"name":"errors","number":4,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.diagrams.v1.Error","jsonName":"errors"}]}],"enumType":[{"name":"ErrorType","value":[{"name":"UNKNOWN","number":0},{"name":"GENERATION_ERROR","number":1},{"name":"NO_ASSET","number":2}]}],"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,66,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,31,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,1,2,10],"span":[30,2,26]},{"path":[4,1,2,10,5],"span":[30,2,6]},{"path":[4,1,2,10,1],"span":[30,7,20]},{"path":[4,1,2,10,3],"span":[30,23,25]},{"path":[5,0],"span":[33,0,37,1]},{"path":[5,0,1],"span":[33,5,14]},{"path":[5,0,2,0],"span":[34,2,14]},{"path":[5,0,2,0,1],"span":[34,2,9]},{"path":[5,0,2,0,2],"span":[34,12,13]},{"path":[5,0,2,1],"span":[35,2,23]},{"path":[5,0,2,1,1],"span":[35,2,18]},{"path":[5,0,2,1,2],"span":[35,21,22]},{"path":[5,0,2,2],"span":[36,2,15]},{"path":[5,0,2,2,1],"span":[36,2,10]},{"path":[5,0,2,2,2],"span":[36,13,14]},{"path":[4,2],"span":[39,0,42,1]},{"path":[4,2,1],"span":[39,8,13]},{"path":[4,2,2,0],"span":[40,2,21]},{"path":[4,2,2,0,6],"span":[40,2,11]},{"path":[4,2,2,0,1],"span":[40,12,16]},{"path":[4,2,2,0,3],"span":[40,19,20]},{"path":[4,2,2,1],"span":[41,2,21]},{"path":[4,2,2,1,5],"span":[41,2,8]},{"path":[4,2,2,1,1],"span":[41,9,16]},{"path":[4,2,2,1,3],"span":[41,19,20]},{"path":[4,3],"span":[44,0,52,1]},{"path":[4,3,1],"span":[44,8,20]},{"path":[4,3,2,0],"span":[45,2,35]},{"path":[4,3,2,0,5],"span":[45,2,8]},{"path":[4,3,2,0,1],"span":[45,9,30]},{"path":[4,3,2,0,3],"span":[45,33,34]},{"path":[4,3,2,1],"span":[46,2,33]},{"path":[4,3,2,1,5],"span":[46,2,8]},{"path":[4,3,2,1,1],"span":[46,9,28]},{"path":[4,3,2,1,3],"span":[46,31,32]},{"path":[4,3,2,2],"span":[47,2,22]},{"path":[4,3,2,2,5],"span":[47,2,8]},{"path":[4,3,2,2,1],"span":[47,9,17]},{"path":[4,3,2,2,3],"span":[47,20,21]},{"path":[4,3,2,3],"span":[48,2,18]},{"path":[4,3,2,3,5],"span":[48,2,8]},{"path":[4,3,2,3,1],"span":[48,9,13]},{"path":[4,3,2,3,3],"span":[48,16,17]},{"path":[4,3,2,4],"span":[49,2,26]},{"path":[4,3,2,4,5],"span":[49,2,8]},{"path":[4,3,2,4,1],"span":[49,9,21]},{"path":[4,3,2,4,3],"span":[49,24,25]},{"path":[4,3,2,5],"span":[50,2,23]},{"path":[4,3,2,5,5],"span":[50,2,8]},{"path":[4,3,2,5,1],"span":[50,9,18]},{"path":[4,3,2,5,3],"span":[50,21,22]},{"path":[4,3,2,6],"span":[51,2,21]},{"path":[4,3,2,6,5],"span":[51,2,6]},{"path":[4,3,2,6,1],"span":[51,7,16]},{"path":[4,3,2,6,3],"span":[51,19,20]},{"path":[4,4],"span":[54,0,59,1]},{"path":[4,4,1],"span":[54,8,38]},{"path":[4,4,2,0],"span":[55,2,28]},{"path":[4,4,2,0,4],"span":[55,2,10]},{"path":[4,4,2,0,6],"span":[55,11,16]},{"path":[4,4,2,0,1],"span":[55,17,23]},{"path":[4,4,2,0,3],"span":[55,26,27]},{"path":[4,4,2,1],"span":[56,2,42]},{"path":[4,4,2,1,4],"span":[56,2,10]},{"path":[4,4,2,1,6],"span":[56,11,23]},{"path":[4,4,2,1,1],"span":[56,24,37]},{"path":[4,4,2,1,3],"span":[56,40,41]},{"path":[4,4,2,2],"span":[57,2,29]},{"path":[4,4,2,2,4],"span":[57,2,10]},{"path":[4,4,2,2,5],"span":[57,11,17]},{"path":[4,4,2,2,1],"span":[57,18,24]},{"path":[4,4,2,2,3],"span":[57,27,28]},{"path":[4,4,2,3],"span":[58,2,28]},{"path":[4,4,2,3,4],"span":[58,2,10]},{"path":[4,4,2,3,6],"span":[58,11,16]},{"path":[4,4,2,3,1],"span":[58,17,23]},{"path":[4,4,2,3,3],"span":[58,26,27]},{"path":[4,5],"span":[61,0,66,1]},{"path":[4,5,1],"span":[61,8,41]},{"path":[4,5,2,0],"span":[62,2,28]},{"path":[4,5,2,0,4],"span":[62,2,10]},{"path":[4,5,2,0,6],"span":[62,11,16]},{"path":[4,5,2,0,1],"span":[62,17,23]},{"path":[4,5,2,0,3],"span":[62,26,27]},{"path":[4,5,2,1],"span":[63,2,42]},{"path":[4,5,2,1,4],"span":[63,2,10]},{"path":[4,5,2,1,6],"span":[63,11,23]},{"path":[4,5,2,1,1],"span":[63,24,37]},{"path":[4,5,2,1,3],"span":[63,40,41]},{"path":[4,5,2,2],"span":[64,2,29]},{"path":[4,5,2,2,4],"span":[64,2,10]},{"path":[4,5,2,2,5],"span":[64,11,17]},{"path":[4,5,2,2,1],"span":[64,18,24]},{"path":[4,5,2,2,3],"span":[64,27,28]},{"path":[4,5,2,3],"span":[65,2,28]},{"path":[4,5,2,3,4],"span":[65,2,10]},{"path":[4,5,2,3,6],"span":[65,11,16]},{"path":[4,5,2,3,1],"span":[65,17,23]},{"path":[4,5,2,3,3],"span":[65,26,27]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|