@headspace/protos-events 1.78.0 → 1.80.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.
- package/lib/index.d.ts +759 -105
- package/lib/index.js +1816 -186
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -13984,26 +13984,26 @@ $root.AccessGroupDeleted = (function() {
|
|
|
13984
13984
|
return AccessGroupDeleted;
|
|
13985
13985
|
})();
|
|
13986
13986
|
|
|
13987
|
-
$root.
|
|
13987
|
+
$root.UserAccessGroupMapCreated = (function() {
|
|
13988
13988
|
|
|
13989
13989
|
/**
|
|
13990
|
-
* Properties of a
|
|
13991
|
-
* @exports
|
|
13992
|
-
* @interface
|
|
13993
|
-
* @property {string|null} [userId]
|
|
13994
|
-
* @property {string|null} [accessGroupName]
|
|
13995
|
-
* @property {number|Long|null} [createdAt]
|
|
13990
|
+
* Properties of a UserAccessGroupMapCreated.
|
|
13991
|
+
* @exports IUserAccessGroupMapCreated
|
|
13992
|
+
* @interface IUserAccessGroupMapCreated
|
|
13993
|
+
* @property {string|null} [userId] UserAccessGroupMapCreated userId
|
|
13994
|
+
* @property {string|null} [accessGroupName] UserAccessGroupMapCreated accessGroupName
|
|
13995
|
+
* @property {number|Long|null} [createdAt] UserAccessGroupMapCreated createdAt
|
|
13996
13996
|
*/
|
|
13997
13997
|
|
|
13998
13998
|
/**
|
|
13999
|
-
* Constructs a new
|
|
14000
|
-
* @exports
|
|
14001
|
-
* @classdesc Represents a
|
|
14002
|
-
* @implements
|
|
13999
|
+
* Constructs a new UserAccessGroupMapCreated.
|
|
14000
|
+
* @exports UserAccessGroupMapCreated
|
|
14001
|
+
* @classdesc Represents a UserAccessGroupMapCreated.
|
|
14002
|
+
* @implements IUserAccessGroupMapCreated
|
|
14003
14003
|
* @constructor
|
|
14004
|
-
* @param {
|
|
14004
|
+
* @param {IUserAccessGroupMapCreated=} [properties] Properties to set
|
|
14005
14005
|
*/
|
|
14006
|
-
function
|
|
14006
|
+
function UserAccessGroupMapCreated(properties) {
|
|
14007
14007
|
if (properties)
|
|
14008
14008
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14009
14009
|
if (properties[keys[i]] != null)
|
|
@@ -14011,51 +14011,51 @@ $root.UserAccessGroupCreated = (function() {
|
|
|
14011
14011
|
}
|
|
14012
14012
|
|
|
14013
14013
|
/**
|
|
14014
|
-
*
|
|
14014
|
+
* UserAccessGroupMapCreated userId.
|
|
14015
14015
|
* @member {string} userId
|
|
14016
|
-
* @memberof
|
|
14016
|
+
* @memberof UserAccessGroupMapCreated
|
|
14017
14017
|
* @instance
|
|
14018
14018
|
*/
|
|
14019
|
-
|
|
14019
|
+
UserAccessGroupMapCreated.prototype.userId = "";
|
|
14020
14020
|
|
|
14021
14021
|
/**
|
|
14022
|
-
*
|
|
14022
|
+
* UserAccessGroupMapCreated accessGroupName.
|
|
14023
14023
|
* @member {string} accessGroupName
|
|
14024
|
-
* @memberof
|
|
14024
|
+
* @memberof UserAccessGroupMapCreated
|
|
14025
14025
|
* @instance
|
|
14026
14026
|
*/
|
|
14027
|
-
|
|
14027
|
+
UserAccessGroupMapCreated.prototype.accessGroupName = "";
|
|
14028
14028
|
|
|
14029
14029
|
/**
|
|
14030
|
-
*
|
|
14030
|
+
* UserAccessGroupMapCreated createdAt.
|
|
14031
14031
|
* @member {number|Long} createdAt
|
|
14032
|
-
* @memberof
|
|
14032
|
+
* @memberof UserAccessGroupMapCreated
|
|
14033
14033
|
* @instance
|
|
14034
14034
|
*/
|
|
14035
|
-
|
|
14035
|
+
UserAccessGroupMapCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14036
14036
|
|
|
14037
14037
|
/**
|
|
14038
|
-
* Creates a new
|
|
14038
|
+
* Creates a new UserAccessGroupMapCreated instance using the specified properties.
|
|
14039
14039
|
* @function create
|
|
14040
|
-
* @memberof
|
|
14040
|
+
* @memberof UserAccessGroupMapCreated
|
|
14041
14041
|
* @static
|
|
14042
|
-
* @param {
|
|
14043
|
-
* @returns {
|
|
14042
|
+
* @param {IUserAccessGroupMapCreated=} [properties] Properties to set
|
|
14043
|
+
* @returns {UserAccessGroupMapCreated} UserAccessGroupMapCreated instance
|
|
14044
14044
|
*/
|
|
14045
|
-
|
|
14046
|
-
return new
|
|
14045
|
+
UserAccessGroupMapCreated.create = function create(properties) {
|
|
14046
|
+
return new UserAccessGroupMapCreated(properties);
|
|
14047
14047
|
};
|
|
14048
14048
|
|
|
14049
14049
|
/**
|
|
14050
|
-
* Encodes the specified
|
|
14050
|
+
* Encodes the specified UserAccessGroupMapCreated message. Does not implicitly {@link UserAccessGroupMapCreated.verify|verify} messages.
|
|
14051
14051
|
* @function encode
|
|
14052
|
-
* @memberof
|
|
14052
|
+
* @memberof UserAccessGroupMapCreated
|
|
14053
14053
|
* @static
|
|
14054
|
-
* @param {
|
|
14054
|
+
* @param {IUserAccessGroupMapCreated} message UserAccessGroupMapCreated message or plain object to encode
|
|
14055
14055
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14056
14056
|
* @returns {$protobuf.Writer} Writer
|
|
14057
14057
|
*/
|
|
14058
|
-
|
|
14058
|
+
UserAccessGroupMapCreated.encode = function encode(message, writer) {
|
|
14059
14059
|
if (!writer)
|
|
14060
14060
|
writer = $Writer.create();
|
|
14061
14061
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
@@ -14068,33 +14068,33 @@ $root.UserAccessGroupCreated = (function() {
|
|
|
14068
14068
|
};
|
|
14069
14069
|
|
|
14070
14070
|
/**
|
|
14071
|
-
* Encodes the specified
|
|
14071
|
+
* Encodes the specified UserAccessGroupMapCreated message, length delimited. Does not implicitly {@link UserAccessGroupMapCreated.verify|verify} messages.
|
|
14072
14072
|
* @function encodeDelimited
|
|
14073
|
-
* @memberof
|
|
14073
|
+
* @memberof UserAccessGroupMapCreated
|
|
14074
14074
|
* @static
|
|
14075
|
-
* @param {
|
|
14075
|
+
* @param {IUserAccessGroupMapCreated} message UserAccessGroupMapCreated message or plain object to encode
|
|
14076
14076
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14077
14077
|
* @returns {$protobuf.Writer} Writer
|
|
14078
14078
|
*/
|
|
14079
|
-
|
|
14079
|
+
UserAccessGroupMapCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14080
14080
|
return this.encode(message, writer).ldelim();
|
|
14081
14081
|
};
|
|
14082
14082
|
|
|
14083
14083
|
/**
|
|
14084
|
-
* Decodes a
|
|
14084
|
+
* Decodes a UserAccessGroupMapCreated message from the specified reader or buffer.
|
|
14085
14085
|
* @function decode
|
|
14086
|
-
* @memberof
|
|
14086
|
+
* @memberof UserAccessGroupMapCreated
|
|
14087
14087
|
* @static
|
|
14088
14088
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14089
14089
|
* @param {number} [length] Message length if known beforehand
|
|
14090
|
-
* @returns {
|
|
14090
|
+
* @returns {UserAccessGroupMapCreated} UserAccessGroupMapCreated
|
|
14091
14091
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14092
14092
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14093
14093
|
*/
|
|
14094
|
-
|
|
14094
|
+
UserAccessGroupMapCreated.decode = function decode(reader, length) {
|
|
14095
14095
|
if (!(reader instanceof $Reader))
|
|
14096
14096
|
reader = $Reader.create(reader);
|
|
14097
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
14097
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserAccessGroupMapCreated();
|
|
14098
14098
|
while (reader.pos < end) {
|
|
14099
14099
|
var tag = reader.uint32();
|
|
14100
14100
|
switch (tag >>> 3) {
|
|
@@ -14116,30 +14116,30 @@ $root.UserAccessGroupCreated = (function() {
|
|
|
14116
14116
|
};
|
|
14117
14117
|
|
|
14118
14118
|
/**
|
|
14119
|
-
* Decodes a
|
|
14119
|
+
* Decodes a UserAccessGroupMapCreated message from the specified reader or buffer, length delimited.
|
|
14120
14120
|
* @function decodeDelimited
|
|
14121
|
-
* @memberof
|
|
14121
|
+
* @memberof UserAccessGroupMapCreated
|
|
14122
14122
|
* @static
|
|
14123
14123
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14124
|
-
* @returns {
|
|
14124
|
+
* @returns {UserAccessGroupMapCreated} UserAccessGroupMapCreated
|
|
14125
14125
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14126
14126
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14127
14127
|
*/
|
|
14128
|
-
|
|
14128
|
+
UserAccessGroupMapCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
14129
14129
|
if (!(reader instanceof $Reader))
|
|
14130
14130
|
reader = new $Reader(reader);
|
|
14131
14131
|
return this.decode(reader, reader.uint32());
|
|
14132
14132
|
};
|
|
14133
14133
|
|
|
14134
14134
|
/**
|
|
14135
|
-
* Verifies a
|
|
14135
|
+
* Verifies a UserAccessGroupMapCreated message.
|
|
14136
14136
|
* @function verify
|
|
14137
|
-
* @memberof
|
|
14137
|
+
* @memberof UserAccessGroupMapCreated
|
|
14138
14138
|
* @static
|
|
14139
14139
|
* @param {Object.<string,*>} message Plain object to verify
|
|
14140
14140
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14141
14141
|
*/
|
|
14142
|
-
|
|
14142
|
+
UserAccessGroupMapCreated.verify = function verify(message) {
|
|
14143
14143
|
if (typeof message !== "object" || message === null)
|
|
14144
14144
|
return "object expected";
|
|
14145
14145
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
@@ -14155,17 +14155,17 @@ $root.UserAccessGroupCreated = (function() {
|
|
|
14155
14155
|
};
|
|
14156
14156
|
|
|
14157
14157
|
/**
|
|
14158
|
-
* Creates a
|
|
14158
|
+
* Creates a UserAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
|
|
14159
14159
|
* @function fromObject
|
|
14160
|
-
* @memberof
|
|
14160
|
+
* @memberof UserAccessGroupMapCreated
|
|
14161
14161
|
* @static
|
|
14162
14162
|
* @param {Object.<string,*>} object Plain object
|
|
14163
|
-
* @returns {
|
|
14163
|
+
* @returns {UserAccessGroupMapCreated} UserAccessGroupMapCreated
|
|
14164
14164
|
*/
|
|
14165
|
-
|
|
14166
|
-
if (object instanceof $root.
|
|
14165
|
+
UserAccessGroupMapCreated.fromObject = function fromObject(object) {
|
|
14166
|
+
if (object instanceof $root.UserAccessGroupMapCreated)
|
|
14167
14167
|
return object;
|
|
14168
|
-
var message = new $root.
|
|
14168
|
+
var message = new $root.UserAccessGroupMapCreated();
|
|
14169
14169
|
if (object.userId != null)
|
|
14170
14170
|
message.userId = String(object.userId);
|
|
14171
14171
|
if (object.accessGroupName != null)
|
|
@@ -14183,15 +14183,15 @@ $root.UserAccessGroupCreated = (function() {
|
|
|
14183
14183
|
};
|
|
14184
14184
|
|
|
14185
14185
|
/**
|
|
14186
|
-
* Creates a plain object from a
|
|
14186
|
+
* Creates a plain object from a UserAccessGroupMapCreated message. Also converts values to other types if specified.
|
|
14187
14187
|
* @function toObject
|
|
14188
|
-
* @memberof
|
|
14188
|
+
* @memberof UserAccessGroupMapCreated
|
|
14189
14189
|
* @static
|
|
14190
|
-
* @param {
|
|
14190
|
+
* @param {UserAccessGroupMapCreated} message UserAccessGroupMapCreated
|
|
14191
14191
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14192
14192
|
* @returns {Object.<string,*>} Plain object
|
|
14193
14193
|
*/
|
|
14194
|
-
|
|
14194
|
+
UserAccessGroupMapCreated.toObject = function toObject(message, options) {
|
|
14195
14195
|
if (!options)
|
|
14196
14196
|
options = {};
|
|
14197
14197
|
var object = {};
|
|
@@ -14217,39 +14217,39 @@ $root.UserAccessGroupCreated = (function() {
|
|
|
14217
14217
|
};
|
|
14218
14218
|
|
|
14219
14219
|
/**
|
|
14220
|
-
* Converts this
|
|
14220
|
+
* Converts this UserAccessGroupMapCreated to JSON.
|
|
14221
14221
|
* @function toJSON
|
|
14222
|
-
* @memberof
|
|
14222
|
+
* @memberof UserAccessGroupMapCreated
|
|
14223
14223
|
* @instance
|
|
14224
14224
|
* @returns {Object.<string,*>} JSON object
|
|
14225
14225
|
*/
|
|
14226
|
-
|
|
14226
|
+
UserAccessGroupMapCreated.prototype.toJSON = function toJSON() {
|
|
14227
14227
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14228
14228
|
};
|
|
14229
14229
|
|
|
14230
|
-
return
|
|
14230
|
+
return UserAccessGroupMapCreated;
|
|
14231
14231
|
})();
|
|
14232
14232
|
|
|
14233
|
-
$root.
|
|
14233
|
+
$root.UserAccessGroupMapDeleted = (function() {
|
|
14234
14234
|
|
|
14235
14235
|
/**
|
|
14236
|
-
* Properties of a
|
|
14237
|
-
* @exports
|
|
14238
|
-
* @interface
|
|
14239
|
-
* @property {string|null} [userId]
|
|
14240
|
-
* @property {string|null} [accessGroupName]
|
|
14241
|
-
* @property {number|Long|null} [deletedAt]
|
|
14236
|
+
* Properties of a UserAccessGroupMapDeleted.
|
|
14237
|
+
* @exports IUserAccessGroupMapDeleted
|
|
14238
|
+
* @interface IUserAccessGroupMapDeleted
|
|
14239
|
+
* @property {string|null} [userId] UserAccessGroupMapDeleted userId
|
|
14240
|
+
* @property {string|null} [accessGroupName] UserAccessGroupMapDeleted accessGroupName
|
|
14241
|
+
* @property {number|Long|null} [deletedAt] UserAccessGroupMapDeleted deletedAt
|
|
14242
14242
|
*/
|
|
14243
14243
|
|
|
14244
14244
|
/**
|
|
14245
|
-
* Constructs a new
|
|
14246
|
-
* @exports
|
|
14247
|
-
* @classdesc Represents a
|
|
14248
|
-
* @implements
|
|
14245
|
+
* Constructs a new UserAccessGroupMapDeleted.
|
|
14246
|
+
* @exports UserAccessGroupMapDeleted
|
|
14247
|
+
* @classdesc Represents a UserAccessGroupMapDeleted.
|
|
14248
|
+
* @implements IUserAccessGroupMapDeleted
|
|
14249
14249
|
* @constructor
|
|
14250
|
-
* @param {
|
|
14250
|
+
* @param {IUserAccessGroupMapDeleted=} [properties] Properties to set
|
|
14251
14251
|
*/
|
|
14252
|
-
function
|
|
14252
|
+
function UserAccessGroupMapDeleted(properties) {
|
|
14253
14253
|
if (properties)
|
|
14254
14254
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14255
14255
|
if (properties[keys[i]] != null)
|
|
@@ -14257,51 +14257,51 @@ $root.UserAccessGroupDeleted = (function() {
|
|
|
14257
14257
|
}
|
|
14258
14258
|
|
|
14259
14259
|
/**
|
|
14260
|
-
*
|
|
14260
|
+
* UserAccessGroupMapDeleted userId.
|
|
14261
14261
|
* @member {string} userId
|
|
14262
|
-
* @memberof
|
|
14262
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14263
14263
|
* @instance
|
|
14264
14264
|
*/
|
|
14265
|
-
|
|
14265
|
+
UserAccessGroupMapDeleted.prototype.userId = "";
|
|
14266
14266
|
|
|
14267
14267
|
/**
|
|
14268
|
-
*
|
|
14268
|
+
* UserAccessGroupMapDeleted accessGroupName.
|
|
14269
14269
|
* @member {string} accessGroupName
|
|
14270
|
-
* @memberof
|
|
14270
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14271
14271
|
* @instance
|
|
14272
14272
|
*/
|
|
14273
|
-
|
|
14273
|
+
UserAccessGroupMapDeleted.prototype.accessGroupName = "";
|
|
14274
14274
|
|
|
14275
14275
|
/**
|
|
14276
|
-
*
|
|
14276
|
+
* UserAccessGroupMapDeleted deletedAt.
|
|
14277
14277
|
* @member {number|Long} deletedAt
|
|
14278
|
-
* @memberof
|
|
14278
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14279
14279
|
* @instance
|
|
14280
14280
|
*/
|
|
14281
|
-
|
|
14281
|
+
UserAccessGroupMapDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14282
14282
|
|
|
14283
14283
|
/**
|
|
14284
|
-
* Creates a new
|
|
14284
|
+
* Creates a new UserAccessGroupMapDeleted instance using the specified properties.
|
|
14285
14285
|
* @function create
|
|
14286
|
-
* @memberof
|
|
14286
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14287
14287
|
* @static
|
|
14288
|
-
* @param {
|
|
14289
|
-
* @returns {
|
|
14288
|
+
* @param {IUserAccessGroupMapDeleted=} [properties] Properties to set
|
|
14289
|
+
* @returns {UserAccessGroupMapDeleted} UserAccessGroupMapDeleted instance
|
|
14290
14290
|
*/
|
|
14291
|
-
|
|
14292
|
-
return new
|
|
14291
|
+
UserAccessGroupMapDeleted.create = function create(properties) {
|
|
14292
|
+
return new UserAccessGroupMapDeleted(properties);
|
|
14293
14293
|
};
|
|
14294
14294
|
|
|
14295
14295
|
/**
|
|
14296
|
-
* Encodes the specified
|
|
14296
|
+
* Encodes the specified UserAccessGroupMapDeleted message. Does not implicitly {@link UserAccessGroupMapDeleted.verify|verify} messages.
|
|
14297
14297
|
* @function encode
|
|
14298
|
-
* @memberof
|
|
14298
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14299
14299
|
* @static
|
|
14300
|
-
* @param {
|
|
14300
|
+
* @param {IUserAccessGroupMapDeleted} message UserAccessGroupMapDeleted message or plain object to encode
|
|
14301
14301
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14302
14302
|
* @returns {$protobuf.Writer} Writer
|
|
14303
14303
|
*/
|
|
14304
|
-
|
|
14304
|
+
UserAccessGroupMapDeleted.encode = function encode(message, writer) {
|
|
14305
14305
|
if (!writer)
|
|
14306
14306
|
writer = $Writer.create();
|
|
14307
14307
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
@@ -14314,33 +14314,33 @@ $root.UserAccessGroupDeleted = (function() {
|
|
|
14314
14314
|
};
|
|
14315
14315
|
|
|
14316
14316
|
/**
|
|
14317
|
-
* Encodes the specified
|
|
14317
|
+
* Encodes the specified UserAccessGroupMapDeleted message, length delimited. Does not implicitly {@link UserAccessGroupMapDeleted.verify|verify} messages.
|
|
14318
14318
|
* @function encodeDelimited
|
|
14319
|
-
* @memberof
|
|
14319
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14320
14320
|
* @static
|
|
14321
|
-
* @param {
|
|
14321
|
+
* @param {IUserAccessGroupMapDeleted} message UserAccessGroupMapDeleted message or plain object to encode
|
|
14322
14322
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14323
14323
|
* @returns {$protobuf.Writer} Writer
|
|
14324
14324
|
*/
|
|
14325
|
-
|
|
14325
|
+
UserAccessGroupMapDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14326
14326
|
return this.encode(message, writer).ldelim();
|
|
14327
14327
|
};
|
|
14328
14328
|
|
|
14329
14329
|
/**
|
|
14330
|
-
* Decodes a
|
|
14330
|
+
* Decodes a UserAccessGroupMapDeleted message from the specified reader or buffer.
|
|
14331
14331
|
* @function decode
|
|
14332
|
-
* @memberof
|
|
14332
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14333
14333
|
* @static
|
|
14334
14334
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14335
14335
|
* @param {number} [length] Message length if known beforehand
|
|
14336
|
-
* @returns {
|
|
14336
|
+
* @returns {UserAccessGroupMapDeleted} UserAccessGroupMapDeleted
|
|
14337
14337
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14338
14338
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14339
14339
|
*/
|
|
14340
|
-
|
|
14340
|
+
UserAccessGroupMapDeleted.decode = function decode(reader, length) {
|
|
14341
14341
|
if (!(reader instanceof $Reader))
|
|
14342
14342
|
reader = $Reader.create(reader);
|
|
14343
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
14343
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserAccessGroupMapDeleted();
|
|
14344
14344
|
while (reader.pos < end) {
|
|
14345
14345
|
var tag = reader.uint32();
|
|
14346
14346
|
switch (tag >>> 3) {
|
|
@@ -14362,30 +14362,30 @@ $root.UserAccessGroupDeleted = (function() {
|
|
|
14362
14362
|
};
|
|
14363
14363
|
|
|
14364
14364
|
/**
|
|
14365
|
-
* Decodes a
|
|
14365
|
+
* Decodes a UserAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
|
|
14366
14366
|
* @function decodeDelimited
|
|
14367
|
-
* @memberof
|
|
14367
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14368
14368
|
* @static
|
|
14369
14369
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14370
|
-
* @returns {
|
|
14370
|
+
* @returns {UserAccessGroupMapDeleted} UserAccessGroupMapDeleted
|
|
14371
14371
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14372
14372
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14373
14373
|
*/
|
|
14374
|
-
|
|
14374
|
+
UserAccessGroupMapDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
14375
14375
|
if (!(reader instanceof $Reader))
|
|
14376
14376
|
reader = new $Reader(reader);
|
|
14377
14377
|
return this.decode(reader, reader.uint32());
|
|
14378
14378
|
};
|
|
14379
14379
|
|
|
14380
14380
|
/**
|
|
14381
|
-
* Verifies a
|
|
14381
|
+
* Verifies a UserAccessGroupMapDeleted message.
|
|
14382
14382
|
* @function verify
|
|
14383
|
-
* @memberof
|
|
14383
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14384
14384
|
* @static
|
|
14385
14385
|
* @param {Object.<string,*>} message Plain object to verify
|
|
14386
14386
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14387
14387
|
*/
|
|
14388
|
-
|
|
14388
|
+
UserAccessGroupMapDeleted.verify = function verify(message) {
|
|
14389
14389
|
if (typeof message !== "object" || message === null)
|
|
14390
14390
|
return "object expected";
|
|
14391
14391
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
@@ -14401,17 +14401,17 @@ $root.UserAccessGroupDeleted = (function() {
|
|
|
14401
14401
|
};
|
|
14402
14402
|
|
|
14403
14403
|
/**
|
|
14404
|
-
* Creates a
|
|
14404
|
+
* Creates a UserAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
|
|
14405
14405
|
* @function fromObject
|
|
14406
|
-
* @memberof
|
|
14406
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14407
14407
|
* @static
|
|
14408
14408
|
* @param {Object.<string,*>} object Plain object
|
|
14409
|
-
* @returns {
|
|
14409
|
+
* @returns {UserAccessGroupMapDeleted} UserAccessGroupMapDeleted
|
|
14410
14410
|
*/
|
|
14411
|
-
|
|
14412
|
-
if (object instanceof $root.
|
|
14411
|
+
UserAccessGroupMapDeleted.fromObject = function fromObject(object) {
|
|
14412
|
+
if (object instanceof $root.UserAccessGroupMapDeleted)
|
|
14413
14413
|
return object;
|
|
14414
|
-
var message = new $root.
|
|
14414
|
+
var message = new $root.UserAccessGroupMapDeleted();
|
|
14415
14415
|
if (object.userId != null)
|
|
14416
14416
|
message.userId = String(object.userId);
|
|
14417
14417
|
if (object.accessGroupName != null)
|
|
@@ -14429,15 +14429,15 @@ $root.UserAccessGroupDeleted = (function() {
|
|
|
14429
14429
|
};
|
|
14430
14430
|
|
|
14431
14431
|
/**
|
|
14432
|
-
* Creates a plain object from a
|
|
14432
|
+
* Creates a plain object from a UserAccessGroupMapDeleted message. Also converts values to other types if specified.
|
|
14433
14433
|
* @function toObject
|
|
14434
|
-
* @memberof
|
|
14434
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14435
14435
|
* @static
|
|
14436
|
-
* @param {
|
|
14436
|
+
* @param {UserAccessGroupMapDeleted} message UserAccessGroupMapDeleted
|
|
14437
14437
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14438
14438
|
* @returns {Object.<string,*>} Plain object
|
|
14439
14439
|
*/
|
|
14440
|
-
|
|
14440
|
+
UserAccessGroupMapDeleted.toObject = function toObject(message, options) {
|
|
14441
14441
|
if (!options)
|
|
14442
14442
|
options = {};
|
|
14443
14443
|
var object = {};
|
|
@@ -14463,39 +14463,39 @@ $root.UserAccessGroupDeleted = (function() {
|
|
|
14463
14463
|
};
|
|
14464
14464
|
|
|
14465
14465
|
/**
|
|
14466
|
-
* Converts this
|
|
14466
|
+
* Converts this UserAccessGroupMapDeleted to JSON.
|
|
14467
14467
|
* @function toJSON
|
|
14468
|
-
* @memberof
|
|
14468
|
+
* @memberof UserAccessGroupMapDeleted
|
|
14469
14469
|
* @instance
|
|
14470
14470
|
* @returns {Object.<string,*>} JSON object
|
|
14471
14471
|
*/
|
|
14472
|
-
|
|
14472
|
+
UserAccessGroupMapDeleted.prototype.toJSON = function toJSON() {
|
|
14473
14473
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14474
14474
|
};
|
|
14475
14475
|
|
|
14476
|
-
return
|
|
14476
|
+
return UserAccessGroupMapDeleted;
|
|
14477
14477
|
})();
|
|
14478
14478
|
|
|
14479
|
-
$root.
|
|
14479
|
+
$root.UserAccessGroupMapUpdated = (function() {
|
|
14480
14480
|
|
|
14481
14481
|
/**
|
|
14482
|
-
* Properties of a
|
|
14483
|
-
* @exports
|
|
14484
|
-
* @interface
|
|
14485
|
-
* @property {string|null} [userId]
|
|
14486
|
-
* @property {string|null} [accessGroupName]
|
|
14487
|
-
* @property {number|Long|null} [updatedAt]
|
|
14482
|
+
* Properties of a UserAccessGroupMapUpdated.
|
|
14483
|
+
* @exports IUserAccessGroupMapUpdated
|
|
14484
|
+
* @interface IUserAccessGroupMapUpdated
|
|
14485
|
+
* @property {string|null} [userId] UserAccessGroupMapUpdated userId
|
|
14486
|
+
* @property {string|null} [accessGroupName] UserAccessGroupMapUpdated accessGroupName
|
|
14487
|
+
* @property {number|Long|null} [updatedAt] UserAccessGroupMapUpdated updatedAt
|
|
14488
14488
|
*/
|
|
14489
14489
|
|
|
14490
14490
|
/**
|
|
14491
|
-
* Constructs a new
|
|
14492
|
-
* @exports
|
|
14493
|
-
* @classdesc Represents a
|
|
14494
|
-
* @implements
|
|
14491
|
+
* Constructs a new UserAccessGroupMapUpdated.
|
|
14492
|
+
* @exports UserAccessGroupMapUpdated
|
|
14493
|
+
* @classdesc Represents a UserAccessGroupMapUpdated.
|
|
14494
|
+
* @implements IUserAccessGroupMapUpdated
|
|
14495
14495
|
* @constructor
|
|
14496
|
-
* @param {
|
|
14496
|
+
* @param {IUserAccessGroupMapUpdated=} [properties] Properties to set
|
|
14497
14497
|
*/
|
|
14498
|
-
function
|
|
14498
|
+
function UserAccessGroupMapUpdated(properties) {
|
|
14499
14499
|
if (properties)
|
|
14500
14500
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14501
14501
|
if (properties[keys[i]] != null)
|
|
@@ -14503,51 +14503,51 @@ $root.UserAccessGroupUpdated = (function() {
|
|
|
14503
14503
|
}
|
|
14504
14504
|
|
|
14505
14505
|
/**
|
|
14506
|
-
*
|
|
14506
|
+
* UserAccessGroupMapUpdated userId.
|
|
14507
14507
|
* @member {string} userId
|
|
14508
|
-
* @memberof
|
|
14508
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14509
14509
|
* @instance
|
|
14510
14510
|
*/
|
|
14511
|
-
|
|
14511
|
+
UserAccessGroupMapUpdated.prototype.userId = "";
|
|
14512
14512
|
|
|
14513
14513
|
/**
|
|
14514
|
-
*
|
|
14514
|
+
* UserAccessGroupMapUpdated accessGroupName.
|
|
14515
14515
|
* @member {string} accessGroupName
|
|
14516
|
-
* @memberof
|
|
14516
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14517
14517
|
* @instance
|
|
14518
14518
|
*/
|
|
14519
|
-
|
|
14519
|
+
UserAccessGroupMapUpdated.prototype.accessGroupName = "";
|
|
14520
14520
|
|
|
14521
14521
|
/**
|
|
14522
|
-
*
|
|
14522
|
+
* UserAccessGroupMapUpdated updatedAt.
|
|
14523
14523
|
* @member {number|Long} updatedAt
|
|
14524
|
-
* @memberof
|
|
14524
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14525
14525
|
* @instance
|
|
14526
14526
|
*/
|
|
14527
|
-
|
|
14527
|
+
UserAccessGroupMapUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14528
14528
|
|
|
14529
14529
|
/**
|
|
14530
|
-
* Creates a new
|
|
14530
|
+
* Creates a new UserAccessGroupMapUpdated instance using the specified properties.
|
|
14531
14531
|
* @function create
|
|
14532
|
-
* @memberof
|
|
14532
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14533
14533
|
* @static
|
|
14534
|
-
* @param {
|
|
14535
|
-
* @returns {
|
|
14534
|
+
* @param {IUserAccessGroupMapUpdated=} [properties] Properties to set
|
|
14535
|
+
* @returns {UserAccessGroupMapUpdated} UserAccessGroupMapUpdated instance
|
|
14536
14536
|
*/
|
|
14537
|
-
|
|
14538
|
-
return new
|
|
14537
|
+
UserAccessGroupMapUpdated.create = function create(properties) {
|
|
14538
|
+
return new UserAccessGroupMapUpdated(properties);
|
|
14539
14539
|
};
|
|
14540
14540
|
|
|
14541
14541
|
/**
|
|
14542
|
-
* Encodes the specified
|
|
14542
|
+
* Encodes the specified UserAccessGroupMapUpdated message. Does not implicitly {@link UserAccessGroupMapUpdated.verify|verify} messages.
|
|
14543
14543
|
* @function encode
|
|
14544
|
-
* @memberof
|
|
14544
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14545
14545
|
* @static
|
|
14546
|
-
* @param {
|
|
14546
|
+
* @param {IUserAccessGroupMapUpdated} message UserAccessGroupMapUpdated message or plain object to encode
|
|
14547
14547
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14548
14548
|
* @returns {$protobuf.Writer} Writer
|
|
14549
14549
|
*/
|
|
14550
|
-
|
|
14550
|
+
UserAccessGroupMapUpdated.encode = function encode(message, writer) {
|
|
14551
14551
|
if (!writer)
|
|
14552
14552
|
writer = $Writer.create();
|
|
14553
14553
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
@@ -14560,33 +14560,33 @@ $root.UserAccessGroupUpdated = (function() {
|
|
|
14560
14560
|
};
|
|
14561
14561
|
|
|
14562
14562
|
/**
|
|
14563
|
-
* Encodes the specified
|
|
14563
|
+
* Encodes the specified UserAccessGroupMapUpdated message, length delimited. Does not implicitly {@link UserAccessGroupMapUpdated.verify|verify} messages.
|
|
14564
14564
|
* @function encodeDelimited
|
|
14565
|
-
* @memberof
|
|
14565
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14566
14566
|
* @static
|
|
14567
|
-
* @param {
|
|
14567
|
+
* @param {IUserAccessGroupMapUpdated} message UserAccessGroupMapUpdated message or plain object to encode
|
|
14568
14568
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14569
14569
|
* @returns {$protobuf.Writer} Writer
|
|
14570
14570
|
*/
|
|
14571
|
-
|
|
14571
|
+
UserAccessGroupMapUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14572
14572
|
return this.encode(message, writer).ldelim();
|
|
14573
14573
|
};
|
|
14574
14574
|
|
|
14575
14575
|
/**
|
|
14576
|
-
* Decodes a
|
|
14576
|
+
* Decodes a UserAccessGroupMapUpdated message from the specified reader or buffer.
|
|
14577
14577
|
* @function decode
|
|
14578
|
-
* @memberof
|
|
14578
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14579
14579
|
* @static
|
|
14580
14580
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14581
14581
|
* @param {number} [length] Message length if known beforehand
|
|
14582
|
-
* @returns {
|
|
14582
|
+
* @returns {UserAccessGroupMapUpdated} UserAccessGroupMapUpdated
|
|
14583
14583
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14584
14584
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14585
14585
|
*/
|
|
14586
|
-
|
|
14586
|
+
UserAccessGroupMapUpdated.decode = function decode(reader, length) {
|
|
14587
14587
|
if (!(reader instanceof $Reader))
|
|
14588
14588
|
reader = $Reader.create(reader);
|
|
14589
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.
|
|
14589
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.UserAccessGroupMapUpdated();
|
|
14590
14590
|
while (reader.pos < end) {
|
|
14591
14591
|
var tag = reader.uint32();
|
|
14592
14592
|
switch (tag >>> 3) {
|
|
@@ -14608,30 +14608,30 @@ $root.UserAccessGroupUpdated = (function() {
|
|
|
14608
14608
|
};
|
|
14609
14609
|
|
|
14610
14610
|
/**
|
|
14611
|
-
* Decodes a
|
|
14611
|
+
* Decodes a UserAccessGroupMapUpdated message from the specified reader or buffer, length delimited.
|
|
14612
14612
|
* @function decodeDelimited
|
|
14613
|
-
* @memberof
|
|
14613
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14614
14614
|
* @static
|
|
14615
14615
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14616
|
-
* @returns {
|
|
14616
|
+
* @returns {UserAccessGroupMapUpdated} UserAccessGroupMapUpdated
|
|
14617
14617
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14618
14618
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14619
14619
|
*/
|
|
14620
|
-
|
|
14620
|
+
UserAccessGroupMapUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
14621
14621
|
if (!(reader instanceof $Reader))
|
|
14622
14622
|
reader = new $Reader(reader);
|
|
14623
14623
|
return this.decode(reader, reader.uint32());
|
|
14624
14624
|
};
|
|
14625
14625
|
|
|
14626
14626
|
/**
|
|
14627
|
-
* Verifies a
|
|
14627
|
+
* Verifies a UserAccessGroupMapUpdated message.
|
|
14628
14628
|
* @function verify
|
|
14629
|
-
* @memberof
|
|
14629
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14630
14630
|
* @static
|
|
14631
14631
|
* @param {Object.<string,*>} message Plain object to verify
|
|
14632
14632
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14633
14633
|
*/
|
|
14634
|
-
|
|
14634
|
+
UserAccessGroupMapUpdated.verify = function verify(message) {
|
|
14635
14635
|
if (typeof message !== "object" || message === null)
|
|
14636
14636
|
return "object expected";
|
|
14637
14637
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
@@ -14647,17 +14647,17 @@ $root.UserAccessGroupUpdated = (function() {
|
|
|
14647
14647
|
};
|
|
14648
14648
|
|
|
14649
14649
|
/**
|
|
14650
|
-
* Creates a
|
|
14650
|
+
* Creates a UserAccessGroupMapUpdated message from a plain object. Also converts values to their respective internal types.
|
|
14651
14651
|
* @function fromObject
|
|
14652
|
-
* @memberof
|
|
14652
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14653
14653
|
* @static
|
|
14654
14654
|
* @param {Object.<string,*>} object Plain object
|
|
14655
|
-
* @returns {
|
|
14655
|
+
* @returns {UserAccessGroupMapUpdated} UserAccessGroupMapUpdated
|
|
14656
14656
|
*/
|
|
14657
|
-
|
|
14658
|
-
if (object instanceof $root.
|
|
14657
|
+
UserAccessGroupMapUpdated.fromObject = function fromObject(object) {
|
|
14658
|
+
if (object instanceof $root.UserAccessGroupMapUpdated)
|
|
14659
14659
|
return object;
|
|
14660
|
-
var message = new $root.
|
|
14660
|
+
var message = new $root.UserAccessGroupMapUpdated();
|
|
14661
14661
|
if (object.userId != null)
|
|
14662
14662
|
message.userId = String(object.userId);
|
|
14663
14663
|
if (object.accessGroupName != null)
|
|
@@ -14675,15 +14675,15 @@ $root.UserAccessGroupUpdated = (function() {
|
|
|
14675
14675
|
};
|
|
14676
14676
|
|
|
14677
14677
|
/**
|
|
14678
|
-
* Creates a plain object from a
|
|
14678
|
+
* Creates a plain object from a UserAccessGroupMapUpdated message. Also converts values to other types if specified.
|
|
14679
14679
|
* @function toObject
|
|
14680
|
-
* @memberof
|
|
14680
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14681
14681
|
* @static
|
|
14682
|
-
* @param {
|
|
14682
|
+
* @param {UserAccessGroupMapUpdated} message UserAccessGroupMapUpdated
|
|
14683
14683
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14684
14684
|
* @returns {Object.<string,*>} Plain object
|
|
14685
14685
|
*/
|
|
14686
|
-
|
|
14686
|
+
UserAccessGroupMapUpdated.toObject = function toObject(message, options) {
|
|
14687
14687
|
if (!options)
|
|
14688
14688
|
options = {};
|
|
14689
14689
|
var object = {};
|
|
@@ -14709,17 +14709,1647 @@ $root.UserAccessGroupUpdated = (function() {
|
|
|
14709
14709
|
};
|
|
14710
14710
|
|
|
14711
14711
|
/**
|
|
14712
|
-
* Converts this
|
|
14712
|
+
* Converts this UserAccessGroupMapUpdated to JSON.
|
|
14713
14713
|
* @function toJSON
|
|
14714
|
-
* @memberof
|
|
14714
|
+
* @memberof UserAccessGroupMapUpdated
|
|
14715
14715
|
* @instance
|
|
14716
14716
|
* @returns {Object.<string,*>} JSON object
|
|
14717
14717
|
*/
|
|
14718
|
-
|
|
14718
|
+
UserAccessGroupMapUpdated.prototype.toJSON = function toJSON() {
|
|
14719
14719
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14720
14720
|
};
|
|
14721
14721
|
|
|
14722
|
-
return
|
|
14722
|
+
return UserAccessGroupMapUpdated;
|
|
14723
|
+
})();
|
|
14724
|
+
|
|
14725
|
+
$root.SubscriptionAccessGroupMapCreated = (function() {
|
|
14726
|
+
|
|
14727
|
+
/**
|
|
14728
|
+
* Properties of a SubscriptionAccessGroupMapCreated.
|
|
14729
|
+
* @exports ISubscriptionAccessGroupMapCreated
|
|
14730
|
+
* @interface ISubscriptionAccessGroupMapCreated
|
|
14731
|
+
* @property {string|null} [subscriptionId] SubscriptionAccessGroupMapCreated subscriptionId
|
|
14732
|
+
* @property {string|null} [accessGroupName] SubscriptionAccessGroupMapCreated accessGroupName
|
|
14733
|
+
* @property {number|Long|null} [createdAt] SubscriptionAccessGroupMapCreated createdAt
|
|
14734
|
+
*/
|
|
14735
|
+
|
|
14736
|
+
/**
|
|
14737
|
+
* Constructs a new SubscriptionAccessGroupMapCreated.
|
|
14738
|
+
* @exports SubscriptionAccessGroupMapCreated
|
|
14739
|
+
* @classdesc Represents a SubscriptionAccessGroupMapCreated.
|
|
14740
|
+
* @implements ISubscriptionAccessGroupMapCreated
|
|
14741
|
+
* @constructor
|
|
14742
|
+
* @param {ISubscriptionAccessGroupMapCreated=} [properties] Properties to set
|
|
14743
|
+
*/
|
|
14744
|
+
function SubscriptionAccessGroupMapCreated(properties) {
|
|
14745
|
+
if (properties)
|
|
14746
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14747
|
+
if (properties[keys[i]] != null)
|
|
14748
|
+
this[keys[i]] = properties[keys[i]];
|
|
14749
|
+
}
|
|
14750
|
+
|
|
14751
|
+
/**
|
|
14752
|
+
* SubscriptionAccessGroupMapCreated subscriptionId.
|
|
14753
|
+
* @member {string} subscriptionId
|
|
14754
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14755
|
+
* @instance
|
|
14756
|
+
*/
|
|
14757
|
+
SubscriptionAccessGroupMapCreated.prototype.subscriptionId = "";
|
|
14758
|
+
|
|
14759
|
+
/**
|
|
14760
|
+
* SubscriptionAccessGroupMapCreated accessGroupName.
|
|
14761
|
+
* @member {string} accessGroupName
|
|
14762
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14763
|
+
* @instance
|
|
14764
|
+
*/
|
|
14765
|
+
SubscriptionAccessGroupMapCreated.prototype.accessGroupName = "";
|
|
14766
|
+
|
|
14767
|
+
/**
|
|
14768
|
+
* SubscriptionAccessGroupMapCreated createdAt.
|
|
14769
|
+
* @member {number|Long} createdAt
|
|
14770
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14771
|
+
* @instance
|
|
14772
|
+
*/
|
|
14773
|
+
SubscriptionAccessGroupMapCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
14774
|
+
|
|
14775
|
+
/**
|
|
14776
|
+
* Creates a new SubscriptionAccessGroupMapCreated instance using the specified properties.
|
|
14777
|
+
* @function create
|
|
14778
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14779
|
+
* @static
|
|
14780
|
+
* @param {ISubscriptionAccessGroupMapCreated=} [properties] Properties to set
|
|
14781
|
+
* @returns {SubscriptionAccessGroupMapCreated} SubscriptionAccessGroupMapCreated instance
|
|
14782
|
+
*/
|
|
14783
|
+
SubscriptionAccessGroupMapCreated.create = function create(properties) {
|
|
14784
|
+
return new SubscriptionAccessGroupMapCreated(properties);
|
|
14785
|
+
};
|
|
14786
|
+
|
|
14787
|
+
/**
|
|
14788
|
+
* Encodes the specified SubscriptionAccessGroupMapCreated message. Does not implicitly {@link SubscriptionAccessGroupMapCreated.verify|verify} messages.
|
|
14789
|
+
* @function encode
|
|
14790
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14791
|
+
* @static
|
|
14792
|
+
* @param {ISubscriptionAccessGroupMapCreated} message SubscriptionAccessGroupMapCreated message or plain object to encode
|
|
14793
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14794
|
+
* @returns {$protobuf.Writer} Writer
|
|
14795
|
+
*/
|
|
14796
|
+
SubscriptionAccessGroupMapCreated.encode = function encode(message, writer) {
|
|
14797
|
+
if (!writer)
|
|
14798
|
+
writer = $Writer.create();
|
|
14799
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
14800
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.subscriptionId);
|
|
14801
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
14802
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
|
|
14803
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
14804
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.createdAt);
|
|
14805
|
+
return writer;
|
|
14806
|
+
};
|
|
14807
|
+
|
|
14808
|
+
/**
|
|
14809
|
+
* Encodes the specified SubscriptionAccessGroupMapCreated message, length delimited. Does not implicitly {@link SubscriptionAccessGroupMapCreated.verify|verify} messages.
|
|
14810
|
+
* @function encodeDelimited
|
|
14811
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14812
|
+
* @static
|
|
14813
|
+
* @param {ISubscriptionAccessGroupMapCreated} message SubscriptionAccessGroupMapCreated message or plain object to encode
|
|
14814
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14815
|
+
* @returns {$protobuf.Writer} Writer
|
|
14816
|
+
*/
|
|
14817
|
+
SubscriptionAccessGroupMapCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14818
|
+
return this.encode(message, writer).ldelim();
|
|
14819
|
+
};
|
|
14820
|
+
|
|
14821
|
+
/**
|
|
14822
|
+
* Decodes a SubscriptionAccessGroupMapCreated message from the specified reader or buffer.
|
|
14823
|
+
* @function decode
|
|
14824
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14825
|
+
* @static
|
|
14826
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14827
|
+
* @param {number} [length] Message length if known beforehand
|
|
14828
|
+
* @returns {SubscriptionAccessGroupMapCreated} SubscriptionAccessGroupMapCreated
|
|
14829
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14830
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14831
|
+
*/
|
|
14832
|
+
SubscriptionAccessGroupMapCreated.decode = function decode(reader, length) {
|
|
14833
|
+
if (!(reader instanceof $Reader))
|
|
14834
|
+
reader = $Reader.create(reader);
|
|
14835
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SubscriptionAccessGroupMapCreated();
|
|
14836
|
+
while (reader.pos < end) {
|
|
14837
|
+
var tag = reader.uint32();
|
|
14838
|
+
switch (tag >>> 3) {
|
|
14839
|
+
case 1:
|
|
14840
|
+
message.subscriptionId = reader.string();
|
|
14841
|
+
break;
|
|
14842
|
+
case 2:
|
|
14843
|
+
message.accessGroupName = reader.string();
|
|
14844
|
+
break;
|
|
14845
|
+
case 3:
|
|
14846
|
+
message.createdAt = reader.uint64();
|
|
14847
|
+
break;
|
|
14848
|
+
default:
|
|
14849
|
+
reader.skipType(tag & 7);
|
|
14850
|
+
break;
|
|
14851
|
+
}
|
|
14852
|
+
}
|
|
14853
|
+
return message;
|
|
14854
|
+
};
|
|
14855
|
+
|
|
14856
|
+
/**
|
|
14857
|
+
* Decodes a SubscriptionAccessGroupMapCreated message from the specified reader or buffer, length delimited.
|
|
14858
|
+
* @function decodeDelimited
|
|
14859
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14860
|
+
* @static
|
|
14861
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14862
|
+
* @returns {SubscriptionAccessGroupMapCreated} SubscriptionAccessGroupMapCreated
|
|
14863
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14864
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14865
|
+
*/
|
|
14866
|
+
SubscriptionAccessGroupMapCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
14867
|
+
if (!(reader instanceof $Reader))
|
|
14868
|
+
reader = new $Reader(reader);
|
|
14869
|
+
return this.decode(reader, reader.uint32());
|
|
14870
|
+
};
|
|
14871
|
+
|
|
14872
|
+
/**
|
|
14873
|
+
* Verifies a SubscriptionAccessGroupMapCreated message.
|
|
14874
|
+
* @function verify
|
|
14875
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14876
|
+
* @static
|
|
14877
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
14878
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14879
|
+
*/
|
|
14880
|
+
SubscriptionAccessGroupMapCreated.verify = function verify(message) {
|
|
14881
|
+
if (typeof message !== "object" || message === null)
|
|
14882
|
+
return "object expected";
|
|
14883
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
14884
|
+
if (!$util.isString(message.subscriptionId))
|
|
14885
|
+
return "subscriptionId: string expected";
|
|
14886
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
14887
|
+
if (!$util.isString(message.accessGroupName))
|
|
14888
|
+
return "accessGroupName: string expected";
|
|
14889
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
14890
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
14891
|
+
return "createdAt: integer|Long expected";
|
|
14892
|
+
return null;
|
|
14893
|
+
};
|
|
14894
|
+
|
|
14895
|
+
/**
|
|
14896
|
+
* Creates a SubscriptionAccessGroupMapCreated message from a plain object. Also converts values to their respective internal types.
|
|
14897
|
+
* @function fromObject
|
|
14898
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14899
|
+
* @static
|
|
14900
|
+
* @param {Object.<string,*>} object Plain object
|
|
14901
|
+
* @returns {SubscriptionAccessGroupMapCreated} SubscriptionAccessGroupMapCreated
|
|
14902
|
+
*/
|
|
14903
|
+
SubscriptionAccessGroupMapCreated.fromObject = function fromObject(object) {
|
|
14904
|
+
if (object instanceof $root.SubscriptionAccessGroupMapCreated)
|
|
14905
|
+
return object;
|
|
14906
|
+
var message = new $root.SubscriptionAccessGroupMapCreated();
|
|
14907
|
+
if (object.subscriptionId != null)
|
|
14908
|
+
message.subscriptionId = String(object.subscriptionId);
|
|
14909
|
+
if (object.accessGroupName != null)
|
|
14910
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
14911
|
+
if (object.createdAt != null)
|
|
14912
|
+
if ($util.Long)
|
|
14913
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
14914
|
+
else if (typeof object.createdAt === "string")
|
|
14915
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
14916
|
+
else if (typeof object.createdAt === "number")
|
|
14917
|
+
message.createdAt = object.createdAt;
|
|
14918
|
+
else if (typeof object.createdAt === "object")
|
|
14919
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
14920
|
+
return message;
|
|
14921
|
+
};
|
|
14922
|
+
|
|
14923
|
+
/**
|
|
14924
|
+
* Creates a plain object from a SubscriptionAccessGroupMapCreated message. Also converts values to other types if specified.
|
|
14925
|
+
* @function toObject
|
|
14926
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14927
|
+
* @static
|
|
14928
|
+
* @param {SubscriptionAccessGroupMapCreated} message SubscriptionAccessGroupMapCreated
|
|
14929
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
14930
|
+
* @returns {Object.<string,*>} Plain object
|
|
14931
|
+
*/
|
|
14932
|
+
SubscriptionAccessGroupMapCreated.toObject = function toObject(message, options) {
|
|
14933
|
+
if (!options)
|
|
14934
|
+
options = {};
|
|
14935
|
+
var object = {};
|
|
14936
|
+
if (options.defaults) {
|
|
14937
|
+
object.subscriptionId = "";
|
|
14938
|
+
object.accessGroupName = "";
|
|
14939
|
+
if ($util.Long) {
|
|
14940
|
+
var long = new $util.Long(0, 0, true);
|
|
14941
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
14942
|
+
} else
|
|
14943
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
14944
|
+
}
|
|
14945
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
14946
|
+
object.subscriptionId = message.subscriptionId;
|
|
14947
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
14948
|
+
object.accessGroupName = message.accessGroupName;
|
|
14949
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
14950
|
+
if (typeof message.createdAt === "number")
|
|
14951
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
14952
|
+
else
|
|
14953
|
+
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
14954
|
+
return object;
|
|
14955
|
+
};
|
|
14956
|
+
|
|
14957
|
+
/**
|
|
14958
|
+
* Converts this SubscriptionAccessGroupMapCreated to JSON.
|
|
14959
|
+
* @function toJSON
|
|
14960
|
+
* @memberof SubscriptionAccessGroupMapCreated
|
|
14961
|
+
* @instance
|
|
14962
|
+
* @returns {Object.<string,*>} JSON object
|
|
14963
|
+
*/
|
|
14964
|
+
SubscriptionAccessGroupMapCreated.prototype.toJSON = function toJSON() {
|
|
14965
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
14966
|
+
};
|
|
14967
|
+
|
|
14968
|
+
return SubscriptionAccessGroupMapCreated;
|
|
14969
|
+
})();
|
|
14970
|
+
|
|
14971
|
+
$root.SubscriptionAccessGroupMapDeleted = (function() {
|
|
14972
|
+
|
|
14973
|
+
/**
|
|
14974
|
+
* Properties of a SubscriptionAccessGroupMapDeleted.
|
|
14975
|
+
* @exports ISubscriptionAccessGroupMapDeleted
|
|
14976
|
+
* @interface ISubscriptionAccessGroupMapDeleted
|
|
14977
|
+
* @property {string|null} [subscriptionId] SubscriptionAccessGroupMapDeleted subscriptionId
|
|
14978
|
+
* @property {string|null} [accessGroupName] SubscriptionAccessGroupMapDeleted accessGroupName
|
|
14979
|
+
* @property {number|Long|null} [deletedAt] SubscriptionAccessGroupMapDeleted deletedAt
|
|
14980
|
+
*/
|
|
14981
|
+
|
|
14982
|
+
/**
|
|
14983
|
+
* Constructs a new SubscriptionAccessGroupMapDeleted.
|
|
14984
|
+
* @exports SubscriptionAccessGroupMapDeleted
|
|
14985
|
+
* @classdesc Represents a SubscriptionAccessGroupMapDeleted.
|
|
14986
|
+
* @implements ISubscriptionAccessGroupMapDeleted
|
|
14987
|
+
* @constructor
|
|
14988
|
+
* @param {ISubscriptionAccessGroupMapDeleted=} [properties] Properties to set
|
|
14989
|
+
*/
|
|
14990
|
+
function SubscriptionAccessGroupMapDeleted(properties) {
|
|
14991
|
+
if (properties)
|
|
14992
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14993
|
+
if (properties[keys[i]] != null)
|
|
14994
|
+
this[keys[i]] = properties[keys[i]];
|
|
14995
|
+
}
|
|
14996
|
+
|
|
14997
|
+
/**
|
|
14998
|
+
* SubscriptionAccessGroupMapDeleted subscriptionId.
|
|
14999
|
+
* @member {string} subscriptionId
|
|
15000
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15001
|
+
* @instance
|
|
15002
|
+
*/
|
|
15003
|
+
SubscriptionAccessGroupMapDeleted.prototype.subscriptionId = "";
|
|
15004
|
+
|
|
15005
|
+
/**
|
|
15006
|
+
* SubscriptionAccessGroupMapDeleted accessGroupName.
|
|
15007
|
+
* @member {string} accessGroupName
|
|
15008
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15009
|
+
* @instance
|
|
15010
|
+
*/
|
|
15011
|
+
SubscriptionAccessGroupMapDeleted.prototype.accessGroupName = "";
|
|
15012
|
+
|
|
15013
|
+
/**
|
|
15014
|
+
* SubscriptionAccessGroupMapDeleted deletedAt.
|
|
15015
|
+
* @member {number|Long} deletedAt
|
|
15016
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15017
|
+
* @instance
|
|
15018
|
+
*/
|
|
15019
|
+
SubscriptionAccessGroupMapDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
15020
|
+
|
|
15021
|
+
/**
|
|
15022
|
+
* Creates a new SubscriptionAccessGroupMapDeleted instance using the specified properties.
|
|
15023
|
+
* @function create
|
|
15024
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15025
|
+
* @static
|
|
15026
|
+
* @param {ISubscriptionAccessGroupMapDeleted=} [properties] Properties to set
|
|
15027
|
+
* @returns {SubscriptionAccessGroupMapDeleted} SubscriptionAccessGroupMapDeleted instance
|
|
15028
|
+
*/
|
|
15029
|
+
SubscriptionAccessGroupMapDeleted.create = function create(properties) {
|
|
15030
|
+
return new SubscriptionAccessGroupMapDeleted(properties);
|
|
15031
|
+
};
|
|
15032
|
+
|
|
15033
|
+
/**
|
|
15034
|
+
* Encodes the specified SubscriptionAccessGroupMapDeleted message. Does not implicitly {@link SubscriptionAccessGroupMapDeleted.verify|verify} messages.
|
|
15035
|
+
* @function encode
|
|
15036
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15037
|
+
* @static
|
|
15038
|
+
* @param {ISubscriptionAccessGroupMapDeleted} message SubscriptionAccessGroupMapDeleted message or plain object to encode
|
|
15039
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15040
|
+
* @returns {$protobuf.Writer} Writer
|
|
15041
|
+
*/
|
|
15042
|
+
SubscriptionAccessGroupMapDeleted.encode = function encode(message, writer) {
|
|
15043
|
+
if (!writer)
|
|
15044
|
+
writer = $Writer.create();
|
|
15045
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
15046
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.subscriptionId);
|
|
15047
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15048
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
|
|
15049
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
15050
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.deletedAt);
|
|
15051
|
+
return writer;
|
|
15052
|
+
};
|
|
15053
|
+
|
|
15054
|
+
/**
|
|
15055
|
+
* Encodes the specified SubscriptionAccessGroupMapDeleted message, length delimited. Does not implicitly {@link SubscriptionAccessGroupMapDeleted.verify|verify} messages.
|
|
15056
|
+
* @function encodeDelimited
|
|
15057
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15058
|
+
* @static
|
|
15059
|
+
* @param {ISubscriptionAccessGroupMapDeleted} message SubscriptionAccessGroupMapDeleted message or plain object to encode
|
|
15060
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15061
|
+
* @returns {$protobuf.Writer} Writer
|
|
15062
|
+
*/
|
|
15063
|
+
SubscriptionAccessGroupMapDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15064
|
+
return this.encode(message, writer).ldelim();
|
|
15065
|
+
};
|
|
15066
|
+
|
|
15067
|
+
/**
|
|
15068
|
+
* Decodes a SubscriptionAccessGroupMapDeleted message from the specified reader or buffer.
|
|
15069
|
+
* @function decode
|
|
15070
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15071
|
+
* @static
|
|
15072
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15073
|
+
* @param {number} [length] Message length if known beforehand
|
|
15074
|
+
* @returns {SubscriptionAccessGroupMapDeleted} SubscriptionAccessGroupMapDeleted
|
|
15075
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15076
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15077
|
+
*/
|
|
15078
|
+
SubscriptionAccessGroupMapDeleted.decode = function decode(reader, length) {
|
|
15079
|
+
if (!(reader instanceof $Reader))
|
|
15080
|
+
reader = $Reader.create(reader);
|
|
15081
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SubscriptionAccessGroupMapDeleted();
|
|
15082
|
+
while (reader.pos < end) {
|
|
15083
|
+
var tag = reader.uint32();
|
|
15084
|
+
switch (tag >>> 3) {
|
|
15085
|
+
case 1:
|
|
15086
|
+
message.subscriptionId = reader.string();
|
|
15087
|
+
break;
|
|
15088
|
+
case 2:
|
|
15089
|
+
message.accessGroupName = reader.string();
|
|
15090
|
+
break;
|
|
15091
|
+
case 3:
|
|
15092
|
+
message.deletedAt = reader.uint64();
|
|
15093
|
+
break;
|
|
15094
|
+
default:
|
|
15095
|
+
reader.skipType(tag & 7);
|
|
15096
|
+
break;
|
|
15097
|
+
}
|
|
15098
|
+
}
|
|
15099
|
+
return message;
|
|
15100
|
+
};
|
|
15101
|
+
|
|
15102
|
+
/**
|
|
15103
|
+
* Decodes a SubscriptionAccessGroupMapDeleted message from the specified reader or buffer, length delimited.
|
|
15104
|
+
* @function decodeDelimited
|
|
15105
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15106
|
+
* @static
|
|
15107
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15108
|
+
* @returns {SubscriptionAccessGroupMapDeleted} SubscriptionAccessGroupMapDeleted
|
|
15109
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15110
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15111
|
+
*/
|
|
15112
|
+
SubscriptionAccessGroupMapDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
15113
|
+
if (!(reader instanceof $Reader))
|
|
15114
|
+
reader = new $Reader(reader);
|
|
15115
|
+
return this.decode(reader, reader.uint32());
|
|
15116
|
+
};
|
|
15117
|
+
|
|
15118
|
+
/**
|
|
15119
|
+
* Verifies a SubscriptionAccessGroupMapDeleted message.
|
|
15120
|
+
* @function verify
|
|
15121
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15122
|
+
* @static
|
|
15123
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15124
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15125
|
+
*/
|
|
15126
|
+
SubscriptionAccessGroupMapDeleted.verify = function verify(message) {
|
|
15127
|
+
if (typeof message !== "object" || message === null)
|
|
15128
|
+
return "object expected";
|
|
15129
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
15130
|
+
if (!$util.isString(message.subscriptionId))
|
|
15131
|
+
return "subscriptionId: string expected";
|
|
15132
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15133
|
+
if (!$util.isString(message.accessGroupName))
|
|
15134
|
+
return "accessGroupName: string expected";
|
|
15135
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
15136
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
15137
|
+
return "deletedAt: integer|Long expected";
|
|
15138
|
+
return null;
|
|
15139
|
+
};
|
|
15140
|
+
|
|
15141
|
+
/**
|
|
15142
|
+
* Creates a SubscriptionAccessGroupMapDeleted message from a plain object. Also converts values to their respective internal types.
|
|
15143
|
+
* @function fromObject
|
|
15144
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15145
|
+
* @static
|
|
15146
|
+
* @param {Object.<string,*>} object Plain object
|
|
15147
|
+
* @returns {SubscriptionAccessGroupMapDeleted} SubscriptionAccessGroupMapDeleted
|
|
15148
|
+
*/
|
|
15149
|
+
SubscriptionAccessGroupMapDeleted.fromObject = function fromObject(object) {
|
|
15150
|
+
if (object instanceof $root.SubscriptionAccessGroupMapDeleted)
|
|
15151
|
+
return object;
|
|
15152
|
+
var message = new $root.SubscriptionAccessGroupMapDeleted();
|
|
15153
|
+
if (object.subscriptionId != null)
|
|
15154
|
+
message.subscriptionId = String(object.subscriptionId);
|
|
15155
|
+
if (object.accessGroupName != null)
|
|
15156
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
15157
|
+
if (object.deletedAt != null)
|
|
15158
|
+
if ($util.Long)
|
|
15159
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
15160
|
+
else if (typeof object.deletedAt === "string")
|
|
15161
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
15162
|
+
else if (typeof object.deletedAt === "number")
|
|
15163
|
+
message.deletedAt = object.deletedAt;
|
|
15164
|
+
else if (typeof object.deletedAt === "object")
|
|
15165
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
15166
|
+
return message;
|
|
15167
|
+
};
|
|
15168
|
+
|
|
15169
|
+
/**
|
|
15170
|
+
* Creates a plain object from a SubscriptionAccessGroupMapDeleted message. Also converts values to other types if specified.
|
|
15171
|
+
* @function toObject
|
|
15172
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15173
|
+
* @static
|
|
15174
|
+
* @param {SubscriptionAccessGroupMapDeleted} message SubscriptionAccessGroupMapDeleted
|
|
15175
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15176
|
+
* @returns {Object.<string,*>} Plain object
|
|
15177
|
+
*/
|
|
15178
|
+
SubscriptionAccessGroupMapDeleted.toObject = function toObject(message, options) {
|
|
15179
|
+
if (!options)
|
|
15180
|
+
options = {};
|
|
15181
|
+
var object = {};
|
|
15182
|
+
if (options.defaults) {
|
|
15183
|
+
object.subscriptionId = "";
|
|
15184
|
+
object.accessGroupName = "";
|
|
15185
|
+
if ($util.Long) {
|
|
15186
|
+
var long = new $util.Long(0, 0, true);
|
|
15187
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
15188
|
+
} else
|
|
15189
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
15190
|
+
}
|
|
15191
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
15192
|
+
object.subscriptionId = message.subscriptionId;
|
|
15193
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15194
|
+
object.accessGroupName = message.accessGroupName;
|
|
15195
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
15196
|
+
if (typeof message.deletedAt === "number")
|
|
15197
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
15198
|
+
else
|
|
15199
|
+
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
15200
|
+
return object;
|
|
15201
|
+
};
|
|
15202
|
+
|
|
15203
|
+
/**
|
|
15204
|
+
* Converts this SubscriptionAccessGroupMapDeleted to JSON.
|
|
15205
|
+
* @function toJSON
|
|
15206
|
+
* @memberof SubscriptionAccessGroupMapDeleted
|
|
15207
|
+
* @instance
|
|
15208
|
+
* @returns {Object.<string,*>} JSON object
|
|
15209
|
+
*/
|
|
15210
|
+
SubscriptionAccessGroupMapDeleted.prototype.toJSON = function toJSON() {
|
|
15211
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
15212
|
+
};
|
|
15213
|
+
|
|
15214
|
+
return SubscriptionAccessGroupMapDeleted;
|
|
15215
|
+
})();
|
|
15216
|
+
|
|
15217
|
+
$root.SubscriptionAccessGroupMapUpdated = (function() {
|
|
15218
|
+
|
|
15219
|
+
/**
|
|
15220
|
+
* Properties of a SubscriptionAccessGroupMapUpdated.
|
|
15221
|
+
* @exports ISubscriptionAccessGroupMapUpdated
|
|
15222
|
+
* @interface ISubscriptionAccessGroupMapUpdated
|
|
15223
|
+
* @property {string|null} [subscriptionId] SubscriptionAccessGroupMapUpdated subscriptionId
|
|
15224
|
+
* @property {string|null} [accessGroupName] SubscriptionAccessGroupMapUpdated accessGroupName
|
|
15225
|
+
* @property {number|Long|null} [updatedAt] SubscriptionAccessGroupMapUpdated updatedAt
|
|
15226
|
+
*/
|
|
15227
|
+
|
|
15228
|
+
/**
|
|
15229
|
+
* Constructs a new SubscriptionAccessGroupMapUpdated.
|
|
15230
|
+
* @exports SubscriptionAccessGroupMapUpdated
|
|
15231
|
+
* @classdesc Represents a SubscriptionAccessGroupMapUpdated.
|
|
15232
|
+
* @implements ISubscriptionAccessGroupMapUpdated
|
|
15233
|
+
* @constructor
|
|
15234
|
+
* @param {ISubscriptionAccessGroupMapUpdated=} [properties] Properties to set
|
|
15235
|
+
*/
|
|
15236
|
+
function SubscriptionAccessGroupMapUpdated(properties) {
|
|
15237
|
+
if (properties)
|
|
15238
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15239
|
+
if (properties[keys[i]] != null)
|
|
15240
|
+
this[keys[i]] = properties[keys[i]];
|
|
15241
|
+
}
|
|
15242
|
+
|
|
15243
|
+
/**
|
|
15244
|
+
* SubscriptionAccessGroupMapUpdated subscriptionId.
|
|
15245
|
+
* @member {string} subscriptionId
|
|
15246
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15247
|
+
* @instance
|
|
15248
|
+
*/
|
|
15249
|
+
SubscriptionAccessGroupMapUpdated.prototype.subscriptionId = "";
|
|
15250
|
+
|
|
15251
|
+
/**
|
|
15252
|
+
* SubscriptionAccessGroupMapUpdated accessGroupName.
|
|
15253
|
+
* @member {string} accessGroupName
|
|
15254
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15255
|
+
* @instance
|
|
15256
|
+
*/
|
|
15257
|
+
SubscriptionAccessGroupMapUpdated.prototype.accessGroupName = "";
|
|
15258
|
+
|
|
15259
|
+
/**
|
|
15260
|
+
* SubscriptionAccessGroupMapUpdated updatedAt.
|
|
15261
|
+
* @member {number|Long} updatedAt
|
|
15262
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15263
|
+
* @instance
|
|
15264
|
+
*/
|
|
15265
|
+
SubscriptionAccessGroupMapUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
15266
|
+
|
|
15267
|
+
/**
|
|
15268
|
+
* Creates a new SubscriptionAccessGroupMapUpdated instance using the specified properties.
|
|
15269
|
+
* @function create
|
|
15270
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15271
|
+
* @static
|
|
15272
|
+
* @param {ISubscriptionAccessGroupMapUpdated=} [properties] Properties to set
|
|
15273
|
+
* @returns {SubscriptionAccessGroupMapUpdated} SubscriptionAccessGroupMapUpdated instance
|
|
15274
|
+
*/
|
|
15275
|
+
SubscriptionAccessGroupMapUpdated.create = function create(properties) {
|
|
15276
|
+
return new SubscriptionAccessGroupMapUpdated(properties);
|
|
15277
|
+
};
|
|
15278
|
+
|
|
15279
|
+
/**
|
|
15280
|
+
* Encodes the specified SubscriptionAccessGroupMapUpdated message. Does not implicitly {@link SubscriptionAccessGroupMapUpdated.verify|verify} messages.
|
|
15281
|
+
* @function encode
|
|
15282
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15283
|
+
* @static
|
|
15284
|
+
* @param {ISubscriptionAccessGroupMapUpdated} message SubscriptionAccessGroupMapUpdated message or plain object to encode
|
|
15285
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15286
|
+
* @returns {$protobuf.Writer} Writer
|
|
15287
|
+
*/
|
|
15288
|
+
SubscriptionAccessGroupMapUpdated.encode = function encode(message, writer) {
|
|
15289
|
+
if (!writer)
|
|
15290
|
+
writer = $Writer.create();
|
|
15291
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
15292
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.subscriptionId);
|
|
15293
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15294
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.accessGroupName);
|
|
15295
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
15296
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.updatedAt);
|
|
15297
|
+
return writer;
|
|
15298
|
+
};
|
|
15299
|
+
|
|
15300
|
+
/**
|
|
15301
|
+
* Encodes the specified SubscriptionAccessGroupMapUpdated message, length delimited. Does not implicitly {@link SubscriptionAccessGroupMapUpdated.verify|verify} messages.
|
|
15302
|
+
* @function encodeDelimited
|
|
15303
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15304
|
+
* @static
|
|
15305
|
+
* @param {ISubscriptionAccessGroupMapUpdated} message SubscriptionAccessGroupMapUpdated message or plain object to encode
|
|
15306
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15307
|
+
* @returns {$protobuf.Writer} Writer
|
|
15308
|
+
*/
|
|
15309
|
+
SubscriptionAccessGroupMapUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15310
|
+
return this.encode(message, writer).ldelim();
|
|
15311
|
+
};
|
|
15312
|
+
|
|
15313
|
+
/**
|
|
15314
|
+
* Decodes a SubscriptionAccessGroupMapUpdated message from the specified reader or buffer.
|
|
15315
|
+
* @function decode
|
|
15316
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15317
|
+
* @static
|
|
15318
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15319
|
+
* @param {number} [length] Message length if known beforehand
|
|
15320
|
+
* @returns {SubscriptionAccessGroupMapUpdated} SubscriptionAccessGroupMapUpdated
|
|
15321
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15322
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15323
|
+
*/
|
|
15324
|
+
SubscriptionAccessGroupMapUpdated.decode = function decode(reader, length) {
|
|
15325
|
+
if (!(reader instanceof $Reader))
|
|
15326
|
+
reader = $Reader.create(reader);
|
|
15327
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SubscriptionAccessGroupMapUpdated();
|
|
15328
|
+
while (reader.pos < end) {
|
|
15329
|
+
var tag = reader.uint32();
|
|
15330
|
+
switch (tag >>> 3) {
|
|
15331
|
+
case 1:
|
|
15332
|
+
message.subscriptionId = reader.string();
|
|
15333
|
+
break;
|
|
15334
|
+
case 2:
|
|
15335
|
+
message.accessGroupName = reader.string();
|
|
15336
|
+
break;
|
|
15337
|
+
case 3:
|
|
15338
|
+
message.updatedAt = reader.uint64();
|
|
15339
|
+
break;
|
|
15340
|
+
default:
|
|
15341
|
+
reader.skipType(tag & 7);
|
|
15342
|
+
break;
|
|
15343
|
+
}
|
|
15344
|
+
}
|
|
15345
|
+
return message;
|
|
15346
|
+
};
|
|
15347
|
+
|
|
15348
|
+
/**
|
|
15349
|
+
* Decodes a SubscriptionAccessGroupMapUpdated message from the specified reader or buffer, length delimited.
|
|
15350
|
+
* @function decodeDelimited
|
|
15351
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15352
|
+
* @static
|
|
15353
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15354
|
+
* @returns {SubscriptionAccessGroupMapUpdated} SubscriptionAccessGroupMapUpdated
|
|
15355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15357
|
+
*/
|
|
15358
|
+
SubscriptionAccessGroupMapUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
15359
|
+
if (!(reader instanceof $Reader))
|
|
15360
|
+
reader = new $Reader(reader);
|
|
15361
|
+
return this.decode(reader, reader.uint32());
|
|
15362
|
+
};
|
|
15363
|
+
|
|
15364
|
+
/**
|
|
15365
|
+
* Verifies a SubscriptionAccessGroupMapUpdated message.
|
|
15366
|
+
* @function verify
|
|
15367
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15368
|
+
* @static
|
|
15369
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15370
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15371
|
+
*/
|
|
15372
|
+
SubscriptionAccessGroupMapUpdated.verify = function verify(message) {
|
|
15373
|
+
if (typeof message !== "object" || message === null)
|
|
15374
|
+
return "object expected";
|
|
15375
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
15376
|
+
if (!$util.isString(message.subscriptionId))
|
|
15377
|
+
return "subscriptionId: string expected";
|
|
15378
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15379
|
+
if (!$util.isString(message.accessGroupName))
|
|
15380
|
+
return "accessGroupName: string expected";
|
|
15381
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
15382
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
15383
|
+
return "updatedAt: integer|Long expected";
|
|
15384
|
+
return null;
|
|
15385
|
+
};
|
|
15386
|
+
|
|
15387
|
+
/**
|
|
15388
|
+
* Creates a SubscriptionAccessGroupMapUpdated message from a plain object. Also converts values to their respective internal types.
|
|
15389
|
+
* @function fromObject
|
|
15390
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15391
|
+
* @static
|
|
15392
|
+
* @param {Object.<string,*>} object Plain object
|
|
15393
|
+
* @returns {SubscriptionAccessGroupMapUpdated} SubscriptionAccessGroupMapUpdated
|
|
15394
|
+
*/
|
|
15395
|
+
SubscriptionAccessGroupMapUpdated.fromObject = function fromObject(object) {
|
|
15396
|
+
if (object instanceof $root.SubscriptionAccessGroupMapUpdated)
|
|
15397
|
+
return object;
|
|
15398
|
+
var message = new $root.SubscriptionAccessGroupMapUpdated();
|
|
15399
|
+
if (object.subscriptionId != null)
|
|
15400
|
+
message.subscriptionId = String(object.subscriptionId);
|
|
15401
|
+
if (object.accessGroupName != null)
|
|
15402
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
15403
|
+
if (object.updatedAt != null)
|
|
15404
|
+
if ($util.Long)
|
|
15405
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
15406
|
+
else if (typeof object.updatedAt === "string")
|
|
15407
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
15408
|
+
else if (typeof object.updatedAt === "number")
|
|
15409
|
+
message.updatedAt = object.updatedAt;
|
|
15410
|
+
else if (typeof object.updatedAt === "object")
|
|
15411
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
15412
|
+
return message;
|
|
15413
|
+
};
|
|
15414
|
+
|
|
15415
|
+
/**
|
|
15416
|
+
* Creates a plain object from a SubscriptionAccessGroupMapUpdated message. Also converts values to other types if specified.
|
|
15417
|
+
* @function toObject
|
|
15418
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15419
|
+
* @static
|
|
15420
|
+
* @param {SubscriptionAccessGroupMapUpdated} message SubscriptionAccessGroupMapUpdated
|
|
15421
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15422
|
+
* @returns {Object.<string,*>} Plain object
|
|
15423
|
+
*/
|
|
15424
|
+
SubscriptionAccessGroupMapUpdated.toObject = function toObject(message, options) {
|
|
15425
|
+
if (!options)
|
|
15426
|
+
options = {};
|
|
15427
|
+
var object = {};
|
|
15428
|
+
if (options.defaults) {
|
|
15429
|
+
object.subscriptionId = "";
|
|
15430
|
+
object.accessGroupName = "";
|
|
15431
|
+
if ($util.Long) {
|
|
15432
|
+
var long = new $util.Long(0, 0, true);
|
|
15433
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
15434
|
+
} else
|
|
15435
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
15436
|
+
}
|
|
15437
|
+
if (message.subscriptionId != null && message.hasOwnProperty("subscriptionId"))
|
|
15438
|
+
object.subscriptionId = message.subscriptionId;
|
|
15439
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15440
|
+
object.accessGroupName = message.accessGroupName;
|
|
15441
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
15442
|
+
if (typeof message.updatedAt === "number")
|
|
15443
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
15444
|
+
else
|
|
15445
|
+
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
15446
|
+
return object;
|
|
15447
|
+
};
|
|
15448
|
+
|
|
15449
|
+
/**
|
|
15450
|
+
* Converts this SubscriptionAccessGroupMapUpdated to JSON.
|
|
15451
|
+
* @function toJSON
|
|
15452
|
+
* @memberof SubscriptionAccessGroupMapUpdated
|
|
15453
|
+
* @instance
|
|
15454
|
+
* @returns {Object.<string,*>} JSON object
|
|
15455
|
+
*/
|
|
15456
|
+
SubscriptionAccessGroupMapUpdated.prototype.toJSON = function toJSON() {
|
|
15457
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
15458
|
+
};
|
|
15459
|
+
|
|
15460
|
+
return SubscriptionAccessGroupMapUpdated;
|
|
15461
|
+
})();
|
|
15462
|
+
|
|
15463
|
+
$root.AccessibleEntityCreated = (function() {
|
|
15464
|
+
|
|
15465
|
+
/**
|
|
15466
|
+
* Properties of an AccessibleEntityCreated.
|
|
15467
|
+
* @exports IAccessibleEntityCreated
|
|
15468
|
+
* @interface IAccessibleEntityCreated
|
|
15469
|
+
* @property {string|null} [entityType] AccessibleEntityCreated entityType
|
|
15470
|
+
* @property {string|null} [entityTypeId] AccessibleEntityCreated entityTypeId
|
|
15471
|
+
* @property {string|null} [accessGroupName] AccessibleEntityCreated accessGroupName
|
|
15472
|
+
* @property {boolean|null} [isHidden] AccessibleEntityCreated isHidden
|
|
15473
|
+
* @property {boolean|null} [isLocked] AccessibleEntityCreated isLocked
|
|
15474
|
+
* @property {number|Long|null} [createdAt] AccessibleEntityCreated createdAt
|
|
15475
|
+
*/
|
|
15476
|
+
|
|
15477
|
+
/**
|
|
15478
|
+
* Constructs a new AccessibleEntityCreated.
|
|
15479
|
+
* @exports AccessibleEntityCreated
|
|
15480
|
+
* @classdesc Represents an AccessibleEntityCreated.
|
|
15481
|
+
* @implements IAccessibleEntityCreated
|
|
15482
|
+
* @constructor
|
|
15483
|
+
* @param {IAccessibleEntityCreated=} [properties] Properties to set
|
|
15484
|
+
*/
|
|
15485
|
+
function AccessibleEntityCreated(properties) {
|
|
15486
|
+
if (properties)
|
|
15487
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15488
|
+
if (properties[keys[i]] != null)
|
|
15489
|
+
this[keys[i]] = properties[keys[i]];
|
|
15490
|
+
}
|
|
15491
|
+
|
|
15492
|
+
/**
|
|
15493
|
+
* AccessibleEntityCreated entityType.
|
|
15494
|
+
* @member {string} entityType
|
|
15495
|
+
* @memberof AccessibleEntityCreated
|
|
15496
|
+
* @instance
|
|
15497
|
+
*/
|
|
15498
|
+
AccessibleEntityCreated.prototype.entityType = "";
|
|
15499
|
+
|
|
15500
|
+
/**
|
|
15501
|
+
* AccessibleEntityCreated entityTypeId.
|
|
15502
|
+
* @member {string} entityTypeId
|
|
15503
|
+
* @memberof AccessibleEntityCreated
|
|
15504
|
+
* @instance
|
|
15505
|
+
*/
|
|
15506
|
+
AccessibleEntityCreated.prototype.entityTypeId = "";
|
|
15507
|
+
|
|
15508
|
+
/**
|
|
15509
|
+
* AccessibleEntityCreated accessGroupName.
|
|
15510
|
+
* @member {string} accessGroupName
|
|
15511
|
+
* @memberof AccessibleEntityCreated
|
|
15512
|
+
* @instance
|
|
15513
|
+
*/
|
|
15514
|
+
AccessibleEntityCreated.prototype.accessGroupName = "";
|
|
15515
|
+
|
|
15516
|
+
/**
|
|
15517
|
+
* AccessibleEntityCreated isHidden.
|
|
15518
|
+
* @member {boolean} isHidden
|
|
15519
|
+
* @memberof AccessibleEntityCreated
|
|
15520
|
+
* @instance
|
|
15521
|
+
*/
|
|
15522
|
+
AccessibleEntityCreated.prototype.isHidden = false;
|
|
15523
|
+
|
|
15524
|
+
/**
|
|
15525
|
+
* AccessibleEntityCreated isLocked.
|
|
15526
|
+
* @member {boolean} isLocked
|
|
15527
|
+
* @memberof AccessibleEntityCreated
|
|
15528
|
+
* @instance
|
|
15529
|
+
*/
|
|
15530
|
+
AccessibleEntityCreated.prototype.isLocked = false;
|
|
15531
|
+
|
|
15532
|
+
/**
|
|
15533
|
+
* AccessibleEntityCreated createdAt.
|
|
15534
|
+
* @member {number|Long} createdAt
|
|
15535
|
+
* @memberof AccessibleEntityCreated
|
|
15536
|
+
* @instance
|
|
15537
|
+
*/
|
|
15538
|
+
AccessibleEntityCreated.prototype.createdAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
15539
|
+
|
|
15540
|
+
/**
|
|
15541
|
+
* Creates a new AccessibleEntityCreated instance using the specified properties.
|
|
15542
|
+
* @function create
|
|
15543
|
+
* @memberof AccessibleEntityCreated
|
|
15544
|
+
* @static
|
|
15545
|
+
* @param {IAccessibleEntityCreated=} [properties] Properties to set
|
|
15546
|
+
* @returns {AccessibleEntityCreated} AccessibleEntityCreated instance
|
|
15547
|
+
*/
|
|
15548
|
+
AccessibleEntityCreated.create = function create(properties) {
|
|
15549
|
+
return new AccessibleEntityCreated(properties);
|
|
15550
|
+
};
|
|
15551
|
+
|
|
15552
|
+
/**
|
|
15553
|
+
* Encodes the specified AccessibleEntityCreated message. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
|
|
15554
|
+
* @function encode
|
|
15555
|
+
* @memberof AccessibleEntityCreated
|
|
15556
|
+
* @static
|
|
15557
|
+
* @param {IAccessibleEntityCreated} message AccessibleEntityCreated message or plain object to encode
|
|
15558
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15559
|
+
* @returns {$protobuf.Writer} Writer
|
|
15560
|
+
*/
|
|
15561
|
+
AccessibleEntityCreated.encode = function encode(message, writer) {
|
|
15562
|
+
if (!writer)
|
|
15563
|
+
writer = $Writer.create();
|
|
15564
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
15565
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.entityType);
|
|
15566
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
15567
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityTypeId);
|
|
15568
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15569
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.accessGroupName);
|
|
15570
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
15571
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isHidden);
|
|
15572
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
15573
|
+
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isLocked);
|
|
15574
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
15575
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.createdAt);
|
|
15576
|
+
return writer;
|
|
15577
|
+
};
|
|
15578
|
+
|
|
15579
|
+
/**
|
|
15580
|
+
* Encodes the specified AccessibleEntityCreated message, length delimited. Does not implicitly {@link AccessibleEntityCreated.verify|verify} messages.
|
|
15581
|
+
* @function encodeDelimited
|
|
15582
|
+
* @memberof AccessibleEntityCreated
|
|
15583
|
+
* @static
|
|
15584
|
+
* @param {IAccessibleEntityCreated} message AccessibleEntityCreated message or plain object to encode
|
|
15585
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15586
|
+
* @returns {$protobuf.Writer} Writer
|
|
15587
|
+
*/
|
|
15588
|
+
AccessibleEntityCreated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15589
|
+
return this.encode(message, writer).ldelim();
|
|
15590
|
+
};
|
|
15591
|
+
|
|
15592
|
+
/**
|
|
15593
|
+
* Decodes an AccessibleEntityCreated message from the specified reader or buffer.
|
|
15594
|
+
* @function decode
|
|
15595
|
+
* @memberof AccessibleEntityCreated
|
|
15596
|
+
* @static
|
|
15597
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15598
|
+
* @param {number} [length] Message length if known beforehand
|
|
15599
|
+
* @returns {AccessibleEntityCreated} AccessibleEntityCreated
|
|
15600
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15601
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15602
|
+
*/
|
|
15603
|
+
AccessibleEntityCreated.decode = function decode(reader, length) {
|
|
15604
|
+
if (!(reader instanceof $Reader))
|
|
15605
|
+
reader = $Reader.create(reader);
|
|
15606
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessibleEntityCreated();
|
|
15607
|
+
while (reader.pos < end) {
|
|
15608
|
+
var tag = reader.uint32();
|
|
15609
|
+
switch (tag >>> 3) {
|
|
15610
|
+
case 1:
|
|
15611
|
+
message.entityType = reader.string();
|
|
15612
|
+
break;
|
|
15613
|
+
case 2:
|
|
15614
|
+
message.entityTypeId = reader.string();
|
|
15615
|
+
break;
|
|
15616
|
+
case 3:
|
|
15617
|
+
message.accessGroupName = reader.string();
|
|
15618
|
+
break;
|
|
15619
|
+
case 4:
|
|
15620
|
+
message.isHidden = reader.bool();
|
|
15621
|
+
break;
|
|
15622
|
+
case 5:
|
|
15623
|
+
message.isLocked = reader.bool();
|
|
15624
|
+
break;
|
|
15625
|
+
case 6:
|
|
15626
|
+
message.createdAt = reader.uint64();
|
|
15627
|
+
break;
|
|
15628
|
+
default:
|
|
15629
|
+
reader.skipType(tag & 7);
|
|
15630
|
+
break;
|
|
15631
|
+
}
|
|
15632
|
+
}
|
|
15633
|
+
return message;
|
|
15634
|
+
};
|
|
15635
|
+
|
|
15636
|
+
/**
|
|
15637
|
+
* Decodes an AccessibleEntityCreated message from the specified reader or buffer, length delimited.
|
|
15638
|
+
* @function decodeDelimited
|
|
15639
|
+
* @memberof AccessibleEntityCreated
|
|
15640
|
+
* @static
|
|
15641
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15642
|
+
* @returns {AccessibleEntityCreated} AccessibleEntityCreated
|
|
15643
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15644
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15645
|
+
*/
|
|
15646
|
+
AccessibleEntityCreated.decodeDelimited = function decodeDelimited(reader) {
|
|
15647
|
+
if (!(reader instanceof $Reader))
|
|
15648
|
+
reader = new $Reader(reader);
|
|
15649
|
+
return this.decode(reader, reader.uint32());
|
|
15650
|
+
};
|
|
15651
|
+
|
|
15652
|
+
/**
|
|
15653
|
+
* Verifies an AccessibleEntityCreated message.
|
|
15654
|
+
* @function verify
|
|
15655
|
+
* @memberof AccessibleEntityCreated
|
|
15656
|
+
* @static
|
|
15657
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15658
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15659
|
+
*/
|
|
15660
|
+
AccessibleEntityCreated.verify = function verify(message) {
|
|
15661
|
+
if (typeof message !== "object" || message === null)
|
|
15662
|
+
return "object expected";
|
|
15663
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
15664
|
+
if (!$util.isString(message.entityType))
|
|
15665
|
+
return "entityType: string expected";
|
|
15666
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
15667
|
+
if (!$util.isString(message.entityTypeId))
|
|
15668
|
+
return "entityTypeId: string expected";
|
|
15669
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15670
|
+
if (!$util.isString(message.accessGroupName))
|
|
15671
|
+
return "accessGroupName: string expected";
|
|
15672
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
15673
|
+
if (typeof message.isHidden !== "boolean")
|
|
15674
|
+
return "isHidden: boolean expected";
|
|
15675
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
15676
|
+
if (typeof message.isLocked !== "boolean")
|
|
15677
|
+
return "isLocked: boolean expected";
|
|
15678
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
15679
|
+
if (!$util.isInteger(message.createdAt) && !(message.createdAt && $util.isInteger(message.createdAt.low) && $util.isInteger(message.createdAt.high)))
|
|
15680
|
+
return "createdAt: integer|Long expected";
|
|
15681
|
+
return null;
|
|
15682
|
+
};
|
|
15683
|
+
|
|
15684
|
+
/**
|
|
15685
|
+
* Creates an AccessibleEntityCreated message from a plain object. Also converts values to their respective internal types.
|
|
15686
|
+
* @function fromObject
|
|
15687
|
+
* @memberof AccessibleEntityCreated
|
|
15688
|
+
* @static
|
|
15689
|
+
* @param {Object.<string,*>} object Plain object
|
|
15690
|
+
* @returns {AccessibleEntityCreated} AccessibleEntityCreated
|
|
15691
|
+
*/
|
|
15692
|
+
AccessibleEntityCreated.fromObject = function fromObject(object) {
|
|
15693
|
+
if (object instanceof $root.AccessibleEntityCreated)
|
|
15694
|
+
return object;
|
|
15695
|
+
var message = new $root.AccessibleEntityCreated();
|
|
15696
|
+
if (object.entityType != null)
|
|
15697
|
+
message.entityType = String(object.entityType);
|
|
15698
|
+
if (object.entityTypeId != null)
|
|
15699
|
+
message.entityTypeId = String(object.entityTypeId);
|
|
15700
|
+
if (object.accessGroupName != null)
|
|
15701
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
15702
|
+
if (object.isHidden != null)
|
|
15703
|
+
message.isHidden = Boolean(object.isHidden);
|
|
15704
|
+
if (object.isLocked != null)
|
|
15705
|
+
message.isLocked = Boolean(object.isLocked);
|
|
15706
|
+
if (object.createdAt != null)
|
|
15707
|
+
if ($util.Long)
|
|
15708
|
+
(message.createdAt = $util.Long.fromValue(object.createdAt)).unsigned = true;
|
|
15709
|
+
else if (typeof object.createdAt === "string")
|
|
15710
|
+
message.createdAt = parseInt(object.createdAt, 10);
|
|
15711
|
+
else if (typeof object.createdAt === "number")
|
|
15712
|
+
message.createdAt = object.createdAt;
|
|
15713
|
+
else if (typeof object.createdAt === "object")
|
|
15714
|
+
message.createdAt = new $util.LongBits(object.createdAt.low >>> 0, object.createdAt.high >>> 0).toNumber(true);
|
|
15715
|
+
return message;
|
|
15716
|
+
};
|
|
15717
|
+
|
|
15718
|
+
/**
|
|
15719
|
+
* Creates a plain object from an AccessibleEntityCreated message. Also converts values to other types if specified.
|
|
15720
|
+
* @function toObject
|
|
15721
|
+
* @memberof AccessibleEntityCreated
|
|
15722
|
+
* @static
|
|
15723
|
+
* @param {AccessibleEntityCreated} message AccessibleEntityCreated
|
|
15724
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15725
|
+
* @returns {Object.<string,*>} Plain object
|
|
15726
|
+
*/
|
|
15727
|
+
AccessibleEntityCreated.toObject = function toObject(message, options) {
|
|
15728
|
+
if (!options)
|
|
15729
|
+
options = {};
|
|
15730
|
+
var object = {};
|
|
15731
|
+
if (options.defaults) {
|
|
15732
|
+
object.entityType = "";
|
|
15733
|
+
object.entityTypeId = "";
|
|
15734
|
+
object.accessGroupName = "";
|
|
15735
|
+
object.isHidden = false;
|
|
15736
|
+
object.isLocked = false;
|
|
15737
|
+
if ($util.Long) {
|
|
15738
|
+
var long = new $util.Long(0, 0, true);
|
|
15739
|
+
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
15740
|
+
} else
|
|
15741
|
+
object.createdAt = options.longs === String ? "0" : 0;
|
|
15742
|
+
}
|
|
15743
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
15744
|
+
object.entityType = message.entityType;
|
|
15745
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
15746
|
+
object.entityTypeId = message.entityTypeId;
|
|
15747
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15748
|
+
object.accessGroupName = message.accessGroupName;
|
|
15749
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
15750
|
+
object.isHidden = message.isHidden;
|
|
15751
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
15752
|
+
object.isLocked = message.isLocked;
|
|
15753
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
15754
|
+
if (typeof message.createdAt === "number")
|
|
15755
|
+
object.createdAt = options.longs === String ? String(message.createdAt) : message.createdAt;
|
|
15756
|
+
else
|
|
15757
|
+
object.createdAt = options.longs === String ? $util.Long.prototype.toString.call(message.createdAt) : options.longs === Number ? new $util.LongBits(message.createdAt.low >>> 0, message.createdAt.high >>> 0).toNumber(true) : message.createdAt;
|
|
15758
|
+
return object;
|
|
15759
|
+
};
|
|
15760
|
+
|
|
15761
|
+
/**
|
|
15762
|
+
* Converts this AccessibleEntityCreated to JSON.
|
|
15763
|
+
* @function toJSON
|
|
15764
|
+
* @memberof AccessibleEntityCreated
|
|
15765
|
+
* @instance
|
|
15766
|
+
* @returns {Object.<string,*>} JSON object
|
|
15767
|
+
*/
|
|
15768
|
+
AccessibleEntityCreated.prototype.toJSON = function toJSON() {
|
|
15769
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
15770
|
+
};
|
|
15771
|
+
|
|
15772
|
+
return AccessibleEntityCreated;
|
|
15773
|
+
})();
|
|
15774
|
+
|
|
15775
|
+
$root.AccessibleEntityUpdated = (function() {
|
|
15776
|
+
|
|
15777
|
+
/**
|
|
15778
|
+
* Properties of an AccessibleEntityUpdated.
|
|
15779
|
+
* @exports IAccessibleEntityUpdated
|
|
15780
|
+
* @interface IAccessibleEntityUpdated
|
|
15781
|
+
* @property {string|null} [entityType] AccessibleEntityUpdated entityType
|
|
15782
|
+
* @property {string|null} [entityTypeId] AccessibleEntityUpdated entityTypeId
|
|
15783
|
+
* @property {string|null} [accessGroupName] AccessibleEntityUpdated accessGroupName
|
|
15784
|
+
* @property {boolean|null} [isHidden] AccessibleEntityUpdated isHidden
|
|
15785
|
+
* @property {boolean|null} [isLocked] AccessibleEntityUpdated isLocked
|
|
15786
|
+
* @property {number|Long|null} [updatedAt] AccessibleEntityUpdated updatedAt
|
|
15787
|
+
*/
|
|
15788
|
+
|
|
15789
|
+
/**
|
|
15790
|
+
* Constructs a new AccessibleEntityUpdated.
|
|
15791
|
+
* @exports AccessibleEntityUpdated
|
|
15792
|
+
* @classdesc Represents an AccessibleEntityUpdated.
|
|
15793
|
+
* @implements IAccessibleEntityUpdated
|
|
15794
|
+
* @constructor
|
|
15795
|
+
* @param {IAccessibleEntityUpdated=} [properties] Properties to set
|
|
15796
|
+
*/
|
|
15797
|
+
function AccessibleEntityUpdated(properties) {
|
|
15798
|
+
if (properties)
|
|
15799
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15800
|
+
if (properties[keys[i]] != null)
|
|
15801
|
+
this[keys[i]] = properties[keys[i]];
|
|
15802
|
+
}
|
|
15803
|
+
|
|
15804
|
+
/**
|
|
15805
|
+
* AccessibleEntityUpdated entityType.
|
|
15806
|
+
* @member {string} entityType
|
|
15807
|
+
* @memberof AccessibleEntityUpdated
|
|
15808
|
+
* @instance
|
|
15809
|
+
*/
|
|
15810
|
+
AccessibleEntityUpdated.prototype.entityType = "";
|
|
15811
|
+
|
|
15812
|
+
/**
|
|
15813
|
+
* AccessibleEntityUpdated entityTypeId.
|
|
15814
|
+
* @member {string} entityTypeId
|
|
15815
|
+
* @memberof AccessibleEntityUpdated
|
|
15816
|
+
* @instance
|
|
15817
|
+
*/
|
|
15818
|
+
AccessibleEntityUpdated.prototype.entityTypeId = "";
|
|
15819
|
+
|
|
15820
|
+
/**
|
|
15821
|
+
* AccessibleEntityUpdated accessGroupName.
|
|
15822
|
+
* @member {string} accessGroupName
|
|
15823
|
+
* @memberof AccessibleEntityUpdated
|
|
15824
|
+
* @instance
|
|
15825
|
+
*/
|
|
15826
|
+
AccessibleEntityUpdated.prototype.accessGroupName = "";
|
|
15827
|
+
|
|
15828
|
+
/**
|
|
15829
|
+
* AccessibleEntityUpdated isHidden.
|
|
15830
|
+
* @member {boolean} isHidden
|
|
15831
|
+
* @memberof AccessibleEntityUpdated
|
|
15832
|
+
* @instance
|
|
15833
|
+
*/
|
|
15834
|
+
AccessibleEntityUpdated.prototype.isHidden = false;
|
|
15835
|
+
|
|
15836
|
+
/**
|
|
15837
|
+
* AccessibleEntityUpdated isLocked.
|
|
15838
|
+
* @member {boolean} isLocked
|
|
15839
|
+
* @memberof AccessibleEntityUpdated
|
|
15840
|
+
* @instance
|
|
15841
|
+
*/
|
|
15842
|
+
AccessibleEntityUpdated.prototype.isLocked = false;
|
|
15843
|
+
|
|
15844
|
+
/**
|
|
15845
|
+
* AccessibleEntityUpdated updatedAt.
|
|
15846
|
+
* @member {number|Long} updatedAt
|
|
15847
|
+
* @memberof AccessibleEntityUpdated
|
|
15848
|
+
* @instance
|
|
15849
|
+
*/
|
|
15850
|
+
AccessibleEntityUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
15851
|
+
|
|
15852
|
+
/**
|
|
15853
|
+
* Creates a new AccessibleEntityUpdated instance using the specified properties.
|
|
15854
|
+
* @function create
|
|
15855
|
+
* @memberof AccessibleEntityUpdated
|
|
15856
|
+
* @static
|
|
15857
|
+
* @param {IAccessibleEntityUpdated=} [properties] Properties to set
|
|
15858
|
+
* @returns {AccessibleEntityUpdated} AccessibleEntityUpdated instance
|
|
15859
|
+
*/
|
|
15860
|
+
AccessibleEntityUpdated.create = function create(properties) {
|
|
15861
|
+
return new AccessibleEntityUpdated(properties);
|
|
15862
|
+
};
|
|
15863
|
+
|
|
15864
|
+
/**
|
|
15865
|
+
* Encodes the specified AccessibleEntityUpdated message. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
|
|
15866
|
+
* @function encode
|
|
15867
|
+
* @memberof AccessibleEntityUpdated
|
|
15868
|
+
* @static
|
|
15869
|
+
* @param {IAccessibleEntityUpdated} message AccessibleEntityUpdated message or plain object to encode
|
|
15870
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15871
|
+
* @returns {$protobuf.Writer} Writer
|
|
15872
|
+
*/
|
|
15873
|
+
AccessibleEntityUpdated.encode = function encode(message, writer) {
|
|
15874
|
+
if (!writer)
|
|
15875
|
+
writer = $Writer.create();
|
|
15876
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
15877
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.entityType);
|
|
15878
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
15879
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityTypeId);
|
|
15880
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15881
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.accessGroupName);
|
|
15882
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
15883
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isHidden);
|
|
15884
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
15885
|
+
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isLocked);
|
|
15886
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
15887
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.updatedAt);
|
|
15888
|
+
return writer;
|
|
15889
|
+
};
|
|
15890
|
+
|
|
15891
|
+
/**
|
|
15892
|
+
* Encodes the specified AccessibleEntityUpdated message, length delimited. Does not implicitly {@link AccessibleEntityUpdated.verify|verify} messages.
|
|
15893
|
+
* @function encodeDelimited
|
|
15894
|
+
* @memberof AccessibleEntityUpdated
|
|
15895
|
+
* @static
|
|
15896
|
+
* @param {IAccessibleEntityUpdated} message AccessibleEntityUpdated message or plain object to encode
|
|
15897
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15898
|
+
* @returns {$protobuf.Writer} Writer
|
|
15899
|
+
*/
|
|
15900
|
+
AccessibleEntityUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15901
|
+
return this.encode(message, writer).ldelim();
|
|
15902
|
+
};
|
|
15903
|
+
|
|
15904
|
+
/**
|
|
15905
|
+
* Decodes an AccessibleEntityUpdated message from the specified reader or buffer.
|
|
15906
|
+
* @function decode
|
|
15907
|
+
* @memberof AccessibleEntityUpdated
|
|
15908
|
+
* @static
|
|
15909
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15910
|
+
* @param {number} [length] Message length if known beforehand
|
|
15911
|
+
* @returns {AccessibleEntityUpdated} AccessibleEntityUpdated
|
|
15912
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15913
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15914
|
+
*/
|
|
15915
|
+
AccessibleEntityUpdated.decode = function decode(reader, length) {
|
|
15916
|
+
if (!(reader instanceof $Reader))
|
|
15917
|
+
reader = $Reader.create(reader);
|
|
15918
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessibleEntityUpdated();
|
|
15919
|
+
while (reader.pos < end) {
|
|
15920
|
+
var tag = reader.uint32();
|
|
15921
|
+
switch (tag >>> 3) {
|
|
15922
|
+
case 1:
|
|
15923
|
+
message.entityType = reader.string();
|
|
15924
|
+
break;
|
|
15925
|
+
case 2:
|
|
15926
|
+
message.entityTypeId = reader.string();
|
|
15927
|
+
break;
|
|
15928
|
+
case 3:
|
|
15929
|
+
message.accessGroupName = reader.string();
|
|
15930
|
+
break;
|
|
15931
|
+
case 4:
|
|
15932
|
+
message.isHidden = reader.bool();
|
|
15933
|
+
break;
|
|
15934
|
+
case 5:
|
|
15935
|
+
message.isLocked = reader.bool();
|
|
15936
|
+
break;
|
|
15937
|
+
case 6:
|
|
15938
|
+
message.updatedAt = reader.uint64();
|
|
15939
|
+
break;
|
|
15940
|
+
default:
|
|
15941
|
+
reader.skipType(tag & 7);
|
|
15942
|
+
break;
|
|
15943
|
+
}
|
|
15944
|
+
}
|
|
15945
|
+
return message;
|
|
15946
|
+
};
|
|
15947
|
+
|
|
15948
|
+
/**
|
|
15949
|
+
* Decodes an AccessibleEntityUpdated message from the specified reader or buffer, length delimited.
|
|
15950
|
+
* @function decodeDelimited
|
|
15951
|
+
* @memberof AccessibleEntityUpdated
|
|
15952
|
+
* @static
|
|
15953
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15954
|
+
* @returns {AccessibleEntityUpdated} AccessibleEntityUpdated
|
|
15955
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15956
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15957
|
+
*/
|
|
15958
|
+
AccessibleEntityUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
15959
|
+
if (!(reader instanceof $Reader))
|
|
15960
|
+
reader = new $Reader(reader);
|
|
15961
|
+
return this.decode(reader, reader.uint32());
|
|
15962
|
+
};
|
|
15963
|
+
|
|
15964
|
+
/**
|
|
15965
|
+
* Verifies an AccessibleEntityUpdated message.
|
|
15966
|
+
* @function verify
|
|
15967
|
+
* @memberof AccessibleEntityUpdated
|
|
15968
|
+
* @static
|
|
15969
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
15970
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15971
|
+
*/
|
|
15972
|
+
AccessibleEntityUpdated.verify = function verify(message) {
|
|
15973
|
+
if (typeof message !== "object" || message === null)
|
|
15974
|
+
return "object expected";
|
|
15975
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
15976
|
+
if (!$util.isString(message.entityType))
|
|
15977
|
+
return "entityType: string expected";
|
|
15978
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
15979
|
+
if (!$util.isString(message.entityTypeId))
|
|
15980
|
+
return "entityTypeId: string expected";
|
|
15981
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
15982
|
+
if (!$util.isString(message.accessGroupName))
|
|
15983
|
+
return "accessGroupName: string expected";
|
|
15984
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
15985
|
+
if (typeof message.isHidden !== "boolean")
|
|
15986
|
+
return "isHidden: boolean expected";
|
|
15987
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
15988
|
+
if (typeof message.isLocked !== "boolean")
|
|
15989
|
+
return "isLocked: boolean expected";
|
|
15990
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
15991
|
+
if (!$util.isInteger(message.updatedAt) && !(message.updatedAt && $util.isInteger(message.updatedAt.low) && $util.isInteger(message.updatedAt.high)))
|
|
15992
|
+
return "updatedAt: integer|Long expected";
|
|
15993
|
+
return null;
|
|
15994
|
+
};
|
|
15995
|
+
|
|
15996
|
+
/**
|
|
15997
|
+
* Creates an AccessibleEntityUpdated message from a plain object. Also converts values to their respective internal types.
|
|
15998
|
+
* @function fromObject
|
|
15999
|
+
* @memberof AccessibleEntityUpdated
|
|
16000
|
+
* @static
|
|
16001
|
+
* @param {Object.<string,*>} object Plain object
|
|
16002
|
+
* @returns {AccessibleEntityUpdated} AccessibleEntityUpdated
|
|
16003
|
+
*/
|
|
16004
|
+
AccessibleEntityUpdated.fromObject = function fromObject(object) {
|
|
16005
|
+
if (object instanceof $root.AccessibleEntityUpdated)
|
|
16006
|
+
return object;
|
|
16007
|
+
var message = new $root.AccessibleEntityUpdated();
|
|
16008
|
+
if (object.entityType != null)
|
|
16009
|
+
message.entityType = String(object.entityType);
|
|
16010
|
+
if (object.entityTypeId != null)
|
|
16011
|
+
message.entityTypeId = String(object.entityTypeId);
|
|
16012
|
+
if (object.accessGroupName != null)
|
|
16013
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
16014
|
+
if (object.isHidden != null)
|
|
16015
|
+
message.isHidden = Boolean(object.isHidden);
|
|
16016
|
+
if (object.isLocked != null)
|
|
16017
|
+
message.isLocked = Boolean(object.isLocked);
|
|
16018
|
+
if (object.updatedAt != null)
|
|
16019
|
+
if ($util.Long)
|
|
16020
|
+
(message.updatedAt = $util.Long.fromValue(object.updatedAt)).unsigned = true;
|
|
16021
|
+
else if (typeof object.updatedAt === "string")
|
|
16022
|
+
message.updatedAt = parseInt(object.updatedAt, 10);
|
|
16023
|
+
else if (typeof object.updatedAt === "number")
|
|
16024
|
+
message.updatedAt = object.updatedAt;
|
|
16025
|
+
else if (typeof object.updatedAt === "object")
|
|
16026
|
+
message.updatedAt = new $util.LongBits(object.updatedAt.low >>> 0, object.updatedAt.high >>> 0).toNumber(true);
|
|
16027
|
+
return message;
|
|
16028
|
+
};
|
|
16029
|
+
|
|
16030
|
+
/**
|
|
16031
|
+
* Creates a plain object from an AccessibleEntityUpdated message. Also converts values to other types if specified.
|
|
16032
|
+
* @function toObject
|
|
16033
|
+
* @memberof AccessibleEntityUpdated
|
|
16034
|
+
* @static
|
|
16035
|
+
* @param {AccessibleEntityUpdated} message AccessibleEntityUpdated
|
|
16036
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
16037
|
+
* @returns {Object.<string,*>} Plain object
|
|
16038
|
+
*/
|
|
16039
|
+
AccessibleEntityUpdated.toObject = function toObject(message, options) {
|
|
16040
|
+
if (!options)
|
|
16041
|
+
options = {};
|
|
16042
|
+
var object = {};
|
|
16043
|
+
if (options.defaults) {
|
|
16044
|
+
object.entityType = "";
|
|
16045
|
+
object.entityTypeId = "";
|
|
16046
|
+
object.accessGroupName = "";
|
|
16047
|
+
object.isHidden = false;
|
|
16048
|
+
object.isLocked = false;
|
|
16049
|
+
if ($util.Long) {
|
|
16050
|
+
var long = new $util.Long(0, 0, true);
|
|
16051
|
+
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
16052
|
+
} else
|
|
16053
|
+
object.updatedAt = options.longs === String ? "0" : 0;
|
|
16054
|
+
}
|
|
16055
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16056
|
+
object.entityType = message.entityType;
|
|
16057
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16058
|
+
object.entityTypeId = message.entityTypeId;
|
|
16059
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16060
|
+
object.accessGroupName = message.accessGroupName;
|
|
16061
|
+
if (message.isHidden != null && message.hasOwnProperty("isHidden"))
|
|
16062
|
+
object.isHidden = message.isHidden;
|
|
16063
|
+
if (message.isLocked != null && message.hasOwnProperty("isLocked"))
|
|
16064
|
+
object.isLocked = message.isLocked;
|
|
16065
|
+
if (message.updatedAt != null && message.hasOwnProperty("updatedAt"))
|
|
16066
|
+
if (typeof message.updatedAt === "number")
|
|
16067
|
+
object.updatedAt = options.longs === String ? String(message.updatedAt) : message.updatedAt;
|
|
16068
|
+
else
|
|
16069
|
+
object.updatedAt = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAt) : options.longs === Number ? new $util.LongBits(message.updatedAt.low >>> 0, message.updatedAt.high >>> 0).toNumber(true) : message.updatedAt;
|
|
16070
|
+
return object;
|
|
16071
|
+
};
|
|
16072
|
+
|
|
16073
|
+
/**
|
|
16074
|
+
* Converts this AccessibleEntityUpdated to JSON.
|
|
16075
|
+
* @function toJSON
|
|
16076
|
+
* @memberof AccessibleEntityUpdated
|
|
16077
|
+
* @instance
|
|
16078
|
+
* @returns {Object.<string,*>} JSON object
|
|
16079
|
+
*/
|
|
16080
|
+
AccessibleEntityUpdated.prototype.toJSON = function toJSON() {
|
|
16081
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
16082
|
+
};
|
|
16083
|
+
|
|
16084
|
+
return AccessibleEntityUpdated;
|
|
16085
|
+
})();
|
|
16086
|
+
|
|
16087
|
+
$root.AccessibleEntityDeleted = (function() {
|
|
16088
|
+
|
|
16089
|
+
/**
|
|
16090
|
+
* Properties of an AccessibleEntityDeleted.
|
|
16091
|
+
* @exports IAccessibleEntityDeleted
|
|
16092
|
+
* @interface IAccessibleEntityDeleted
|
|
16093
|
+
* @property {string|null} [entityType] AccessibleEntityDeleted entityType
|
|
16094
|
+
* @property {string|null} [entityTypeId] AccessibleEntityDeleted entityTypeId
|
|
16095
|
+
* @property {string|null} [accessGroupName] AccessibleEntityDeleted accessGroupName
|
|
16096
|
+
* @property {number|Long|null} [deletedAt] AccessibleEntityDeleted deletedAt
|
|
16097
|
+
*/
|
|
16098
|
+
|
|
16099
|
+
/**
|
|
16100
|
+
* Constructs a new AccessibleEntityDeleted.
|
|
16101
|
+
* @exports AccessibleEntityDeleted
|
|
16102
|
+
* @classdesc Represents an AccessibleEntityDeleted.
|
|
16103
|
+
* @implements IAccessibleEntityDeleted
|
|
16104
|
+
* @constructor
|
|
16105
|
+
* @param {IAccessibleEntityDeleted=} [properties] Properties to set
|
|
16106
|
+
*/
|
|
16107
|
+
function AccessibleEntityDeleted(properties) {
|
|
16108
|
+
if (properties)
|
|
16109
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
16110
|
+
if (properties[keys[i]] != null)
|
|
16111
|
+
this[keys[i]] = properties[keys[i]];
|
|
16112
|
+
}
|
|
16113
|
+
|
|
16114
|
+
/**
|
|
16115
|
+
* AccessibleEntityDeleted entityType.
|
|
16116
|
+
* @member {string} entityType
|
|
16117
|
+
* @memberof AccessibleEntityDeleted
|
|
16118
|
+
* @instance
|
|
16119
|
+
*/
|
|
16120
|
+
AccessibleEntityDeleted.prototype.entityType = "";
|
|
16121
|
+
|
|
16122
|
+
/**
|
|
16123
|
+
* AccessibleEntityDeleted entityTypeId.
|
|
16124
|
+
* @member {string} entityTypeId
|
|
16125
|
+
* @memberof AccessibleEntityDeleted
|
|
16126
|
+
* @instance
|
|
16127
|
+
*/
|
|
16128
|
+
AccessibleEntityDeleted.prototype.entityTypeId = "";
|
|
16129
|
+
|
|
16130
|
+
/**
|
|
16131
|
+
* AccessibleEntityDeleted accessGroupName.
|
|
16132
|
+
* @member {string} accessGroupName
|
|
16133
|
+
* @memberof AccessibleEntityDeleted
|
|
16134
|
+
* @instance
|
|
16135
|
+
*/
|
|
16136
|
+
AccessibleEntityDeleted.prototype.accessGroupName = "";
|
|
16137
|
+
|
|
16138
|
+
/**
|
|
16139
|
+
* AccessibleEntityDeleted deletedAt.
|
|
16140
|
+
* @member {number|Long} deletedAt
|
|
16141
|
+
* @memberof AccessibleEntityDeleted
|
|
16142
|
+
* @instance
|
|
16143
|
+
*/
|
|
16144
|
+
AccessibleEntityDeleted.prototype.deletedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
16145
|
+
|
|
16146
|
+
/**
|
|
16147
|
+
* Creates a new AccessibleEntityDeleted instance using the specified properties.
|
|
16148
|
+
* @function create
|
|
16149
|
+
* @memberof AccessibleEntityDeleted
|
|
16150
|
+
* @static
|
|
16151
|
+
* @param {IAccessibleEntityDeleted=} [properties] Properties to set
|
|
16152
|
+
* @returns {AccessibleEntityDeleted} AccessibleEntityDeleted instance
|
|
16153
|
+
*/
|
|
16154
|
+
AccessibleEntityDeleted.create = function create(properties) {
|
|
16155
|
+
return new AccessibleEntityDeleted(properties);
|
|
16156
|
+
};
|
|
16157
|
+
|
|
16158
|
+
/**
|
|
16159
|
+
* Encodes the specified AccessibleEntityDeleted message. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
|
|
16160
|
+
* @function encode
|
|
16161
|
+
* @memberof AccessibleEntityDeleted
|
|
16162
|
+
* @static
|
|
16163
|
+
* @param {IAccessibleEntityDeleted} message AccessibleEntityDeleted message or plain object to encode
|
|
16164
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16165
|
+
* @returns {$protobuf.Writer} Writer
|
|
16166
|
+
*/
|
|
16167
|
+
AccessibleEntityDeleted.encode = function encode(message, writer) {
|
|
16168
|
+
if (!writer)
|
|
16169
|
+
writer = $Writer.create();
|
|
16170
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16171
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.entityType);
|
|
16172
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16173
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.entityTypeId);
|
|
16174
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16175
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.accessGroupName);
|
|
16176
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
16177
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.deletedAt);
|
|
16178
|
+
return writer;
|
|
16179
|
+
};
|
|
16180
|
+
|
|
16181
|
+
/**
|
|
16182
|
+
* Encodes the specified AccessibleEntityDeleted message, length delimited. Does not implicitly {@link AccessibleEntityDeleted.verify|verify} messages.
|
|
16183
|
+
* @function encodeDelimited
|
|
16184
|
+
* @memberof AccessibleEntityDeleted
|
|
16185
|
+
* @static
|
|
16186
|
+
* @param {IAccessibleEntityDeleted} message AccessibleEntityDeleted message or plain object to encode
|
|
16187
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
16188
|
+
* @returns {$protobuf.Writer} Writer
|
|
16189
|
+
*/
|
|
16190
|
+
AccessibleEntityDeleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
16191
|
+
return this.encode(message, writer).ldelim();
|
|
16192
|
+
};
|
|
16193
|
+
|
|
16194
|
+
/**
|
|
16195
|
+
* Decodes an AccessibleEntityDeleted message from the specified reader or buffer.
|
|
16196
|
+
* @function decode
|
|
16197
|
+
* @memberof AccessibleEntityDeleted
|
|
16198
|
+
* @static
|
|
16199
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16200
|
+
* @param {number} [length] Message length if known beforehand
|
|
16201
|
+
* @returns {AccessibleEntityDeleted} AccessibleEntityDeleted
|
|
16202
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16203
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16204
|
+
*/
|
|
16205
|
+
AccessibleEntityDeleted.decode = function decode(reader, length) {
|
|
16206
|
+
if (!(reader instanceof $Reader))
|
|
16207
|
+
reader = $Reader.create(reader);
|
|
16208
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.AccessibleEntityDeleted();
|
|
16209
|
+
while (reader.pos < end) {
|
|
16210
|
+
var tag = reader.uint32();
|
|
16211
|
+
switch (tag >>> 3) {
|
|
16212
|
+
case 1:
|
|
16213
|
+
message.entityType = reader.string();
|
|
16214
|
+
break;
|
|
16215
|
+
case 2:
|
|
16216
|
+
message.entityTypeId = reader.string();
|
|
16217
|
+
break;
|
|
16218
|
+
case 3:
|
|
16219
|
+
message.accessGroupName = reader.string();
|
|
16220
|
+
break;
|
|
16221
|
+
case 4:
|
|
16222
|
+
message.deletedAt = reader.uint64();
|
|
16223
|
+
break;
|
|
16224
|
+
default:
|
|
16225
|
+
reader.skipType(tag & 7);
|
|
16226
|
+
break;
|
|
16227
|
+
}
|
|
16228
|
+
}
|
|
16229
|
+
return message;
|
|
16230
|
+
};
|
|
16231
|
+
|
|
16232
|
+
/**
|
|
16233
|
+
* Decodes an AccessibleEntityDeleted message from the specified reader or buffer, length delimited.
|
|
16234
|
+
* @function decodeDelimited
|
|
16235
|
+
* @memberof AccessibleEntityDeleted
|
|
16236
|
+
* @static
|
|
16237
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16238
|
+
* @returns {AccessibleEntityDeleted} AccessibleEntityDeleted
|
|
16239
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16240
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16241
|
+
*/
|
|
16242
|
+
AccessibleEntityDeleted.decodeDelimited = function decodeDelimited(reader) {
|
|
16243
|
+
if (!(reader instanceof $Reader))
|
|
16244
|
+
reader = new $Reader(reader);
|
|
16245
|
+
return this.decode(reader, reader.uint32());
|
|
16246
|
+
};
|
|
16247
|
+
|
|
16248
|
+
/**
|
|
16249
|
+
* Verifies an AccessibleEntityDeleted message.
|
|
16250
|
+
* @function verify
|
|
16251
|
+
* @memberof AccessibleEntityDeleted
|
|
16252
|
+
* @static
|
|
16253
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
16254
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
16255
|
+
*/
|
|
16256
|
+
AccessibleEntityDeleted.verify = function verify(message) {
|
|
16257
|
+
if (typeof message !== "object" || message === null)
|
|
16258
|
+
return "object expected";
|
|
16259
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16260
|
+
if (!$util.isString(message.entityType))
|
|
16261
|
+
return "entityType: string expected";
|
|
16262
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16263
|
+
if (!$util.isString(message.entityTypeId))
|
|
16264
|
+
return "entityTypeId: string expected";
|
|
16265
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16266
|
+
if (!$util.isString(message.accessGroupName))
|
|
16267
|
+
return "accessGroupName: string expected";
|
|
16268
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
16269
|
+
if (!$util.isInteger(message.deletedAt) && !(message.deletedAt && $util.isInteger(message.deletedAt.low) && $util.isInteger(message.deletedAt.high)))
|
|
16270
|
+
return "deletedAt: integer|Long expected";
|
|
16271
|
+
return null;
|
|
16272
|
+
};
|
|
16273
|
+
|
|
16274
|
+
/**
|
|
16275
|
+
* Creates an AccessibleEntityDeleted message from a plain object. Also converts values to their respective internal types.
|
|
16276
|
+
* @function fromObject
|
|
16277
|
+
* @memberof AccessibleEntityDeleted
|
|
16278
|
+
* @static
|
|
16279
|
+
* @param {Object.<string,*>} object Plain object
|
|
16280
|
+
* @returns {AccessibleEntityDeleted} AccessibleEntityDeleted
|
|
16281
|
+
*/
|
|
16282
|
+
AccessibleEntityDeleted.fromObject = function fromObject(object) {
|
|
16283
|
+
if (object instanceof $root.AccessibleEntityDeleted)
|
|
16284
|
+
return object;
|
|
16285
|
+
var message = new $root.AccessibleEntityDeleted();
|
|
16286
|
+
if (object.entityType != null)
|
|
16287
|
+
message.entityType = String(object.entityType);
|
|
16288
|
+
if (object.entityTypeId != null)
|
|
16289
|
+
message.entityTypeId = String(object.entityTypeId);
|
|
16290
|
+
if (object.accessGroupName != null)
|
|
16291
|
+
message.accessGroupName = String(object.accessGroupName);
|
|
16292
|
+
if (object.deletedAt != null)
|
|
16293
|
+
if ($util.Long)
|
|
16294
|
+
(message.deletedAt = $util.Long.fromValue(object.deletedAt)).unsigned = true;
|
|
16295
|
+
else if (typeof object.deletedAt === "string")
|
|
16296
|
+
message.deletedAt = parseInt(object.deletedAt, 10);
|
|
16297
|
+
else if (typeof object.deletedAt === "number")
|
|
16298
|
+
message.deletedAt = object.deletedAt;
|
|
16299
|
+
else if (typeof object.deletedAt === "object")
|
|
16300
|
+
message.deletedAt = new $util.LongBits(object.deletedAt.low >>> 0, object.deletedAt.high >>> 0).toNumber(true);
|
|
16301
|
+
return message;
|
|
16302
|
+
};
|
|
16303
|
+
|
|
16304
|
+
/**
|
|
16305
|
+
* Creates a plain object from an AccessibleEntityDeleted message. Also converts values to other types if specified.
|
|
16306
|
+
* @function toObject
|
|
16307
|
+
* @memberof AccessibleEntityDeleted
|
|
16308
|
+
* @static
|
|
16309
|
+
* @param {AccessibleEntityDeleted} message AccessibleEntityDeleted
|
|
16310
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
16311
|
+
* @returns {Object.<string,*>} Plain object
|
|
16312
|
+
*/
|
|
16313
|
+
AccessibleEntityDeleted.toObject = function toObject(message, options) {
|
|
16314
|
+
if (!options)
|
|
16315
|
+
options = {};
|
|
16316
|
+
var object = {};
|
|
16317
|
+
if (options.defaults) {
|
|
16318
|
+
object.entityType = "";
|
|
16319
|
+
object.entityTypeId = "";
|
|
16320
|
+
object.accessGroupName = "";
|
|
16321
|
+
if ($util.Long) {
|
|
16322
|
+
var long = new $util.Long(0, 0, true);
|
|
16323
|
+
object.deletedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
16324
|
+
} else
|
|
16325
|
+
object.deletedAt = options.longs === String ? "0" : 0;
|
|
16326
|
+
}
|
|
16327
|
+
if (message.entityType != null && message.hasOwnProperty("entityType"))
|
|
16328
|
+
object.entityType = message.entityType;
|
|
16329
|
+
if (message.entityTypeId != null && message.hasOwnProperty("entityTypeId"))
|
|
16330
|
+
object.entityTypeId = message.entityTypeId;
|
|
16331
|
+
if (message.accessGroupName != null && message.hasOwnProperty("accessGroupName"))
|
|
16332
|
+
object.accessGroupName = message.accessGroupName;
|
|
16333
|
+
if (message.deletedAt != null && message.hasOwnProperty("deletedAt"))
|
|
16334
|
+
if (typeof message.deletedAt === "number")
|
|
16335
|
+
object.deletedAt = options.longs === String ? String(message.deletedAt) : message.deletedAt;
|
|
16336
|
+
else
|
|
16337
|
+
object.deletedAt = options.longs === String ? $util.Long.prototype.toString.call(message.deletedAt) : options.longs === Number ? new $util.LongBits(message.deletedAt.low >>> 0, message.deletedAt.high >>> 0).toNumber(true) : message.deletedAt;
|
|
16338
|
+
return object;
|
|
16339
|
+
};
|
|
16340
|
+
|
|
16341
|
+
/**
|
|
16342
|
+
* Converts this AccessibleEntityDeleted to JSON.
|
|
16343
|
+
* @function toJSON
|
|
16344
|
+
* @memberof AccessibleEntityDeleted
|
|
16345
|
+
* @instance
|
|
16346
|
+
* @returns {Object.<string,*>} JSON object
|
|
16347
|
+
*/
|
|
16348
|
+
AccessibleEntityDeleted.prototype.toJSON = function toJSON() {
|
|
16349
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
16350
|
+
};
|
|
16351
|
+
|
|
16352
|
+
return AccessibleEntityDeleted;
|
|
14723
16353
|
})();
|
|
14724
16354
|
|
|
14725
16355
|
$root.ReferralSignedUp = (function() {
|