@lansweeper/diagrams-grpc 0.0.12 → 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 +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 +39 -0
- package/gen-proto/diagrams_pb.js +302 -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.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 +318 -25
- 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 -12
- package/obj/project.assets.json +2 -12
- package/obj/project.nuget.cache +2 -4
- package/package.json +2 -2
- package/proto/diagrams.proto +13 -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.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
|
+
|
|
6
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)
|
|
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.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
|
|
@@ -92,6 +92,29 @@ export namespace Asset {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
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,
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
95
118
|
export class Relationship extends jspb.Message {
|
|
96
119
|
getFromAssetUniqueKey(): string;
|
|
97
120
|
setFromAssetUniqueKey(value: string): Relationship;
|
|
@@ -143,6 +166,10 @@ export class NetworkTopologyDiagramResponse extends jspb.Message {
|
|
|
143
166
|
getIssuesList(): Array<string>;
|
|
144
167
|
setIssuesList(value: Array<string>): NetworkTopologyDiagramResponse;
|
|
145
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;
|
|
146
173
|
|
|
147
174
|
serializeBinary(): Uint8Array;
|
|
148
175
|
toObject(includeInstance?: boolean): NetworkTopologyDiagramResponse.AsObject;
|
|
@@ -159,6 +186,7 @@ export namespace NetworkTopologyDiagramResponse {
|
|
|
159
186
|
assetsList: Array<Asset.AsObject>,
|
|
160
187
|
relationshipsList: Array<Relationship.AsObject>,
|
|
161
188
|
issuesList: Array<string>,
|
|
189
|
+
errorsList: Array<Error.AsObject>,
|
|
162
190
|
}
|
|
163
191
|
}
|
|
164
192
|
|
|
@@ -175,6 +203,10 @@ export class VirtualEnvironmentDiagramResponse extends jspb.Message {
|
|
|
175
203
|
getIssuesList(): Array<string>;
|
|
176
204
|
setIssuesList(value: Array<string>): VirtualEnvironmentDiagramResponse;
|
|
177
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;
|
|
178
210
|
|
|
179
211
|
serializeBinary(): Uint8Array;
|
|
180
212
|
toObject(includeInstance?: boolean): VirtualEnvironmentDiagramResponse.AsObject;
|
|
@@ -191,5 +223,12 @@ export namespace VirtualEnvironmentDiagramResponse {
|
|
|
191
223
|
assetsList: Array<Asset.AsObject>,
|
|
192
224
|
relationshipsList: Array<Relationship.AsObject>,
|
|
193
225
|
issuesList: Array<string>,
|
|
226
|
+
errorsList: Array<Error.AsObject>,
|
|
194
227
|
}
|
|
195
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
|
|
@@ -814,6 +837,166 @@ proto.lansweeper.diagrams.v1.Asset.prototype.setIsVmRunning = function(value) {
|
|
|
814
837
|
|
|
815
838
|
|
|
816
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
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
|
|
817
1000
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
818
1001
|
/**
|
|
819
1002
|
* Creates an object representation of this proto.
|
|
@@ -1127,7 +1310,7 @@ proto.lansweeper.diagrams.v1.Relationship.prototype.setIsManual = function(value
|
|
|
1127
1310
|
* @private {!Array<number>}
|
|
1128
1311
|
* @const
|
|
1129
1312
|
*/
|
|
1130
|
-
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.repeatedFields_ = [1,2,3];
|
|
1313
|
+
proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.repeatedFields_ = [1,2,3,4];
|
|
1131
1314
|
|
|
1132
1315
|
|
|
1133
1316
|
|
|
@@ -1164,7 +1347,9 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.toObject = function(
|
|
|
1164
1347
|
proto.lansweeper.diagrams.v1.Asset.toObject, includeInstance),
|
|
1165
1348
|
relationshipsList: jspb.Message.toObjectList(msg.getRelationshipsList(),
|
|
1166
1349
|
proto.lansweeper.diagrams.v1.Relationship.toObject, includeInstance),
|
|
1167
|
-
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)
|
|
1168
1353
|
};
|
|
1169
1354
|
|
|
1170
1355
|
if (includeInstance) {
|
|
@@ -1215,6 +1400,11 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.deserializeBinaryFro
|
|
|
1215
1400
|
var value = /** @type {string} */ (reader.readString());
|
|
1216
1401
|
msg.addIssues(value);
|
|
1217
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;
|
|
1218
1408
|
default:
|
|
1219
1409
|
reader.skipField();
|
|
1220
1410
|
break;
|
|
@@ -1267,6 +1457,14 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.serializeBinaryToWri
|
|
|
1267
1457
|
f
|
|
1268
1458
|
);
|
|
1269
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
|
+
}
|
|
1270
1468
|
};
|
|
1271
1469
|
|
|
1272
1470
|
|
|
@@ -1383,13 +1581,51 @@ proto.lansweeper.diagrams.v1.NetworkTopologyDiagramResponse.prototype.clearIssue
|
|
|
1383
1581
|
};
|
|
1384
1582
|
|
|
1385
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
|
+
|
|
1386
1622
|
|
|
1387
1623
|
/**
|
|
1388
1624
|
* List of repeated fields within this message type.
|
|
1389
1625
|
* @private {!Array<number>}
|
|
1390
1626
|
* @const
|
|
1391
1627
|
*/
|
|
1392
|
-
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.repeatedFields_ = [1,2,3];
|
|
1628
|
+
proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.repeatedFields_ = [1,2,3,4];
|
|
1393
1629
|
|
|
1394
1630
|
|
|
1395
1631
|
|
|
@@ -1426,7 +1662,9 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.toObject = functi
|
|
|
1426
1662
|
proto.lansweeper.diagrams.v1.Asset.toObject, includeInstance),
|
|
1427
1663
|
relationshipsList: jspb.Message.toObjectList(msg.getRelationshipsList(),
|
|
1428
1664
|
proto.lansweeper.diagrams.v1.Relationship.toObject, includeInstance),
|
|
1429
|
-
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)
|
|
1430
1668
|
};
|
|
1431
1669
|
|
|
1432
1670
|
if (includeInstance) {
|
|
@@ -1477,6 +1715,11 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.deserializeBinary
|
|
|
1477
1715
|
var value = /** @type {string} */ (reader.readString());
|
|
1478
1716
|
msg.addIssues(value);
|
|
1479
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;
|
|
1480
1723
|
default:
|
|
1481
1724
|
reader.skipField();
|
|
1482
1725
|
break;
|
|
@@ -1529,6 +1772,14 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.serializeBinaryTo
|
|
|
1529
1772
|
f
|
|
1530
1773
|
);
|
|
1531
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
|
+
}
|
|
1532
1783
|
};
|
|
1533
1784
|
|
|
1534
1785
|
|
|
@@ -1645,4 +1896,51 @@ proto.lansweeper.diagrams.v1.VirtualEnvironmentDiagramResponse.prototype.clearIs
|
|
|
1645
1896
|
};
|
|
1646
1897
|
|
|
1647
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
|
+
|
|
1648
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":"is_vm_running","number":11,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"isVmRunning"}]},{"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,53,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":[4,2],"span":[33,0,41,1]},{"path":[4,2,1],"span":[33,8,20]},{"path":[4,2,2,0],"span":[34,2,35]},{"path":[4,2,2,0,5],"span":[34,2,8]},{"path":[4,2,2,0,1],"span":[34,9,30]},{"path":[4,2,2,0,3],"span":[34,33,34]},{"path":[4,2,2,1],"span":[35,2,33]},{"path":[4,2,2,1,5],"span":[35,2,8]},{"path":[4,2,2,1,1],"span":[35,9,28]},{"path":[4,2,2,1,3],"span":[35,31,32]},{"path":[4,2,2,2],"span":[36,2,22]},{"path":[4,2,2,2,5],"span":[36,2,8]},{"path":[4,2,2,2,1],"span":[36,9,17]},{"path":[4,2,2,2,3],"span":[36,20,21]},{"path":[4,2,2,3],"span":[37,2,18]},{"path":[4,2,2,3,5],"span":[37,2,8]},{"path":[4,2,2,3,1],"span":[37,9,13]},{"path":[4,2,2,3,3],"span":[37,16,17]},{"path":[4,2,2,4],"span":[38,2,26]},{"path":[4,2,2,4,5],"span":[38,2,8]},{"path":[4,2,2,4,1],"span":[38,9,21]},{"path":[4,2,2,4,3],"span":[38,24,25]},{"path":[4,2,2,5],"span":[39,2,23]},{"path":[4,2,2,5,5],"span":[39,2,8]},{"path":[4,2,2,5,1],"span":[39,9,18]},{"path":[4,2,2,5,3],"span":[39,21,22]},{"path":[4,2,2,6],"span":[40,2,21]},{"path":[4,2,2,6,5],"span":[40,2,6]},{"path":[4,2,2,6,1],"span":[40,7,16]},{"path":[4,2,2,6,3],"span":[40,19,20]},{"path":[4,3],"span":[43,0,47,1]},{"path":[4,3,1],"span":[43,8,38]},{"path":[4,3,2,0],"span":[44,2,28]},{"path":[4,3,2,0,4],"span":[44,2,10]},{"path":[4,3,2,0,6],"span":[44,11,16]},{"path":[4,3,2,0,1],"span":[44,17,23]},{"path":[4,3,2,0,3],"span":[44,26,27]},{"path":[4,3,2,1],"span":[45,2,42]},{"path":[4,3,2,1,4],"span":[45,2,10]},{"path":[4,3,2,1,6],"span":[45,11,23]},{"path":[4,3,2,1,1],"span":[45,24,37]},{"path":[4,3,2,1,3],"span":[45,40,41]},{"path":[4,3,2,2],"span":[46,2,29]},{"path":[4,3,2,2,4],"span":[46,2,10]},{"path":[4,3,2,2,5],"span":[46,11,17]},{"path":[4,3,2,2,1],"span":[46,18,24]},{"path":[4,3,2,2,3],"span":[46,27,28]},{"path":[4,4],"span":[49,0,53,1]},{"path":[4,4,1],"span":[49,8,41]},{"path":[4,4,2,0],"span":[50,2,28]},{"path":[4,4,2,0,4],"span":[50,2,10]},{"path":[4,4,2,0,6],"span":[50,11,16]},{"path":[4,4,2,0,1],"span":[50,17,23]},{"path":[4,4,2,0,3],"span":[50,26,27]},{"path":[4,4,2,1],"span":[51,2,42]},{"path":[4,4,2,1,4],"span":[51,2,10]},{"path":[4,4,2,1,6],"span":[51,11,23]},{"path":[4,4,2,1,1],"span":[51,24,37]},{"path":[4,4,2,1,3],"span":[51,40,41]},{"path":[4,4,2,2],"span":[52,2,29]},{"path":[4,4,2,2,4],"span":[52,2,10]},{"path":[4,4,2,2,5],"span":[52,11,17]},{"path":[4,4,2,2,1],"span":[52,18,24]},{"path":[4,4,2,2,3],"span":[52,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}}]}
|
|
@@ -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.12")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.12")]
|
|
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.12.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
|
+
367a21af30099f0e9cc36deb439e1b925d9a6ba7
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
81dc75873db06739b39379129948f638e855cab4
|
|
Binary file
|
|
Binary file
|
|
@@ -38,38 +38,53 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
38
38
|
"Cglncm91cF9rZXkYBSABKAkSEAoIaXNfZ3JvdXAYBiABKAgSEgoKaXBfYWRk",
|
|
39
39
|
"cmVzcxgHIAEoCRIZChF2bV9ydW5uaW5nX3N0YXR1cxgIIAEoCRIQCghjYXRl",
|
|
40
40
|
"Z29yeRgJIAEoCRISCgppc192aXJ0dWFsGAogASgIEhUKDWlzX3ZtX3J1bm5p",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
41
|
+
"bmcYCyABKAgiSQoFRXJyb3ISLwoEdHlwZRgBIAEoDjIhLmxhbnN3ZWVwZXIu",
|
|
42
|
+
"ZGlhZ3JhbXMudjEuRXJyb3JUeXBlEg8KB21lc3NhZ2UYAiABKAkipgEKDFJl",
|
|
43
|
+
"bGF0aW9uc2hpcBIdChVmcm9tX2Fzc2V0X3VuaXF1ZV9rZXkYASABKAkSGwoT",
|
|
44
|
+
"dG9fYXNzZXRfdW5pcXVlX2tleRgCIAEoCRIQCghjYXRlZ29yeRgDIAEoCRIM",
|
|
45
|
+
"CgRuYW1lGAQgASgJEhQKDHJldmVyc2VfbmFtZRgFIAEoCRIRCglpY29uX25h",
|
|
46
|
+
"bWUYBiABKAkSEQoJaXNfbWFudWFsGAcgASgIIssBCh5OZXR3b3JrVG9wb2xv",
|
|
47
|
+
"Z3lEaWFncmFtUmVzcG9uc2USLQoGYXNzZXRzGAEgAygLMh0ubGFuc3dlZXBl",
|
|
48
|
+
"ci5kaWFncmFtcy52MS5Bc3NldBI7Cg1yZWxhdGlvbnNoaXBzGAIgAygLMiQu",
|
|
49
|
+
"bGFuc3dlZXBlci5kaWFncmFtcy52MS5SZWxhdGlvbnNoaXASDgoGaXNzdWVz",
|
|
50
|
+
"GAMgAygJEi0KBmVycm9ycxgEIAMoCzIdLmxhbnN3ZWVwZXIuZGlhZ3JhbXMu",
|
|
51
|
+
"djEuRXJyb3IizgEKIVZpcnR1YWxFbnZpcm9ubWVudERpYWdyYW1SZXNwb25z",
|
|
52
|
+
"ZRItCgZhc3NldHMYASADKAsyHS5sYW5zd2VlcGVyLmRpYWdyYW1zLnYxLkFz",
|
|
53
|
+
"c2V0EjsKDXJlbGF0aW9uc2hpcHMYAiADKAsyJC5sYW5zd2VlcGVyLmRpYWdy",
|
|
54
|
+
"YW1zLnYxLlJlbGF0aW9uc2hpcBIOCgZpc3N1ZXMYAyADKAkSLQoGZXJyb3Jz",
|
|
55
|
+
"GAQgAygLMh0ubGFuc3dlZXBlci5kaWFncmFtcy52MS5FcnJvcio8CglFcnJv",
|
|
56
|
+
"clR5cGUSCwoHVU5LTk9XThAAEhQKEEdFTkVSQVRJT05fRVJST1IQARIMCghO",
|
|
57
|
+
"T19BU1NFVBACMrMCCg9EaWFncmFtc1NlcnZpY2USiwEKJ0dldE5ldHdvcmtU",
|
|
58
|
+
"b3BvbG9neURpYWdyYW1CeUluc3RhbGxhdGlvbhImLmxhbnN3ZWVwZXIuZGlh",
|
|
59
|
+
"Z3JhbXMudjEuRGlhZ3JhbVJlcXVlc3QaNi5sYW5zd2VlcGVyLmRpYWdyYW1z",
|
|
60
|
+
"LnYxLk5ldHdvcmtUb3BvbG9neURpYWdyYW1SZXNwb25zZSIAEpEBCipHZXRW",
|
|
61
|
+
"aXJ0dWFsRW52aXJvbm1lbnREaWFncmFtQnlJbnN0YWxsYXRpb24SJi5sYW5z",
|
|
62
|
+
"d2VlcGVyLmRpYWdyYW1zLnYxLkRpYWdyYW1SZXF1ZXN0GjkubGFuc3dlZXBl",
|
|
63
|
+
"ci5kaWFncmFtcy52MS5WaXJ0dWFsRW52aXJvbm1lbnREaWFncmFtUmVzcG9u",
|
|
64
|
+
"c2UiAEIbqgIYTGFuc3dlZXBlci5EaWFncmFtcy5HUlBDYgZwcm90bzM="));
|
|
60
65
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
61
66
|
new pbr::FileDescriptor[] { },
|
|
62
|
-
new pbr::GeneratedClrTypeInfo(
|
|
67
|
+
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Lansweeper.Diagrams.GRPC.ErrorType), }, null, new pbr::GeneratedClrTypeInfo[] {
|
|
63
68
|
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, }),
|
|
64
69
|
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", "IsVmRunning" }, null, null, null, null),
|
|
70
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.Error), global::Lansweeper.Diagrams.GRPC.Error.Parser, new[]{ "Type", "Message" }, null, null, null, null),
|
|
65
71
|
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),
|
|
66
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse), global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse.Parser, new[]{ "Assets", "Relationships", "Issues" }, null, null, null, null),
|
|
67
|
-
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.VirtualEnvironmentDiagramResponse), global::Lansweeper.Diagrams.GRPC.VirtualEnvironmentDiagramResponse.Parser, new[]{ "Assets", "Relationships", "Issues" }, null, null, null, null)
|
|
72
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse), global::Lansweeper.Diagrams.GRPC.NetworkTopologyDiagramResponse.Parser, new[]{ "Assets", "Relationships", "Issues", "Errors" }, null, null, null, null),
|
|
73
|
+
new pbr::GeneratedClrTypeInfo(typeof(global::Lansweeper.Diagrams.GRPC.VirtualEnvironmentDiagramResponse), global::Lansweeper.Diagrams.GRPC.VirtualEnvironmentDiagramResponse.Parser, new[]{ "Assets", "Relationships", "Issues", "Errors" }, null, null, null, null)
|
|
68
74
|
}));
|
|
69
75
|
}
|
|
70
76
|
#endregion
|
|
71
77
|
|
|
72
78
|
}
|
|
79
|
+
#region Enums
|
|
80
|
+
public enum ErrorType {
|
|
81
|
+
[pbr::OriginalName("UNKNOWN")] Unknown = 0,
|
|
82
|
+
[pbr::OriginalName("GENERATION_ERROR")] GenerationError = 1,
|
|
83
|
+
[pbr::OriginalName("NO_ASSET")] NoAsset = 2,
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
#endregion
|
|
87
|
+
|
|
73
88
|
#region Messages
|
|
74
89
|
public sealed partial class DiagramRequest : pb::IMessage<DiagramRequest>
|
|
75
90
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
@@ -945,6 +960,232 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
945
960
|
|
|
946
961
|
}
|
|
947
962
|
|
|
963
|
+
public sealed partial class Error : pb::IMessage<Error>
|
|
964
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
965
|
+
, pb::IBufferMessage
|
|
966
|
+
#endif
|
|
967
|
+
{
|
|
968
|
+
private static readonly pb::MessageParser<Error> _parser = new pb::MessageParser<Error>(() => new Error());
|
|
969
|
+
private pb::UnknownFieldSet _unknownFields;
|
|
970
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
971
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
972
|
+
public static pb::MessageParser<Error> Parser { get { return _parser; } }
|
|
973
|
+
|
|
974
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
975
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
976
|
+
public static pbr::MessageDescriptor Descriptor {
|
|
977
|
+
get { return global::Lansweeper.Diagrams.GRPC.DiagramsReflection.Descriptor.MessageTypes[2]; }
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
981
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
982
|
+
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
983
|
+
get { return Descriptor; }
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
987
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
988
|
+
public Error() {
|
|
989
|
+
OnConstruction();
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
partial void OnConstruction();
|
|
993
|
+
|
|
994
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
995
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
996
|
+
public Error(Error other) : this() {
|
|
997
|
+
type_ = other.type_;
|
|
998
|
+
message_ = other.message_;
|
|
999
|
+
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1003
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1004
|
+
public Error Clone() {
|
|
1005
|
+
return new Error(this);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
/// <summary>Field number for the "type" field.</summary>
|
|
1009
|
+
public const int TypeFieldNumber = 1;
|
|
1010
|
+
private global::Lansweeper.Diagrams.GRPC.ErrorType type_ = global::Lansweeper.Diagrams.GRPC.ErrorType.Unknown;
|
|
1011
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1012
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1013
|
+
public global::Lansweeper.Diagrams.GRPC.ErrorType Type {
|
|
1014
|
+
get { return type_; }
|
|
1015
|
+
set {
|
|
1016
|
+
type_ = value;
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
/// <summary>Field number for the "message" field.</summary>
|
|
1021
|
+
public const int MessageFieldNumber = 2;
|
|
1022
|
+
private string message_ = "";
|
|
1023
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1024
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1025
|
+
public string Message {
|
|
1026
|
+
get { return message_; }
|
|
1027
|
+
set {
|
|
1028
|
+
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1033
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1034
|
+
public override bool Equals(object other) {
|
|
1035
|
+
return Equals(other as Error);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1039
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1040
|
+
public bool Equals(Error other) {
|
|
1041
|
+
if (ReferenceEquals(other, null)) {
|
|
1042
|
+
return false;
|
|
1043
|
+
}
|
|
1044
|
+
if (ReferenceEquals(other, this)) {
|
|
1045
|
+
return true;
|
|
1046
|
+
}
|
|
1047
|
+
if (Type != other.Type) return false;
|
|
1048
|
+
if (Message != other.Message) return false;
|
|
1049
|
+
return Equals(_unknownFields, other._unknownFields);
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1053
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1054
|
+
public override int GetHashCode() {
|
|
1055
|
+
int hash = 1;
|
|
1056
|
+
if (Type != global::Lansweeper.Diagrams.GRPC.ErrorType.Unknown) hash ^= Type.GetHashCode();
|
|
1057
|
+
if (Message.Length != 0) hash ^= Message.GetHashCode();
|
|
1058
|
+
if (_unknownFields != null) {
|
|
1059
|
+
hash ^= _unknownFields.GetHashCode();
|
|
1060
|
+
}
|
|
1061
|
+
return hash;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1065
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1066
|
+
public override string ToString() {
|
|
1067
|
+
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1071
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1072
|
+
public void WriteTo(pb::CodedOutputStream output) {
|
|
1073
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
1074
|
+
output.WriteRawMessage(this);
|
|
1075
|
+
#else
|
|
1076
|
+
if (Type != global::Lansweeper.Diagrams.GRPC.ErrorType.Unknown) {
|
|
1077
|
+
output.WriteRawTag(8);
|
|
1078
|
+
output.WriteEnum((int) Type);
|
|
1079
|
+
}
|
|
1080
|
+
if (Message.Length != 0) {
|
|
1081
|
+
output.WriteRawTag(18);
|
|
1082
|
+
output.WriteString(Message);
|
|
1083
|
+
}
|
|
1084
|
+
if (_unknownFields != null) {
|
|
1085
|
+
_unknownFields.WriteTo(output);
|
|
1086
|
+
}
|
|
1087
|
+
#endif
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
1091
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1092
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1093
|
+
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
1094
|
+
if (Type != global::Lansweeper.Diagrams.GRPC.ErrorType.Unknown) {
|
|
1095
|
+
output.WriteRawTag(8);
|
|
1096
|
+
output.WriteEnum((int) Type);
|
|
1097
|
+
}
|
|
1098
|
+
if (Message.Length != 0) {
|
|
1099
|
+
output.WriteRawTag(18);
|
|
1100
|
+
output.WriteString(Message);
|
|
1101
|
+
}
|
|
1102
|
+
if (_unknownFields != null) {
|
|
1103
|
+
_unknownFields.WriteTo(ref output);
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
#endif
|
|
1107
|
+
|
|
1108
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1109
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1110
|
+
public int CalculateSize() {
|
|
1111
|
+
int size = 0;
|
|
1112
|
+
if (Type != global::Lansweeper.Diagrams.GRPC.ErrorType.Unknown) {
|
|
1113
|
+
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
|
|
1114
|
+
}
|
|
1115
|
+
if (Message.Length != 0) {
|
|
1116
|
+
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
|
|
1117
|
+
}
|
|
1118
|
+
if (_unknownFields != null) {
|
|
1119
|
+
size += _unknownFields.CalculateSize();
|
|
1120
|
+
}
|
|
1121
|
+
return size;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1125
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1126
|
+
public void MergeFrom(Error other) {
|
|
1127
|
+
if (other == null) {
|
|
1128
|
+
return;
|
|
1129
|
+
}
|
|
1130
|
+
if (other.Type != global::Lansweeper.Diagrams.GRPC.ErrorType.Unknown) {
|
|
1131
|
+
Type = other.Type;
|
|
1132
|
+
}
|
|
1133
|
+
if (other.Message.Length != 0) {
|
|
1134
|
+
Message = other.Message;
|
|
1135
|
+
}
|
|
1136
|
+
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1140
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1141
|
+
public void MergeFrom(pb::CodedInputStream input) {
|
|
1142
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
1143
|
+
input.ReadRawMessage(this);
|
|
1144
|
+
#else
|
|
1145
|
+
uint tag;
|
|
1146
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
1147
|
+
switch(tag) {
|
|
1148
|
+
default:
|
|
1149
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
1150
|
+
break;
|
|
1151
|
+
case 8: {
|
|
1152
|
+
Type = (global::Lansweeper.Diagrams.GRPC.ErrorType) input.ReadEnum();
|
|
1153
|
+
break;
|
|
1154
|
+
}
|
|
1155
|
+
case 18: {
|
|
1156
|
+
Message = input.ReadString();
|
|
1157
|
+
break;
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
#endif
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
1165
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1166
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1167
|
+
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
1168
|
+
uint tag;
|
|
1169
|
+
while ((tag = input.ReadTag()) != 0) {
|
|
1170
|
+
switch(tag) {
|
|
1171
|
+
default:
|
|
1172
|
+
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
1173
|
+
break;
|
|
1174
|
+
case 8: {
|
|
1175
|
+
Type = (global::Lansweeper.Diagrams.GRPC.ErrorType) input.ReadEnum();
|
|
1176
|
+
break;
|
|
1177
|
+
}
|
|
1178
|
+
case 18: {
|
|
1179
|
+
Message = input.ReadString();
|
|
1180
|
+
break;
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
#endif
|
|
1186
|
+
|
|
1187
|
+
}
|
|
1188
|
+
|
|
948
1189
|
public sealed partial class Relationship : pb::IMessage<Relationship>
|
|
949
1190
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
950
1191
|
, pb::IBufferMessage
|
|
@@ -959,7 +1200,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
959
1200
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
960
1201
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
961
1202
|
public static pbr::MessageDescriptor Descriptor {
|
|
962
|
-
get { return global::Lansweeper.Diagrams.GRPC.DiagramsReflection.Descriptor.MessageTypes[
|
|
1203
|
+
get { return global::Lansweeper.Diagrams.GRPC.DiagramsReflection.Descriptor.MessageTypes[3]; }
|
|
963
1204
|
}
|
|
964
1205
|
|
|
965
1206
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -1370,7 +1611,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1370
1611
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1371
1612
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1372
1613
|
public static pbr::MessageDescriptor Descriptor {
|
|
1373
|
-
get { return global::Lansweeper.Diagrams.GRPC.DiagramsReflection.Descriptor.MessageTypes[
|
|
1614
|
+
get { return global::Lansweeper.Diagrams.GRPC.DiagramsReflection.Descriptor.MessageTypes[4]; }
|
|
1374
1615
|
}
|
|
1375
1616
|
|
|
1376
1617
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -1393,6 +1634,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1393
1634
|
assets_ = other.assets_.Clone();
|
|
1394
1635
|
relationships_ = other.relationships_.Clone();
|
|
1395
1636
|
issues_ = other.issues_.Clone();
|
|
1637
|
+
errors_ = other.errors_.Clone();
|
|
1396
1638
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
1397
1639
|
}
|
|
1398
1640
|
|
|
@@ -1435,6 +1677,17 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1435
1677
|
get { return issues_; }
|
|
1436
1678
|
}
|
|
1437
1679
|
|
|
1680
|
+
/// <summary>Field number for the "errors" field.</summary>
|
|
1681
|
+
public const int ErrorsFieldNumber = 4;
|
|
1682
|
+
private static readonly pb::FieldCodec<global::Lansweeper.Diagrams.GRPC.Error> _repeated_errors_codec
|
|
1683
|
+
= pb::FieldCodec.ForMessage(34, global::Lansweeper.Diagrams.GRPC.Error.Parser);
|
|
1684
|
+
private readonly pbc::RepeatedField<global::Lansweeper.Diagrams.GRPC.Error> errors_ = new pbc::RepeatedField<global::Lansweeper.Diagrams.GRPC.Error>();
|
|
1685
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1686
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1687
|
+
public pbc::RepeatedField<global::Lansweeper.Diagrams.GRPC.Error> Errors {
|
|
1688
|
+
get { return errors_; }
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1438
1691
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1439
1692
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1440
1693
|
public override bool Equals(object other) {
|
|
@@ -1453,6 +1706,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1453
1706
|
if(!assets_.Equals(other.assets_)) return false;
|
|
1454
1707
|
if(!relationships_.Equals(other.relationships_)) return false;
|
|
1455
1708
|
if(!issues_.Equals(other.issues_)) return false;
|
|
1709
|
+
if(!errors_.Equals(other.errors_)) return false;
|
|
1456
1710
|
return Equals(_unknownFields, other._unknownFields);
|
|
1457
1711
|
}
|
|
1458
1712
|
|
|
@@ -1463,6 +1717,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1463
1717
|
hash ^= assets_.GetHashCode();
|
|
1464
1718
|
hash ^= relationships_.GetHashCode();
|
|
1465
1719
|
hash ^= issues_.GetHashCode();
|
|
1720
|
+
hash ^= errors_.GetHashCode();
|
|
1466
1721
|
if (_unknownFields != null) {
|
|
1467
1722
|
hash ^= _unknownFields.GetHashCode();
|
|
1468
1723
|
}
|
|
@@ -1484,6 +1739,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1484
1739
|
assets_.WriteTo(output, _repeated_assets_codec);
|
|
1485
1740
|
relationships_.WriteTo(output, _repeated_relationships_codec);
|
|
1486
1741
|
issues_.WriteTo(output, _repeated_issues_codec);
|
|
1742
|
+
errors_.WriteTo(output, _repeated_errors_codec);
|
|
1487
1743
|
if (_unknownFields != null) {
|
|
1488
1744
|
_unknownFields.WriteTo(output);
|
|
1489
1745
|
}
|
|
@@ -1497,6 +1753,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1497
1753
|
assets_.WriteTo(ref output, _repeated_assets_codec);
|
|
1498
1754
|
relationships_.WriteTo(ref output, _repeated_relationships_codec);
|
|
1499
1755
|
issues_.WriteTo(ref output, _repeated_issues_codec);
|
|
1756
|
+
errors_.WriteTo(ref output, _repeated_errors_codec);
|
|
1500
1757
|
if (_unknownFields != null) {
|
|
1501
1758
|
_unknownFields.WriteTo(ref output);
|
|
1502
1759
|
}
|
|
@@ -1510,6 +1767,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1510
1767
|
size += assets_.CalculateSize(_repeated_assets_codec);
|
|
1511
1768
|
size += relationships_.CalculateSize(_repeated_relationships_codec);
|
|
1512
1769
|
size += issues_.CalculateSize(_repeated_issues_codec);
|
|
1770
|
+
size += errors_.CalculateSize(_repeated_errors_codec);
|
|
1513
1771
|
if (_unknownFields != null) {
|
|
1514
1772
|
size += _unknownFields.CalculateSize();
|
|
1515
1773
|
}
|
|
@@ -1525,6 +1783,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1525
1783
|
assets_.Add(other.assets_);
|
|
1526
1784
|
relationships_.Add(other.relationships_);
|
|
1527
1785
|
issues_.Add(other.issues_);
|
|
1786
|
+
errors_.Add(other.errors_);
|
|
1528
1787
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
1529
1788
|
}
|
|
1530
1789
|
|
|
@@ -1552,6 +1811,10 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1552
1811
|
issues_.AddEntriesFrom(input, _repeated_issues_codec);
|
|
1553
1812
|
break;
|
|
1554
1813
|
}
|
|
1814
|
+
case 34: {
|
|
1815
|
+
errors_.AddEntriesFrom(input, _repeated_errors_codec);
|
|
1816
|
+
break;
|
|
1817
|
+
}
|
|
1555
1818
|
}
|
|
1556
1819
|
}
|
|
1557
1820
|
#endif
|
|
@@ -1579,6 +1842,10 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1579
1842
|
issues_.AddEntriesFrom(ref input, _repeated_issues_codec);
|
|
1580
1843
|
break;
|
|
1581
1844
|
}
|
|
1845
|
+
case 34: {
|
|
1846
|
+
errors_.AddEntriesFrom(ref input, _repeated_errors_codec);
|
|
1847
|
+
break;
|
|
1848
|
+
}
|
|
1582
1849
|
}
|
|
1583
1850
|
}
|
|
1584
1851
|
}
|
|
@@ -1600,7 +1867,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1600
1867
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1601
1868
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1602
1869
|
public static pbr::MessageDescriptor Descriptor {
|
|
1603
|
-
get { return global::Lansweeper.Diagrams.GRPC.DiagramsReflection.Descriptor.MessageTypes[
|
|
1870
|
+
get { return global::Lansweeper.Diagrams.GRPC.DiagramsReflection.Descriptor.MessageTypes[5]; }
|
|
1604
1871
|
}
|
|
1605
1872
|
|
|
1606
1873
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -1623,6 +1890,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1623
1890
|
assets_ = other.assets_.Clone();
|
|
1624
1891
|
relationships_ = other.relationships_.Clone();
|
|
1625
1892
|
issues_ = other.issues_.Clone();
|
|
1893
|
+
errors_ = other.errors_.Clone();
|
|
1626
1894
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
1627
1895
|
}
|
|
1628
1896
|
|
|
@@ -1665,6 +1933,17 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1665
1933
|
get { return issues_; }
|
|
1666
1934
|
}
|
|
1667
1935
|
|
|
1936
|
+
/// <summary>Field number for the "errors" field.</summary>
|
|
1937
|
+
public const int ErrorsFieldNumber = 4;
|
|
1938
|
+
private static readonly pb::FieldCodec<global::Lansweeper.Diagrams.GRPC.Error> _repeated_errors_codec
|
|
1939
|
+
= pb::FieldCodec.ForMessage(34, global::Lansweeper.Diagrams.GRPC.Error.Parser);
|
|
1940
|
+
private readonly pbc::RepeatedField<global::Lansweeper.Diagrams.GRPC.Error> errors_ = new pbc::RepeatedField<global::Lansweeper.Diagrams.GRPC.Error>();
|
|
1941
|
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1942
|
+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1943
|
+
public pbc::RepeatedField<global::Lansweeper.Diagrams.GRPC.Error> Errors {
|
|
1944
|
+
get { return errors_; }
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1668
1947
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
1669
1948
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
1670
1949
|
public override bool Equals(object other) {
|
|
@@ -1683,6 +1962,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1683
1962
|
if(!assets_.Equals(other.assets_)) return false;
|
|
1684
1963
|
if(!relationships_.Equals(other.relationships_)) return false;
|
|
1685
1964
|
if(!issues_.Equals(other.issues_)) return false;
|
|
1965
|
+
if(!errors_.Equals(other.errors_)) return false;
|
|
1686
1966
|
return Equals(_unknownFields, other._unknownFields);
|
|
1687
1967
|
}
|
|
1688
1968
|
|
|
@@ -1693,6 +1973,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1693
1973
|
hash ^= assets_.GetHashCode();
|
|
1694
1974
|
hash ^= relationships_.GetHashCode();
|
|
1695
1975
|
hash ^= issues_.GetHashCode();
|
|
1976
|
+
hash ^= errors_.GetHashCode();
|
|
1696
1977
|
if (_unknownFields != null) {
|
|
1697
1978
|
hash ^= _unknownFields.GetHashCode();
|
|
1698
1979
|
}
|
|
@@ -1714,6 +1995,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1714
1995
|
assets_.WriteTo(output, _repeated_assets_codec);
|
|
1715
1996
|
relationships_.WriteTo(output, _repeated_relationships_codec);
|
|
1716
1997
|
issues_.WriteTo(output, _repeated_issues_codec);
|
|
1998
|
+
errors_.WriteTo(output, _repeated_errors_codec);
|
|
1717
1999
|
if (_unknownFields != null) {
|
|
1718
2000
|
_unknownFields.WriteTo(output);
|
|
1719
2001
|
}
|
|
@@ -1727,6 +2009,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1727
2009
|
assets_.WriteTo(ref output, _repeated_assets_codec);
|
|
1728
2010
|
relationships_.WriteTo(ref output, _repeated_relationships_codec);
|
|
1729
2011
|
issues_.WriteTo(ref output, _repeated_issues_codec);
|
|
2012
|
+
errors_.WriteTo(ref output, _repeated_errors_codec);
|
|
1730
2013
|
if (_unknownFields != null) {
|
|
1731
2014
|
_unknownFields.WriteTo(ref output);
|
|
1732
2015
|
}
|
|
@@ -1740,6 +2023,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1740
2023
|
size += assets_.CalculateSize(_repeated_assets_codec);
|
|
1741
2024
|
size += relationships_.CalculateSize(_repeated_relationships_codec);
|
|
1742
2025
|
size += issues_.CalculateSize(_repeated_issues_codec);
|
|
2026
|
+
size += errors_.CalculateSize(_repeated_errors_codec);
|
|
1743
2027
|
if (_unknownFields != null) {
|
|
1744
2028
|
size += _unknownFields.CalculateSize();
|
|
1745
2029
|
}
|
|
@@ -1755,6 +2039,7 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1755
2039
|
assets_.Add(other.assets_);
|
|
1756
2040
|
relationships_.Add(other.relationships_);
|
|
1757
2041
|
issues_.Add(other.issues_);
|
|
2042
|
+
errors_.Add(other.errors_);
|
|
1758
2043
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
1759
2044
|
}
|
|
1760
2045
|
|
|
@@ -1782,6 +2067,10 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1782
2067
|
issues_.AddEntriesFrom(input, _repeated_issues_codec);
|
|
1783
2068
|
break;
|
|
1784
2069
|
}
|
|
2070
|
+
case 34: {
|
|
2071
|
+
errors_.AddEntriesFrom(input, _repeated_errors_codec);
|
|
2072
|
+
break;
|
|
2073
|
+
}
|
|
1785
2074
|
}
|
|
1786
2075
|
}
|
|
1787
2076
|
#endif
|
|
@@ -1809,6 +2098,10 @@ namespace Lansweeper.Diagrams.GRPC {
|
|
|
1809
2098
|
issues_.AddEntriesFrom(ref input, _repeated_issues_codec);
|
|
1810
2099
|
break;
|
|
1811
2100
|
}
|
|
2101
|
+
case 34: {
|
|
2102
|
+
errors_.AddEntriesFrom(ref input, _repeated_errors_codec);
|
|
2103
|
+
break;
|
|
2104
|
+
}
|
|
1812
2105
|
}
|
|
1813
2106
|
}
|
|
1814
2107
|
}
|
|
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.12",
|
|
9
9
|
"restore": {
|
|
10
10
|
"projectUniqueName": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
|
|
11
11
|
"projectName": "Lansweeper.Diagrams.GRPC",
|
|
@@ -73,22 +73,12 @@
|
|
|
73
73
|
],
|
|
74
74
|
"assetTargetFallback": true,
|
|
75
75
|
"warn": true,
|
|
76
|
-
"downloadDependencies": [
|
|
77
|
-
{
|
|
78
|
-
"name": "Microsoft.AspNetCore.App.Ref",
|
|
79
|
-
"version": "[6.0.10, 6.0.10]"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "Microsoft.NETCore.App.Ref",
|
|
83
|
-
"version": "[6.0.10, 6.0.10]"
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
76
|
"frameworkReferences": {
|
|
87
77
|
"Microsoft.NETCore.App": {
|
|
88
78
|
"privateAssets": "all"
|
|
89
79
|
}
|
|
90
80
|
},
|
|
91
|
-
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.
|
|
81
|
+
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.403/RuntimeIdentifierGraph.json"
|
|
92
82
|
}
|
|
93
83
|
}
|
|
94
84
|
}
|
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.12",
|
|
309
309
|
"restore": {
|
|
310
310
|
"projectUniqueName": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
|
|
311
311
|
"projectName": "Lansweeper.Diagrams.GRPC",
|
|
@@ -373,22 +373,12 @@
|
|
|
373
373
|
],
|
|
374
374
|
"assetTargetFallback": true,
|
|
375
375
|
"warn": true,
|
|
376
|
-
"downloadDependencies": [
|
|
377
|
-
{
|
|
378
|
-
"name": "Microsoft.AspNetCore.App.Ref",
|
|
379
|
-
"version": "[6.0.10, 6.0.10]"
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"name": "Microsoft.NETCore.App.Ref",
|
|
383
|
-
"version": "[6.0.10, 6.0.10]"
|
|
384
|
-
}
|
|
385
|
-
],
|
|
386
376
|
"frameworkReferences": {
|
|
387
377
|
"Microsoft.NETCore.App": {
|
|
388
378
|
"privateAssets": "all"
|
|
389
379
|
}
|
|
390
380
|
},
|
|
391
|
-
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.
|
|
381
|
+
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.403/RuntimeIdentifierGraph.json"
|
|
392
382
|
}
|
|
393
383
|
}
|
|
394
384
|
}
|
package/obj/project.nuget.cache
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 2,
|
|
3
|
-
"dgSpecHash": "
|
|
3
|
+
"dgSpecHash": "KirhcPiUY3YjE9h0dFG8USo2gCw3UfwTG/IXIvbkdqeTg3yjeYCu0E0s/t5S3pmOGTd17lB9pYnxqSXRq6MuPA==",
|
|
4
4
|
"success": true,
|
|
5
5
|
"projectFilePath": "/home/circleci/project/packages/diagrams/grpc/Lansweeper.Diagrams.GRPC.csproj",
|
|
6
6
|
"expectedPackageFiles": [
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
"/home/circleci/.nuget/packages/grpc.core.api/2.46.1/grpc.core.api.2.46.1.nupkg.sha512",
|
|
11
11
|
"/home/circleci/.nuget/packages/grpc.tools/2.46.1/grpc.tools.2.46.1.nupkg.sha512",
|
|
12
12
|
"/home/circleci/.nuget/packages/system.memory/4.5.3/system.memory.4.5.3.nupkg.sha512",
|
|
13
|
-
"/home/circleci/.nuget/packages/system.runtime.compilerservices.unsafe/4.5.2/system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512"
|
|
14
|
-
"/home/circleci/.nuget/packages/microsoft.netcore.app.ref/6.0.10/microsoft.netcore.app.ref.6.0.10.nupkg.sha512",
|
|
15
|
-
"/home/circleci/.nuget/packages/microsoft.aspnetcore.app.ref/6.0.10/microsoft.aspnetcore.app.ref.6.0.10.nupkg.sha512"
|
|
13
|
+
"/home/circleci/.nuget/packages/system.runtime.compilerservices.unsafe/4.5.2/system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512"
|
|
16
14
|
],
|
|
17
15
|
"logs": []
|
|
18
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/diagrams-grpc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
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": "0181b0bb84a6163d707b74bc254dce15c53817a7"
|
|
16
16
|
}
|
package/proto/diagrams.proto
CHANGED
|
@@ -31,6 +31,17 @@ message Asset {
|
|
|
31
31
|
bool is_vm_running = 11;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
enum ErrorType {
|
|
35
|
+
UNKNOWN = 0;
|
|
36
|
+
GENERATION_ERROR = 1;
|
|
37
|
+
NO_ASSET = 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message Error {
|
|
41
|
+
ErrorType type = 1;
|
|
42
|
+
string message = 2;
|
|
43
|
+
}
|
|
44
|
+
|
|
34
45
|
message Relationship {
|
|
35
46
|
string from_asset_unique_key = 1;
|
|
36
47
|
string to_asset_unique_key = 2;
|
|
@@ -45,10 +56,12 @@ message NetworkTopologyDiagramResponse {
|
|
|
45
56
|
repeated Asset assets = 1;
|
|
46
57
|
repeated Relationship relationships = 2;
|
|
47
58
|
repeated string issues = 3;
|
|
59
|
+
repeated Error errors = 4;
|
|
48
60
|
}
|
|
49
61
|
|
|
50
62
|
message VirtualEnvironmentDiagramResponse {
|
|
51
63
|
repeated Asset assets = 1;
|
|
52
64
|
repeated Relationship relationships = 2;
|
|
53
65
|
repeated string issues = 3;
|
|
66
|
+
repeated Error errors = 4;
|
|
54
67
|
}
|