@lansweeper/discovery-hub-proto 2.20.0 → 2.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -216,6 +216,11 @@ export class Scan extends jspb.Message {
216
216
  setCredentialsList(value: Array<UsedCredential>): Scan;
217
217
  addCredentials(value?: UsedCredential, index?: number): UsedCredential;
218
218
 
219
+ hasActionId(): boolean;
220
+ clearActionId(): void;
221
+ getActionId(): google_protobuf_wrappers_pb.StringValue | undefined;
222
+ setActionId(value?: google_protobuf_wrappers_pb.StringValue): Scan;
223
+
219
224
  serializeBinary(): Uint8Array;
220
225
  toObject(includeInstance?: boolean): Scan.AsObject;
221
226
  static toObject(includeInstance: boolean, msg: Scan): Scan.AsObject;
@@ -230,6 +235,7 @@ export namespace Scan {
230
235
  export type AsObject = {
231
236
  sectionsList: Array<ScanSection.AsObject>,
232
237
  credentialsList: Array<UsedCredential.AsObject>,
238
+ actionId?: google_protobuf_wrappers_pb.StringValue.AsObject,
233
239
  }
234
240
  }
235
241
 
@@ -349,11 +355,6 @@ export class ScanSectionHeader extends jspb.Message {
349
355
  getTimezone(): google_protobuf_wrappers_pb.StringValue | undefined;
350
356
  setTimezone(value?: google_protobuf_wrappers_pb.StringValue): ScanSectionHeader;
351
357
 
352
- hasActionId(): boolean;
353
- clearActionId(): void;
354
- getActionId(): google_protobuf_wrappers_pb.StringValue | undefined;
355
- setActionId(value?: google_protobuf_wrappers_pb.StringValue): ScanSectionHeader;
356
-
357
358
  serializeBinary(): Uint8Array;
358
359
  toObject(includeInstance?: boolean): ScanSectionHeader.AsObject;
359
360
  static toObject(includeInstance: boolean, msg: ScanSectionHeader): ScanSectionHeader.AsObject;
@@ -375,7 +376,6 @@ export namespace ScanSectionHeader {
375
376
  success?: google_protobuf_wrappers_pb.BoolValue.AsObject,
376
377
  hash?: Hash.AsObject,
377
378
  timezone?: google_protobuf_wrappers_pb.StringValue.AsObject,
378
- actionId?: google_protobuf_wrappers_pb.StringValue.AsObject,
379
379
  }
380
380
  }
381
381
 
@@ -1840,7 +1840,8 @@ proto.com.lansweeper.discovery.device.v1.Scan.toObject = function(includeInstanc
1840
1840
  sectionsList: jspb.Message.toObjectList(msg.getSectionsList(),
1841
1841
  proto.com.lansweeper.discovery.device.v1.ScanSection.toObject, includeInstance),
1842
1842
  credentialsList: jspb.Message.toObjectList(msg.getCredentialsList(),
1843
- proto.com.lansweeper.discovery.device.v1.UsedCredential.toObject, includeInstance)
1843
+ proto.com.lansweeper.discovery.device.v1.UsedCredential.toObject, includeInstance),
1844
+ actionId: (f = msg.getActionId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
1844
1845
  };
1845
1846
 
1846
1847
  if (includeInstance) {
@@ -1887,6 +1888,11 @@ proto.com.lansweeper.discovery.device.v1.Scan.deserializeBinaryFromReader = func
1887
1888
  reader.readMessage(value,proto.com.lansweeper.discovery.device.v1.UsedCredential.deserializeBinaryFromReader);
1888
1889
  msg.addCredentials(value);
1889
1890
  break;
1891
+ case 3:
1892
+ var value = new google_protobuf_wrappers_pb.StringValue;
1893
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
1894
+ msg.setActionId(value);
1895
+ break;
1890
1896
  default:
1891
1897
  reader.skipField();
1892
1898
  break;
@@ -1932,6 +1938,14 @@ proto.com.lansweeper.discovery.device.v1.Scan.serializeBinaryToWriter = function
1932
1938
  proto.com.lansweeper.discovery.device.v1.UsedCredential.serializeBinaryToWriter
1933
1939
  );
1934
1940
  }
1941
+ f = message.getActionId();
1942
+ if (f != null) {
1943
+ writer.writeMessage(
1944
+ 3,
1945
+ f,
1946
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
1947
+ );
1948
+ }
1935
1949
  };
1936
1950
 
1937
1951
 
@@ -2011,6 +2025,43 @@ proto.com.lansweeper.discovery.device.v1.Scan.prototype.clearCredentialsList = f
2011
2025
  };
2012
2026
 
2013
2027
 
