@lansweeper/discovery-hub-proto 2.14.0 → 2.15.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.
|
@@ -212,9 +212,9 @@ export class Scan extends jspb.Message {
|
|
|
212
212
|
setSectionsList(value: Array<ScanSection>): Scan;
|
|
213
213
|
addSections(value?: ScanSection, index?: number): ScanSection;
|
|
214
214
|
clearCredentialsList(): void;
|
|
215
|
-
getCredentialsList(): Array<
|
|
216
|
-
setCredentialsList(value: Array<
|
|
217
|
-
addCredentials(value?:
|
|
215
|
+
getCredentialsList(): Array<UsedCredential>;
|
|
216
|
+
setCredentialsList(value: Array<UsedCredential>): Scan;
|
|
217
|
+
addCredentials(value?: UsedCredential, index?: number): UsedCredential;
|
|
218
218
|
|
|
219
219
|
serializeBinary(): Uint8Array;
|
|
220
220
|
toObject(includeInstance?: boolean): Scan.AsObject;
|
|
@@ -229,48 +229,48 @@ export class Scan extends jspb.Message {
|
|
|
229
229
|
export namespace Scan {
|
|
230
230
|
export type AsObject = {
|
|
231
231
|
sectionsList: Array<ScanSection.AsObject>,
|
|
232
|
-
credentialsList: Array<
|
|
232
|
+
credentialsList: Array<UsedCredential.AsObject>,
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export class
|
|
236
|
+
export class UsedCredential extends jspb.Message {
|
|
237
237
|
|
|
238
238
|
hasVaultType(): boolean;
|
|
239
239
|
clearVaultType(): void;
|
|
240
240
|
getVaultType(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
241
|
-
setVaultType(value?: google_protobuf_wrappers_pb.StringValue):
|
|
241
|
+
setVaultType(value?: google_protobuf_wrappers_pb.StringValue): UsedCredential;
|
|
242
242
|
|
|
243
243
|
hasVaultName(): boolean;
|
|
244
244
|
clearVaultName(): void;
|
|
245
245
|
getVaultName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
246
|
-
setVaultName(value?: google_protobuf_wrappers_pb.StringValue):
|
|
246
|
+
setVaultName(value?: google_protobuf_wrappers_pb.StringValue): UsedCredential;
|
|
247
247
|
|
|
248
248
|
hasName(): boolean;
|
|
249
249
|
clearName(): void;
|
|
250
250
|
getName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
251
|
-
setName(value?: google_protobuf_wrappers_pb.StringValue):
|
|
251
|
+
setName(value?: google_protobuf_wrappers_pb.StringValue): UsedCredential;
|
|
252
252
|
|
|
253
253
|
hasIsSuccess(): boolean;
|
|
254
254
|
clearIsSuccess(): void;
|
|
255
255
|
getIsSuccess(): google_protobuf_wrappers_pb.BoolValue | undefined;
|
|
256
|
-
setIsSuccess(value?: google_protobuf_wrappers_pb.BoolValue):
|
|
256
|
+
setIsSuccess(value?: google_protobuf_wrappers_pb.BoolValue): UsedCredential;
|
|
257
257
|
|
|
258
258
|
hasCloudId(): boolean;
|
|
259
259
|
clearCloudId(): void;
|
|
260
260
|
getCloudId(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
261
|
-
setCloudId(value?: google_protobuf_wrappers_pb.StringValue):
|
|
261
|
+
setCloudId(value?: google_protobuf_wrappers_pb.StringValue): UsedCredential;
|
|
262
262
|
|
|
263
263
|
serializeBinary(): Uint8Array;
|
|
264
|
-
toObject(includeInstance?: boolean):
|
|
265
|
-
static toObject(includeInstance: boolean, msg:
|
|
264
|
+
toObject(includeInstance?: boolean): UsedCredential.AsObject;
|
|
265
|
+
static toObject(includeInstance: boolean, msg: UsedCredential): UsedCredential.AsObject;
|
|
266
266
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
267
267
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
268
|
-
static serializeBinaryToWriter(message:
|
|
269
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
270
|
-
static deserializeBinaryFromReader(message:
|
|
268
|
+
static serializeBinaryToWriter(message: UsedCredential, writer: jspb.BinaryWriter): void;
|
|
269
|
+
static deserializeBinary(bytes: Uint8Array): UsedCredential;
|
|
270
|
+
static deserializeBinaryFromReader(message: UsedCredential, reader: jspb.BinaryReader): UsedCredential;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
export namespace
|
|
273
|
+
export namespace UsedCredential {
|
|
274
274
|
export type AsObject = {
|
|
275
275
|
vaultType?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
276
276
|
vaultName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
@@ -30,9 +30,9 @@ goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
|
30
30
|
goog.exportSymbol('proto.com.lansweeper.discovery.device.v1.Device', null, global);
|
|
31
31
|
goog.exportSymbol('proto.com.lansweeper.discovery.device.v1.Hash', null, global);
|
|
32
32
|
goog.exportSymbol('proto.com.lansweeper.discovery.device.v1.Scan', null, global);
|
|
33
|
-
goog.exportSymbol('proto.com.lansweeper.discovery.device.v1.ScanCredential', null, global);
|
|
34
33
|
goog.exportSymbol('proto.com.lansweeper.discovery.device.v1.ScanSection', null, global);
|
|
35
34
|
goog.exportSymbol('proto.com.lansweeper.discovery.device.v1.ScanSectionHeader', null, global);
|
|
35
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.device.v1.UsedCredential', null, global);
|
|
36
36
|
/**
|
|
37
37
|
* Generated by JsPbCodeGenerator.
|
|
38
38
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -85,16 +85,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
85
85
|
* @extends {jspb.Message}
|
|
86
86
|
* @constructor
|
|
87
87
|
*/
|
|
88
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
88
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential = function(opt_data) {
|
|
89
89
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
90
90
|
};
|
|
91
|
-
goog.inherits(proto.com.lansweeper.discovery.device.v1.
|
|
91
|
+
goog.inherits(proto.com.lansweeper.discovery.device.v1.UsedCredential, jspb.Message);
|
|
92
92
|
if (goog.DEBUG && !COMPILED) {
|
|
93
93
|
/**
|
|
94
94
|
* @public
|
|
95
95
|
* @override
|
|
96
96
|
*/
|
|
97
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
97
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.displayName = 'proto.com.lansweeper.discovery.device.v1.UsedCredential';
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
100
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1840,7 +1840,7 @@ 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.
|
|
1843
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.toObject, includeInstance)
|
|
1844
1844
|
};
|
|
1845
1845
|
|
|
1846
1846
|
if (includeInstance) {
|
|
@@ -1883,8 +1883,8 @@ proto.com.lansweeper.discovery.device.v1.Scan.deserializeBinaryFromReader = func
|
|
|
1883
1883
|
msg.addSections(value);
|
|
1884
1884
|
break;
|
|
1885
1885
|
case 2:
|
|
1886
|
-
var value = new proto.com.lansweeper.discovery.device.v1.
|
|
1887
|
-
reader.readMessage(value,proto.com.lansweeper.discovery.device.v1.
|
|
1886
|
+
var value = new proto.com.lansweeper.discovery.device.v1.UsedCredential;
|
|
1887
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.device.v1.UsedCredential.deserializeBinaryFromReader);
|
|
1888
1888
|
msg.addCredentials(value);
|
|
1889
1889
|
break;
|
|
1890
1890
|
default:
|
|
@@ -1929,7 +1929,7 @@ proto.com.lansweeper.discovery.device.v1.Scan.serializeBinaryToWriter = function
|
|
|
1929
1929
|
writer.writeRepeatedMessage(
|
|
1930
1930
|
2,
|
|
1931
1931
|
f,
|
|
1932
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
1932
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.serializeBinaryToWriter
|
|
1933
1933
|
);
|
|
1934
1934
|
}
|
|
1935
1935
|
};
|
|
@@ -1974,17 +1974,17 @@ proto.com.lansweeper.discovery.device.v1.Scan.prototype.clearSectionsList = func
|
|
|
1974
1974
|
|
|
1975
1975
|
|
|
1976
1976
|
/**
|
|
1977
|
-
* repeated
|
|
1978
|
-
* @return {!Array<!proto.com.lansweeper.discovery.device.v1.
|
|
1977
|
+
* repeated UsedCredential credentials = 2;
|
|
1978
|
+
* @return {!Array<!proto.com.lansweeper.discovery.device.v1.UsedCredential>}
|
|
1979
1979
|
*/
|
|
1980
1980
|
proto.com.lansweeper.discovery.device.v1.Scan.prototype.getCredentialsList = function() {
|
|
1981
|
-
return /** @type{!Array<!proto.com.lansweeper.discovery.device.v1.
|
|
1982
|
-
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.device.v1.
|
|
1981
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.device.v1.UsedCredential>} */ (
|
|
1982
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.device.v1.UsedCredential, 2));
|
|
1983
1983
|
};
|
|
1984
1984
|
|
|
1985
1985
|
|
|
1986
1986
|
/**
|
|
1987
|
-
* @param {!Array<!proto.com.lansweeper.discovery.device.v1.
|
|
1987
|
+
* @param {!Array<!proto.com.lansweeper.discovery.device.v1.UsedCredential>} value
|
|
1988
1988
|
* @return {!proto.com.lansweeper.discovery.device.v1.Scan} returns this
|
|
1989
1989
|
*/
|
|
1990
1990
|
proto.com.lansweeper.discovery.device.v1.Scan.prototype.setCredentialsList = function(value) {
|
|
@@ -1993,12 +1993,12 @@ proto.com.lansweeper.discovery.device.v1.Scan.prototype.setCredentialsList = fun
|
|
|
1993
1993
|
|
|
1994
1994
|
|
|
1995
1995
|
/**
|
|
1996
|
-
* @param {!proto.com.lansweeper.discovery.device.v1.
|
|
1996
|
+
* @param {!proto.com.lansweeper.discovery.device.v1.UsedCredential=} opt_value
|
|
1997
1997
|
* @param {number=} opt_index
|
|
1998
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
1998
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential}
|
|
1999
1999
|
*/
|
|
2000
2000
|
proto.com.lansweeper.discovery.device.v1.Scan.prototype.addCredentials = function(opt_value, opt_index) {
|
|
2001
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.discovery.device.v1.
|
|
2001
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.discovery.device.v1.UsedCredential, opt_index);
|
|
2002
2002
|
};
|
|
2003
2003
|
|
|
2004
2004
|
|
|
@@ -2027,8 +2027,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2027
2027
|
* http://goto/soy-param-migration
|
|
2028
2028
|
* @return {!Object}
|
|
2029
2029
|
*/
|
|
2030
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2031
|
-
return proto.com.lansweeper.discovery.device.v1.
|
|
2030
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.toObject = function(opt_includeInstance) {
|
|
2031
|
+
return proto.com.lansweeper.discovery.device.v1.UsedCredential.toObject(opt_includeInstance, this);
|
|
2032
2032
|
};
|
|
2033
2033
|
|
|
2034
2034
|
|
|
@@ -2037,11 +2037,11 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.toObject = fun
|
|
|
2037
2037
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2038
2038
|
* the JSPB instance for transitional soy proto support:
|
|
2039
2039
|
* http://goto/soy-param-migration
|
|
2040
|
-
* @param {!proto.com.lansweeper.discovery.device.v1.
|
|
2040
|
+
* @param {!proto.com.lansweeper.discovery.device.v1.UsedCredential} msg The msg instance to transform.
|
|
2041
2041
|
* @return {!Object}
|
|
2042
2042
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2043
2043
|
*/
|
|
2044
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2044
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.toObject = function(includeInstance, msg) {
|
|
2045
2045
|
var f, obj = {
|
|
2046
2046
|
vaultType: (f = msg.getVaultType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
2047
2047
|
vaultName: (f = msg.getVaultName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
@@ -2061,23 +2061,23 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.toObject = function(incl
|
|
|
2061
2061
|
/**
|
|
2062
2062
|
* Deserializes binary data (in protobuf wire format).
|
|
2063
2063
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2064
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2064
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential}
|
|
2065
2065
|
*/
|
|
2066
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2066
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.deserializeBinary = function(bytes) {
|
|
2067
2067
|
var reader = new jspb.BinaryReader(bytes);
|
|
2068
|
-
var msg = new proto.com.lansweeper.discovery.device.v1.
|
|
2069
|
-
return proto.com.lansweeper.discovery.device.v1.
|
|
2068
|
+
var msg = new proto.com.lansweeper.discovery.device.v1.UsedCredential;
|
|
2069
|
+
return proto.com.lansweeper.discovery.device.v1.UsedCredential.deserializeBinaryFromReader(msg, reader);
|
|
2070
2070
|
};
|
|
2071
2071
|
|
|
2072
2072
|
|
|
2073
2073
|
/**
|
|
2074
2074
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2075
2075
|
* given reader into the given message object.
|
|
2076
|
-
* @param {!proto.com.lansweeper.discovery.device.v1.
|
|
2076
|
+
* @param {!proto.com.lansweeper.discovery.device.v1.UsedCredential} msg The message object to deserialize into.
|
|
2077
2077
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2078
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2078
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential}
|
|
2079
2079
|
*/
|
|
2080
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2080
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.deserializeBinaryFromReader = function(msg, reader) {
|
|
2081
2081
|
while (reader.nextField()) {
|
|
2082
2082
|
if (reader.isEndGroup()) {
|
|
2083
2083
|
break;
|
|
@@ -2122,9 +2122,9 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.deserializeBinaryFromRea
|
|
|
2122
2122
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2123
2123
|
* @return {!Uint8Array}
|
|
2124
2124
|
*/
|
|
2125
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2125
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.serializeBinary = function() {
|
|
2126
2126
|
var writer = new jspb.BinaryWriter();
|
|
2127
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2127
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.serializeBinaryToWriter(this, writer);
|
|
2128
2128
|
return writer.getResultBuffer();
|
|
2129
2129
|
};
|
|
2130
2130
|
|
|
@@ -2132,11 +2132,11 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.serializeBinar
|
|
|
2132
2132
|
/**
|
|
2133
2133
|
* Serializes the given message to binary data (in protobuf wire
|
|
2134
2134
|
* format), writing to the given BinaryWriter.
|
|
2135
|
-
* @param {!proto.com.lansweeper.discovery.device.v1.
|
|
2135
|
+
* @param {!proto.com.lansweeper.discovery.device.v1.UsedCredential} message
|
|
2136
2136
|
* @param {!jspb.BinaryWriter} writer
|
|
2137
2137
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2138
2138
|
*/
|
|
2139
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2139
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.serializeBinaryToWriter = function(message, writer) {
|
|
2140
2140
|
var f = undefined;
|
|
2141
2141
|
f = message.getVaultType();
|
|
2142
2142
|
if (f != null) {
|
|
@@ -2185,7 +2185,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.serializeBinaryToWriter
|
|
|
2185
2185
|
* optional google.protobuf.StringValue vault_type = 1;
|
|
2186
2186
|
* @return {?proto.google.protobuf.StringValue}
|
|
2187
2187
|
*/
|
|
2188
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2188
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.getVaultType = function() {
|
|
2189
2189
|
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2190
2190
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
|
|
2191
2191
|
};
|
|
@@ -2193,18 +2193,18 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.getVaultType =
|
|
|
2193
2193
|
|
|
2194
2194
|
/**
|
|
2195
2195
|
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2196
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2196
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2197
2197
|
*/
|
|
2198
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2198
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.setVaultType = function(value) {
|
|
2199
2199
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
2200
2200
|
};
|
|
2201
2201
|
|
|
2202
2202
|
|
|
2203
2203
|
/**
|
|
2204
2204
|
* Clears the message field making it undefined.
|
|
2205
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2205
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2206
2206
|
*/
|
|
2207
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2207
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.clearVaultType = function() {
|
|
2208
2208
|
return this.setVaultType(undefined);
|
|
2209
2209
|
};
|
|
2210
2210
|
|
|
@@ -2213,7 +2213,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.clearVaultType
|
|
|
2213
2213
|
* Returns whether this field is set.
|
|
2214
2214
|
* @return {boolean}
|
|
2215
2215
|
*/
|
|
2216
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2216
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.hasVaultType = function() {
|
|
2217
2217
|
return jspb.Message.getField(this, 1) != null;
|
|
2218
2218
|
};
|
|
2219
2219
|
|
|
@@ -2222,7 +2222,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.hasVaultType =
|
|
|
2222
2222
|
* optional google.protobuf.StringValue vault_name = 2;
|
|
2223
2223
|
* @return {?proto.google.protobuf.StringValue}
|
|
2224
2224
|
*/
|
|
2225
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2225
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.getVaultName = function() {
|
|
2226
2226
|
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2227
2227
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
|
|
2228
2228
|
};
|
|
@@ -2230,18 +2230,18 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.getVaultName =
|
|
|
2230
2230
|
|
|
2231
2231
|
/**
|
|
2232
2232
|
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2233
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2233
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2234
2234
|
*/
|
|
2235
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2235
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.setVaultName = function(value) {
|
|
2236
2236
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2237
2237
|
};
|
|
2238
2238
|
|
|
2239
2239
|
|
|
2240
2240
|
/**
|
|
2241
2241
|
* Clears the message field making it undefined.
|
|
2242
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2242
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2243
2243
|
*/
|
|
2244
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2244
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.clearVaultName = function() {
|
|
2245
2245
|
return this.setVaultName(undefined);
|
|
2246
2246
|
};
|
|
2247
2247
|
|
|
@@ -2250,7 +2250,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.clearVaultName
|
|
|
2250
2250
|
* Returns whether this field is set.
|
|
2251
2251
|
* @return {boolean}
|
|
2252
2252
|
*/
|
|
2253
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2253
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.hasVaultName = function() {
|
|
2254
2254
|
return jspb.Message.getField(this, 2) != null;
|
|
2255
2255
|
};
|
|
2256
2256
|
|
|
@@ -2259,7 +2259,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.hasVaultName =
|
|
|
2259
2259
|
* optional google.protobuf.StringValue name = 3;
|
|
2260
2260
|
* @return {?proto.google.protobuf.StringValue}
|
|
2261
2261
|
*/
|
|
2262
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2262
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.getName = function() {
|
|
2263
2263
|
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2264
2264
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
|
|
2265
2265
|
};
|
|
@@ -2267,18 +2267,18 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.getName = func
|
|
|
2267
2267
|
|
|
2268
2268
|
/**
|
|
2269
2269
|
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2270
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2270
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2271
2271
|
*/
|
|
2272
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2272
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.setName = function(value) {
|
|
2273
2273
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
2274
2274
|
};
|
|
2275
2275
|
|
|
2276
2276
|
|
|
2277
2277
|
/**
|
|
2278
2278
|
* Clears the message field making it undefined.
|
|
2279
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2279
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2280
2280
|
*/
|
|
2281
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2281
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.clearName = function() {
|
|
2282
2282
|
return this.setName(undefined);
|
|
2283
2283
|
};
|
|
2284
2284
|
|
|
@@ -2287,7 +2287,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.clearName = fu
|
|
|
2287
2287
|
* Returns whether this field is set.
|
|
2288
2288
|
* @return {boolean}
|
|
2289
2289
|
*/
|
|
2290
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2290
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.hasName = function() {
|
|
2291
2291
|
return jspb.Message.getField(this, 3) != null;
|
|
2292
2292
|
};
|
|
2293
2293
|
|
|
@@ -2296,7 +2296,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.hasName = func
|
|
|
2296
2296
|
* optional google.protobuf.BoolValue is_success = 4;
|
|
2297
2297
|
* @return {?proto.google.protobuf.BoolValue}
|
|
2298
2298
|
*/
|
|
2299
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2299
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.getIsSuccess = function() {
|
|
2300
2300
|
return /** @type{?proto.google.protobuf.BoolValue} */ (
|
|
2301
2301
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 4));
|
|
2302
2302
|
};
|
|
@@ -2304,18 +2304,18 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.getIsSuccess =
|
|
|
2304
2304
|
|
|
2305
2305
|
/**
|
|
2306
2306
|
* @param {?proto.google.protobuf.BoolValue|undefined} value
|
|
2307
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2307
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2308
2308
|
*/
|
|
2309
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2309
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.setIsSuccess = function(value) {
|
|
2310
2310
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
2311
2311
|
};
|
|
2312
2312
|
|
|
2313
2313
|
|
|
2314
2314
|
/**
|
|
2315
2315
|
* Clears the message field making it undefined.
|
|
2316
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2316
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2317
2317
|
*/
|
|
2318
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2318
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.clearIsSuccess = function() {
|
|
2319
2319
|
return this.setIsSuccess(undefined);
|
|
2320
2320
|
};
|
|
2321
2321
|
|
|
@@ -2324,7 +2324,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.clearIsSuccess
|
|
|
2324
2324
|
* Returns whether this field is set.
|
|
2325
2325
|
* @return {boolean}
|
|
2326
2326
|
*/
|
|
2327
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2327
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.hasIsSuccess = function() {
|
|
2328
2328
|
return jspb.Message.getField(this, 4) != null;
|
|
2329
2329
|
};
|
|
2330
2330
|
|
|
@@ -2333,7 +2333,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.hasIsSuccess =
|
|
|
2333
2333
|
* optional google.protobuf.StringValue cloud_id = 5;
|
|
2334
2334
|
* @return {?proto.google.protobuf.StringValue}
|
|
2335
2335
|
*/
|
|
2336
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2336
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.getCloudId = function() {
|
|
2337
2337
|
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2338
2338
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
|
|
2339
2339
|
};
|
|
@@ -2341,18 +2341,18 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.getCloudId = f
|
|
|
2341
2341
|
|
|
2342
2342
|
/**
|
|
2343
2343
|
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2344
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2344
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2345
2345
|
*/
|
|
2346
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2346
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.setCloudId = function(value) {
|
|
2347
2347
|
return jspb.Message.setWrapperField(this, 5, value);
|
|
2348
2348
|
};
|
|
2349
2349
|
|
|
2350
2350
|
|
|
2351
2351
|
/**
|
|
2352
2352
|
* Clears the message field making it undefined.
|
|
2353
|
-
* @return {!proto.com.lansweeper.discovery.device.v1.
|
|
2353
|
+
* @return {!proto.com.lansweeper.discovery.device.v1.UsedCredential} returns this
|
|
2354
2354
|
*/
|
|
2355
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2355
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.clearCloudId = function() {
|
|
2356
2356
|
return this.setCloudId(undefined);
|
|
2357
2357
|
};
|
|
2358
2358
|
|
|
@@ -2361,7 +2361,7 @@ proto.com.lansweeper.discovery.device.v1.ScanCredential.prototype.clearCloudId =
|
|
|
2361
2361
|
* Returns whether this field is set.
|
|
2362
2362
|
* @return {boolean}
|
|
2363
2363
|
*/
|
|
2364
|
-
proto.com.lansweeper.discovery.device.v1.
|
|
2364
|
+
proto.com.lansweeper.discovery.device.v1.UsedCredential.prototype.hasCloudId = function() {
|
|
2365
2365
|
return jspb.Message.getField(this, 5) != null;
|
|
2366
2366
|
};
|
|
2367
2367
|
|
package/gen-proto/image.json
CHANGED
|
@@ -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.ScanCredential","jsonName":"credentials"}]},{"name":"ScanCredential","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}],"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,79,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,74,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,5],"span":[76,0,79,1]},{"path":[4,5,1],"span":[76,8,12]},{"path":[4,5,2,0],"span":[77,2,23]},{"path":[4,5,2,0,5],"span":[77,2,8]},{"path":[4,5,2,0,1],"span":[77,9,18]},{"path":[4,5,2,0,3],"span":[77,21,22]},{"path":[4,5,2,1],"span":[78,2,18]},{"path":[4,5,2,1,5],"span":[78,2,7]},{"path":[4,5,2,1,1],"span":[78,8,13]},{"path":[4,5,2,1,3],"span":[78,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"}]}],"enumType":[{"name":"Operation","value":[{"name":"NONE","number":0},{"name":"INSERT","number":1},{"name":"UPDATE","number":2},{"name":"DELETE","number":3}]},{"name":"Reason","value":[{"name":"UNKNOWN","number":0},{"name":"DUPLICATE_NAME","number":1}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.CredentialResponse"},"sourceCodeInfo":{"location":[{"span":[0,0,32,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,17,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,13]},{"path":[5,0,2,1,1],"span":[14,2,8]},{"path":[5,0,2,1,2],"span":[14,11,12]},{"path":[5,0,2,2],"span":[15,2,13]},{"path":[5,0,2,2,1],"span":[15,2,8]},{"path":[5,0,2,2,2],"span":[15,11,12]},{"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,1],"span":[19,0,22,1]},{"path":[5,1,1],"span":[19,5,11]},{"path":[5,1,2,0],"span":[20,2,14]},{"path":[5,1,2,0,1],"span":[20,2,9]},{"path":[5,1,2,0,2],"span":[20,12,13]},{"path":[5,1,2,1],"span":[21,2,21]},{"path":[5,1,2,1,1],"span":[21,2,16]},{"path":[5,1,2,1,2],"span":[21,19,20]},{"path":[4,0],"span":[24,0,32,1]},{"path":[4,0,1],"span":[24,8,26]},{"path":[4,0,2,0],"span":[25,2,23]},{"path":[4,0,2,0,5],"span":[25,2,8]},{"path":[4,0,2,0,1],"span":[25,9,18]},{"path":[4,0,2,0,3],"span":[25,21,22]},{"path":[4,0,2,1],"span":[26,2,27]},{"path":[4,0,2,1,5],"span":[26,2,8]},{"path":[4,0,2,1,1],"span":[26,9,22]},{"path":[4,0,2,1,3],"span":[26,25,26]},{"path":[4,0,2,2],"span":[27,2,26]},{"path":[4,0,2,2,6],"span":[27,2,11]},{"path":[4,0,2,2,1],"span":[27,12,21]},{"path":[4,0,2,2,3],"span":[27,24,25]},{"path":[4,0,2,3],"span":[28,2,17]},{"path":[4,0,2,3,5],"span":[28,2,6]},{"path":[4,0,2,3,1],"span":[28,7,12]},{"path":[4,0,2,3,3],"span":[28,15,16]},{"path":[4,0,2,4],"span":[29,2,20]},{"path":[4,0,2,4,6],"span":[29,2,8]},{"path":[4,0,2,4,1],"span":[29,9,15]},{"path":[4,0,2,4,3],"span":[29,18,19]},{"path":[4,0,2,5],"span":[30,2,48]},{"path":[4,0,2,5,6],"span":[30,2,29]},{"path":[4,0,2,5,1],"span":[30,30,43]},{"path":[4,0,2,5,3],"span":[30,46,47]},{"path":[4,0,2,6],"span":[31,2,47]},{"path":[4,0,2,6,6],"span":[31,2,27]},{"path":[4,0,2,6,1],"span":[31,28,43]},{"path":[4,0,2,6,3],"span":[31,45,46]}]},"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":"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}],"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,79,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,74,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,5],"span":[76,0,79,1]},{"path":[4,5,1],"span":[76,8,12]},{"path":[4,5,2,0],"span":[77,2,23]},{"path":[4,5,2,0,5],"span":[77,2,8]},{"path":[4,5,2,0,1],"span":[77,9,18]},{"path":[4,5,2,0,3],"span":[77,21,22]},{"path":[4,5,2,1],"span":[78,2,18]},{"path":[4,5,2,1,5],"span":[78,2,7]},{"path":[4,5,2,1,1],"span":[78,8,13]},{"path":[4,5,2,1,3],"span":[78,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"}]}],"enumType":[{"name":"Operation","value":[{"name":"NONE","number":0},{"name":"INSERT","number":1},{"name":"UPDATE","number":2},{"name":"DELETE","number":3}]},{"name":"Reason","value":[{"name":"UNKNOWN","number":0},{"name":"DUPLICATE_NAME","number":1}]}],"options":{"javaMultipleFiles":true,"goPackage":"./generated-go","csharpNamespace":"Lansweeper.Discovery.Model.Proto.CredentialResponse"},"sourceCodeInfo":{"location":[{"span":[0,0,32,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,17,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,13]},{"path":[5,0,2,1,1],"span":[14,2,8]},{"path":[5,0,2,1,2],"span":[14,11,12]},{"path":[5,0,2,2],"span":[15,2,13]},{"path":[5,0,2,2,1],"span":[15,2,8]},{"path":[5,0,2,2,2],"span":[15,11,12]},{"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,1],"span":[19,0,22,1]},{"path":[5,1,1],"span":[19,5,11]},{"path":[5,1,2,0],"span":[20,2,14]},{"path":[5,1,2,0,1],"span":[20,2,9]},{"path":[5,1,2,0,2],"span":[20,12,13]},{"path":[5,1,2,1],"span":[21,2,21]},{"path":[5,1,2,1,1],"span":[21,2,16]},{"path":[5,1,2,1,2],"span":[21,19,20]},{"path":[4,0],"span":[24,0,32,1]},{"path":[4,0,1],"span":[24,8,26]},{"path":[4,0,2,0],"span":[25,2,23]},{"path":[4,0,2,0,5],"span":[25,2,8]},{"path":[4,0,2,0,1],"span":[25,9,18]},{"path":[4,0,2,0,3],"span":[25,21,22]},{"path":[4,0,2,1],"span":[26,2,27]},{"path":[4,0,2,1,5],"span":[26,2,8]},{"path":[4,0,2,1,1],"span":[26,9,22]},{"path":[4,0,2,1,3],"span":[26,25,26]},{"path":[4,0,2,2],"span":[27,2,26]},{"path":[4,0,2,2,6],"span":[27,2,11]},{"path":[4,0,2,2,1],"span":[27,12,21]},{"path":[4,0,2,2,3],"span":[27,24,25]},{"path":[4,0,2,3],"span":[28,2,17]},{"path":[4,0,2,3,5],"span":[28,2,6]},{"path":[4,0,2,3,1],"span":[28,7,12]},{"path":[4,0,2,3,3],"span":[28,15,16]},{"path":[4,0,2,4],"span":[29,2,20]},{"path":[4,0,2,4,6],"span":[29,2,8]},{"path":[4,0,2,4,1],"span":[29,9,15]},{"path":[4,0,2,4,3],"span":[29,18,19]},{"path":[4,0,2,5],"span":[30,2,48]},{"path":[4,0,2,5,6],"span":[30,2,29]},{"path":[4,0,2,5,1],"span":[30,30,43]},{"path":[4,0,2,5,3],"span":[30,46,47]},{"path":[4,0,2,6],"span":[31,2,47]},{"path":[4,0,2,6,6],"span":[31,2,27]},{"path":[4,0,2,6,1],"span":[31,28,43]},{"path":[4,0,2,6,3],"span":[31,45,46]}]},"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.
|
|
4
|
+
"version": "2.15.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": "
|
|
19
|
+
"gitHead": "95a83e77ccd385ff193bf662ab6a569943c2cf9d"
|
|
20
20
|
}
|
|
@@ -47,10 +47,10 @@ message Device {
|
|
|
47
47
|
|
|
48
48
|
message Scan {
|
|
49
49
|
repeated ScanSection sections = 1;
|
|
50
|
-
repeated
|
|
50
|
+
repeated UsedCredential credentials = 2;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
message
|
|
53
|
+
message UsedCredential {
|
|
54
54
|
google.protobuf.StringValue vault_type = 1;
|
|
55
55
|
google.protobuf.StringValue vault_name = 2;
|
|
56
56
|
google.protobuf.StringValue name = 3;
|