@lansweeper/discovery-sensor-proto 2.63.1 → 2.63.2

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.
@@ -8,6 +8,28 @@ import * as jspb from "google-protobuf";
8
8
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
9
9
  import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
10
10
 
11
+ export class ActiveDirectoryScanResult extends jspb.Message {
12
+ clearEntriesList(): void;
13
+ getEntriesList(): Array<ActiveDirectoryObject>;
14
+ setEntriesList(value: Array<ActiveDirectoryObject>): ActiveDirectoryScanResult;
15
+ addEntries(value?: ActiveDirectoryObject, index?: number): ActiveDirectoryObject;
16
+
17
+ serializeBinary(): Uint8Array;
18
+ toObject(includeInstance?: boolean): ActiveDirectoryScanResult.AsObject;
19
+ static toObject(includeInstance: boolean, msg: ActiveDirectoryScanResult): ActiveDirectoryScanResult.AsObject;
20
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
21
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
22
+ static serializeBinaryToWriter(message: ActiveDirectoryScanResult, writer: jspb.BinaryWriter): void;
23
+ static deserializeBinary(bytes: Uint8Array): ActiveDirectoryScanResult;
24
+ static deserializeBinaryFromReader(message: ActiveDirectoryScanResult, reader: jspb.BinaryReader): ActiveDirectoryScanResult;
25
+ }
26
+
27
+ export namespace ActiveDirectoryScanResult {
28
+ export type AsObject = {
29
+ entriesList: Array<ActiveDirectoryObject.AsObject>,
30
+ }
31
+ }
32
+
11
33
  export class ActiveDirectoryObject extends jspb.Message {
12
34
  getDomainObjectGuid(): string;
13
35
  setDomainObjectGuid(value: string): ActiveDirectoryObject;
@@ -30,6 +30,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryD
30
30
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryGroup', null, global);
31
31
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject', null, global);
32
32
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject.ObjectCase', null, global);
33
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult', null, global);
33
34
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryUser', null, global);
34
35
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.AirWatchApplication', null, global);
35
36
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.AirWatchDevice', null, global);
@@ -112,6 +113,27 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.VmwareDisk', nul
112
113
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.VmwareGuestNetwork', null, global);
113
114
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.VmwareNetwork', null, global);
114
115
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.api.v1.VmwareProductInfo', null, global);
116
+ /**
117
+ * Generated by JsPbCodeGenerator.
118
+ * @param {Array=} opt_data Optional initial data array, typically from a
119
+ * server response, or constructed directly in Javascript. The array is used
120
+ * in place and becomes part of the constructed object. It is not cloned.
121
+ * If no data is provided, the constructed object will be empty, but still
122
+ * valid.
123
+ * @extends {jspb.Message}
124
+ * @constructor
125
+ */
126
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult = function(opt_data) {
127
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.repeatedFields_, null);
128
+ };
129
+ goog.inherits(proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult, jspb.Message);
130
+ if (goog.DEBUG && !COMPILED) {
131
+ /**
132
+ * @public
133
+ * @override
134
+ */
135
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult';
136
+ }
115
137
  /**
116
138
  * Generated by JsPbCodeGenerator.
117
139
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1814,6 +1836,166 @@ if (goog.DEBUG && !COMPILED) {
1814
1836
  proto.com.lansweeper.discovery.sensor.api.v1.CitrixPool.displayName = 'proto.com.lansweeper.discovery.sensor.api.v1.CitrixPool';
1815
1837
  }
1816
1838
 
1839
+ /**
1840
+ * List of repeated fields within this message type.
1841
+ * @private {!Array<number>}
1842
+ * @const
1843
+ */
1844
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.repeatedFields_ = [1];
1845
+
1846
+
1847
+
1848
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1849
+ /**
1850
+ * Creates an object representation of this proto.
1851
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1852
+ * Optional fields that are not set will be set to undefined.
1853
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1854
+ * For the list of reserved names please see:
1855
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1856
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1857
+ * JSPB instance for transitional soy proto support:
1858
+ * http://goto/soy-param-migration
1859
+ * @return {!Object}
1860
+ */
1861
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.prototype.toObject = function(opt_includeInstance) {
1862
+ return proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.toObject(opt_includeInstance, this);
1863
+ };
1864
+
1865
+
1866
+ /**
1867
+ * Static version of the {@see toObject} method.
1868
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1869
+ * the JSPB instance for transitional soy proto support:
1870
+ * http://goto/soy-param-migration
1871
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult} msg The msg instance to transform.
1872
+ * @return {!Object}
1873
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1874
+ */
1875
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.toObject = function(includeInstance, msg) {
1876
+ var f, obj = {
1877
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
1878
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject.toObject, includeInstance)
1879
+ };
1880
+
1881
+ if (includeInstance) {
1882
+ obj.$jspbMessageInstance = msg;
1883
+ }
1884
+ return obj;
1885
+ };
1886
+ }
1887
+
1888
+
1889
+ /**
1890
+ * Deserializes binary data (in protobuf wire format).
1891
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1892
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult}
1893
+ */
1894
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.deserializeBinary = function(bytes) {
1895
+ var reader = new jspb.BinaryReader(bytes);
1896
+ var msg = new proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult;
1897
+ return proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.deserializeBinaryFromReader(msg, reader);
1898
+ };
1899
+
1900
+
1901
+ /**
1902
+ * Deserializes binary data (in protobuf wire format) from the
1903
+ * given reader into the given message object.
1904
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult} msg The message object to deserialize into.
1905
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1906
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult}
1907
+ */
1908
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.deserializeBinaryFromReader = function(msg, reader) {
1909
+ while (reader.nextField()) {
1910
+ if (reader.isEndGroup()) {
1911
+ break;
1912
+ }
1913
+ var field = reader.getFieldNumber();
1914
+ switch (field) {
1915
+ case 1:
1916
+ var value = new proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject;
1917
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject.deserializeBinaryFromReader);
1918
+ msg.addEntries(value);
1919
+ break;
1920
+ default:
1921
+ reader.skipField();
1922
+ break;
1923
+ }
1924
+ }
1925
+ return msg;
1926
+ };
1927
+
1928
+
1929
+ /**
1930
+ * Serializes the message to binary data (in protobuf wire format).
1931
+ * @return {!Uint8Array}
1932
+ */
1933
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.prototype.serializeBinary = function() {
1934
+ var writer = new jspb.BinaryWriter();
1935
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.serializeBinaryToWriter(this, writer);
1936
+ return writer.getResultBuffer();
1937
+ };
1938
+
1939
+
1940
+ /**
1941
+ * Serializes the given message to binary data (in protobuf wire
1942
+ * format), writing to the given BinaryWriter.
1943
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult} message
1944
+ * @param {!jspb.BinaryWriter} writer
1945
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1946
+ */
1947
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.serializeBinaryToWriter = function(message, writer) {
1948
+ var f = undefined;
1949
+ f = message.getEntriesList();
1950
+ if (f.length > 0) {
1951
+ writer.writeRepeatedMessage(
1952
+ 1,
1953
+ f,
1954
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject.serializeBinaryToWriter
1955
+ );
1956
+ }
1957
+ };
1958
+
1959
+
1960
+ /**
1961
+ * repeated ActiveDirectoryObject entries = 1;
1962
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject>}
1963
+ */
1964
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.prototype.getEntriesList = function() {
1965
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject>} */ (
1966
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject, 1));
1967
+ };
1968
+
1969
+
1970
+ /**
1971
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject>} value
1972
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult} returns this
1973
+ */
1974
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.prototype.setEntriesList = function(value) {
1975
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1976
+ };
1977
+
1978
+
1979
+ /**
1980
+ * @param {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject=} opt_value
1981
+ * @param {number=} opt_index
1982
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject}
1983
+ */
1984
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.prototype.addEntries = function(opt_value, opt_index) {
1985
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryObject, opt_index);
1986
+ };
1987
+
1988
+
1989
+ /**
1990
+ * Clears the list making it empty but non-null.
1991
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult} returns this
1992
+ */
1993
+ proto.com.lansweeper.discovery.sensor.api.v1.ActiveDirectoryScanResult.prototype.clearEntriesList = function() {
1994
+ return this.setEntriesList([]);
1995
+ };
1996
+
1997
+
1998
+
1817
1999
  /**
1818
2000
  * Oneof group definitions for this message. Each group defines the field
1819
2001
  * numbers belonging to that group. When of these fields' value is set, all