2028
+ /**
2029
+ * optional google.protobuf.StringValue action_id = 3;
2030
+ * @return {?proto.google.protobuf.StringValue}
2031
+ */
2032
+ proto.com.lansweeper.discovery.device.v1.Scan.prototype.getActionId = function() {
2033
+ return /** @type{?proto.google.protobuf.StringValue} */ (
2034
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
2035
+ };
2036
+
2037
+
2038
+ /**
2039
+ * @param {?proto.google.protobuf.StringValue|undefined} value
2040
+ * @return {!proto.com.lansweeper.discovery.device.v1.Scan} returns this
2041
+ */
2042
+ proto.com.lansweeper.discovery.device.v1.Scan.prototype.setActionId = function(value) {
2043
+ return jspb.Message.setWrapperField(this, 3, value);
2044
+ };
2045
+
2046
+
2047
+ /**
2048
+ * Clears the message field making it undefined.
2049
+ * @return {!proto.com.lansweeper.discovery.device.v1.Scan} returns this
2050
+ */
2051
+ proto.com.lansweeper.discovery.device.v1.Scan.prototype.clearActionId = function() {
2052
+ return this.setActionId(undefined);
2053
+ };
2054
+
2055
+
2056
+ /**
2057
+ * Returns whether this field is set.
2058
+ * @return {boolean}
2059
+ */
2060
+ proto.com.lansweeper.discovery.device.v1.Scan.prototype.hasActionId = function() {
2061
+ return jspb.Message.getField(this, 3) != null;
2062
+ };
2063
+
2064
+
2014
2065
 
2015
2066
 
2016
2067
 
@@ -2615,8 +2666,7 @@ proto.com.lansweeper.discovery.device.v1.ScanSectionHeader.toObject = function(i
2615
2666
  errorsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
2616
2667
  success: (f = msg.getSuccess()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
2617
2668
  hash: (f = msg.getHash()) && proto.com.lansweeper.discovery.device.v1.Hash.toObject(includeInstance, f),
2618
- timezone: (f = msg.getTimezone()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
2619
- actionId: (f = msg.getActionId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
2669
+ timezone: (f = msg.getTimezone()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
2620
2670
  };
2621
2671
 
2622
2672
  if (includeInstance) {
@@ -2695,11 +2745,6 @@ proto.com.lansweeper.discovery.device.v1.ScanSectionHeader.deserializeBinaryFrom
2695
2745
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
2696
2746
  msg.setTimezone(value);
2697
2747
  break;
2698
- case 10:
2699
- var value = new google_protobuf_wrappers_pb.StringValue;
2700
- reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
2701
- msg.setActionId(value);
2702
- break;
2703
2748
  default:
2704
2749
  reader.skipField();
2705
2750
  break;
@@ -2798,14 +2843,6 @@ proto.com.lansweeper.discovery.device.v1.ScanSectionHeader.serializeBinaryToWrit
2798
2843
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
2799
2844
  );
2800
2845
  }
2801
- f = message.getActionId();
2802
- if (f != null) {
2803
- writer.writeMessage(
2804
- 10,
2805
- f,
2806
- google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
2807
- );
2808
- }
2809
2846
  };
2810
2847
 
2811
2848
 
@@ -3104,43 +3141,6 @@ proto.com.lansweeper.discovery.device.v1.ScanSectionHeader.prototype.hasTimezone
3104
3141
  };
3105
3142
 
3106
3143
 
3107
- /**
3108
- * optional google.protobuf.StringValue action_id = 10;
3109
- * @return {?proto.google.protobuf.StringValue}
3110
- */
3111
- proto.com.lansweeper.discovery.device.v1.ScanSectionHeader.prototype.getActionId = function() {
3112
- return /** @type{?proto.google.protobuf.StringValue} */ (
3113
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
3114
- };
3115
-
3116
-
3117
- /**
3118
- * @param {?proto.google.protobuf.StringValue|undefined} value
3119
- * @return {!proto.com.lansweeper.discovery.device.v1.ScanSectionHeader} returns this
3120
- */
3121
- proto.com.lansweeper.discovery.device.v1.ScanSectionHeader.prototype.setActionId = function(value) {
3122
- return jspb.Message.setWrapperField(this, 10, value);
3123
- };
3124
-
3125
-
3126
- /**
3127
- * Clears the message field making it undefined.
3128
- * @return {!proto.com.lansweeper.discovery.device.v1.ScanSectionHeader} returns this
3129
- */
3130
- proto.com.lansweeper.discovery.device.v1.ScanSectionHeader.prototype.clearActionId = function() {
3131
- return this.setActionId(undefined);
3132
- };
3133
-
3134
-
3135
- /**
3136
- * Returns whether this field is set.
3137
- * @return {boolean}
3138
- */
3139
- proto.com.lansweeper.discovery.device.v1.ScanSectionHeader.prototype.hasActionId = function() {
3140
- return jspb.Message.getField(this, 10) != null;
3141
- };
3142
-
3143
-
3144
3144
 
3145
3145
 
3146
3146
 
@@ -1 +1 @@
1
- {"file":[{"name":"google/protobuf/wrappers.proto","package":"google.protobuf","messageType":[{"name":"DoubleValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_DOUBLE","jsonName":"value"}]},{"name":"FloatValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_FLOAT","jsonName":"value"}]},{"name":"Int64Value","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT64","jsonName":"value"}]},{"name":"UInt64Value","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_UINT64","jsonName":"value"}]},{"name":"Int32Value","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"value"}]},{"name":"UInt32Value","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_UINT32","jsonName":"value"}]},{"name":"BoolValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"value"}]},{"name":"StringValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"value"}]},{"name":"BytesValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BYTES","jsonName":"value"}]}],"options":{"javaPackage":"com.google.protobuf","javaOuterClassname":"WrappersProto","javaMultipleFiles":true,"goPackage":"google.golang.org/protobuf/types/known/wrapperspb","ccEnableArenas":true,"objcClassPrefix":"GPB","csharpNamespace":"Google.Protobuf.WellKnownTypes"},"sourceCodeInfo":{"location":[{"span":[40,0,122,1]},{"path":[12],"span":[40,0,18],"leadingDetachedComments":[" Protocol Buffers - Google's data interchange format\n Copyright 2008 Google Inc. All rights reserved.\n https://developers.google.com/protocol-buffers/\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following disclaimer\n in the documentation and/or other materials provided with the\n distribution.\n * Neither the name of Google Inc. nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"," Wrappers for primitive (non-message) types. These types are useful\n for embedding primitives in the `google.protobuf.Any` type and for places\n where we need to distinguish between the absence of a primitive\n typed field and its default value.\n\n These wrappers have no meaningful use within repeated fields as they lack\n the ability to detect presence on individual elements.\n These wrappers have no meaningful use within a map or a oneof since\n individual entries of a map or fields of a oneof can already detect presence.\n"]},{"path":[2],"span":[42,0,24]},{"path":[8],"span":[44,0,59]},{"path":[8,37],"span":[44,0,59]},{"path":[8],"span":[45,0,31]},{"path":[8,31],"span":[45,0,31]},{"path":[8],"span":[46,0,72]},{"path":[8,11],"span":[46,0,72]},{"path":[8],"span":[47,0,44]},{"path":[8,1],"span":[47,0,44]},{"path":[8],"span":[48,0,46]},{"path":[8,8],"span":[48,0,46]},{"path":[8],"span":[49,0,34]},{"path":[8,10],"span":[49,0,34]},{"path":[8],"span":[50,0,33]},{"path":[8,36],"span":[50,0,33]},{"path":[4,0],"span":[55,0,58,1],"leadingComments":" Wrapper message for `double`.\n\n The JSON representation for `DoubleValue` is JSON number.\n"},{"path":[4,0,1],"span":[55,8,19]},{"path":[4,0,2,0],"span":[57,2,19],"leadingComments":" The double value.\n"},{"path":[4,0,2,0,5],"span":[57,2,8]},{"path":[4,0,2,0,1],"span":[57,9,14]},{"path":[4,0,2,0,3],"span":[57,17,18]},{"path":[4,1],"span":[63,0,66,1],"leadingComments":" Wrapper message for `float`.\n\n The JSON representation for `FloatValue` is JSON number.\n"},{"path":[4,1,1],"span":[63,8,18]},{"path":[4,1,2,0],"span":[65,2,18],"leadingComments":" The float value.\n"},{"path":[4,1,2,0,5],"span":[65,2,7]},{"path":[4,1,2,0,1],"span":[65,8,13]},{"path":[4,1,2,0,3],"span":[65,16,17]},{"path":[4,2],"span":[71,0,74,1],"leadingComments":" Wrapper message for `int64`.\n\n The JSON representation for `Int64Value` is JSON string.\n"},{"path":[4,2,1],"span":[71,8,18]},{"path":[4,2,2,0],"span":[73,2,18],"leadingComments":" The int64 value.\n"},{"path":[4,2,2,0,5],"span":[73,2,7]},{"path":[4,2,2,0,1],"span":[73,8,13]},{"path":[4,2,2,0,3],"span":[73,16,17]},{"path":[4,3],"span":[79,0,82,1],"leadingComments":" Wrapper message for `uint64`.\n\n The JSON representation for `UInt64Value` is JSON string.\n"},{"path":[4,3,1],"span":[79,8,19]},{"path":[4,3,2,0],"span":[81,2,19],"leadingComments":" The uint64 value.\n"},{"path":[4,3,2,0,5],"span":[81,2,8]},{"path":[4,3,2,0,1],"span":[81,9,14]},{"path":[4,3,2,0,3],"span":[81,17,18]},{"path":[4,4],"span":[87,0,90,1],"leadingComments":" Wrapper message for `int32`.\n\n The JSON representation for `Int32Value` is JSON number.\n"},{"path":[4,4,1],"span":[87,8,18]},{"path":[4,4,2,0],"span":[89,2,18],"leadingComments":" The int32 value.\n"},{"path":[4,4,2,0,5],"span":[89,2,7]},{"path":[4,4,2,0,1],"span":[89,8,13]},{"path":[4,4,2,0,3],"span":[89,16,17]},{"path":[4,5],"span":[95,0,98,1],"leadingComments":" Wrapper message for `uint32`.\n\n The JSON representation for `UInt32Value` is JSON number.\n"},{"path":[4,5,1],"span":[95,8,19]},{"path":[4,5,2,0],"span":[97,2,19],"leadingComments":" The uint32 value.\n"},{"path":[4,5,2,0,5],"span":[97,2,8]},{"path":[4,5,2,0,1],"span":[97,9,14]},{"path":[4,5,2,0,3],"span":[97,17,18]},{"path":[4,6],"span":[103,0,106,1],"leadingComments":" Wrapper message for `bool`.\n\n The JSON representation for `BoolValue` is JSON `true` and `false`.\n"},{"path":[4,6,1],"span":[103,8,17]},{"path":[4,6,2,0],"span":[105,2,17],"leadingComments":" The bool value.\n"},{"path":[4,6,2,0,5],"span":[105,2,6]},{"path":[4,6,2,0,1],"span":[105,7,12]},{"path":[4,6,2,0,3],"span":[105,15,16]},{"path":[4,7],"span":[111,0,114,1],"leadingComments":" Wrapper message for `string`.\n\n The JSON representation for `StringValue` is JSON string.\n"},{"path":[4,7,1],"span":[111,8,19]},{"path":[4,7,2,0],"span":[113,2,19],"leadingComments":" The string value.\n"},{"path":[4,7,2,0,5],"span":[113,2,8]},{"path":[4,7,2,0,1],"span":[113,9,14]},{"path":[4,7,2,0,3],"span":[113,17,18]},{"path":[4,8],"span":[119,0,122,1],"leadingComments":" Wrapper message for `bytes`.\n\n The JSON representation for `BytesValue` is JSON string.\n"},{"path":[4,8,1],"span":[119,8,18]},{"path":[4,8,2,0],"span":[121,2,18],"leadingComments":" The bytes value.\n"},{"path":[4,8,2,0,5],"span":[121,2,7]},{"path":[4,8,2,0,1],"span":[121,8,13]},{"path":[4,8,2,0,3],"span":[121,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":true,"isSyntaxUnspecified":false}},{"name":"google/protobuf/timestamp.proto","package":"google.protobuf","messageType":[{"name":"Timestamp","field":[{"name":"seconds","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT64","jsonName":"seconds"},{"name":"nanos","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"nanos"}]}],"options":{"javaPackage":"com.google.protobuf","javaOuterClassname":"TimestampProto","javaMultipleFiles":true,"goPackage":"google.golang.org/protobuf/types/known/timestamppb","ccEnableArenas":true,"objcClassPrefix":"GPB","csharpNamespace":"Google.Protobuf.WellKnownTypes"},"sourceCodeInfo":{"location":[{"span":[30,0,146,1]},{"path":[12],"span":[30,0,18],"leadingDetachedComments":[" Protocol Buffers - Google's data interchange format\n Copyright 2008 Google Inc. All rights reserved.\n https://developers.google.com/protocol-buffers/\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following disclaimer\n in the documentation and/or other materials provided with the\n distribution.\n * Neither the name of Google Inc. nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"]},{"path":[2],"span":[32,0,24]},{"path":[8],"span":[34,0,59]},{"path":[8,37],"span":[34,0,59]},{"path":[8],"span":[35,0,31]},{"path":[8,31],"span":[35,0,31]},{"path":[8],"span":[36,0,73]},{"path":[8,11],"span":[36,0,73]},{"path":[8],"span":[37,0,44]},{"path":[8,1],"span":[37,0,44]},{"path":[8],"span":[38,0,47]},{"path":[8,8],"span":[38,0,47]},{"path":[8],"span":[39,0,34]},{"path":[8,10],"span":[39,0,34]},{"path":[8],"span":[40,0,33]},{"path":[8,36],"span":[40,0,33]},{"path":[4,0],"span":[135,0,146,1],"leadingComments":" A Timestamp represents a point in time independent of any time zone or local\n calendar, encoded as a count of seconds and fractions of seconds at\n nanosecond resolution. The count is relative to an epoch at UTC midnight on\n January 1, 1970, in the proleptic Gregorian calendar which extends the\n Gregorian calendar backwards to year one.\n\n All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap\n second table is needed for interpretation, using a [24-hour linear\n smear](https://developers.google.com/time/smear).\n\n The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By\n restricting to that range, we ensure that we can convert to and from [RFC\n 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.\n\n # Examples\n\n Example 1: Compute Timestamp from POSIX `time()`.\n\n Timestamp timestamp;\n timestamp.set_seconds(time(NULL));\n timestamp.set_nanos(0);\n\n Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n\n struct timeval tv;\n gettimeofday(&tv, NULL);\n\n Timestamp timestamp;\n timestamp.set_seconds(tv.tv_sec);\n timestamp.set_nanos(tv.tv_usec * 1000);\n\n Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n\n FILETIME ft;\n GetSystemTimeAsFileTime(&ft);\n UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n\n // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n Timestamp timestamp;\n timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n\n Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n\n long millis = System.currentTimeMillis();\n\n Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n .setNanos((int) ((millis % 1000) * 1000000)).build();\n\n\n Example 5: Compute Timestamp from Java `Instant.now()`.\n\n Instant now = Instant.now();\n\n Timestamp timestamp =\n Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n .setNanos(now.getNano()).build();\n\n\n Example 6: Compute Timestamp from current time in Python.\n\n timestamp = Timestamp()\n timestamp.GetCurrentTime()\n\n # JSON Mapping\n\n In JSON format, the Timestamp type is encoded as a string in the\n [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\"\n where {year} is always expressed using four digits while {month}, {day},\n {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional\n seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),\n are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n is required. A proto3 JSON serializer should always use UTC (as indicated by\n \"Z\") when printing the Timestamp type and a proto3 JSON parser should be\n able to accept both UTC and other timezones (as indicated by an offset).\n\n For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past\n 01:30 UTC on January 15, 2017.\n\n In JavaScript, one can convert a Date object to this format using the\n standard\n [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n method. In Python, a standard `datetime.datetime` object can be converted\n to this format using\n [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\n the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\n the Joda Time's [`ISODateTimeFormat.dateTime()`](\n http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D\n ) to obtain a formatter capable of generating timestamps in this format.\n\n\n"},{"path":[4,0,1],"span":[135,8,17]},{"path":[4,0,2,0],"span":[139,2,20],"leadingComments":" Represents seconds of UTC time since Unix epoch\n 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n 9999-12-31T23:59:59Z inclusive.\n"},{"path":[4,0,2,0,5],"span":[139,2,7]},{"path":[4,0,2,0,1],"span":[139,8,15]},{"path":[4,0,2,0,3],"span":[139,18,19]},{"path":[4,0,2,1],"span":[145,2,18],"leadingComments":" Non-negative fractions of a second at nanosecond resolution. Negative\n second values with fractions must still have non-negative nanos values\n that count forward in time. Must be from 0 to 999,999,999\n inclusive.\n"},{"path":[4,0,2,1,5],"span":[145,2,7]},{"path":[4,0,2,1,1],"span":[145,8,13]},{"path":[4,0,2,1,3],"span":[145,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":true,"isSyntaxUnspecified":false}},{"name":"google/protobuf/any.proto","package":"google.protobuf","messageType":[{"name":"Any","field":[{"name":"type_url","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"typeUrl"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_BYTES","jsonName":"value"}]}],"options":{"javaPackage":"com.google.protobuf","javaOuterClassname":"AnyProto","javaMultipleFiles":true,"goPackage":"google.golang.org/protobuf/types/known/anypb","objcClassPrefix":"GPB","csharpNamespace":"Google.Protobuf.WellKnownTypes"},"sourceCodeInfo":{"location":[{"span":[30,0,157,1]},{"path":[12],"span":[30,0,18],"leadingDetachedComments":[" Protocol Buffers - Google's data interchange format\n Copyright 2008 Google Inc. All rights reserved.\n https://developers.google.com/protocol-buffers/\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following disclaimer\n in the documentation and/or other materials provided with the\n distribution.\n * Neither the name of Google Inc. nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"]},{"path":[2],"span":[32,0,24]},{"path":[8],"span":[34,0,59]},{"path":[8,37],"span":[34,0,59]},{"path":[8],"span":[35,0,67]},{"path":[8,11],"span":[35,0,67]},{"path":[8],"span":[36,0,44]},{"path":[8,1],"span":[36,0,44]},{"path":[8],"span":[37,0,41]},{"path":[8,8],"span":[37,0,41]},{"path":[8],"span":[38,0,34]},{"path":[8,10],"span":[38,0,34]},{"path":[8],"span":[39,0,33]},{"path":[8,36],"span":[39,0,33]},{"path":[4,0],"span":[124,0,157,1],"leadingComments":" `Any` contains an arbitrary serialized protocol buffer message along with a\n URL that describes the type of the serialized message.\n\n Protobuf library provides support to pack/unpack Any values in the form\n of utility functions or additional generated methods of the Any type.\n\n Example 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\n Example 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\n The pack methods provided by protobuf library will by default use\n 'type.googleapis.com/full.type.name' as the type URL and the unpack\n methods only use the fully qualified type name after the last '/'\n in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n name \"y.z\".\n\n\n JSON\n ====\n The JSON representation of an `Any` value uses the regular\n representation of the deserialized, embedded message, with an\n additional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": <string>,\n \"lastName\": <string>\n }\n\n If the embedded message type is well-known and has a custom JSON\n representation, that representation will be embedded adding a field\n `value` which holds the custom JSON in addition to the `@type`\n field. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }\n\n"},{"path":[4,0,1],"span":[124,8,11]},{"path":[4,0,2,0],"span":[153,2,22],"leadingComments":" A URL/resource name that uniquely identifies the type of the serialized\n protocol buffer message. This string must contain at least\n one \"/\" character. The last segment of the URL's path must represent\n the fully qualified name of the type (as in\n `path/google.protobuf.Duration`). The name should be in a canonical form\n (e.g., leading \".\" is not accepted).\n\n In practice, teams usually precompile into the binary all types that they\n expect it to use in the context of Any. However, for URLs which use the\n scheme `http`, `https`, or no scheme, one can optionally set up a type\n server that maps type URLs to message definitions as follows:\n\n * If no scheme is provided, `https` is assumed.\n * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n * Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\n Note: this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning with\n type.googleapis.com.\n\n Schemes other than `http`, `https` (or the empty scheme) might be\n used with implementation specific semantics.\n\n"},{"path":[4,0,2,0,5],"span":[153,2,8]},{"path":[4,0,2,0,1],"span":[153,9,17]},{"path":[4,0,2,0,3],"span":[153,20,21]},{"path":[4,0,2,1],"span":[156,2,18],"leadingComments":" Must be a valid serialized protocol buffer of the above specified type.\n"},{"path":[4,0,2,1,5],"span":[156,2,7]},{"path":[4,0,2,1,1],"span":[156,8,13]},{"path":[4,0,2,1,3],"span":[156,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":true,"isSyntaxUnspecified":false}},{"name":"discovery_device.proto","package":"com.lansweeper.discovery.device.v1","dependency":["google/protobuf/timestamp.proto","google/protobuf/any.proto","google/protobuf/wrappers.proto"],"messageType":[{"name":"Device","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"sensor_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sensorId"},{"name":"device_name","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"deviceName"},{"name":"ip_address","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"ipAddress"},{"name":"mac","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"mac"},{"name":"is_mac_locally_administered","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"isMacLocallyAdministered"},{"name":"mac_vendor","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"macVendor"},{"name":"brand","number":8,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"brand"},{"name":"model","number":9,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"model"},{"name":"os_name","number":10,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"osName"},{"name":"os_build","number":11,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"osBuild"},{"name":"os_version","number":12,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"osVersion"},{"name":"type","number":13,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"type"},{"name":"type_name","number":14,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"typeName"},{"name":"type_group_name","number":15,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"typeGroupName"},{"name":"is_family","number":16,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"isFamily"},{"name":"recognition_type","number":17,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"recognitionType"},{"name":"rank","number":18,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"rank"},{"name":"serial","number":19,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"serial"},{"name":"type_id","number":20,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"typeId"},{"name":"brand_id","number":21,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"brandId"},{"name":"model_id","number":22,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"modelId"},{"name":"os_id","number":23,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"osId"},{"name":"hw_cpe","number":24,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"hwCpe"},{"name":"fw_cpe","number":25,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"fwCpe"},{"name":"os_cpe","number":26,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"osCpe"},{"name":"fingerprints","number":27,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Any","jsonName":"fingerprints"},{"name":"scan","number":28,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.Scan","oneofIndex":0,"jsonName":"scan","proto3Optional":true},{"name":"scan_server_name","number":29,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"scanServerName"},{"name":"scan_type","number":30,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"scanType"},{"name":"is_local_scan","number":31,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"isLocalScan"}],"oneofDecl":[{"name":"_scan"}]},{"name":"Scan","field":[{"name":"sections","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.ScanSection","jsonName":"sections"},{"name":"credentials","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.UsedCredential","jsonName":"credentials"}]},{"name":"UsedCredential","field":[{"name":"vault_type","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"vaultType"},{"name":"vault_name","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"vaultName"},{"name":"name","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"name"},{"name":"is_success","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"isSuccess"},{"name":"cloud_id","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","oneofIndex":0,"jsonName":"cloudId","proto3Optional":true}],"oneofDecl":[{"name":"_cloud_id"}]},{"name":"ScanSection","field":[{"name":"section_header","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.ScanSectionHeader","jsonName":"sectionHeader"},{"name":"section_body","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Any","jsonName":"sectionBody"}]},{"name":"ScanSectionHeader","field":[{"name":"key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"key"},{"name":"name","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"name"},{"name":"source","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"source"},{"name":"scan_time","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"scanTime"},{"name":"duration","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int64Value","jsonName":"duration"},{"name":"errors","number":6,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"errors"},{"name":"success","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"success"},{"name":"hash","number":8,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.Hash","oneofIndex":0,"jsonName":"hash","proto3Optional":true},{"name":"timezone","number":9,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"timezone"},{"name":"action_id","number":10,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"actionId"}],"oneofDecl":[{"name":"_hash"}]},{"name":"Hash","field":[{"name":"algorithm","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"algorithm"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_BYTES","jsonName":"value"}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.Hub"},"sourceCodeInfo":{"location":[{"span":[0,0,81,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,43]},{"path":[8],"span":[4,0,34]},{"path":[8,10],"span":[4,0,34]},{"path":[8],"span":[5,0,65]},{"path":[8,37],"span":[5,0,65]},{"path":[8],"span":[6,0,37]},{"path":[8,11],"span":[6,0,37]},{"path":[3,0],"span":[8,0,41]},{"path":[3,1],"span":[9,0,35]},{"path":[3,2],"span":[10,0,40]},{"path":[4,0],"span":[13,0,45,1],"leadingComments":" Device root object "},{"path":[4,0,1],"span":[13,8,14]},{"path":[4,0,2,0],"span":[14,8,22]},{"path":[4,0,2,0,5],"span":[14,8,14]},{"path":[4,0,2,0,1],"span":[14,15,17]},{"path":[4,0,2,0,3],"span":[14,20,21]},{"path":[4,0,2,1],"span":[15,8,29]},{"path":[4,0,2,1,5],"span":[15,8,14]},{"path":[4,0,2,1,1],"span":[15,15,24]},{"path":[4,0,2,1,3],"span":[15,27,28]},{"path":[4,0,2,2],"span":[16,8,52]},{"path":[4,0,2,2,6],"span":[16,8,35]},{"path":[4,0,2,2,1],"span":[16,36,47]},{"path":[4,0,2,2,3],"span":[16,50,51]},{"path":[4,0,2,3],"span":[17,8,51]},{"path":[4,0,2,3,6],"span":[17,8,35]},{"path":[4,0,2,3,1],"span":[17,36,46]},{"path":[4,0,2,3,3],"span":[17,49,50]},{"path":[4,0,2,4],"span":[18,8,44]},{"path":[4,0,2,4,6],"span":[18,8,35]},{"path":[4,0,2,4,1],"span":[18,36,39]},{"path":[4,0,2,4,3],"span":[18,42,43]},{"path":[4,0,2,5],"span":[19,8,66]},{"path":[4,0,2,5,6],"span":[19,8,33]},{"path":[4,0,2,5,1],"span":[19,34,61]},{"path":[4,0,2,5,3],"span":[19,64,65]},{"path":[4,0,2,6],"span":[20,8,51]},{"path":[4,0,2,6,6],"span":[20,8,35]},{"path":[4,0,2,6,1],"span":[20,36,46]},{"path":[4,0,2,6,3],"span":[20,49,50]},{"path":[4,0,2,7],"span":[21,8,46]},{"path":[4,0,2,7,6],"span":[21,8,35]},{"path":[4,0,2,7,1],"span":[21,36,41]},{"path":[4,0,2,7,3],"span":[21,44,45]},{"path":[4,0,2,8],"span":[22,8,46]},{"path":[4,0,2,8,6],"span":[22,8,35]},{"path":[4,0,2,8,1],"span":[22,36,41]},{"path":[4,0,2,8,3],"span":[22,44,45]},{"path":[4,0,2,9],"span":[23,8,49]},{"path":[4,0,2,9,6],"span":[23,8,35]},{"path":[4,0,2,9,1],"span":[23,36,43]},{"path":[4,0,2,9,3],"span":[23,46,48]},{"path":[4,0,2,10],"span":[24,8,50]},{"path":[4,0,2,10,6],"span":[24,8,35]},{"path":[4,0,2,10,1],"span":[24,36,44]},{"path":[4,0,2,10,3],"span":[24,47,49]},{"path":[4,0,2,11],"span":[25,8,52]},{"path":[4,0,2,11,6],"span":[25,8,35]},{"path":[4,0,2,11,1],"span":[25,36,46]},{"path":[4,0,2,11,3],"span":[25,49,51]},{"path":[4,0,2,12],"span":[26,8,46]},{"path":[4,0,2,12,6],"span":[26,8,35]},{"path":[4,0,2,12,1],"span":[26,36,40]},{"path":[4,0,2,12,3],"span":[26,43,45]},{"path":[4,0,2,13],"span":[27,8,51]},{"path":[4,0,2,13,6],"span":[27,8,35]},{"path":[4,0,2,13,1],"span":[27,36,45]},{"path":[4,0,2,13,3],"span":[27,48,50]},{"path":[4,0,2,14],"span":[28,8,57]},{"path":[4,0,2,14,6],"span":[28,8,35]},{"path":[4,0,2,14,1],"span":[28,36,51]},{"path":[4,0,2,14,3],"span":[28,54,56]},{"path":[4,0,2,15],"span":[29,8,49]},{"path":[4,0,2,15,6],"span":[29,8,33]},{"path":[4,0,2,15,1],"span":[29,34,43]},{"path":[4,0,2,15,3],"span":[29,46,48]},{"path":[4,0,2,16],"span":[30,8,58]},{"path":[4,0,2,16,6],"span":[30,8,35]},{"path":[4,0,2,16,1],"span":[30,36,52]},{"path":[4,0,2,16,3],"span":[30,55,57]},{"path":[4,0,2,17],"span":[31,8,45]},{"path":[4,0,2,17,6],"span":[31,8,34]},{"path":[4,0,2,17,1],"span":[31,35,39]},{"path":[4,0,2,17,3],"span":[31,42,44]},{"path":[4,0,2,18],"span":[32,8,48]},{"path":[4,0,2,18,6],"span":[32,8,35]},{"path":[4,0,2,18,1],"span":[32,36,42]},{"path":[4,0,2,18,3],"span":[32,45,47]},{"path":[4,0,2,19],"span":[33,8,48]},{"path":[4,0,2,19,6],"span":[33,8,34]},{"path":[4,0,2,19,1],"span":[33,35,42]},{"path":[4,0,2,19,3],"span":[33,45,47]},{"path":[4,0,2,20],"span":[34,8,49]},{"path":[4,0,2,20,6],"span":[34,8,34]},{"path":[4,0,2,20,1],"span":[34,35,43]},{"path":[4,0,2,20,3],"span":[34,46,48]},{"path":[4,0,2,21],"span":[35,8,49]},{"path":[4,0,2,21,6],"span":[35,8,34]},{"path":[4,0,2,21,1],"span":[35,35,43]},{"path":[4,0,2,21,3],"span":[35,46,48]},{"path":[4,0,2,22],"span":[36,8,46]},{"path":[4,0,2,22,6],"span":[36,8,34]},{"path":[4,0,2,22,1],"span":[36,35,40]},{"path":[4,0,2,22,3],"span":[36,43,45]},{"path":[4,0,2,23],"span":[37,8,48]},{"path":[4,0,2,23,6],"span":[37,8,35]},{"path":[4,0,2,23,1],"span":[37,36,42]},{"path":[4,0,2,23,3],"span":[37,45,47]},{"path":[4,0,2,24],"span":[38,8,48]},{"path":[4,0,2,24,6],"span":[38,8,35]},{"path":[4,0,2,24,1],"span":[38,36,42]},{"path":[4,0,2,24,3],"span":[38,45,47]},{"path":[4,0,2,25],"span":[39,8,48]},{"path":[4,0,2,25,6],"span":[39,8,35]},{"path":[4,0,2,25,1],"span":[39,36,42]},{"path":[4,0,2,25,3],"span":[39,45,47]},{"path":[4,0,2,26],"span":[40,8,46],"trailingComments":" CDR fingerprints in a DevRecogInputDevice, as defined in data.platform\\fingerprints\\grpc\\proto\\fingerprints.proto wrapped in an Any-proto\n"},{"path":[4,0,2,26,6],"span":[40,8,27]},{"path":[4,0,2,26,1],"span":[40,28,40]},{"path":[4,0,2,26,3],"span":[40,43,45]},{"path":[4,0,2,27],"span":[41,8,32]},{"path":[4,0,2,27,4],"span":[41,8,16]},{"path":[4,0,2,27,6],"span":[41,17,21]},{"path":[4,0,2,27,1],"span":[41,22,26]},{"path":[4,0,2,27,3],"span":[41,29,31]},{"path":[4,0,2,28],"span":[42,8,58]},{"path":[4,0,2,28,6],"span":[42,8,35]},{"path":[4,0,2,28,1],"span":[42,36,52]},{"path":[4,0,2,28,3],"span":[42,55,57]},{"path":[4,0,2,29],"span":[43,8,51],"trailingComments":" quick, deep, local, etc...\n"},{"path":[4,0,2,29,6],"span":[43,8,35]},{"path":[4,0,2,29,1],"span":[43,36,45]},{"path":[4,0,2,29,3],"span":[43,48,50]},{"path":[4,0,2,30],"span":[44,8,53],"trailingComments":" true if the scan is computer-local by agent\n"},{"path":[4,0,2,30,6],"span":[44,8,33]},{"path":[4,0,2,30,1],"span":[44,34,47]},{"path":[4,0,2,30,3],"span":[44,50,52]},{"path":[4,1],"span":[47,0,50,1]},{"path":[4,1,1],"span":[47,8,12]},{"path":[4,1,2,0],"span":[48,2,36]},{"path":[4,1,2,0,4],"span":[48,2,10]},{"path":[4,1,2,0,6],"span":[48,11,22]},{"path":[4,1,2,0,1],"span":[48,23,31]},{"path":[4,1,2,0,3],"span":[48,34,35]},{"path":[4,1,2,1],"span":[49,2,42]},{"path":[4,1,2,1,4],"span":[49,2,10]},{"path":[4,1,2,1,6],"span":[49,11,25]},{"path":[4,1,2,1,1],"span":[49,26,37]},{"path":[4,1,2,1,3],"span":[49,40,41]},{"path":[4,2],"span":[52,0,58,1]},{"path":[4,2,1],"span":[52,8,22]},{"path":[4,2,2,0],"span":[53,2,45]},{"path":[4,2,2,0,6],"span":[53,2,29]},{"path":[4,2,2,0,1],"span":[53,30,40]},{"path":[4,2,2,0,3],"span":[53,43,44]},{"path":[4,2,2,1],"span":[54,2,45]},{"path":[4,2,2,1,6],"span":[54,2,29]},{"path":[4,2,2,1,1],"span":[54,30,40]},{"path":[4,2,2,1,3],"span":[54,43,44]},{"path":[4,2,2,2],"span":[55,2,39]},{"path":[4,2,2,2,6],"span":[55,2,29]},{"path":[4,2,2,2,1],"span":[55,30,34]},{"path":[4,2,2,2,3],"span":[55,37,38]},{"path":[4,2,2,3],"span":[56,2,43]},{"path":[4,2,2,3,6],"span":[56,2,27]},{"path":[4,2,2,3,1],"span":[56,28,38]},{"path":[4,2,2,3,3],"span":[56,41,42]},{"path":[4,2,2,4],"span":[57,2,52]},{"path":[4,2,2,4,4],"span":[57,2,10]},{"path":[4,2,2,4,6],"span":[57,11,38]},{"path":[4,2,2,4,1],"span":[57,39,47]},{"path":[4,2,2,4,3],"span":[57,50,51]},{"path":[4,3],"span":[60,0,63,1]},{"path":[4,3,1],"span":[60,8,19]},{"path":[4,3,2,0],"span":[61,2,39]},{"path":[4,3,2,0,6],"span":[61,2,19]},{"path":[4,3,2,0,1],"span":[61,20,34]},{"path":[4,3,2,0,3],"span":[61,37,38]},{"path":[4,3,2,1],"span":[62,2,39]},{"path":[4,3,2,1,6],"span":[62,2,21]},{"path":[4,3,2,1,1],"span":[62,22,34]},{"path":[4,3,2,1,3],"span":[62,37,38]},{"path":[4,4],"span":[65,0,76,1]},{"path":[4,4,1],"span":[65,8,25]},{"path":[4,4,2,0],"span":[66,2,16]},{"path":[4,4,2,0,5],"span":[66,2,7]},{"path":[4,4,2,0,1],"span":[66,8,11]},{"path":[4,4,2,0,3],"span":[66,14,15]},{"path":[4,4,2,1],"span":[67,2,18],"trailingComments":" e.g.: Windows:BasicInfo\n"},{"path":[4,4,2,1,5],"span":[67,2,8]},{"path":[4,4,2,1,1],"span":[67,9,13]},{"path":[4,4,2,1,3],"span":[67,16,17]},{"path":[4,4,2,2],"span":[68,2,41],"trailingComments":" e.g.: Wmi.Registry.WinApi\n"},{"path":[4,4,2,2,6],"span":[68,2,29]},{"path":[4,4,2,2,1],"span":[68,30,36]},{"path":[4,4,2,2,3],"span":[68,39,40]},{"path":[4,4,2,3],"span":[69,2,42]},{"path":[4,4,2,3,6],"span":[69,2,27]},{"path":[4,4,2,3,1],"span":[69,28,37]},{"path":[4,4,2,3,3],"span":[69,40,41]},{"path":[4,4,2,4],"span":[70,2,42]},{"path":[4,4,2,4,6],"span":[70,2,28]},{"path":[4,4,2,4,1],"span":[70,29,37]},{"path":[4,4,2,4,3],"span":[70,40,41]},{"path":[4,4,2,5],"span":[71,2,29]},{"path":[4,4,2,5,4],"span":[71,2,10]},{"path":[4,4,2,5,5],"span":[71,11,17]},{"path":[4,4,2,5,1],"span":[71,18,24]},{"path":[4,4,2,5,3],"span":[71,27,28]},{"path":[4,4,2,6],"span":[72,2,40]},{"path":[4,4,2,6,6],"span":[72,2,27]},{"path":[4,4,2,6,1],"span":[72,28,35]},{"path":[4,4,2,6,3],"span":[72,38,39]},{"path":[4,4,2,7],"span":[73,2,25]},{"path":[4,4,2,7,4],"span":[73,2,10]},{"path":[4,4,2,7,6],"span":[73,11,15]},{"path":[4,4,2,7,1],"span":[73,16,20]},{"path":[4,4,2,7,3],"span":[73,23,24]},{"path":[4,4,2,8],"span":[74,2,43],"trailingComments":"IANA Id\n"},{"path":[4,4,2,8,6],"span":[74,2,29]},{"path":[4,4,2,8,1],"span":[74,30,38]},{"path":[4,4,2,8,3],"span":[74,41,42]},{"path":[4,4,2,9],"span":[75,2,45],"trailingComments":"Action ID used for (re)scanning\n"},{"path":[4,4,2,9,6],"span":[75,2,29]},{"path":[4,4,2,9,1],"span":[75,30,39]},{"path":[4,4,2,9,3],"span":[75,42,44]},{"path":[4,5],"span":[78,0,81,1]},{"path":[4,5,1],"span":[78,8,12]},{"path":[4,5,2,0],"span":[79,2,23]},{"path":[4,5,2,0,5],"span":[79,2,8]},{"path":[4,5,2,0,1],"span":[79,9,18]},{"path":[4,5,2,0,3],"span":[79,21,22]},{"path":[4,5,2,1],"span":[80,2,18]},{"path":[4,5,2,1,5],"span":[80,2,7]},{"path":[4,5,2,1,1],"span":[80,8,13]},{"path":[4,5,2,1,3],"span":[80,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}},{"name":"discovery_api.proto","package":"com.lansweeper.discovery.apiscan.v1","dependency":["google/protobuf/wrappers.proto","discovery_device.proto"],"messageType":[{"name":"ApiScan","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"sensor_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sensorId"},{"name":"scan","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.Scan","oneofIndex":0,"jsonName":"scan","proto3Optional":true},{"name":"scan_server_name","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"scanServerName"}],"oneofDecl":[{"name":"_scan"}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.Hub"},"sourceCodeInfo":{"location":[{"span":[0,0,19,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,44]},{"path":[8],"span":[4,0,34]},{"path":[8,10],"span":[4,0,34]},{"path":[8],"span":[6,0,65]},{"path":[8,37],"span":[6,0,65]},{"path":[8],"span":[7,0,37]},{"path":[8,11],"span":[7,0,37]},{"path":[3,0],"span":[9,0,40]},{"path":[3,1],"span":[11,0,32]},{"path":[4,0],"span":[14,0,19,1],"leadingComments":" API scan root object "},{"path":[4,0,1],"span":[14,8,15]},{"path":[4,0,2,0],"span":[15,8,22]},{"path":[4,0,2,0,5],"span":[15,8,14]},{"path":[4,0,2,0,1],"span":[15,15,17]},{"path":[4,0,2,0,3],"span":[15,20,21]},{"path":[4,0,2,1],"span":[16,8,29]},{"path":[4,0,2,1,5],"span":[16,8,14]},{"path":[4,0,2,1,1],"span":[16,15,24]},{"path":[4,0,2,1,3],"span":[16,27,28]},{"path":[4,0,2,2],"span":[17,8,66],"trailingComments":" Reuse the scan object from the device-proto\n"},{"path":[4,0,2,2,4],"span":[17,8,16]},{"path":[4,0,2,2,6],"span":[17,17,56]},{"path":[4,0,2,2,1],"span":[17,57,61]},{"path":[4,0,2,2,3],"span":[17,64,65]},{"path":[4,0,2,3],"span":[18,8,57]},{"path":[4,0,2,3,6],"span":[18,8,35]},{"path":[4,0,2,3,1],"span":[18,36,52]},{"path":[4,0,2,3,3],"span":[18,55,56]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}},{"name":"discovery_credential_response.proto","package":"com.lansweeper.discovery.credential.response.v1","dependency":["google/protobuf/timestamp.proto","google/protobuf/wrappers.proto"],"messageType":[{"name":"CredentialResponse","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"credential_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"credentialId"},{"name":"operation","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.credential.response.v1.Operation","jsonName":"operation"},{"name":"error","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"error"},{"name":"reason","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.credential.response.v1.Reason","jsonName":"reason"},{"name":"error_message","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"errorMessage"},{"name":"change_utc_date","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"changeUtcDate"}]},{"name":"ShareCredentialResponse","field":[{"name":"credentials_to_share","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.credential.response.v1.ShareCredentialResponseObject","jsonName":"credentialsToShare"}]},{"name":"ShareCredentialResponseObject","field":[{"name":"credential_types","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.credential.response.v1.CredentialType","jsonName":"credentialTypes"},{"name":"display_name","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"displayName"},{"name":"id","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"last_modified_timestamp","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"lastModifiedTimestamp"},{"name":"credential_metadata","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.credential.response.v1.Metadata","jsonName":"credentialMetadata"},{"name":"operation","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.credential.response.v1.Operation","jsonName":"operation"},{"name":"message","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"},{"name":"key","number":8,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"nonce","number":9,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"nonce"},{"name":"tag","number":10,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"tag"},{"name":"version","number":11,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"version"},{"name":"format","number":12,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"format"}]},{"name":"Metadata","field":[{"name":"client_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientKey"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"}]}],"enumType":[{"name":"Operation","value":[{"name":"NONE","number":0},{"name":"INSERT","number":1,"options":{"deprecated":true}},{"name":"UPDATE","number":2,"options":{"deprecated":true}},{"name":"DELETE","number":3},{"name":"UPSERT","number":4},{"name":"SHARE","number":5}]},{"name":"Reason","value":[{"name":"UNKNOWN","number":0},{"name":"DUPLICATE_NAME","number":1},{"name":"UNKNOWNCREDENTIALTYPE","number":2}]},{"name":"CredentialType","value":[{"name":"UNKNOWN_CREDENTIAL_TYPE","number":0},{"name":"WINDOWS","number":1},{"name":"SNMP_V1","number":2},{"name":"SNMP_V2","number":3},{"name":"SNMP_V3","number":4},{"name":"SSH","number":5},{"name":"SSH_CERTIFICATE","number":6},{"name":"SCCM","number":7},{"name":"AD","number":8}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.CredentialResponse"},"sourceCodeInfo":{"location":[{"span":[0,0,71,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,56]},{"path":[8],"span":[4,0,34]},{"path":[8,10],"span":[4,0,34]},{"path":[8],"span":[6,0,80]},{"path":[8,37],"span":[6,0,80]},{"path":[8],"span":[7,0,37]},{"path":[8,11],"span":[7,0,37]},{"path":[3,0],"span":[9,0,41]},{"path":[3,1],"span":[10,0,40]},{"path":[5,0],"span":[12,0,19,1]},{"path":[5,0,1],"span":[12,5,14]},{"path":[5,0,2,0],"span":[13,2,11]},{"path":[5,0,2,0,1],"span":[13,2,6]},{"path":[5,0,2,0,2],"span":[13,9,10]},{"path":[5,0,2,1],"span":[14,2,33]},{"path":[5,0,2,1,1],"span":[14,2,8]},{"path":[5,0,2,1,2],"span":[14,11,12]},{"path":[5,0,2,1,3],"span":[14,13,32]},{"path":[5,0,2,1,3,1],"span":[14,14,31]},{"path":[5,0,2,2],"span":[15,2,33]},{"path":[5,0,2,2,1],"span":[15,2,8]},{"path":[5,0,2,2,2],"span":[15,11,12]},{"path":[5,0,2,2,3],"span":[15,13,32]},{"path":[5,0,2,2,3,1],"span":[15,14,31]},{"path":[5,0,2,3],"span":[16,2,13]},{"path":[5,0,2,3,1],"span":[16,2,8]},{"path":[5,0,2,3,2],"span":[16,11,12]},{"path":[5,0,2,4],"span":[17,2,13]},{"path":[5,0,2,4,1],"span":[17,2,8]},{"path":[5,0,2,4,2],"span":[17,11,12]},{"path":[5,0,2,5],"span":[18,2,12]},{"path":[5,0,2,5,1],"span":[18,2,7]},{"path":[5,0,2,5,2],"span":[18,10,11]},{"path":[5,1],"span":[21,0,25,1]},{"path":[5,1,1],"span":[21,5,11]},{"path":[5,1,2,0],"span":[22,2,14]},{"path":[5,1,2,0,1],"span":[22,2,9]},{"path":[5,1,2,0,2],"span":[22,12,13]},{"path":[5,1,2,1],"span":[23,2,21]},{"path":[5,1,2,1,1],"span":[23,2,16]},{"path":[5,1,2,1,2],"span":[23,19,20]},{"path":[5,1,2,2],"span":[24,2,28]},{"path":[5,1,2,2,1],"span":[24,2,23]},{"path":[5,1,2,2,2],"span":[24,26,27]},{"path":[4,0],"span":[27,0,35,1]},{"path":[4,0,1],"span":[27,8,26]},{"path":[4,0,2,0],"span":[28,2,23]},{"path":[4,0,2,0,5],"span":[28,2,8]},{"path":[4,0,2,0,1],"span":[28,9,18]},{"path":[4,0,2,0,3],"span":[28,21,22]},{"path":[4,0,2,1],"span":[29,2,27]},{"path":[4,0,2,1,5],"span":[29,2,8]},{"path":[4,0,2,1,1],"span":[29,9,22]},{"path":[4,0,2,1,3],"span":[29,25,26]},{"path":[4,0,2,2],"span":[30,2,26]},{"path":[4,0,2,2,6],"span":[30,2,11]},{"path":[4,0,2,2,1],"span":[30,12,21]},{"path":[4,0,2,2,3],"span":[30,24,25]},{"path":[4,0,2,3],"span":[31,2,17]},{"path":[4,0,2,3,5],"span":[31,2,6]},{"path":[4,0,2,3,1],"span":[31,7,12]},{"path":[4,0,2,3,3],"span":[31,15,16]},{"path":[4,0,2,4],"span":[32,2,20]},{"path":[4,0,2,4,6],"span":[32,2,8]},{"path":[4,0,2,4,1],"span":[32,9,15]},{"path":[4,0,2,4,3],"span":[32,18,19]},{"path":[4,0,2,5],"span":[33,2,48]},{"path":[4,0,2,5,6],"span":[33,2,29]},{"path":[4,0,2,5,1],"span":[33,30,43]},{"path":[4,0,2,5,3],"span":[33,46,47]},{"path":[4,0,2,6],"span":[34,2,47]},{"path":[4,0,2,6,6],"span":[34,2,27]},{"path":[4,0,2,6,1],"span":[34,28,43]},{"path":[4,0,2,6,3],"span":[34,45,46]},{"path":[4,1],"span":[37,0,39,1]},{"path":[4,1,1],"span":[37,8,31]},{"path":[4,1,2,0],"span":[38,2,66]},{"path":[4,1,2,0,4],"span":[38,2,10]},{"path":[4,1,2,0,6],"span":[38,11,40]},{"path":[4,1,2,0,1],"span":[38,41,61]},{"path":[4,1,2,0,3],"span":[38,64,65]},{"path":[4,2],"span":[41,0,54,1]},{"path":[4,2,1],"span":[41,8,37]},{"path":[4,2,2,0],"span":[42,2,47]},{"path":[4,2,2,0,4],"span":[42,2,10]},{"path":[4,2,2,0,6],"span":[42,11,25]},{"path":[4,2,2,0,1],"span":[42,26,42]},{"path":[4,2,2,0,3],"span":[42,45,46]},{"path":[4,2,2,1],"span":[43,2,26]},{"path":[4,2,2,1,5],"span":[43,2,8]},{"path":[4,2,2,1,1],"span":[43,9,21]},{"path":[4,2,2,1,3],"span":[43,24,25]},{"path":[4,2,2,2],"span":[44,2,16]},{"path":[4,2,2,2,5],"span":[44,2,8]},{"path":[4,2,2,2,1],"span":[44,9,11]},{"path":[4,2,2,2,3],"span":[44,14,15]},{"path":[4,2,2,3],"span":[45,2,55]},{"path":[4,2,2,3,6],"span":[45,2,27]},{"path":[4,2,2,3,1],"span":[45,28,51]},{"path":[4,2,2,3,3],"span":[45,53,54]},{"path":[4,2,2,4],"span":[46,2,35]},{"path":[4,2,2,4,6],"span":[46,2,10]},{"path":[4,2,2,4,1],"span":[46,11,30]},{"path":[4,2,2,4,3],"span":[46,33,34]},{"path":[4,2,2,5],"span":[47,2,26]},{"path":[4,2,2,5,6],"span":[47,2,11]},{"path":[4,2,2,5,1],"span":[47,12,21]},{"path":[4,2,2,5,3],"span":[47,24,25]},{"path":[4,2,2,6],"span":[48,2,21]},{"path":[4,2,2,6,5],"span":[48,2,8]},{"path":[4,2,2,6,1],"span":[48,9,16]},{"path":[4,2,2,6,3],"span":[48,19,20]},{"path":[4,2,2,7],"span":[49,2,17]},{"path":[4,2,2,7,5],"span":[49,2,8]},{"path":[4,2,2,7,1],"span":[49,9,12]},{"path":[4,2,2,7,3],"span":[49,15,16]},{"path":[4,2,2,8],"span":[50,2,19]},{"path":[4,2,2,8,5],"span":[50,2,8]},{"path":[4,2,2,8,1],"span":[50,9,14]},{"path":[4,2,2,8,3],"span":[50,17,18]},{"path":[4,2,2,9],"span":[51,2,18]},{"path":[4,2,2,9,5],"span":[51,2,8]},{"path":[4,2,2,9,1],"span":[51,9,12]},{"path":[4,2,2,9,3],"span":[51,15,17]},{"path":[4,2,2,10],"span":[52,2,22]},{"path":[4,2,2,10,5],"span":[52,2,8]},{"path":[4,2,2,10,1],"span":[52,9,16]},{"path":[4,2,2,10,3],"span":[52,19,21]},{"path":[4,2,2,11],"span":[53,2,21]},{"path":[4,2,2,11,5],"span":[53,2,8]},{"path":[4,2,2,11,1],"span":[53,9,15]},{"path":[4,2,2,11,3],"span":[53,18,20]},{"path":[4,3],"span":[56,0,59,1]},{"path":[4,3,1],"span":[56,8,16]},{"path":[4,3,2,0],"span":[57,2,24]},{"path":[4,3,2,0,5],"span":[57,2,8]},{"path":[4,3,2,0,1],"span":[57,9,19]},{"path":[4,3,2,0,3],"span":[57,22,23]},{"path":[4,3,2,1],"span":[58,2,25]},{"path":[4,3,2,1,5],"span":[58,2,8]},{"path":[4,3,2,1,1],"span":[58,9,20]},{"path":[4,3,2,1,3],"span":[58,23,24]},{"path":[5,2],"span":[61,0,71,1]},{"path":[5,2,1],"span":[61,5,19]},{"path":[5,2,2,0],"span":[62,2,30]},{"path":[5,2,2,0,1],"span":[62,2,25]},{"path":[5,2,2,0,2],"span":[62,28,29]},{"path":[5,2,2,1],"span":[63,2,14]},{"path":[5,2,2,1,1],"span":[63,2,9]},{"path":[5,2,2,1,2],"span":[63,12,13]},{"path":[5,2,2,2],"span":[64,2,14]},{"path":[5,2,2,2,1],"span":[64,2,9]},{"path":[5,2,2,2,2],"span":[64,12,13]},{"path":[5,2,2,3],"span":[65,2,14]},{"path":[5,2,2,3,1],"span":[65,2,9]},{"path":[5,2,2,3,2],"span":[65,12,13]},{"path":[5,2,2,4],"span":[66,2,14]},{"path":[5,2,2,4,1],"span":[66,2,9]},{"path":[5,2,2,4,2],"span":[66,12,13]},{"path":[5,2,2,5],"span":[67,2,10]},{"path":[5,2,2,5,1],"span":[67,2,5]},{"path":[5,2,2,5,2],"span":[67,8,9]},{"path":[5,2,2,6],"span":[68,2,22]},{"path":[5,2,2,6,1],"span":[68,2,17]},{"path":[5,2,2,6,2],"span":[68,20,21]},{"path":[5,2,2,7],"span":[69,2,11]},{"path":[5,2,2,7,1],"span":[69,2,6]},{"path":[5,2,2,7,2],"span":[69,9,10]},{"path":[5,2,2,8],"span":[70,2,9]},{"path":[5,2,2,8,1],"span":[70,2,4]},{"path":[5,2,2,8,2],"span":[70,7,8]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}},{"name":"discovery_hub.proto","package":"com.lansweeper.discovery.hub.v1","dependency":["google/protobuf/timestamp.proto","google/protobuf/any.proto","google/protobuf/wrappers.proto"],"messageType":[{"name":"Header","field":[{"name":"entity_name","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entityName"},{"name":"entity_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entityId"},{"name":"properties_changed","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"propertiesChanged"},{"name":"last_synced","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"lastSynced"},{"name":"action","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.hub.v1.Action","jsonName":"action"}]},{"name":"Entity","field":[{"name":"header","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.hub.v1.Header","jsonName":"header"},{"name":"body","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Any","jsonName":"body"}]},{"name":"EncryptedPacket","field":[{"name":"encrypted_session_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"encryptedSessionKey"},{"name":"encrypted_data","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"encryptedData"},{"name":"initialization_vector","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"initializationVector"},{"name":"signature_hmac","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"signatureHmac"},{"name":"signature","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"signature"}]}],"enumType":[{"name":"Action","value":[{"name":"NONE","number":0},{"name":"INSERT","number":1},{"name":"UPDATE","number":2},{"name":"DELETE","number":3}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.Hub"},"sourceCodeInfo":{"location":[{"span":[0,0,40,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,40]},{"path":[8],"span":[4,0,34]},{"path":[8,10],"span":[4,0,34]},{"path":[8],"span":[6,0,65]},{"path":[8,37],"span":[6,0,65]},{"path":[8],"span":[7,0,37]},{"path":[8,11],"span":[7,0,37]},{"path":[3,0],"span":[9,0,41]},{"path":[3,1],"span":[10,0,35]},{"path":[3,2],"span":[11,0,40]},{"path":[5,0],"span":[13,0,18,1]},{"path":[5,0,1],"span":[13,5,11]},{"path":[5,0,2,0],"span":[14,2,11]},{"path":[5,0,2,0,1],"span":[14,2,6]},{"path":[5,0,2,0,2],"span":[14,9,10]},{"path":[5,0,2,1],"span":[15,2,13]},{"path":[5,0,2,1,1],"span":[15,2,8]},{"path":[5,0,2,1,2],"span":[15,11,12]},{"path":[5,0,2,2],"span":[16,2,13]},{"path":[5,0,2,2,1],"span":[16,2,8]},{"path":[5,0,2,2,2],"span":[16,11,12]},{"path":[5,0,2,3],"span":[17,2,13]},{"path":[5,0,2,3,1],"span":[17,2,8]},{"path":[5,0,2,3,2],"span":[17,11,12]},{"path":[4,0],"span":[20,0,26,1]},{"path":[4,0,1],"span":[20,8,14]},{"path":[4,0,2,0],"span":[21,2,25],"trailingComments":" \"Device\", \"ApiScan\"\n"},{"path":[4,0,2,0,5],"span":[21,2,8]},{"path":[4,0,2,0,1],"span":[21,9,20]},{"path":[4,0,2,0,3],"span":[21,23,24]},{"path":[4,0,2,1],"span":[22,2,23]},{"path":[4,0,2,1,5],"span":[22,2,8]},{"path":[4,0,2,1,1],"span":[22,9,18]},{"path":[4,0,2,1,3],"span":[22,21,22]},{"path":[4,0,2,2],"span":[23,2,41]},{"path":[4,0,2,2,4],"span":[23,2,10]},{"path":[4,0,2,2,5],"span":[23,11,17]},{"path":[4,0,2,2,1],"span":[23,18,36]},{"path":[4,0,2,2,3],"span":[23,39,40]},{"path":[4,0,2,3],"span":[24,2,44]},{"path":[4,0,2,3,6],"span":[24,2,27]},{"path":[4,0,2,3,1],"span":[24,28,39]},{"path":[4,0,2,3,3],"span":[24,42,43]},{"path":[4,0,2,4],"span":[25,2,20]},{"path":[4,0,2,4,6],"span":[25,2,8]},{"path":[4,0,2,4,1],"span":[25,9,15]},{"path":[4,0,2,4,3],"span":[25,18,19]},{"path":[4,1],"span":[29,0,32,1],"leadingComments":" Entity root object "},{"path":[4,1,1],"span":[29,8,14]},{"path":[4,1,2,0],"span":[30,4,22]},{"path":[4,1,2,0,6],"span":[30,4,10]},{"path":[4,1,2,0,1],"span":[30,11,17]},{"path":[4,1,2,0,3],"span":[30,20,21]},{"path":[4,1,2,1],"span":[31,4,33]},{"path":[4,1,2,1,6],"span":[31,4,23]},{"path":[4,1,2,1,1],"span":[31,24,28]},{"path":[4,1,2,1,3],"span":[31,31,32]},{"path":[4,2],"span":[34,0,40,1]},{"path":[4,2,1],"span":[34,8,23]},{"path":[4,2,2,0],"span":[35,2,55]},{"path":[4,2,2,0,6],"span":[35,2,28]},{"path":[4,2,2,0,1],"span":[35,29,50]},{"path":[4,2,2,0,3],"span":[35,53,54]},{"path":[4,2,2,1],"span":[36,2,48]},{"path":[4,2,2,1,6],"span":[36,2,28]},{"path":[4,2,2,1,1],"span":[36,29,43]},{"path":[4,2,2,1,3],"span":[36,46,47]},{"path":[4,2,2,2],"span":[37,2,55]},{"path":[4,2,2,2,6],"span":[37,2,28]},{"path":[4,2,2,2,1],"span":[37,29,50]},{"path":[4,2,2,2,3],"span":[37,53,54]},{"path":[4,2,2,3],"span":[38,2,48]},{"path":[4,2,2,3,6],"span":[38,2,28]},{"path":[4,2,2,3,1],"span":[38,29,43]},{"path":[4,2,2,3,3],"span":[38,46,47]},{"path":[4,2,2,4],"span":[39,2,43]},{"path":[4,2,2,4,6],"span":[39,2,28]},{"path":[4,2,2,4,1],"span":[39,29,38]},{"path":[4,2,2,4,3],"span":[39,41,42]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
1
+ {"file":[{"name":"google/protobuf/wrappers.proto","package":"google.protobuf","messageType":[{"name":"DoubleValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_DOUBLE","jsonName":"value"}]},{"name":"FloatValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_FLOAT","jsonName":"value"}]},{"name":"Int64Value","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT64","jsonName":"value"}]},{"name":"UInt64Value","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_UINT64","jsonName":"value"}]},{"name":"Int32Value","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"value"}]},{"name":"UInt32Value","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_UINT32","jsonName":"value"}]},{"name":"BoolValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"value"}]},{"name":"StringValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"value"}]},{"name":"BytesValue","field":[{"name":"value","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_BYTES","jsonName":"value"}]}],"options":{"javaPackage":"com.google.protobuf","javaOuterClassname":"WrappersProto","javaMultipleFiles":true,"goPackage":"google.golang.org/protobuf/types/known/wrapperspb","ccEnableArenas":true,"objcClassPrefix":"GPB","csharpNamespace":"Google.Protobuf.WellKnownTypes"},"sourceCodeInfo":{"location":[{"span":[40,0,122,1]},{"path":[12],"span":[40,0,18],"leadingDetachedComments":[" Protocol Buffers - Google's data interchange format\n Copyright 2008 Google Inc. All rights reserved.\n https://developers.google.com/protocol-buffers/\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following disclaimer\n in the documentation and/or other materials provided with the\n distribution.\n * Neither the name of Google Inc. nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"," Wrappers for primitive (non-message) types. These types are useful\n for embedding primitives in the `google.protobuf.Any` type and for places\n where we need to distinguish between the absence of a primitive\n typed field and its default value.\n\n These wrappers have no meaningful use within repeated fields as they lack\n the ability to detect presence on individual elements.\n These wrappers have no meaningful use within a map or a oneof since\n individual entries of a map or fields of a oneof can already detect presence.\n"]},{"path":[2],"span":[42,0,24]},{"path":[8],"span":[44,0,59]},{"path":[8,37],"span":[44,0,59]},{"path":[8],"span":[45,0,31]},{"path":[8,31],"span":[45,0,31]},{"path":[8],"span":[46,0,72]},{"path":[8,11],"span":[46,0,72]},{"path":[8],"span":[47,0,44]},{"path":[8,1],"span":[47,0,44]},{"path":[8],"span":[48,0,46]},{"path":[8,8],"span":[48,0,46]},{"path":[8],"span":[49,0,34]},{"path":[8,10],"span":[49,0,34]},{"path":[8],"span":[50,0,33]},{"path":[8,36],"span":[50,0,33]},{"path":[4,0],"span":[55,0,58,1],"leadingComments":" Wrapper message for `double`.\n\n The JSON representation for `DoubleValue` is JSON number.\n"},{"path":[4,0,1],"span":[55,8,19]},{"path":[4,0,2,0],"span":[57,2,19],"leadingComments":" The double value.\n"},{"path":[4,0,2,0,5],"span":[57,2,8]},{"path":[4,0,2,0,1],"span":[57,9,14]},{"path":[4,0,2,0,3],"span":[57,17,18]},{"path":[4,1],"span":[63,0,66,1],"leadingComments":" Wrapper message for `float`.\n\n The JSON representation for `FloatValue` is JSON number.\n"},{"path":[4,1,1],"span":[63,8,18]},{"path":[4,1,2,0],"span":[65,2,18],"leadingComments":" The float value.\n"},{"path":[4,1,2,0,5],"span":[65,2,7]},{"path":[4,1,2,0,1],"span":[65,8,13]},{"path":[4,1,2,0,3],"span":[65,16,17]},{"path":[4,2],"span":[71,0,74,1],"leadingComments":" Wrapper message for `int64`.\n\n The JSON representation for `Int64Value` is JSON string.\n"},{"path":[4,2,1],"span":[71,8,18]},{"path":[4,2,2,0],"span":[73,2,18],"leadingComments":" The int64 value.\n"},{"path":[4,2,2,0,5],"span":[73,2,7]},{"path":[4,2,2,0,1],"span":[73,8,13]},{"path":[4,2,2,0,3],"span":[73,16,17]},{"path":[4,3],"span":[79,0,82,1],"leadingComments":" Wrapper message for `uint64`.\n\n The JSON representation for `UInt64Value` is JSON string.\n"},{"path":[4,3,1],"span":[79,8,19]},{"path":[4,3,2,0],"span":[81,2,19],"leadingComments":" The uint64 value.\n"},{"path":[4,3,2,0,5],"span":[81,2,8]},{"path":[4,3,2,0,1],"span":[81,9,14]},{"path":[4,3,2,0,3],"span":[81,17,18]},{"path":[4,4],"span":[87,0,90,1],"leadingComments":" Wrapper message for `int32`.\n\n The JSON representation for `Int32Value` is JSON number.\n"},{"path":[4,4,1],"span":[87,8,18]},{"path":[4,4,2,0],"span":[89,2,18],"leadingComments":" The int32 value.\n"},{"path":[4,4,2,0,5],"span":[89,2,7]},{"path":[4,4,2,0,1],"span":[89,8,13]},{"path":[4,4,2,0,3],"span":[89,16,17]},{"path":[4,5],"span":[95,0,98,1],"leadingComments":" Wrapper message for `uint32`.\n\n The JSON representation for `UInt32Value` is JSON number.\n"},{"path":[4,5,1],"span":[95,8,19]},{"path":[4,5,2,0],"span":[97,2,19],"leadingComments":" The uint32 value.\n"},{"path":[4,5,2,0,5],"span":[97,2,8]},{"path":[4,5,2,0,1],"span":[97,9,14]},{"path":[4,5,2,0,3],"span":[97,17,18]},{"path":[4,6],"span":[103,0,106,1],"leadingComments":" Wrapper message for `bool`.\n\n The JSON representation for `BoolValue` is JSON `true` and `false`.\n"},{"path":[4,6,1],"span":[103,8,17]},{"path":[4,6,2,0],"span":[105,2,17],"leadingComments":" The bool value.\n"},{"path":[4,6,2,0,5],"span":[105,2,6]},{"path":[4,6,2,0,1],"span":[105,7,12]},{"path":[4,6,2,0,3],"span":[105,15,16]},{"path":[4,7],"span":[111,0,114,1],"leadingComments":" Wrapper message for `string`.\n\n The JSON representation for `StringValue` is JSON string.\n"},{"path":[4,7,1],"span":[111,8,19]},{"path":[4,7,2,0],"span":[113,2,19],"leadingComments":" The string value.\n"},{"path":[4,7,2,0,5],"span":[113,2,8]},{"path":[4,7,2,0,1],"span":[113,9,14]},{"path":[4,7,2,0,3],"span":[113,17,18]},{"path":[4,8],"span":[119,0,122,1],"leadingComments":" Wrapper message for `bytes`.\n\n The JSON representation for `BytesValue` is JSON string.\n"},{"path":[4,8,1],"span":[119,8,18]},{"path":[4,8,2,0],"span":[121,2,18],"leadingComments":" The bytes value.\n"},{"path":[4,8,2,0,5],"span":[121,2,7]},{"path":[4,8,2,0,1],"span":[121,8,13]},{"path":[4,8,2,0,3],"span":[121,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":true,"isSyntaxUnspecified":false}},{"name":"google/protobuf/timestamp.proto","package":"google.protobuf","messageType":[{"name":"Timestamp","field":[{"name":"seconds","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT64","jsonName":"seconds"},{"name":"nanos","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"nanos"}]}],"options":{"javaPackage":"com.google.protobuf","javaOuterClassname":"TimestampProto","javaMultipleFiles":true,"goPackage":"google.golang.org/protobuf/types/known/timestamppb","ccEnableArenas":true,"objcClassPrefix":"GPB","csharpNamespace":"Google.Protobuf.WellKnownTypes"},"sourceCodeInfo":{"location":[{"span":[30,0,146,1]},{"path":[12],"span":[30,0,18],"leadingDetachedComments":[" Protocol Buffers - Google's data interchange format\n Copyright 2008 Google Inc. All rights reserved.\n https://developers.google.com/protocol-buffers/\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following disclaimer\n in the documentation and/or other materials provided with the\n distribution.\n * Neither the name of Google Inc. nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"]},{"path":[2],"span":[32,0,24]},{"path":[8],"span":[34,0,59]},{"path":[8,37],"span":[34,0,59]},{"path":[8],"span":[35,0,31]},{"path":[8,31],"span":[35,0,31]},{"path":[8],"span":[36,0,73]},{"path":[8,11],"span":[36,0,73]},{"path":[8],"span":[37,0,44]},{"path":[8,1],"span":[37,0,44]},{"path":[8],"span":[38,0,47]},{"path":[8,8],"span":[38,0,47]},{"path":[8],"span":[39,0,34]},{"path":[8,10],"span":[39,0,34]},{"path":[8],"span":[40,0,33]},{"path":[8,36],"span":[40,0,33]},{"path":[4,0],"span":[135,0,146,1],"leadingComments":" A Timestamp represents a point in time independent of any time zone or local\n calendar, encoded as a count of seconds and fractions of seconds at\n nanosecond resolution. The count is relative to an epoch at UTC midnight on\n January 1, 1970, in the proleptic Gregorian calendar which extends the\n Gregorian calendar backwards to year one.\n\n All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap\n second table is needed for interpretation, using a [24-hour linear\n smear](https://developers.google.com/time/smear).\n\n The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By\n restricting to that range, we ensure that we can convert to and from [RFC\n 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.\n\n # Examples\n\n Example 1: Compute Timestamp from POSIX `time()`.\n\n Timestamp timestamp;\n timestamp.set_seconds(time(NULL));\n timestamp.set_nanos(0);\n\n Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n\n struct timeval tv;\n gettimeofday(&tv, NULL);\n\n Timestamp timestamp;\n timestamp.set_seconds(tv.tv_sec);\n timestamp.set_nanos(tv.tv_usec * 1000);\n\n Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n\n FILETIME ft;\n GetSystemTimeAsFileTime(&ft);\n UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n\n // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n Timestamp timestamp;\n timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n\n Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n\n long millis = System.currentTimeMillis();\n\n Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n .setNanos((int) ((millis % 1000) * 1000000)).build();\n\n\n Example 5: Compute Timestamp from Java `Instant.now()`.\n\n Instant now = Instant.now();\n\n Timestamp timestamp =\n Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n .setNanos(now.getNano()).build();\n\n\n Example 6: Compute Timestamp from current time in Python.\n\n timestamp = Timestamp()\n timestamp.GetCurrentTime()\n\n # JSON Mapping\n\n In JSON format, the Timestamp type is encoded as a string in the\n [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\"\n where {year} is always expressed using four digits while {month}, {day},\n {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional\n seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),\n are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n is required. A proto3 JSON serializer should always use UTC (as indicated by\n \"Z\") when printing the Timestamp type and a proto3 JSON parser should be\n able to accept both UTC and other timezones (as indicated by an offset).\n\n For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past\n 01:30 UTC on January 15, 2017.\n\n In JavaScript, one can convert a Date object to this format using the\n standard\n [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n method. In Python, a standard `datetime.datetime` object can be converted\n to this format using\n [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\n the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\n the Joda Time's [`ISODateTimeFormat.dateTime()`](\n http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D\n ) to obtain a formatter capable of generating timestamps in this format.\n\n\n"},{"path":[4,0,1],"span":[135,8,17]},{"path":[4,0,2,0],"span":[139,2,20],"leadingComments":" Represents seconds of UTC time since Unix epoch\n 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n 9999-12-31T23:59:59Z inclusive.\n"},{"path":[4,0,2,0,5],"span":[139,2,7]},{"path":[4,0,2,0,1],"span":[139,8,15]},{"path":[4,0,2,0,3],"span":[139,18,19]},{"path":[4,0,2,1],"span":[145,2,18],"leadingComments":" Non-negative fractions of a second at nanosecond resolution. Negative\n second values with fractions must still have non-negative nanos values\n that count forward in time. Must be from 0 to 999,999,999\n inclusive.\n"},{"path":[4,0,2,1,5],"span":[145,2,7]},{"path":[4,0,2,1,1],"span":[145,8,13]},{"path":[4,0,2,1,3],"span":[145,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":true,"isSyntaxUnspecified":false}},{"name":"google/protobuf/any.proto","package":"google.protobuf","messageType":[{"name":"Any","field":[{"name":"type_url","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"typeUrl"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_BYTES","jsonName":"value"}]}],"options":{"javaPackage":"com.google.protobuf","javaOuterClassname":"AnyProto","javaMultipleFiles":true,"goPackage":"google.golang.org/protobuf/types/known/anypb","objcClassPrefix":"GPB","csharpNamespace":"Google.Protobuf.WellKnownTypes"},"sourceCodeInfo":{"location":[{"span":[30,0,157,1]},{"path":[12],"span":[30,0,18],"leadingDetachedComments":[" Protocol Buffers - Google's data interchange format\n Copyright 2008 Google Inc. All rights reserved.\n https://developers.google.com/protocol-buffers/\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following disclaimer\n in the documentation and/or other materials provided with the\n distribution.\n * Neither the name of Google Inc. nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"]},{"path":[2],"span":[32,0,24]},{"path":[8],"span":[34,0,59]},{"path":[8,37],"span":[34,0,59]},{"path":[8],"span":[35,0,67]},{"path":[8,11],"span":[35,0,67]},{"path":[8],"span":[36,0,44]},{"path":[8,1],"span":[36,0,44]},{"path":[8],"span":[37,0,41]},{"path":[8,8],"span":[37,0,41]},{"path":[8],"span":[38,0,34]},{"path":[8,10],"span":[38,0,34]},{"path":[8],"span":[39,0,33]},{"path":[8,36],"span":[39,0,33]},{"path":[4,0],"span":[124,0,157,1],"leadingComments":" `Any` contains an arbitrary serialized protocol buffer message along with a\n URL that describes the type of the serialized message.\n\n Protobuf library provides support to pack/unpack Any values in the form\n of utility functions or additional generated methods of the Any type.\n\n Example 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\n Example 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\n The pack methods provided by protobuf library will by default use\n 'type.googleapis.com/full.type.name' as the type URL and the unpack\n methods only use the fully qualified type name after the last '/'\n in the type URL, for example \"foo.bar.com/x/y.z\" will yield type\n name \"y.z\".\n\n\n JSON\n ====\n The JSON representation of an `Any` value uses the regular\n representation of the deserialized, embedded message, with an\n additional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": <string>,\n \"lastName\": <string>\n }\n\n If the embedded message type is well-known and has a custom JSON\n representation, that representation will be embedded adding a field\n `value` which holds the custom JSON in addition to the `@type`\n field. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }\n\n"},{"path":[4,0,1],"span":[124,8,11]},{"path":[4,0,2,0],"span":[153,2,22],"leadingComments":" A URL/resource name that uniquely identifies the type of the serialized\n protocol buffer message. This string must contain at least\n one \"/\" character. The last segment of the URL's path must represent\n the fully qualified name of the type (as in\n `path/google.protobuf.Duration`). The name should be in a canonical form\n (e.g., leading \".\" is not accepted).\n\n In practice, teams usually precompile into the binary all types that they\n expect it to use in the context of Any. However, for URLs which use the\n scheme `http`, `https`, or no scheme, one can optionally set up a type\n server that maps type URLs to message definitions as follows:\n\n * If no scheme is provided, `https` is assumed.\n * An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n * Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\n Note: this functionality is not currently available in the official\n protobuf release, and it is not used for type URLs beginning with\n type.googleapis.com.\n\n Schemes other than `http`, `https` (or the empty scheme) might be\n used with implementation specific semantics.\n\n"},{"path":[4,0,2,0,5],"span":[153,2,8]},{"path":[4,0,2,0,1],"span":[153,9,17]},{"path":[4,0,2,0,3],"span":[153,20,21]},{"path":[4,0,2,1],"span":[156,2,18],"leadingComments":" Must be a valid serialized protocol buffer of the above specified type.\n"},{"path":[4,0,2,1,5],"span":[156,2,7]},{"path":[4,0,2,1,1],"span":[156,8,13]},{"path":[4,0,2,1,3],"span":[156,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":true,"isSyntaxUnspecified":false}},{"name":"discovery_device.proto","package":"com.lansweeper.discovery.device.v1","dependency":["google/protobuf/timestamp.proto","google/protobuf/any.proto","google/protobuf/wrappers.proto"],"messageType":[{"name":"Device","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"sensor_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sensorId"},{"name":"device_name","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"deviceName"},{"name":"ip_address","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"ipAddress"},{"name":"mac","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"mac"},{"name":"is_mac_locally_administered","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"isMacLocallyAdministered"},{"name":"mac_vendor","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"macVendor"},{"name":"brand","number":8,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"brand"},{"name":"model","number":9,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"model"},{"name":"os_name","number":10,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"osName"},{"name":"os_build","number":11,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"osBuild"},{"name":"os_version","number":12,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"osVersion"},{"name":"type","number":13,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"type"},{"name":"type_name","number":14,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"typeName"},{"name":"type_group_name","number":15,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"typeGroupName"},{"name":"is_family","number":16,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"isFamily"},{"name":"recognition_type","number":17,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"recognitionType"},{"name":"rank","number":18,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"rank"},{"name":"serial","number":19,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"serial"},{"name":"type_id","number":20,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"typeId"},{"name":"brand_id","number":21,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"brandId"},{"name":"model_id","number":22,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"modelId"},{"name":"os_id","number":23,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int32Value","jsonName":"osId"},{"name":"hw_cpe","number":24,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"hwCpe"},{"name":"fw_cpe","number":25,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"fwCpe"},{"name":"os_cpe","number":26,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"osCpe"},{"name":"fingerprints","number":27,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Any","jsonName":"fingerprints"},{"name":"scan","number":28,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.Scan","oneofIndex":0,"jsonName":"scan","proto3Optional":true},{"name":"scan_server_name","number":29,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"scanServerName"},{"name":"scan_type","number":30,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"scanType"},{"name":"is_local_scan","number":31,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"isLocalScan"}],"oneofDecl":[{"name":"_scan"}]},{"name":"Scan","field":[{"name":"sections","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.ScanSection","jsonName":"sections"},{"name":"credentials","number":2,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.UsedCredential","jsonName":"credentials"},{"name":"action_id","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"actionId"}]},{"name":"UsedCredential","field":[{"name":"vault_type","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"vaultType"},{"name":"vault_name","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"vaultName"},{"name":"name","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"name"},{"name":"is_success","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"isSuccess"},{"name":"cloud_id","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","oneofIndex":0,"jsonName":"cloudId","proto3Optional":true}],"oneofDecl":[{"name":"_cloud_id"}]},{"name":"ScanSection","field":[{"name":"section_header","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.ScanSectionHeader","jsonName":"sectionHeader"},{"name":"section_body","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Any","jsonName":"sectionBody"}]},{"name":"ScanSectionHeader","field":[{"name":"key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"key"},{"name":"name","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"name"},{"name":"source","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"source"},{"name":"scan_time","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"scanTime"},{"name":"duration","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Int64Value","jsonName":"duration"},{"name":"errors","number":6,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"errors"},{"name":"success","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BoolValue","jsonName":"success"},{"name":"hash","number":8,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.Hash","oneofIndex":0,"jsonName":"hash","proto3Optional":true},{"name":"timezone","number":9,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"timezone"}],"oneofDecl":[{"name":"_hash"}]},{"name":"Hash","field":[{"name":"algorithm","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"algorithm"},{"name":"value","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_BYTES","jsonName":"value"}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.Hub"},"sourceCodeInfo":{"location":[{"span":[0,0,81,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,43]},{"path":[8],"span":[4,0,34]},{"path":[8,10],"span":[4,0,34]},{"path":[8],"span":[5,0,65]},{"path":[8,37],"span":[5,0,65]},{"path":[8],"span":[6,0,37]},{"path":[8,11],"span":[6,0,37]},{"path":[3,0],"span":[8,0,41]},{"path":[3,1],"span":[9,0,35]},{"path":[3,2],"span":[10,0,40]},{"path":[4,0],"span":[13,0,45,1],"leadingComments":" Device root object "},{"path":[4,0,1],"span":[13,8,14]},{"path":[4,0,2,0],"span":[14,8,22]},{"path":[4,0,2,0,5],"span":[14,8,14]},{"path":[4,0,2,0,1],"span":[14,15,17]},{"path":[4,0,2,0,3],"span":[14,20,21]},{"path":[4,0,2,1],"span":[15,8,29]},{"path":[4,0,2,1,5],"span":[15,8,14]},{"path":[4,0,2,1,1],"span":[15,15,24]},{"path":[4,0,2,1,3],"span":[15,27,28]},{"path":[4,0,2,2],"span":[16,8,52]},{"path":[4,0,2,2,6],"span":[16,8,35]},{"path":[4,0,2,2,1],"span":[16,36,47]},{"path":[4,0,2,2,3],"span":[16,50,51]},{"path":[4,0,2,3],"span":[17,8,51]},{"path":[4,0,2,3,6],"span":[17,8,35]},{"path":[4,0,2,3,1],"span":[17,36,46]},{"path":[4,0,2,3,3],"span":[17,49,50]},{"path":[4,0,2,4],"span":[18,8,44]},{"path":[4,0,2,4,6],"span":[18,8,35]},{"path":[4,0,2,4,1],"span":[18,36,39]},{"path":[4,0,2,4,3],"span":[18,42,43]},{"path":[4,0,2,5],"span":[19,8,66]},{"path":[4,0,2,5,6],"span":[19,8,33]},{"path":[4,0,2,5,1],"span":[19,34,61]},{"path":[4,0,2,5,3],"span":[19,64,65]},{"path":[4,0,2,6],"span":[20,8,51]},{"path":[4,0,2,6,6],"span":[20,8,35]},{"path":[4,0,2,6,1],"span":[20,36,46]},{"path":[4,0,2,6,3],"span":[20,49,50]},{"path":[4,0,2,7],"span":[21,8,46]},{"path":[4,0,2,7,6],"span":[21,8,35]},{"path":[4,0,2,7,1],"span":[21,36,41]},{"path":[4,0,2,7,3],"span":[21,44,45]},{"path":[4,0,2,8],"span":[22,8,46]},{"path":[4,0,2,8,6],"span":[22,8,35]},{"path":[4,0,2,8,1],"span":[22,36,41]},{"path":[4,0,2,8,3],"span":[22,44,45]},{"path":[4,0,2,9],"span":[23,8,49]},{"path":[4,0,2,9,6],"span":[23,8,35]},{"path":[4,0,2,9,1],"span":[23,36,43]},{"path":[4,0,2,9,3],"span":[23,46,48]},{"path":[4,0,2,10],"span":[24,8,50]},{"path":[4,0,2,10,6],"span":[24,8,35]},{"path":[4,0,2,10,1],"span":[24,36,44]},{"path":[4,0,2,10,3],"span":[24,47,49]},{"path":[4,0,2,11],"span":[25,8,52]},{"path":[4,0,2,11,6],"span":[25,8,35]},{"path":[4,0,2,11,1],"span":[25,36,46]},{"path":[4,0,2,11,3],"span":[25,49,51]},{"path":[4,0,2,12],"span":[26,8,46]},{"path":[4,0,2,12,6],"span":[26,8,35]},{"path":[4,0,2,12,1],"span":[26,36,40]},{"path":[4,0,2,12,3],"span":[26,43,45]},{"path":[4,0,2,13],"span":[27,8,51]},{"path":[4,0,2,13,6],"span":[27,8,35]},{"path":[4,0,2,13,1],"span":[27,36,45]},{"path":[4,0,2,13,3],"span":[27,48,50]},{"path":[4,0,2,14],"span":[28,8,57]},{"path":[4,0,2,14,6],"span":[28,8,35]},{"path":[4,0,2,14,1],"span":[28,36,51]},{"path":[4,0,2,14,3],"span":[28,54,56]},{"path":[4,0,2,15],"span":[29,8,49]},{"path":[4,0,2,15,6],"span":[29,8,33]},{"path":[4,0,2,15,1],"span":[29,34,43]},{"path":[4,0,2,15,3],"span":[29,46,48]},{"path":[4,0,2,16],"span":[30,8,58]},{"path":[4,0,2,16,6],"span":[30,8,35]},{"path":[4,0,2,16,1],"span":[30,36,52]},{"path":[4,0,2,16,3],"span":[30,55,57]},{"path":[4,0,2,17],"span":[31,8,45]},{"path":[4,0,2,17,6],"span":[31,8,34]},{"path":[4,0,2,17,1],"span":[31,35,39]},{"path":[4,0,2,17,3],"span":[31,42,44]},{"path":[4,0,2,18],"span":[32,8,48]},{"path":[4,0,2,18,6],"span":[32,8,35]},{"path":[4,0,2,18,1],"span":[32,36,42]},{"path":[4,0,2,18,3],"span":[32,45,47]},{"path":[4,0,2,19],"span":[33,8,48]},{"path":[4,0,2,19,6],"span":[33,8,34]},{"path":[4,0,2,19,1],"span":[33,35,42]},{"path":[4,0,2,19,3],"span":[33,45,47]},{"path":[4,0,2,20],"span":[34,8,49]},{"path":[4,0,2,20,6],"span":[34,8,34]},{"path":[4,0,2,20,1],"span":[34,35,43]},{"path":[4,0,2,20,3],"span":[34,46,48]},{"path":[4,0,2,21],"span":[35,8,49]},{"path":[4,0,2,21,6],"span":[35,8,34]},{"path":[4,0,2,21,1],"span":[35,35,43]},{"path":[4,0,2,21,3],"span":[35,46,48]},{"path":[4,0,2,22],"span":[36,8,46]},{"path":[4,0,2,22,6],"span":[36,8,34]},{"path":[4,0,2,22,1],"span":[36,35,40]},{"path":[4,0,2,22,3],"span":[36,43,45]},{"path":[4,0,2,23],"span":[37,8,48]},{"path":[4,0,2,23,6],"span":[37,8,35]},{"path":[4,0,2,23,1],"span":[37,36,42]},{"path":[4,0,2,23,3],"span":[37,45,47]},{"path":[4,0,2,24],"span":[38,8,48]},{"path":[4,0,2,24,6],"span":[38,8,35]},{"path":[4,0,2,24,1],"span":[38,36,42]},{"path":[4,0,2,24,3],"span":[38,45,47]},{"path":[4,0,2,25],"span":[39,8,48]},{"path":[4,0,2,25,6],"span":[39,8,35]},{"path":[4,0,2,25,1],"span":[39,36,42]},{"path":[4,0,2,25,3],"span":[39,45,47]},{"path":[4,0,2,26],"span":[40,8,46],"trailingComments":" CDR fingerprints in a DevRecogInputDevice, as defined in data.platform\\fingerprints\\grpc\\proto\\fingerprints.proto wrapped in an Any-proto\n"},{"path":[4,0,2,26,6],"span":[40,8,27]},{"path":[4,0,2,26,1],"span":[40,28,40]},{"path":[4,0,2,26,3],"span":[40,43,45]},{"path":[4,0,2,27],"span":[41,8,32]},{"path":[4,0,2,27,4],"span":[41,8,16]},{"path":[4,0,2,27,6],"span":[41,17,21]},{"path":[4,0,2,27,1],"span":[41,22,26]},{"path":[4,0,2,27,3],"span":[41,29,31]},{"path":[4,0,2,28],"span":[42,8,58]},{"path":[4,0,2,28,6],"span":[42,8,35]},{"path":[4,0,2,28,1],"span":[42,36,52]},{"path":[4,0,2,28,3],"span":[42,55,57]},{"path":[4,0,2,29],"span":[43,8,51],"trailingComments":" quick, deep, local, etc...\n"},{"path":[4,0,2,29,6],"span":[43,8,35]},{"path":[4,0,2,29,1],"span":[43,36,45]},{"path":[4,0,2,29,3],"span":[43,48,50]},{"path":[4,0,2,30],"span":[44,8,53],"trailingComments":" true if the scan is computer-local by agent\n"},{"path":[4,0,2,30,6],"span":[44,8,33]},{"path":[4,0,2,30,1],"span":[44,34,47]},{"path":[4,0,2,30,3],"span":[44,50,52]},{"path":[4,1],"span":[47,0,51,1]},{"path":[4,1,1],"span":[47,8,12]},{"path":[4,1,2,0],"span":[48,2,36]},{"path":[4,1,2,0,4],"span":[48,2,10]},{"path":[4,1,2,0,6],"span":[48,11,22]},{"path":[4,1,2,0,1],"span":[48,23,31]},{"path":[4,1,2,0,3],"span":[48,34,35]},{"path":[4,1,2,1],"span":[49,2,42]},{"path":[4,1,2,1,4],"span":[49,2,10]},{"path":[4,1,2,1,6],"span":[49,11,25]},{"path":[4,1,2,1,1],"span":[49,26,37]},{"path":[4,1,2,1,3],"span":[49,40,41]},{"path":[4,1,2,2],"span":[50,2,44],"trailingComments":"Action ID used for (re)scanning\n"},{"path":[4,1,2,2,6],"span":[50,2,29]},{"path":[4,1,2,2,1],"span":[50,30,39]},{"path":[4,1,2,2,3],"span":[50,42,43]},{"path":[4,2],"span":[53,0,59,1]},{"path":[4,2,1],"span":[53,8,22]},{"path":[4,2,2,0],"span":[54,2,45]},{"path":[4,2,2,0,6],"span":[54,2,29]},{"path":[4,2,2,0,1],"span":[54,30,40]},{"path":[4,2,2,0,3],"span":[54,43,44]},{"path":[4,2,2,1],"span":[55,2,45]},{"path":[4,2,2,1,6],"span":[55,2,29]},{"path":[4,2,2,1,1],"span":[55,30,40]},{"path":[4,2,2,1,3],"span":[55,43,44]},{"path":[4,2,2,2],"span":[56,2,39]},{"path":[4,2,2,2,6],"span":[56,2,29]},{"path":[4,2,2,2,1],"span":[56,30,34]},{"path":[4,2,2,2,3],"span":[56,37,38]},{"path":[4,2,2,3],"span":[57,2,43]},{"path":[4,2,2,3,6],"span":[57,2,27]},{"path":[4,2,2,3,1],"span":[57,28,38]},{"path":[4,2,2,3,3],"span":[57,41,42]},{"path":[4,2,2,4],"span":[58,2,52]},{"path":[4,2,2,4,4],"span":[58,2,10]},{"path":[4,2,2,4,6],"span":[58,11,38]},{"path":[4,2,2,4,1],"span":[58,39,47]},{"path":[4,2,2,4,3],"span":[58,50,51]},{"path":[4,3],"span":[61,0,64,1]},{"path":[4,3,1],"span":[61,8,19]},{"path":[4,3,2,0],"span":[62,2,39]},{"path":[4,3,2,0,6],"span":[62,2,19]},{"path":[4,3,2,0,1],"span":[62,20,34]},{"path":[4,3,2,0,3],"span":[62,37,38]},{"path":[4,3,2,1],"span":[63,2,39]},{"path":[4,3,2,1,6],"span":[63,2,21]},{"path":[4,3,2,1,1],"span":[63,22,34]},{"path":[4,3,2,1,3],"span":[63,37,38]},{"path":[4,4],"span":[66,0,76,1]},{"path":[4,4,1],"span":[66,8,25]},{"path":[4,4,2,0],"span":[67,2,16]},{"path":[4,4,2,0,5],"span":[67,2,7]},{"path":[4,4,2,0,1],"span":[67,8,11]},{"path":[4,4,2,0,3],"span":[67,14,15]},{"path":[4,4,2,1],"span":[68,2,18],"trailingComments":" e.g.: Windows:BasicInfo\n"},{"path":[4,4,2,1,5],"span":[68,2,8]},{"path":[4,4,2,1,1],"span":[68,9,13]},{"path":[4,4,2,1,3],"span":[68,16,17]},{"path":[4,4,2,2],"span":[69,2,41],"trailingComments":" e.g.: Wmi.Registry.WinApi\n"},{"path":[4,4,2,2,6],"span":[69,2,29]},{"path":[4,4,2,2,1],"span":[69,30,36]},{"path":[4,4,2,2,3],"span":[69,39,40]},{"path":[4,4,2,3],"span":[70,2,42]},{"path":[4,4,2,3,6],"span":[70,2,27]},{"path":[4,4,2,3,1],"span":[70,28,37]},{"path":[4,4,2,3,3],"span":[70,40,41]},{"path":[4,4,2,4],"span":[71,2,42]},{"path":[4,4,2,4,6],"span":[71,2,28]},{"path":[4,4,2,4,1],"span":[71,29,37]},{"path":[4,4,2,4,3],"span":[71,40,41]},{"path":[4,4,2,5],"span":[72,2,29]},{"path":[4,4,2,5,4],"span":[72,2,10]},{"path":[4,4,2,5,5],"span":[72,11,17]},{"path":[4,4,2,5,1],"span":[72,18,24]},{"path":[4,4,2,5,3],"span":[72,27,28]},{"path":[4,4,2,6],"span":[73,2,40]},{"path":[4,4,2,6,6],"span":[73,2,27]},{"path":[4,4,2,6,1],"span":[73,28,35]},{"path":[4,4,2,6,3],"span":[73,38,39]},{"path":[4,4,2,7],"span":[74,2,25]},{"path":[4,4,2,7,4],"span":[74,2,10]},{"path":[4,4,2,7,6],"span":[74,11,15]},{"path":[4,4,2,7,1],"span":[74,16,20]},{"path":[4,4,2,7,3],"span":[74,23,24]},{"path":[4,4,2,8],"span":[75,2,43],"trailingComments":"IANA Id\n"},{"path":[4,4,2,8,6],"span":[75,2,29]},{"path":[4,4,2,8,1],"span":[75,30,38]},{"path":[4,4,2,8,3],"span":[75,41,42]},{"path":[4,5],"span":[78,0,81,1]},{"path":[4,5,1],"span":[78,8,12]},{"path":[4,5,2,0],"span":[79,2,23]},{"path":[4,5,2,0,5],"span":[79,2,8]},{"path":[4,5,2,0,1],"span":[79,9,18]},{"path":[4,5,2,0,3],"span":[79,21,22]},{"path":[4,5,2,1],"span":[80,2,18]},{"path":[4,5,2,1,5],"span":[80,2,7]},{"path":[4,5,2,1,1],"span":[80,8,13]},{"path":[4,5,2,1,3],"span":[80,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}},{"name":"discovery_api.proto","package":"com.lansweeper.discovery.apiscan.v1","dependency":["google/protobuf/wrappers.proto","discovery_device.proto"],"messageType":[{"name":"ApiScan","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"sensor_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sensorId"},{"name":"scan","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.device.v1.Scan","oneofIndex":0,"jsonName":"scan","proto3Optional":true},{"name":"scan_server_name","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"scanServerName"}],"oneofDecl":[{"name":"_scan"}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.Hub"},"sourceCodeInfo":{"location":[{"span":[0,0,19,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,44]},{"path":[8],"span":[4,0,34]},{"path":[8,10],"span":[4,0,34]},{"path":[8],"span":[6,0,65]},{"path":[8,37],"span":[6,0,65]},{"path":[8],"span":[7,0,37]},{"path":[8,11],"span":[7,0,37]},{"path":[3,0],"span":[9,0,40]},{"path":[3,1],"span":[11,0,32]},{"path":[4,0],"span":[14,0,19,1],"leadingComments":" API scan root object "},{"path":[4,0,1],"span":[14,8,15]},{"path":[4,0,2,0],"span":[15,8,22]},{"path":[4,0,2,0,5],"span":[15,8,14]},{"path":[4,0,2,0,1],"span":[15,15,17]},{"path":[4,0,2,0,3],"span":[15,20,21]},{"path":[4,0,2,1],"span":[16,8,29]},{"path":[4,0,2,1,5],"span":[16,8,14]},{"path":[4,0,2,1,1],"span":[16,15,24]},{"path":[4,0,2,1,3],"span":[16,27,28]},{"path":[4,0,2,2],"span":[17,8,66],"trailingComments":" Reuse the scan object from the device-proto\n"},{"path":[4,0,2,2,4],"span":[17,8,16]},{"path":[4,0,2,2,6],"span":[17,17,56]},{"path":[4,0,2,2,1],"span":[17,57,61]},{"path":[4,0,2,2,3],"span":[17,64,65]},{"path":[4,0,2,3],"span":[18,8,57]},{"path":[4,0,2,3,6],"span":[18,8,35]},{"path":[4,0,2,3,1],"span":[18,36,52]},{"path":[4,0,2,3,3],"span":[18,55,56]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}},{"name":"discovery_credential_response.proto","package":"com.lansweeper.discovery.credential.response.v1","dependency":["google/protobuf/timestamp.proto","google/protobuf/wrappers.proto"],"messageType":[{"name":"CredentialResponse","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"credential_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"credentialId"},{"name":"operation","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.credential.response.v1.Operation","jsonName":"operation"},{"name":"error","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"error"},{"name":"reason","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.credential.response.v1.Reason","jsonName":"reason"},{"name":"error_message","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.StringValue","jsonName":"errorMessage"},{"name":"change_utc_date","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"changeUtcDate"}]},{"name":"ShareCredentialResponse","field":[{"name":"credentials_to_share","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.credential.response.v1.ShareCredentialResponseObject","jsonName":"credentialsToShare"}]},{"name":"ShareCredentialResponseObject","field":[{"name":"credential_types","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.credential.response.v1.CredentialType","jsonName":"credentialTypes"},{"name":"display_name","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"displayName"},{"name":"id","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"last_modified_timestamp","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"lastModifiedTimestamp"},{"name":"credential_metadata","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.credential.response.v1.Metadata","jsonName":"credentialMetadata"},{"name":"operation","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.credential.response.v1.Operation","jsonName":"operation"},{"name":"message","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"},{"name":"key","number":8,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"key"},{"name":"nonce","number":9,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"nonce"},{"name":"tag","number":10,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"tag"},{"name":"version","number":11,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"version"},{"name":"format","number":12,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"format"}]},{"name":"Metadata","field":[{"name":"client_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"clientKey"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"}]}],"enumType":[{"name":"Operation","value":[{"name":"NONE","number":0},{"name":"INSERT","number":1,"options":{"deprecated":true}},{"name":"UPDATE","number":2,"options":{"deprecated":true}},{"name":"DELETE","number":3},{"name":"UPSERT","number":4},{"name":"SHARE","number":5}]},{"name":"Reason","value":[{"name":"UNKNOWN","number":0},{"name":"DUPLICATE_NAME","number":1},{"name":"UNKNOWNCREDENTIALTYPE","number":2}]},{"name":"CredentialType","value":[{"name":"UNKNOWN_CREDENTIAL_TYPE","number":0},{"name":"WINDOWS","number":1},{"name":"SNMP_V1","number":2},{"name":"SNMP_V2","number":3},{"name":"SNMP_V3","number":4},{"name":"SSH","number":5},{"name":"SSH_CERTIFICATE","number":6},{"name":"SCCM","number":7},{"name":"AD","number":8}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.CredentialResponse"},"sourceCodeInfo":{"location":[{"span":[0,0,71,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,56]},{"path":[8],"span":[4,0,34]},{"path":[8,10],"span":[4,0,34]},{"path":[8],"span":[6,0,80]},{"path":[8,37],"span":[6,0,80]},{"path":[8],"span":[7,0,37]},{"path":[8,11],"span":[7,0,37]},{"path":[3,0],"span":[9,0,41]},{"path":[3,1],"span":[10,0,40]},{"path":[5,0],"span":[12,0,19,1]},{"path":[5,0,1],"span":[12,5,14]},{"path":[5,0,2,0],"span":[13,2,11]},{"path":[5,0,2,0,1],"span":[13,2,6]},{"path":[5,0,2,0,2],"span":[13,9,10]},{"path":[5,0,2,1],"span":[14,2,33]},{"path":[5,0,2,1,1],"span":[14,2,8]},{"path":[5,0,2,1,2],"span":[14,11,12]},{"path":[5,0,2,1,3],"span":[14,13,32]},{"path":[5,0,2,1,3,1],"span":[14,14,31]},{"path":[5,0,2,2],"span":[15,2,33]},{"path":[5,0,2,2,1],"span":[15,2,8]},{"path":[5,0,2,2,2],"span":[15,11,12]},{"path":[5,0,2,2,3],"span":[15,13,32]},{"path":[5,0,2,2,3,1],"span":[15,14,31]},{"path":[5,0,2,3],"span":[16,2,13]},{"path":[5,0,2,3,1],"span":[16,2,8]},{"path":[5,0,2,3,2],"span":[16,11,12]},{"path":[5,0,2,4],"span":[17,2,13]},{"path":[5,0,2,4,1],"span":[17,2,8]},{"path":[5,0,2,4,2],"span":[17,11,12]},{"path":[5,0,2,5],"span":[18,2,12]},{"path":[5,0,2,5,1],"span":[18,2,7]},{"path":[5,0,2,5,2],"span":[18,10,11]},{"path":[5,1],"span":[21,0,25,1]},{"path":[5,1,1],"span":[21,5,11]},{"path":[5,1,2,0],"span":[22,2,14]},{"path":[5,1,2,0,1],"span":[22,2,9]},{"path":[5,1,2,0,2],"span":[22,12,13]},{"path":[5,1,2,1],"span":[23,2,21]},{"path":[5,1,2,1,1],"span":[23,2,16]},{"path":[5,1,2,1,2],"span":[23,19,20]},{"path":[5,1,2,2],"span":[24,2,28]},{"path":[5,1,2,2,1],"span":[24,2,23]},{"path":[5,1,2,2,2],"span":[24,26,27]},{"path":[4,0],"span":[27,0,35,1]},{"path":[4,0,1],"span":[27,8,26]},{"path":[4,0,2,0],"span":[28,2,23]},{"path":[4,0,2,0,5],"span":[28,2,8]},{"path":[4,0,2,0,1],"span":[28,9,18]},{"path":[4,0,2,0,3],"span":[28,21,22]},{"path":[4,0,2,1],"span":[29,2,27]},{"path":[4,0,2,1,5],"span":[29,2,8]},{"path":[4,0,2,1,1],"span":[29,9,22]},{"path":[4,0,2,1,3],"span":[29,25,26]},{"path":[4,0,2,2],"span":[30,2,26]},{"path":[4,0,2,2,6],"span":[30,2,11]},{"path":[4,0,2,2,1],"span":[30,12,21]},{"path":[4,0,2,2,3],"span":[30,24,25]},{"path":[4,0,2,3],"span":[31,2,17]},{"path":[4,0,2,3,5],"span":[31,2,6]},{"path":[4,0,2,3,1],"span":[31,7,12]},{"path":[4,0,2,3,3],"span":[31,15,16]},{"path":[4,0,2,4],"span":[32,2,20]},{"path":[4,0,2,4,6],"span":[32,2,8]},{"path":[4,0,2,4,1],"span":[32,9,15]},{"path":[4,0,2,4,3],"span":[32,18,19]},{"path":[4,0,2,5],"span":[33,2,48]},{"path":[4,0,2,5,6],"span":[33,2,29]},{"path":[4,0,2,5,1],"span":[33,30,43]},{"path":[4,0,2,5,3],"span":[33,46,47]},{"path":[4,0,2,6],"span":[34,2,47]},{"path":[4,0,2,6,6],"span":[34,2,27]},{"path":[4,0,2,6,1],"span":[34,28,43]},{"path":[4,0,2,6,3],"span":[34,45,46]},{"path":[4,1],"span":[37,0,39,1]},{"path":[4,1,1],"span":[37,8,31]},{"path":[4,1,2,0],"span":[38,2,66]},{"path":[4,1,2,0,4],"span":[38,2,10]},{"path":[4,1,2,0,6],"span":[38,11,40]},{"path":[4,1,2,0,1],"span":[38,41,61]},{"path":[4,1,2,0,3],"span":[38,64,65]},{"path":[4,2],"span":[41,0,54,1]},{"path":[4,2,1],"span":[41,8,37]},{"path":[4,2,2,0],"span":[42,2,47]},{"path":[4,2,2,0,4],"span":[42,2,10]},{"path":[4,2,2,0,6],"span":[42,11,25]},{"path":[4,2,2,0,1],"span":[42,26,42]},{"path":[4,2,2,0,3],"span":[42,45,46]},{"path":[4,2,2,1],"span":[43,2,26]},{"path":[4,2,2,1,5],"span":[43,2,8]},{"path":[4,2,2,1,1],"span":[43,9,21]},{"path":[4,2,2,1,3],"span":[43,24,25]},{"path":[4,2,2,2],"span":[44,2,16]},{"path":[4,2,2,2,5],"span":[44,2,8]},{"path":[4,2,2,2,1],"span":[44,9,11]},{"path":[4,2,2,2,3],"span":[44,14,15]},{"path":[4,2,2,3],"span":[45,2,55]},{"path":[4,2,2,3,6],"span":[45,2,27]},{"path":[4,2,2,3,1],"span":[45,28,51]},{"path":[4,2,2,3,3],"span":[45,53,54]},{"path":[4,2,2,4],"span":[46,2,35]},{"path":[4,2,2,4,6],"span":[46,2,10]},{"path":[4,2,2,4,1],"span":[46,11,30]},{"path":[4,2,2,4,3],"span":[46,33,34]},{"path":[4,2,2,5],"span":[47,2,26]},{"path":[4,2,2,5,6],"span":[47,2,11]},{"path":[4,2,2,5,1],"span":[47,12,21]},{"path":[4,2,2,5,3],"span":[47,24,25]},{"path":[4,2,2,6],"span":[48,2,21]},{"path":[4,2,2,6,5],"span":[48,2,8]},{"path":[4,2,2,6,1],"span":[48,9,16]},{"path":[4,2,2,6,3],"span":[48,19,20]},{"path":[4,2,2,7],"span":[49,2,17]},{"path":[4,2,2,7,5],"span":[49,2,8]},{"path":[4,2,2,7,1],"span":[49,9,12]},{"path":[4,2,2,7,3],"span":[49,15,16]},{"path":[4,2,2,8],"span":[50,2,19]},{"path":[4,2,2,8,5],"span":[50,2,8]},{"path":[4,2,2,8,1],"span":[50,9,14]},{"path":[4,2,2,8,3],"span":[50,17,18]},{"path":[4,2,2,9],"span":[51,2,18]},{"path":[4,2,2,9,5],"span":[51,2,8]},{"path":[4,2,2,9,1],"span":[51,9,12]},{"path":[4,2,2,9,3],"span":[51,15,17]},{"path":[4,2,2,10],"span":[52,2,22]},{"path":[4,2,2,10,5],"span":[52,2,8]},{"path":[4,2,2,10,1],"span":[52,9,16]},{"path":[4,2,2,10,3],"span":[52,19,21]},{"path":[4,2,2,11],"span":[53,2,21]},{"path":[4,2,2,11,5],"span":[53,2,8]},{"path":[4,2,2,11,1],"span":[53,9,15]},{"path":[4,2,2,11,3],"span":[53,18,20]},{"path":[4,3],"span":[56,0,59,1]},{"path":[4,3,1],"span":[56,8,16]},{"path":[4,3,2,0],"span":[57,2,24]},{"path":[4,3,2,0,5],"span":[57,2,8]},{"path":[4,3,2,0,1],"span":[57,9,19]},{"path":[4,3,2,0,3],"span":[57,22,23]},{"path":[4,3,2,1],"span":[58,2,25]},{"path":[4,3,2,1,5],"span":[58,2,8]},{"path":[4,3,2,1,1],"span":[58,9,20]},{"path":[4,3,2,1,3],"span":[58,23,24]},{"path":[5,2],"span":[61,0,71,1]},{"path":[5,2,1],"span":[61,5,19]},{"path":[5,2,2,0],"span":[62,2,30]},{"path":[5,2,2,0,1],"span":[62,2,25]},{"path":[5,2,2,0,2],"span":[62,28,29]},{"path":[5,2,2,1],"span":[63,2,14]},{"path":[5,2,2,1,1],"span":[63,2,9]},{"path":[5,2,2,1,2],"span":[63,12,13]},{"path":[5,2,2,2],"span":[64,2,14]},{"path":[5,2,2,2,1],"span":[64,2,9]},{"path":[5,2,2,2,2],"span":[64,12,13]},{"path":[5,2,2,3],"span":[65,2,14]},{"path":[5,2,2,3,1],"span":[65,2,9]},{"path":[5,2,2,3,2],"span":[65,12,13]},{"path":[5,2,2,4],"span":[66,2,14]},{"path":[5,2,2,4,1],"span":[66,2,9]},{"path":[5,2,2,4,2],"span":[66,12,13]},{"path":[5,2,2,5],"span":[67,2,10]},{"path":[5,2,2,5,1],"span":[67,2,5]},{"path":[5,2,2,5,2],"span":[67,8,9]},{"path":[5,2,2,6],"span":[68,2,22]},{"path":[5,2,2,6,1],"span":[68,2,17]},{"path":[5,2,2,6,2],"span":[68,20,21]},{"path":[5,2,2,7],"span":[69,2,11]},{"path":[5,2,2,7,1],"span":[69,2,6]},{"path":[5,2,2,7,2],"span":[69,9,10]},{"path":[5,2,2,8],"span":[70,2,9]},{"path":[5,2,2,8,1],"span":[70,2,4]},{"path":[5,2,2,8,2],"span":[70,7,8]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}},{"name":"discovery_hub.proto","package":"com.lansweeper.discovery.hub.v1","dependency":["google/protobuf/timestamp.proto","google/protobuf/any.proto","google/protobuf/wrappers.proto"],"messageType":[{"name":"Header","field":[{"name":"entity_name","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entityName"},{"name":"entity_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entityId"},{"name":"properties_changed","number":3,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"propertiesChanged"},{"name":"last_synced","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"lastSynced"},{"name":"action","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".com.lansweeper.discovery.hub.v1.Action","jsonName":"action"}]},{"name":"Entity","field":[{"name":"header","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".com.lansweeper.discovery.hub.v1.Header","jsonName":"header"},{"name":"body","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Any","jsonName":"body"}]},{"name":"EncryptedPacket","field":[{"name":"encrypted_session_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"encryptedSessionKey"},{"name":"encrypted_data","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"encryptedData"},{"name":"initialization_vector","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"initializationVector"},{"name":"signature_hmac","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"signatureHmac"},{"name":"signature","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.BytesValue","jsonName":"signature"}]}],"enumType":[{"name":"Action","value":[{"name":"NONE","number":0},{"name":"INSERT","number":1},{"name":"UPDATE","number":2},{"name":"DELETE","number":3}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.Hub"},"sourceCodeInfo":{"location":[{"span":[0,0,40,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,40]},{"path":[8],"span":[4,0,34]},{"path":[8,10],"span":[4,0,34]},{"path":[8],"span":[6,0,65]},{"path":[8,37],"span":[6,0,65]},{"path":[8],"span":[7,0,37]},{"path":[8,11],"span":[7,0,37]},{"path":[3,0],"span":[9,0,41]},{"path":[3,1],"span":[10,0,35]},{"path":[3,2],"span":[11,0,40]},{"path":[5,0],"span":[13,0,18,1]},{"path":[5,0,1],"span":[13,5,11]},{"path":[5,0,2,0],"span":[14,2,11]},{"path":[5,0,2,0,1],"span":[14,2,6]},{"path":[5,0,2,0,2],"span":[14,9,10]},{"path":[5,0,2,1],"span":[15,2,13]},{"path":[5,0,2,1,1],"span":[15,2,8]},{"path":[5,0,2,1,2],"span":[15,11,12]},{"path":[5,0,2,2],"span":[16,2,13]},{"path":[5,0,2,2,1],"span":[16,2,8]},{"path":[5,0,2,2,2],"span":[16,11,12]},{"path":[5,0,2,3],"span":[17,2,13]},{"path":[5,0,2,3,1],"span":[17,2,8]},{"path":[5,0,2,3,2],"span":[17,11,12]},{"path":[4,0],"span":[20,0,26,1]},{"path":[4,0,1],"span":[20,8,14]},{"path":[4,0,2,0],"span":[21,2,25],"trailingComments":" \"Device\", \"ApiScan\"\n"},{"path":[4,0,2,0,5],"span":[21,2,8]},{"path":[4,0,2,0,1],"span":[21,9,20]},{"path":[4,0,2,0,3],"span":[21,23,24]},{"path":[4,0,2,1],"span":[22,2,23]},{"path":[4,0,2,1,5],"span":[22,2,8]},{"path":[4,0,2,1,1],"span":[22,9,18]},{"path":[4,0,2,1,3],"span":[22,21,22]},{"path":[4,0,2,2],"span":[23,2,41]},{"path":[4,0,2,2,4],"span":[23,2,10]},{"path":[4,0,2,2,5],"span":[23,11,17]},{"path":[4,0,2,2,1],"span":[23,18,36]},{"path":[4,0,2,2,3],"span":[23,39,40]},{"path":[4,0,2,3],"span":[24,2,44]},{"path":[4,0,2,3,6],"span":[24,2,27]},{"path":[4,0,2,3,1],"span":[24,28,39]},{"path":[4,0,2,3,3],"span":[24,42,43]},{"path":[4,0,2,4],"span":[25,2,20]},{"path":[4,0,2,4,6],"span":[25,2,8]},{"path":[4,0,2,4,1],"span":[25,9,15]},{"path":[4,0,2,4,3],"span":[25,18,19]},{"path":[4,1],"span":[29,0,32,1],"leadingComments":" Entity root object "},{"path":[4,1,1],"span":[29,8,14]},{"path":[4,1,2,0],"span":[30,4,22]},{"path":[4,1,2,0,6],"span":[30,4,10]},{"path":[4,1,2,0,1],"span":[30,11,17]},{"path":[4,1,2,0,3],"span":[30,20,21]},{"path":[4,1,2,1],"span":[31,4,33]},{"path":[4,1,2,1,6],"span":[31,4,23]},{"path":[4,1,2,1,1],"span":[31,24,28]},{"path":[4,1,2,1,3],"span":[31,31,32]},{"path":[4,2],"span":[34,0,40,1]},{"path":[4,2,1],"span":[34,8,23]},{"path":[4,2,2,0],"span":[35,2,55]},{"path":[4,2,2,0,6],"span":[35,2,28]},{"path":[4,2,2,0,1],"span":[35,29,50]},{"path":[4,2,2,0,3],"span":[35,53,54]},{"path":[4,2,2,1],"span":[36,2,48]},{"path":[4,2,2,1,6],"span":[36,2,28]},{"path":[4,2,2,1,1],"span":[36,29,43]},{"path":[4,2,2,1,3],"span":[36,46,47]},{"path":[4,2,2,2],"span":[37,2,55]},{"path":[4,2,2,2,6],"span":[37,2,28]},{"path":[4,2,2,2,1],"span":[37,29,50]},{"path":[4,2,2,2,3],"span":[37,53,54]},{"path":[4,2,2,3],"span":[38,2,48]},{"path":[4,2,2,3,6],"span":[38,2,28]},{"path":[4,2,2,3,1],"span":[38,29,43]},{"path":[4,2,2,3,3],"span":[38,46,47]},{"path":[4,2,2,4],"span":[39,2,43]},{"path":[4,2,2,4,6],"span":[39,2,28]},{"path":[4,2,2,4,1],"span":[39,29,38]},{"path":[4,2,2,4,3],"span":[39,41,42]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lansweeper/discovery-hub-proto",
3
3
  "description": "Discovery Hub proto",
4
- "version": "2.20.0",
4
+ "version": "2.22.0",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
7
7
  "license": "MIT",
@@ -16,5 +16,5 @@
16
16
  "devDependencies": {
17
17
  "@types/google-protobuf": "^3.15.5"
18
18
  },
19
- "gitHead": "b926b2c8bf3d05947f316dc8c61047e82592eefe"
19
+ "gitHead": "f9e6fdc35a7bbd8cac07183977273c28c6f88986"
20
20
  }
@@ -48,6 +48,7 @@ message Device {
48
48
  message Scan {
49
49
  repeated ScanSection sections = 1;
50
50
  repeated UsedCredential credentials = 2;
51
+ google.protobuf.StringValue action_id = 3; //Action ID used for (re)scanning
51
52
  }
52
53
 
53
54
  message UsedCredential {
@@ -73,7 +74,6 @@ message ScanSectionHeader {
73
74
  google.protobuf.BoolValue success = 7;
74
75
  optional Hash hash = 8;
75
76
  google.protobuf.StringValue timezone = 9; //IANA Id
76
- google.protobuf.StringValue action_id = 10; //Action ID used for (re)scanning
77
77
  }
78
78
 
79
79
  message Hash {