@lansweeper/multitenant-api-grpc 0.4.41 → 0.4.43

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.
@@ -64,6 +64,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsBySiteRequest.Filt
64
64
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsBySiteResponse', null, global);
65
65
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest', null, global);
66
66
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountResponse', null, global);
67
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest', null, global);
68
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse', null, global);
67
69
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdRequest', null, global);
68
70
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdResponse', null, global);
69
71
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData', null, global);
@@ -683,6 +685,48 @@ if (goog.DEBUG && !COMPILED) {
683
685
  */
684
686
  proto.lansweeper.multitenant.v1.GetInstallsBySiteResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallsBySiteResponse';
685
687
  }
688
+ /**
689
+ * Generated by JsPbCodeGenerator.
690
+ * @param {Array=} opt_data Optional initial data array, typically from a
691
+ * server response, or constructed directly in Javascript. The array is used
692
+ * in place and becomes part of the constructed object. It is not cloned.
693
+ * If no data is provided, the constructed object will be empty, but still
694
+ * valid.
695
+ * @extends {jspb.Message}
696
+ * @constructor
697
+ */
698
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest = function(opt_data) {
699
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.repeatedFields_, null);
700
+ };
701
+ goog.inherits(proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest, jspb.Message);
702
+ if (goog.DEBUG && !COMPILED) {
703
+ /**
704
+ * @public
705
+ * @override
706
+ */
707
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.displayName = 'proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest';
708
+ }
709
+ /**
710
+ * Generated by JsPbCodeGenerator.
711
+ * @param {Array=} opt_data Optional initial data array, typically from a
712
+ * server response, or constructed directly in Javascript. The array is used
713
+ * in place and becomes part of the constructed object. It is not cloned.
714
+ * If no data is provided, the constructed object will be empty, but still
715
+ * valid.
716
+ * @extends {jspb.Message}
717
+ * @constructor
718
+ */
719
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse = function(opt_data) {
720
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.repeatedFields_, null);
721
+ };
722
+ goog.inherits(proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse, jspb.Message);
723
+ if (goog.DEBUG && !COMPILED) {
724
+ /**
725
+ * @public
726
+ * @override
727
+ */
728
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse';
729
+ }
686
730
  /**
687
731
  * Generated by JsPbCodeGenerator.
688
732
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6921,6 +6965,322 @@ proto.lansweeper.multitenant.v1.GetInstallsBySiteResponse.prototype.clearInstall
6921
6965
 
6922
6966
 
6923
6967
 
6968
+ /**
6969
+ * List of repeated fields within this message type.
6970
+ * @private {!Array<number>}
6971
+ * @const
6972
+ */
6973
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.repeatedFields_ = [1];
6974
+
6975
+
6976
+
6977
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6978
+ /**
6979
+ * Creates an object representation of this proto.
6980
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6981
+ * Optional fields that are not set will be set to undefined.
6982
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6983
+ * For the list of reserved names please see:
6984
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6985
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6986
+ * JSPB instance for transitional soy proto support:
6987
+ * http://goto/soy-param-migration
6988
+ * @return {!Object}
6989
+ */
6990
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.prototype.toObject = function(opt_includeInstance) {
6991
+ return proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.toObject(opt_includeInstance, this);
6992
+ };
6993
+
6994
+
6995
+ /**
6996
+ * Static version of the {@see toObject} method.
6997
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6998
+ * the JSPB instance for transitional soy proto support:
6999
+ * http://goto/soy-param-migration
7000
+ * @param {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest} msg The msg instance to transform.
7001
+ * @return {!Object}
7002
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7003
+ */
7004
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.toObject = function(includeInstance, msg) {
7005
+ var f, obj = {
7006
+ siteIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
7007
+ };
7008
+
7009
+ if (includeInstance) {
7010
+ obj.$jspbMessageInstance = msg;
7011
+ }
7012
+ return obj;
7013
+ };
7014
+ }
7015
+
7016
+
7017
+ /**
7018
+ * Deserializes binary data (in protobuf wire format).
7019
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7020
+ * @return {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest}
7021
+ */
7022
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.deserializeBinary = function(bytes) {
7023
+ var reader = new jspb.BinaryReader(bytes);
7024
+ var msg = new proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest;
7025
+ return proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.deserializeBinaryFromReader(msg, reader);
7026
+ };
7027
+
7028
+
7029
+ /**
7030
+ * Deserializes binary data (in protobuf wire format) from the
7031
+ * given reader into the given message object.
7032
+ * @param {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest} msg The message object to deserialize into.
7033
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7034
+ * @return {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest}
7035
+ */
7036
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.deserializeBinaryFromReader = function(msg, reader) {
7037
+ while (reader.nextField()) {
7038
+ if (reader.isEndGroup()) {
7039
+ break;
7040
+ }
7041
+ var field = reader.getFieldNumber();
7042
+ switch (field) {
7043
+ case 1:
7044
+ var value = /** @type {string} */ (reader.readString());
7045
+ msg.addSiteIds(value);
7046
+ break;
7047
+ default:
7048
+ reader.skipField();
7049
+ break;
7050
+ }
7051
+ }
7052
+ return msg;
7053
+ };
7054
+
7055
+
7056
+ /**
7057
+ * Serializes the message to binary data (in protobuf wire format).
7058
+ * @return {!Uint8Array}
7059
+ */
7060
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.prototype.serializeBinary = function() {
7061
+ var writer = new jspb.BinaryWriter();
7062
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.serializeBinaryToWriter(this, writer);
7063
+ return writer.getResultBuffer();
7064
+ };
7065
+
7066
+
7067
+ /**
7068
+ * Serializes the given message to binary data (in protobuf wire
7069
+ * format), writing to the given BinaryWriter.
7070
+ * @param {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest} message
7071
+ * @param {!jspb.BinaryWriter} writer
7072
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7073
+ */
7074
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.serializeBinaryToWriter = function(message, writer) {
7075
+ var f = undefined;
7076
+ f = message.getSiteIdsList();
7077
+ if (f.length > 0) {
7078
+ writer.writeRepeatedString(
7079
+ 1,
7080
+ f
7081
+ );
7082
+ }
7083
+ };
7084
+
7085
+
7086
+ /**
7087
+ * repeated string site_ids = 1;
7088
+ * @return {!Array<string>}
7089
+ */
7090
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.prototype.getSiteIdsList = function() {
7091
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
7092
+ };
7093
+
7094
+
7095
+ /**
7096
+ * @param {!Array<string>} value
7097
+ * @return {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest} returns this
7098
+ */
7099
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.prototype.setSiteIdsList = function(value) {
7100
+ return jspb.Message.setField(this, 1, value || []);
7101
+ };
7102
+
7103
+
7104
+ /**
7105
+ * @param {string} value
7106
+ * @param {number=} opt_index
7107
+ * @return {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest} returns this
7108
+ */
7109
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.prototype.addSiteIds = function(value, opt_index) {
7110
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
7111
+ };
7112
+
7113
+
7114
+ /**
7115
+ * Clears the list making it empty but non-null.
7116
+ * @return {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest} returns this
7117
+ */
7118
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest.prototype.clearSiteIdsList = function() {
7119
+ return this.setSiteIdsList([]);
7120
+ };
7121
+
7122
+
7123
+
7124
+ /**
7125
+ * List of repeated fields within this message type.
7126
+ * @private {!Array<number>}
7127
+ * @const
7128
+ */
7129
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.repeatedFields_ = [1];
7130
+
7131
+
7132
+
7133
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7134
+ /**
7135
+ * Creates an object representation of this proto.
7136
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7137
+ * Optional fields that are not set will be set to undefined.
7138
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7139
+ * For the list of reserved names please see:
7140
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7141
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7142
+ * JSPB instance for transitional soy proto support:
7143
+ * http://goto/soy-param-migration
7144
+ * @return {!Object}
7145
+ */
7146
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.prototype.toObject = function(opt_includeInstance) {
7147
+ return proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.toObject(opt_includeInstance, this);
7148
+ };
7149
+
7150
+
7151
+ /**
7152
+ * Static version of the {@see toObject} method.
7153
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7154
+ * the JSPB instance for transitional soy proto support:
7155
+ * http://goto/soy-param-migration
7156
+ * @param {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse} msg The msg instance to transform.
7157
+ * @return {!Object}
7158
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7159
+ */
7160
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.toObject = function(includeInstance, msg) {
7161
+ var f, obj = {
7162
+ installsList: jspb.Message.toObjectList(msg.getInstallsList(),
7163
+ proto.lansweeper.multitenant.v1.Install.toObject, includeInstance)
7164
+ };
7165
+
7166
+ if (includeInstance) {
7167
+ obj.$jspbMessageInstance = msg;
7168
+ }
7169
+ return obj;
7170
+ };
7171
+ }
7172
+
7173
+
7174
+ /**
7175
+ * Deserializes binary data (in protobuf wire format).
7176
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7177
+ * @return {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse}
7178
+ */
7179
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.deserializeBinary = function(bytes) {
7180
+ var reader = new jspb.BinaryReader(bytes);
7181
+ var msg = new proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse;
7182
+ return proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.deserializeBinaryFromReader(msg, reader);
7183
+ };
7184
+
7185
+
7186
+ /**
7187
+ * Deserializes binary data (in protobuf wire format) from the
7188
+ * given reader into the given message object.
7189
+ * @param {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse} msg The message object to deserialize into.
7190
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7191
+ * @return {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse}
7192
+ */
7193
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.deserializeBinaryFromReader = function(msg, reader) {
7194
+ while (reader.nextField()) {
7195
+ if (reader.isEndGroup()) {
7196
+ break;
7197
+ }
7198
+ var field = reader.getFieldNumber();
7199
+ switch (field) {
7200
+ case 1:
7201
+ var value = new proto.lansweeper.multitenant.v1.Install;
7202
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader);
7203
+ msg.addInstalls(value);
7204
+ break;
7205
+ default:
7206
+ reader.skipField();
7207
+ break;
7208
+ }
7209
+ }
7210
+ return msg;
7211
+ };
7212
+
7213
+
7214
+ /**
7215
+ * Serializes the message to binary data (in protobuf wire format).
7216
+ * @return {!Uint8Array}
7217
+ */
7218
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.prototype.serializeBinary = function() {
7219
+ var writer = new jspb.BinaryWriter();
7220
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.serializeBinaryToWriter(this, writer);
7221
+ return writer.getResultBuffer();
7222
+ };
7223
+
7224
+
7225
+ /**
7226
+ * Serializes the given message to binary data (in protobuf wire
7227
+ * format), writing to the given BinaryWriter.
7228
+ * @param {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse} message
7229
+ * @param {!jspb.BinaryWriter} writer
7230
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7231
+ */
7232
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.serializeBinaryToWriter = function(message, writer) {
7233
+ var f = undefined;
7234
+ f = message.getInstallsList();
7235
+ if (f.length > 0) {
7236
+ writer.writeRepeatedMessage(
7237
+ 1,
7238
+ f,
7239
+ proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter
7240
+ );
7241
+ }
7242
+ };
7243
+
7244
+
7245
+ /**
7246
+ * repeated Install installs = 1;
7247
+ * @return {!Array<!proto.lansweeper.multitenant.v1.Install>}
7248
+ */
7249
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.prototype.getInstallsList = function() {
7250
+ return /** @type{!Array<!proto.lansweeper.multitenant.v1.Install>} */ (
7251
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.Install, 1));
7252
+ };
7253
+
7254
+
7255
+ /**
7256
+ * @param {!Array<!proto.lansweeper.multitenant.v1.Install>} value
7257
+ * @return {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse} returns this
7258
+ */
7259
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.prototype.setInstallsList = function(value) {
7260
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
7261
+ };
7262
+
7263
+
7264
+ /**
7265
+ * @param {!proto.lansweeper.multitenant.v1.Install=} opt_value
7266
+ * @param {number=} opt_index
7267
+ * @return {!proto.lansweeper.multitenant.v1.Install}
7268
+ */
7269
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.prototype.addInstalls = function(opt_value, opt_index) {
7270
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.multitenant.v1.Install, opt_index);
7271
+ };
7272
+
7273
+
7274
+ /**
7275
+ * Clears the list making it empty but non-null.
7276
+ * @return {!proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse} returns this
7277
+ */
7278
+ proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse.prototype.clearInstallsList = function() {
7279
+ return this.setInstallsList([]);
7280
+ };
7281
+
7282
+
7283
+
6924
7284
 
6925
7285
 
6926
7286
  if (jspb.Message.GENERATE_TO_OBJECT) {