@lansweeper/discovery-sensor-proto 2.31.0 → 2.31.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.
@@ -7,24 +7,24 @@
7
7
  import * as jspb from "google-protobuf";
8
8
  import * as import_discovery_common_pb from "./import/discovery_common_pb";
9
9
 
10
- export class SnmpInfo extends jspb.Message {
10
+ export class Snmp extends jspb.Message {
11
11
 
12
12
  hasData(): boolean;
13
13
  clearData(): void;
14
14
  getData(): import_discovery_common_pb.SnmpInfo | undefined;
15
- setData(value?: import_discovery_common_pb.SnmpInfo): SnmpInfo;
15
+ setData(value?: import_discovery_common_pb.SnmpInfo): Snmp;
16
16
 
17
17
  serializeBinary(): Uint8Array;
18
- toObject(includeInstance?: boolean): SnmpInfo.AsObject;
19
- static toObject(includeInstance: boolean, msg: SnmpInfo): SnmpInfo.AsObject;
18
+ toObject(includeInstance?: boolean): Snmp.AsObject;
19
+ static toObject(includeInstance: boolean, msg: Snmp): Snmp.AsObject;
20
20
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
21
21
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
22
- static serializeBinaryToWriter(message: SnmpInfo, writer: jspb.BinaryWriter): void;
23
- static deserializeBinary(bytes: Uint8Array): SnmpInfo;
24
- static deserializeBinaryFromReader(message: SnmpInfo, reader: jspb.BinaryReader): SnmpInfo;
22
+ static serializeBinaryToWriter(message: Snmp, writer: jspb.BinaryWriter): void;
23
+ static deserializeBinary(bytes: Uint8Array): Snmp;
24
+ static deserializeBinaryFromReader(message: Snmp, reader: jspb.BinaryReader): Snmp;
25
25
  }
26
26
 
27
- export namespace SnmpInfo {
27
+ export namespace Snmp {
28
28
  export type AsObject = {
29
29
  data?: import_discovery_common_pb.SnmpInfo.AsObject,
30
30
  }
@@ -23,7 +23,7 @@ var global = (function() {
23
23
 
24
24
  var import_discovery_common_pb = require('./import/discovery_common_pb.js');
25
25
  goog.object.extend(proto, import_discovery_common_pb);
26
- goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo', null, global);
26
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.Snmp', null, global);
27
27
  /**
28
28
  * Generated by JsPbCodeGenerator.
29
29
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -34,16 +34,16 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo', nul
34
34
  * @extends {jspb.Message}
35
35
  * @constructor
36
36
  */
37
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo = function(opt_data) {
37
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp = function(opt_data) {
38
38
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
39
39
  };
40
- goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo, jspb.Message);
40
+ goog.inherits(proto.com.lansweeper.discovery.sensor.other.v1.Snmp, jspb.Message);
41
41
  if (goog.DEBUG && !COMPILED) {
42
42
  /**
43
43
  * @public
44
44
  * @override
45
45
  */
46
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo';
46
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.displayName = 'proto.com.lansweeper.discovery.sensor.other.v1.Snmp';
47
47
  }
48
48
 
49
49
 
@@ -61,8 +61,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
61
61
  * http://goto/soy-param-migration
62
62
  * @return {!Object}
63
63
  */
64
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.toObject = function(opt_includeInstance) {
65
- return proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.toObject(opt_includeInstance, this);
64
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.toObject = function(opt_includeInstance) {
65
+ return proto.com.lansweeper.discovery.sensor.other.v1.Snmp.toObject(opt_includeInstance, this);
66
66
  };
67
67
 
68
68
 
@@ -71,11 +71,11 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.toObject = fun
71
71
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
72
72
  * the JSPB instance for transitional soy proto support:
73
73
  * http://goto/soy-param-migration
74
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} msg The msg instance to transform.
74
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} msg The msg instance to transform.
75
75
  * @return {!Object}
76
76
  * @suppress {unusedLocalVariables} f is only used for nested messages
77
77
  */
78
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.toObject = function(includeInstance, msg) {
78
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.toObject = function(includeInstance, msg) {
79
79
  var f, obj = {
80
80
  data: (f = msg.getData()) && import_discovery_common_pb.SnmpInfo.toObject(includeInstance, f)
81
81
  };
@@ -91,23 +91,23 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.toObject = function(incl
91
91
  /**
92
92
  * Deserializes binary data (in protobuf wire format).
93
93
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
94
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo}
94
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp}
95
95
  */
96
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinary = function(bytes) {
96
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.deserializeBinary = function(bytes) {
97
97
  var reader = new jspb.BinaryReader(bytes);
98
- var msg = new proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo;
99
- return proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinaryFromReader(msg, reader);
98
+ var msg = new proto.com.lansweeper.discovery.sensor.other.v1.Snmp;
99
+ return proto.com.lansweeper.discovery.sensor.other.v1.Snmp.deserializeBinaryFromReader(msg, reader);
100
100
  };
101
101
 
102
102
 
103
103
  /**
104
104
  * Deserializes binary data (in protobuf wire format) from the
105
105
  * given reader into the given message object.
106
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} msg The message object to deserialize into.
106
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} msg The message object to deserialize into.
107
107
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
108
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo}
108
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp}
109
109
  */
110
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinaryFromReader = function(msg, reader) {
110
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.deserializeBinaryFromReader = function(msg, reader) {
111
111
  while (reader.nextField()) {
112
112
  if (reader.isEndGroup()) {
113
113
  break;
@@ -132,9 +132,9 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.deserializeBinaryFromRea
132
132
  * Serializes the message to binary data (in protobuf wire format).
133
133
  * @return {!Uint8Array}
134
134
  */
135
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.serializeBinary = function() {
135
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.serializeBinary = function() {
136
136
  var writer = new jspb.BinaryWriter();
137
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.serializeBinaryToWriter(this, writer);
137
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.serializeBinaryToWriter(this, writer);
138
138
  return writer.getResultBuffer();
139
139
  };
140
140
 
@@ -142,11 +142,11 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.serializeBinar
142
142
  /**
143
143
  * Serializes the given message to binary data (in protobuf wire
144
144
  * format), writing to the given BinaryWriter.
145
- * @param {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} message
145
+ * @param {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} message
146
146
  * @param {!jspb.BinaryWriter} writer
147
147
  * @suppress {unusedLocalVariables} f is only used for nested messages
148
148
  */
149
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.serializeBinaryToWriter = function(message, writer) {
149
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.serializeBinaryToWriter = function(message, writer) {
150
150
  var f = undefined;
151
151
  f = message.getData();
152
152
  if (f != null) {
@@ -163,7 +163,7 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.serializeBinaryToWriter
163
163
  * optional com.lansweeper.discovery.sensor.common.v1.SnmpInfo data = 1;
164
164
  * @return {?proto.com.lansweeper.discovery.sensor.common.v1.SnmpInfo}
165
165
  */
166
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.getData = function() {
166
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.getData = function() {
167
167
  return /** @type{?proto.com.lansweeper.discovery.sensor.common.v1.SnmpInfo} */ (
168
168
  jspb.Message.getWrapperField(this, import_discovery_common_pb.SnmpInfo, 1));
169
169
  };
@@ -171,18 +171,18 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.getData = func
171
171
 
172
172
  /**
173
173
  * @param {?proto.com.lansweeper.discovery.sensor.common.v1.SnmpInfo|undefined} value
174
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} returns this
174
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
175
175
  */
176
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.setData = function(value) {
176
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.setData = function(value) {
177
177
  return jspb.Message.setWrapperField(this, 1, value);
178
178
  };
179
179
 
180
180
 
181
181
  /**
182
182
  * Clears the message field making it undefined.
183
- * @return {!proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo} returns this
183
+ * @return {!proto.com.lansweeper.discovery.sensor.other.v1.Snmp} returns this
184
184
  */
185
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.clearData = function() {
185
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.clearData = function() {
186
186
  return this.setData(undefined);
187
187
  };
188
188
 
@@ -191,7 +191,7 @@ proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.clearData = fu
191
191
  * Returns whether this field is set.
192
192
  * @return {boolean}
193
193
  */
194
- proto.com.lansweeper.discovery.sensor.other.v1.SnmpInfo.prototype.hasData = function() {
194
+ proto.com.lansweeper.discovery.sensor.other.v1.Snmp.prototype.hasData = function() {
195
195
  return jspb.Message.getField(this, 1) != null;
196
196
  };
197
197