@headspace/protos-events 1.691.0 → 1.693.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 +233 -216
- package/lib/index.js +639 -522
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -95963,528 +95963,6 @@ $root.DiscussionPostCreated = (function() {
|
|
|
95963
95963
|
return DiscussionPostCreated;
|
|
95964
95964
|
})();
|
|
95965
95965
|
|
|
95966
|
-
$root.ElfProcessingStarted = (function() {
|
|
95967
|
-
|
|
95968
|
-
/**
|
|
95969
|
-
* Properties of an ElfProcessingStarted.
|
|
95970
|
-
* @name IElfProcessingStarted
|
|
95971
|
-
* @interface IElfProcessingStarted
|
|
95972
|
-
* @property {string|null} [s3Bucket] ElfProcessingStarted s3Bucket
|
|
95973
|
-
* @property {string|null} [s3Key] ElfProcessingStarted s3Key
|
|
95974
|
-
* @property {number|Long|null} [importedAtTimestamp] ElfProcessingStarted importedAtTimestamp
|
|
95975
|
-
* @property {number|null} [orgId] ElfProcessingStarted orgId
|
|
95976
|
-
*/
|
|
95977
|
-
|
|
95978
|
-
/**
|
|
95979
|
-
* Constructs a new ElfProcessingStarted.
|
|
95980
|
-
* @name ElfProcessingStarted
|
|
95981
|
-
* @classdesc Represents an ElfProcessingStarted.
|
|
95982
|
-
* @implements IElfProcessingStarted
|
|
95983
|
-
* @constructor
|
|
95984
|
-
* @param {IElfProcessingStarted=} [properties] Properties to set
|
|
95985
|
-
*/
|
|
95986
|
-
function ElfProcessingStarted(properties) {
|
|
95987
|
-
if (properties)
|
|
95988
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
95989
|
-
if (properties[keys[i]] != null)
|
|
95990
|
-
this[keys[i]] = properties[keys[i]];
|
|
95991
|
-
}
|
|
95992
|
-
|
|
95993
|
-
/**
|
|
95994
|
-
* ElfProcessingStarted s3Bucket.
|
|
95995
|
-
* @member {string} s3Bucket
|
|
95996
|
-
* @memberof ElfProcessingStarted
|
|
95997
|
-
* @instance
|
|
95998
|
-
*/
|
|
95999
|
-
ElfProcessingStarted.prototype.s3Bucket = "";
|
|
96000
|
-
|
|
96001
|
-
/**
|
|
96002
|
-
* ElfProcessingStarted s3Key.
|
|
96003
|
-
* @member {string} s3Key
|
|
96004
|
-
* @memberof ElfProcessingStarted
|
|
96005
|
-
* @instance
|
|
96006
|
-
*/
|
|
96007
|
-
ElfProcessingStarted.prototype.s3Key = "";
|
|
96008
|
-
|
|
96009
|
-
/**
|
|
96010
|
-
* ElfProcessingStarted importedAtTimestamp.
|
|
96011
|
-
* @member {number|Long} importedAtTimestamp
|
|
96012
|
-
* @memberof ElfProcessingStarted
|
|
96013
|
-
* @instance
|
|
96014
|
-
*/
|
|
96015
|
-
ElfProcessingStarted.prototype.importedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
96016
|
-
|
|
96017
|
-
/**
|
|
96018
|
-
* ElfProcessingStarted orgId.
|
|
96019
|
-
* @member {number} orgId
|
|
96020
|
-
* @memberof ElfProcessingStarted
|
|
96021
|
-
* @instance
|
|
96022
|
-
*/
|
|
96023
|
-
ElfProcessingStarted.prototype.orgId = 0;
|
|
96024
|
-
|
|
96025
|
-
/**
|
|
96026
|
-
* Creates a new ElfProcessingStarted instance using the specified properties.
|
|
96027
|
-
* @function create
|
|
96028
|
-
* @memberof ElfProcessingStarted
|
|
96029
|
-
* @static
|
|
96030
|
-
* @param {IElfProcessingStarted=} [properties] Properties to set
|
|
96031
|
-
* @returns {ElfProcessingStarted} ElfProcessingStarted instance
|
|
96032
|
-
*/
|
|
96033
|
-
ElfProcessingStarted.create = function create(properties) {
|
|
96034
|
-
return new ElfProcessingStarted(properties);
|
|
96035
|
-
};
|
|
96036
|
-
|
|
96037
|
-
/**
|
|
96038
|
-
* Encodes the specified ElfProcessingStarted message. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
|
|
96039
|
-
* @function encode
|
|
96040
|
-
* @memberof ElfProcessingStarted
|
|
96041
|
-
* @static
|
|
96042
|
-
* @param {IElfProcessingStarted} message ElfProcessingStarted message or plain object to encode
|
|
96043
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
96044
|
-
* @returns {$protobuf.Writer} Writer
|
|
96045
|
-
*/
|
|
96046
|
-
ElfProcessingStarted.encode = function encode(message, writer) {
|
|
96047
|
-
if (!writer)
|
|
96048
|
-
writer = $Writer.create();
|
|
96049
|
-
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
96050
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.s3Bucket);
|
|
96051
|
-
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
96052
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.s3Key);
|
|
96053
|
-
if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
|
|
96054
|
-
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.importedAtTimestamp);
|
|
96055
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
96056
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.orgId);
|
|
96057
|
-
return writer;
|
|
96058
|
-
};
|
|
96059
|
-
|
|
96060
|
-
/**
|
|
96061
|
-
* Encodes the specified ElfProcessingStarted message, length delimited. Does not implicitly {@link ElfProcessingStarted.verify|verify} messages.
|
|
96062
|
-
* @function encodeDelimited
|
|
96063
|
-
* @memberof ElfProcessingStarted
|
|
96064
|
-
* @static
|
|
96065
|
-
* @param {IElfProcessingStarted} message ElfProcessingStarted message or plain object to encode
|
|
96066
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
96067
|
-
* @returns {$protobuf.Writer} Writer
|
|
96068
|
-
*/
|
|
96069
|
-
ElfProcessingStarted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
96070
|
-
return this.encode(message, writer).ldelim();
|
|
96071
|
-
};
|
|
96072
|
-
|
|
96073
|
-
/**
|
|
96074
|
-
* Decodes an ElfProcessingStarted message from the specified reader or buffer.
|
|
96075
|
-
* @function decode
|
|
96076
|
-
* @memberof ElfProcessingStarted
|
|
96077
|
-
* @static
|
|
96078
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
96079
|
-
* @param {number} [length] Message length if known beforehand
|
|
96080
|
-
* @returns {ElfProcessingStarted} ElfProcessingStarted
|
|
96081
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
96082
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
96083
|
-
*/
|
|
96084
|
-
ElfProcessingStarted.decode = function decode(reader, length) {
|
|
96085
|
-
if (!(reader instanceof $Reader))
|
|
96086
|
-
reader = $Reader.create(reader);
|
|
96087
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfProcessingStarted();
|
|
96088
|
-
while (reader.pos < end) {
|
|
96089
|
-
var tag = reader.uint32();
|
|
96090
|
-
switch (tag >>> 3) {
|
|
96091
|
-
case 1:
|
|
96092
|
-
message.s3Bucket = reader.string();
|
|
96093
|
-
break;
|
|
96094
|
-
case 2:
|
|
96095
|
-
message.s3Key = reader.string();
|
|
96096
|
-
break;
|
|
96097
|
-
case 3:
|
|
96098
|
-
message.importedAtTimestamp = reader.uint64();
|
|
96099
|
-
break;
|
|
96100
|
-
case 4:
|
|
96101
|
-
message.orgId = reader.int32();
|
|
96102
|
-
break;
|
|
96103
|
-
default:
|
|
96104
|
-
reader.skipType(tag & 7);
|
|
96105
|
-
break;
|
|
96106
|
-
}
|
|
96107
|
-
}
|
|
96108
|
-
return message;
|
|
96109
|
-
};
|
|
96110
|
-
|
|
96111
|
-
/**
|
|
96112
|
-
* Decodes an ElfProcessingStarted message from the specified reader or buffer, length delimited.
|
|
96113
|
-
* @function decodeDelimited
|
|
96114
|
-
* @memberof ElfProcessingStarted
|
|
96115
|
-
* @static
|
|
96116
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
96117
|
-
* @returns {ElfProcessingStarted} ElfProcessingStarted
|
|
96118
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
96119
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
96120
|
-
*/
|
|
96121
|
-
ElfProcessingStarted.decodeDelimited = function decodeDelimited(reader) {
|
|
96122
|
-
if (!(reader instanceof $Reader))
|
|
96123
|
-
reader = new $Reader(reader);
|
|
96124
|
-
return this.decode(reader, reader.uint32());
|
|
96125
|
-
};
|
|
96126
|
-
|
|
96127
|
-
/**
|
|
96128
|
-
* Verifies an ElfProcessingStarted message.
|
|
96129
|
-
* @function verify
|
|
96130
|
-
* @memberof ElfProcessingStarted
|
|
96131
|
-
* @static
|
|
96132
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
96133
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
96134
|
-
*/
|
|
96135
|
-
ElfProcessingStarted.verify = function verify(message) {
|
|
96136
|
-
if (typeof message !== "object" || message === null)
|
|
96137
|
-
return "object expected";
|
|
96138
|
-
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
96139
|
-
if (!$util.isString(message.s3Bucket))
|
|
96140
|
-
return "s3Bucket: string expected";
|
|
96141
|
-
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
96142
|
-
if (!$util.isString(message.s3Key))
|
|
96143
|
-
return "s3Key: string expected";
|
|
96144
|
-
if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
|
|
96145
|
-
if (!$util.isInteger(message.importedAtTimestamp) && !(message.importedAtTimestamp && $util.isInteger(message.importedAtTimestamp.low) && $util.isInteger(message.importedAtTimestamp.high)))
|
|
96146
|
-
return "importedAtTimestamp: integer|Long expected";
|
|
96147
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
96148
|
-
if (!$util.isInteger(message.orgId))
|
|
96149
|
-
return "orgId: integer expected";
|
|
96150
|
-
return null;
|
|
96151
|
-
};
|
|
96152
|
-
|
|
96153
|
-
/**
|
|
96154
|
-
* Creates an ElfProcessingStarted message from a plain object. Also converts values to their respective internal types.
|
|
96155
|
-
* @function fromObject
|
|
96156
|
-
* @memberof ElfProcessingStarted
|
|
96157
|
-
* @static
|
|
96158
|
-
* @param {Object.<string,*>} object Plain object
|
|
96159
|
-
* @returns {ElfProcessingStarted} ElfProcessingStarted
|
|
96160
|
-
*/
|
|
96161
|
-
ElfProcessingStarted.fromObject = function fromObject(object) {
|
|
96162
|
-
if (object instanceof $root.ElfProcessingStarted)
|
|
96163
|
-
return object;
|
|
96164
|
-
var message = new $root.ElfProcessingStarted();
|
|
96165
|
-
if (object.s3Bucket != null)
|
|
96166
|
-
message.s3Bucket = String(object.s3Bucket);
|
|
96167
|
-
if (object.s3Key != null)
|
|
96168
|
-
message.s3Key = String(object.s3Key);
|
|
96169
|
-
if (object.importedAtTimestamp != null)
|
|
96170
|
-
if ($util.Long)
|
|
96171
|
-
(message.importedAtTimestamp = $util.Long.fromValue(object.importedAtTimestamp)).unsigned = true;
|
|
96172
|
-
else if (typeof object.importedAtTimestamp === "string")
|
|
96173
|
-
message.importedAtTimestamp = parseInt(object.importedAtTimestamp, 10);
|
|
96174
|
-
else if (typeof object.importedAtTimestamp === "number")
|
|
96175
|
-
message.importedAtTimestamp = object.importedAtTimestamp;
|
|
96176
|
-
else if (typeof object.importedAtTimestamp === "object")
|
|
96177
|
-
message.importedAtTimestamp = new $util.LongBits(object.importedAtTimestamp.low >>> 0, object.importedAtTimestamp.high >>> 0).toNumber(true);
|
|
96178
|
-
if (object.orgId != null)
|
|
96179
|
-
message.orgId = object.orgId | 0;
|
|
96180
|
-
return message;
|
|
96181
|
-
};
|
|
96182
|
-
|
|
96183
|
-
/**
|
|
96184
|
-
* Creates a plain object from an ElfProcessingStarted message. Also converts values to other types if specified.
|
|
96185
|
-
* @function toObject
|
|
96186
|
-
* @memberof ElfProcessingStarted
|
|
96187
|
-
* @static
|
|
96188
|
-
* @param {ElfProcessingStarted} message ElfProcessingStarted
|
|
96189
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
96190
|
-
* @returns {Object.<string,*>} Plain object
|
|
96191
|
-
*/
|
|
96192
|
-
ElfProcessingStarted.toObject = function toObject(message, options) {
|
|
96193
|
-
if (!options)
|
|
96194
|
-
options = {};
|
|
96195
|
-
var object = {};
|
|
96196
|
-
if (options.defaults) {
|
|
96197
|
-
object.s3Bucket = "";
|
|
96198
|
-
object.s3Key = "";
|
|
96199
|
-
if ($util.Long) {
|
|
96200
|
-
var long = new $util.Long(0, 0, true);
|
|
96201
|
-
object.importedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
96202
|
-
} else
|
|
96203
|
-
object.importedAtTimestamp = options.longs === String ? "0" : 0;
|
|
96204
|
-
object.orgId = 0;
|
|
96205
|
-
}
|
|
96206
|
-
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
96207
|
-
object.s3Bucket = message.s3Bucket;
|
|
96208
|
-
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
96209
|
-
object.s3Key = message.s3Key;
|
|
96210
|
-
if (message.importedAtTimestamp != null && message.hasOwnProperty("importedAtTimestamp"))
|
|
96211
|
-
if (typeof message.importedAtTimestamp === "number")
|
|
96212
|
-
object.importedAtTimestamp = options.longs === String ? String(message.importedAtTimestamp) : message.importedAtTimestamp;
|
|
96213
|
-
else
|
|
96214
|
-
object.importedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.importedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.importedAtTimestamp.low >>> 0, message.importedAtTimestamp.high >>> 0).toNumber(true) : message.importedAtTimestamp;
|
|
96215
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
96216
|
-
object.orgId = message.orgId;
|
|
96217
|
-
return object;
|
|
96218
|
-
};
|
|
96219
|
-
|
|
96220
|
-
/**
|
|
96221
|
-
* Converts this ElfProcessingStarted to JSON.
|
|
96222
|
-
* @function toJSON
|
|
96223
|
-
* @memberof ElfProcessingStarted
|
|
96224
|
-
* @instance
|
|
96225
|
-
* @returns {Object.<string,*>} JSON object
|
|
96226
|
-
*/
|
|
96227
|
-
ElfProcessingStarted.prototype.toJSON = function toJSON() {
|
|
96228
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
96229
|
-
};
|
|
96230
|
-
|
|
96231
|
-
return ElfProcessingStarted;
|
|
96232
|
-
})();
|
|
96233
|
-
|
|
96234
|
-
$root.ElfProcessingCanceled = (function() {
|
|
96235
|
-
|
|
96236
|
-
/**
|
|
96237
|
-
* Properties of an ElfProcessingCanceled.
|
|
96238
|
-
* @name IElfProcessingCanceled
|
|
96239
|
-
* @interface IElfProcessingCanceled
|
|
96240
|
-
* @property {string|null} [s3Bucket] ElfProcessingCanceled s3Bucket
|
|
96241
|
-
* @property {string|null} [s3Key] ElfProcessingCanceled s3Key
|
|
96242
|
-
* @property {number|null} [orgId] ElfProcessingCanceled orgId
|
|
96243
|
-
* @property {string|null} [message] ElfProcessingCanceled message
|
|
96244
|
-
*/
|
|
96245
|
-
|
|
96246
|
-
/**
|
|
96247
|
-
* Constructs a new ElfProcessingCanceled.
|
|
96248
|
-
* @name ElfProcessingCanceled
|
|
96249
|
-
* @classdesc Represents an ElfProcessingCanceled.
|
|
96250
|
-
* @implements IElfProcessingCanceled
|
|
96251
|
-
* @constructor
|
|
96252
|
-
* @param {IElfProcessingCanceled=} [properties] Properties to set
|
|
96253
|
-
*/
|
|
96254
|
-
function ElfProcessingCanceled(properties) {
|
|
96255
|
-
if (properties)
|
|
96256
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
96257
|
-
if (properties[keys[i]] != null)
|
|
96258
|
-
this[keys[i]] = properties[keys[i]];
|
|
96259
|
-
}
|
|
96260
|
-
|
|
96261
|
-
/**
|
|
96262
|
-
* ElfProcessingCanceled s3Bucket.
|
|
96263
|
-
* @member {string} s3Bucket
|
|
96264
|
-
* @memberof ElfProcessingCanceled
|
|
96265
|
-
* @instance
|
|
96266
|
-
*/
|
|
96267
|
-
ElfProcessingCanceled.prototype.s3Bucket = "";
|
|
96268
|
-
|
|
96269
|
-
/**
|
|
96270
|
-
* ElfProcessingCanceled s3Key.
|
|
96271
|
-
* @member {string} s3Key
|
|
96272
|
-
* @memberof ElfProcessingCanceled
|
|
96273
|
-
* @instance
|
|
96274
|
-
*/
|
|
96275
|
-
ElfProcessingCanceled.prototype.s3Key = "";
|
|
96276
|
-
|
|
96277
|
-
/**
|
|
96278
|
-
* ElfProcessingCanceled orgId.
|
|
96279
|
-
* @member {number} orgId
|
|
96280
|
-
* @memberof ElfProcessingCanceled
|
|
96281
|
-
* @instance
|
|
96282
|
-
*/
|
|
96283
|
-
ElfProcessingCanceled.prototype.orgId = 0;
|
|
96284
|
-
|
|
96285
|
-
/**
|
|
96286
|
-
* ElfProcessingCanceled message.
|
|
96287
|
-
* @member {string} message
|
|
96288
|
-
* @memberof ElfProcessingCanceled
|
|
96289
|
-
* @instance
|
|
96290
|
-
*/
|
|
96291
|
-
ElfProcessingCanceled.prototype.message = "";
|
|
96292
|
-
|
|
96293
|
-
/**
|
|
96294
|
-
* Creates a new ElfProcessingCanceled instance using the specified properties.
|
|
96295
|
-
* @function create
|
|
96296
|
-
* @memberof ElfProcessingCanceled
|
|
96297
|
-
* @static
|
|
96298
|
-
* @param {IElfProcessingCanceled=} [properties] Properties to set
|
|
96299
|
-
* @returns {ElfProcessingCanceled} ElfProcessingCanceled instance
|
|
96300
|
-
*/
|
|
96301
|
-
ElfProcessingCanceled.create = function create(properties) {
|
|
96302
|
-
return new ElfProcessingCanceled(properties);
|
|
96303
|
-
};
|
|
96304
|
-
|
|
96305
|
-
/**
|
|
96306
|
-
* Encodes the specified ElfProcessingCanceled message. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
|
|
96307
|
-
* @function encode
|
|
96308
|
-
* @memberof ElfProcessingCanceled
|
|
96309
|
-
* @static
|
|
96310
|
-
* @param {IElfProcessingCanceled} message ElfProcessingCanceled message or plain object to encode
|
|
96311
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
96312
|
-
* @returns {$protobuf.Writer} Writer
|
|
96313
|
-
*/
|
|
96314
|
-
ElfProcessingCanceled.encode = function encode(message, writer) {
|
|
96315
|
-
if (!writer)
|
|
96316
|
-
writer = $Writer.create();
|
|
96317
|
-
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
96318
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.s3Bucket);
|
|
96319
|
-
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
96320
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.s3Key);
|
|
96321
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
96322
|
-
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.orgId);
|
|
96323
|
-
if (message.message != null && message.hasOwnProperty("message"))
|
|
96324
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.message);
|
|
96325
|
-
return writer;
|
|
96326
|
-
};
|
|
96327
|
-
|
|
96328
|
-
/**
|
|
96329
|
-
* Encodes the specified ElfProcessingCanceled message, length delimited. Does not implicitly {@link ElfProcessingCanceled.verify|verify} messages.
|
|
96330
|
-
* @function encodeDelimited
|
|
96331
|
-
* @memberof ElfProcessingCanceled
|
|
96332
|
-
* @static
|
|
96333
|
-
* @param {IElfProcessingCanceled} message ElfProcessingCanceled message or plain object to encode
|
|
96334
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
96335
|
-
* @returns {$protobuf.Writer} Writer
|
|
96336
|
-
*/
|
|
96337
|
-
ElfProcessingCanceled.encodeDelimited = function encodeDelimited(message, writer) {
|
|
96338
|
-
return this.encode(message, writer).ldelim();
|
|
96339
|
-
};
|
|
96340
|
-
|
|
96341
|
-
/**
|
|
96342
|
-
* Decodes an ElfProcessingCanceled message from the specified reader or buffer.
|
|
96343
|
-
* @function decode
|
|
96344
|
-
* @memberof ElfProcessingCanceled
|
|
96345
|
-
* @static
|
|
96346
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
96347
|
-
* @param {number} [length] Message length if known beforehand
|
|
96348
|
-
* @returns {ElfProcessingCanceled} ElfProcessingCanceled
|
|
96349
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
96350
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
96351
|
-
*/
|
|
96352
|
-
ElfProcessingCanceled.decode = function decode(reader, length) {
|
|
96353
|
-
if (!(reader instanceof $Reader))
|
|
96354
|
-
reader = $Reader.create(reader);
|
|
96355
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfProcessingCanceled();
|
|
96356
|
-
while (reader.pos < end) {
|
|
96357
|
-
var tag = reader.uint32();
|
|
96358
|
-
switch (tag >>> 3) {
|
|
96359
|
-
case 1:
|
|
96360
|
-
message.s3Bucket = reader.string();
|
|
96361
|
-
break;
|
|
96362
|
-
case 2:
|
|
96363
|
-
message.s3Key = reader.string();
|
|
96364
|
-
break;
|
|
96365
|
-
case 3:
|
|
96366
|
-
message.orgId = reader.int32();
|
|
96367
|
-
break;
|
|
96368
|
-
case 4:
|
|
96369
|
-
message.message = reader.string();
|
|
96370
|
-
break;
|
|
96371
|
-
default:
|
|
96372
|
-
reader.skipType(tag & 7);
|
|
96373
|
-
break;
|
|
96374
|
-
}
|
|
96375
|
-
}
|
|
96376
|
-
return message;
|
|
96377
|
-
};
|
|
96378
|
-
|
|
96379
|
-
/**
|
|
96380
|
-
* Decodes an ElfProcessingCanceled message from the specified reader or buffer, length delimited.
|
|
96381
|
-
* @function decodeDelimited
|
|
96382
|
-
* @memberof ElfProcessingCanceled
|
|
96383
|
-
* @static
|
|
96384
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
96385
|
-
* @returns {ElfProcessingCanceled} ElfProcessingCanceled
|
|
96386
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
96387
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
96388
|
-
*/
|
|
96389
|
-
ElfProcessingCanceled.decodeDelimited = function decodeDelimited(reader) {
|
|
96390
|
-
if (!(reader instanceof $Reader))
|
|
96391
|
-
reader = new $Reader(reader);
|
|
96392
|
-
return this.decode(reader, reader.uint32());
|
|
96393
|
-
};
|
|
96394
|
-
|
|
96395
|
-
/**
|
|
96396
|
-
* Verifies an ElfProcessingCanceled message.
|
|
96397
|
-
* @function verify
|
|
96398
|
-
* @memberof ElfProcessingCanceled
|
|
96399
|
-
* @static
|
|
96400
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
96401
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
96402
|
-
*/
|
|
96403
|
-
ElfProcessingCanceled.verify = function verify(message) {
|
|
96404
|
-
if (typeof message !== "object" || message === null)
|
|
96405
|
-
return "object expected";
|
|
96406
|
-
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
96407
|
-
if (!$util.isString(message.s3Bucket))
|
|
96408
|
-
return "s3Bucket: string expected";
|
|
96409
|
-
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
96410
|
-
if (!$util.isString(message.s3Key))
|
|
96411
|
-
return "s3Key: string expected";
|
|
96412
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
96413
|
-
if (!$util.isInteger(message.orgId))
|
|
96414
|
-
return "orgId: integer expected";
|
|
96415
|
-
if (message.message != null && message.hasOwnProperty("message"))
|
|
96416
|
-
if (!$util.isString(message.message))
|
|
96417
|
-
return "message: string expected";
|
|
96418
|
-
return null;
|
|
96419
|
-
};
|
|
96420
|
-
|
|
96421
|
-
/**
|
|
96422
|
-
* Creates an ElfProcessingCanceled message from a plain object. Also converts values to their respective internal types.
|
|
96423
|
-
* @function fromObject
|
|
96424
|
-
* @memberof ElfProcessingCanceled
|
|
96425
|
-
* @static
|
|
96426
|
-
* @param {Object.<string,*>} object Plain object
|
|
96427
|
-
* @returns {ElfProcessingCanceled} ElfProcessingCanceled
|
|
96428
|
-
*/
|
|
96429
|
-
ElfProcessingCanceled.fromObject = function fromObject(object) {
|
|
96430
|
-
if (object instanceof $root.ElfProcessingCanceled)
|
|
96431
|
-
return object;
|
|
96432
|
-
var message = new $root.ElfProcessingCanceled();
|
|
96433
|
-
if (object.s3Bucket != null)
|
|
96434
|
-
message.s3Bucket = String(object.s3Bucket);
|
|
96435
|
-
if (object.s3Key != null)
|
|
96436
|
-
message.s3Key = String(object.s3Key);
|
|
96437
|
-
if (object.orgId != null)
|
|
96438
|
-
message.orgId = object.orgId | 0;
|
|
96439
|
-
if (object.message != null)
|
|
96440
|
-
message.message = String(object.message);
|
|
96441
|
-
return message;
|
|
96442
|
-
};
|
|
96443
|
-
|
|
96444
|
-
/**
|
|
96445
|
-
* Creates a plain object from an ElfProcessingCanceled message. Also converts values to other types if specified.
|
|
96446
|
-
* @function toObject
|
|
96447
|
-
* @memberof ElfProcessingCanceled
|
|
96448
|
-
* @static
|
|
96449
|
-
* @param {ElfProcessingCanceled} message ElfProcessingCanceled
|
|
96450
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
96451
|
-
* @returns {Object.<string,*>} Plain object
|
|
96452
|
-
*/
|
|
96453
|
-
ElfProcessingCanceled.toObject = function toObject(message, options) {
|
|
96454
|
-
if (!options)
|
|
96455
|
-
options = {};
|
|
96456
|
-
var object = {};
|
|
96457
|
-
if (options.defaults) {
|
|
96458
|
-
object.s3Bucket = "";
|
|
96459
|
-
object.s3Key = "";
|
|
96460
|
-
object.orgId = 0;
|
|
96461
|
-
object.message = "";
|
|
96462
|
-
}
|
|
96463
|
-
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
96464
|
-
object.s3Bucket = message.s3Bucket;
|
|
96465
|
-
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
96466
|
-
object.s3Key = message.s3Key;
|
|
96467
|
-
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
96468
|
-
object.orgId = message.orgId;
|
|
96469
|
-
if (message.message != null && message.hasOwnProperty("message"))
|
|
96470
|
-
object.message = message.message;
|
|
96471
|
-
return object;
|
|
96472
|
-
};
|
|
96473
|
-
|
|
96474
|
-
/**
|
|
96475
|
-
* Converts this ElfProcessingCanceled to JSON.
|
|
96476
|
-
* @function toJSON
|
|
96477
|
-
* @memberof ElfProcessingCanceled
|
|
96478
|
-
* @instance
|
|
96479
|
-
* @returns {Object.<string,*>} JSON object
|
|
96480
|
-
*/
|
|
96481
|
-
ElfProcessingCanceled.prototype.toJSON = function toJSON() {
|
|
96482
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
96483
|
-
};
|
|
96484
|
-
|
|
96485
|
-
return ElfProcessingCanceled;
|
|
96486
|
-
})();
|
|
96487
|
-
|
|
96488
95966
|
$root.ElfNormalizationJobCompleted = (function() {
|
|
96489
95967
|
|
|
96490
95968
|
/**
|
|
@@ -191132,6 +190610,645 @@ $root.GingerProviderProfileUpdateRequest = (function() {
|
|
|
191132
190610
|
return GingerProviderProfileUpdateRequest;
|
|
191133
190611
|
})();
|
|
191134
190612
|
|
|
190613
|
+
/**
|
|
190614
|
+
* GingerProviderAttributeCategory enum.
|
|
190615
|
+
* @name GingerProviderAttributeCategory
|
|
190616
|
+
* @enum {string}
|
|
190617
|
+
* @property {number} GINGER_PROVIDER_ATTRIBUTE_CATEGORY_UNKNOWN=0 GINGER_PROVIDER_ATTRIBUTE_CATEGORY_UNKNOWN value
|
|
190618
|
+
* @property {number} GINGER_PROVIDER_ATTRIBUTE_CATEGORY_GENDER=1 GINGER_PROVIDER_ATTRIBUTE_CATEGORY_GENDER value
|
|
190619
|
+
* @property {number} GINGER_PROVIDER_ATTRIBUTE_CATEGORY_RACE=2 GINGER_PROVIDER_ATTRIBUTE_CATEGORY_RACE value
|
|
190620
|
+
* @property {number} GINGER_PROVIDER_ATTRIBUTE_CATEGORY_CLINICAL_SPECIALITY=3 GINGER_PROVIDER_ATTRIBUTE_CATEGORY_CLINICAL_SPECIALITY value
|
|
190621
|
+
* @property {number} GINGER_PROVIDER_ATTRIBUTE_CATEGORY_THERAPY_MODALITY=4 GINGER_PROVIDER_ATTRIBUTE_CATEGORY_THERAPY_MODALITY value
|
|
190622
|
+
* @property {number} GINGER_PROVIDER_ATTRIBUTE_CATEGORY_LANGUAGE=5 GINGER_PROVIDER_ATTRIBUTE_CATEGORY_LANGUAGE value
|
|
190623
|
+
* @property {number} GINGER_PROVIDER_ATTRIBUTE_CATEGORY_AGE_RANGE=6 GINGER_PROVIDER_ATTRIBUTE_CATEGORY_AGE_RANGE value
|
|
190624
|
+
*/
|
|
190625
|
+
$root.GingerProviderAttributeCategory = (function() {
|
|
190626
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
190627
|
+
values[valuesById[0] = "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_UNKNOWN"] = 0;
|
|
190628
|
+
values[valuesById[1] = "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_GENDER"] = 1;
|
|
190629
|
+
values[valuesById[2] = "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_RACE"] = 2;
|
|
190630
|
+
values[valuesById[3] = "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_CLINICAL_SPECIALITY"] = 3;
|
|
190631
|
+
values[valuesById[4] = "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_THERAPY_MODALITY"] = 4;
|
|
190632
|
+
values[valuesById[5] = "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_LANGUAGE"] = 5;
|
|
190633
|
+
values[valuesById[6] = "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_AGE_RANGE"] = 6;
|
|
190634
|
+
return values;
|
|
190635
|
+
})();
|
|
190636
|
+
|
|
190637
|
+
$root.GingerProviderAttribute = (function() {
|
|
190638
|
+
|
|
190639
|
+
/**
|
|
190640
|
+
* Properties of a GingerProviderAttribute.
|
|
190641
|
+
* @name IGingerProviderAttribute
|
|
190642
|
+
* @interface IGingerProviderAttribute
|
|
190643
|
+
* @property {string|null} [attributeId] GingerProviderAttribute attributeId
|
|
190644
|
+
* @property {string|null} [hsClinicianId] GingerProviderAttribute hsClinicianId
|
|
190645
|
+
* @property {number|null} [clinicianId] GingerProviderAttribute clinicianId
|
|
190646
|
+
* @property {string|null} [attributeValue] GingerProviderAttribute attributeValue
|
|
190647
|
+
* @property {GingerProviderAttributeCategory|null} [attributeCategory] GingerProviderAttribute attributeCategory
|
|
190648
|
+
* @property {number|Long|null} [createdAtTimestamp] GingerProviderAttribute createdAtTimestamp
|
|
190649
|
+
* @property {number|Long|null} [updatedAtTimestamp] GingerProviderAttribute updatedAtTimestamp
|
|
190650
|
+
*/
|
|
190651
|
+
|
|
190652
|
+
/**
|
|
190653
|
+
* Constructs a new GingerProviderAttribute.
|
|
190654
|
+
* @name GingerProviderAttribute
|
|
190655
|
+
* @classdesc Represents a GingerProviderAttribute.
|
|
190656
|
+
* @implements IGingerProviderAttribute
|
|
190657
|
+
* @constructor
|
|
190658
|
+
* @param {IGingerProviderAttribute=} [properties] Properties to set
|
|
190659
|
+
*/
|
|
190660
|
+
function GingerProviderAttribute(properties) {
|
|
190661
|
+
if (properties)
|
|
190662
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
190663
|
+
if (properties[keys[i]] != null)
|
|
190664
|
+
this[keys[i]] = properties[keys[i]];
|
|
190665
|
+
}
|
|
190666
|
+
|
|
190667
|
+
/**
|
|
190668
|
+
* GingerProviderAttribute attributeId.
|
|
190669
|
+
* @member {string} attributeId
|
|
190670
|
+
* @memberof GingerProviderAttribute
|
|
190671
|
+
* @instance
|
|
190672
|
+
*/
|
|
190673
|
+
GingerProviderAttribute.prototype.attributeId = "";
|
|
190674
|
+
|
|
190675
|
+
/**
|
|
190676
|
+
* GingerProviderAttribute hsClinicianId.
|
|
190677
|
+
* @member {string} hsClinicianId
|
|
190678
|
+
* @memberof GingerProviderAttribute
|
|
190679
|
+
* @instance
|
|
190680
|
+
*/
|
|
190681
|
+
GingerProviderAttribute.prototype.hsClinicianId = "";
|
|
190682
|
+
|
|
190683
|
+
/**
|
|
190684
|
+
* GingerProviderAttribute clinicianId.
|
|
190685
|
+
* @member {number} clinicianId
|
|
190686
|
+
* @memberof GingerProviderAttribute
|
|
190687
|
+
* @instance
|
|
190688
|
+
*/
|
|
190689
|
+
GingerProviderAttribute.prototype.clinicianId = 0;
|
|
190690
|
+
|
|
190691
|
+
/**
|
|
190692
|
+
* GingerProviderAttribute attributeValue.
|
|
190693
|
+
* @member {string} attributeValue
|
|
190694
|
+
* @memberof GingerProviderAttribute
|
|
190695
|
+
* @instance
|
|
190696
|
+
*/
|
|
190697
|
+
GingerProviderAttribute.prototype.attributeValue = "";
|
|
190698
|
+
|
|
190699
|
+
/**
|
|
190700
|
+
* GingerProviderAttribute attributeCategory.
|
|
190701
|
+
* @member {GingerProviderAttributeCategory} attributeCategory
|
|
190702
|
+
* @memberof GingerProviderAttribute
|
|
190703
|
+
* @instance
|
|
190704
|
+
*/
|
|
190705
|
+
GingerProviderAttribute.prototype.attributeCategory = 0;
|
|
190706
|
+
|
|
190707
|
+
/**
|
|
190708
|
+
* GingerProviderAttribute createdAtTimestamp.
|
|
190709
|
+
* @member {number|Long} createdAtTimestamp
|
|
190710
|
+
* @memberof GingerProviderAttribute
|
|
190711
|
+
* @instance
|
|
190712
|
+
*/
|
|
190713
|
+
GingerProviderAttribute.prototype.createdAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
190714
|
+
|
|
190715
|
+
/**
|
|
190716
|
+
* GingerProviderAttribute updatedAtTimestamp.
|
|
190717
|
+
* @member {number|Long} updatedAtTimestamp
|
|
190718
|
+
* @memberof GingerProviderAttribute
|
|
190719
|
+
* @instance
|
|
190720
|
+
*/
|
|
190721
|
+
GingerProviderAttribute.prototype.updatedAtTimestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
190722
|
+
|
|
190723
|
+
/**
|
|
190724
|
+
* Creates a new GingerProviderAttribute instance using the specified properties.
|
|
190725
|
+
* @function create
|
|
190726
|
+
* @memberof GingerProviderAttribute
|
|
190727
|
+
* @static
|
|
190728
|
+
* @param {IGingerProviderAttribute=} [properties] Properties to set
|
|
190729
|
+
* @returns {GingerProviderAttribute} GingerProviderAttribute instance
|
|
190730
|
+
*/
|
|
190731
|
+
GingerProviderAttribute.create = function create(properties) {
|
|
190732
|
+
return new GingerProviderAttribute(properties);
|
|
190733
|
+
};
|
|
190734
|
+
|
|
190735
|
+
/**
|
|
190736
|
+
* Encodes the specified GingerProviderAttribute message. Does not implicitly {@link GingerProviderAttribute.verify|verify} messages.
|
|
190737
|
+
* @function encode
|
|
190738
|
+
* @memberof GingerProviderAttribute
|
|
190739
|
+
* @static
|
|
190740
|
+
* @param {IGingerProviderAttribute} message GingerProviderAttribute message or plain object to encode
|
|
190741
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
190742
|
+
* @returns {$protobuf.Writer} Writer
|
|
190743
|
+
*/
|
|
190744
|
+
GingerProviderAttribute.encode = function encode(message, writer) {
|
|
190745
|
+
if (!writer)
|
|
190746
|
+
writer = $Writer.create();
|
|
190747
|
+
if (message.attributeId != null && message.hasOwnProperty("attributeId"))
|
|
190748
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.attributeId);
|
|
190749
|
+
if (message.hsClinicianId != null && message.hasOwnProperty("hsClinicianId"))
|
|
190750
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsClinicianId);
|
|
190751
|
+
if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
|
|
190752
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.clinicianId);
|
|
190753
|
+
if (message.attributeValue != null && message.hasOwnProperty("attributeValue"))
|
|
190754
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.attributeValue);
|
|
190755
|
+
if (message.attributeCategory != null && message.hasOwnProperty("attributeCategory"))
|
|
190756
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.attributeCategory);
|
|
190757
|
+
if (message.createdAtTimestamp != null && message.hasOwnProperty("createdAtTimestamp"))
|
|
190758
|
+
writer.uint32(/* id 6, wireType 0 =*/48).uint64(message.createdAtTimestamp);
|
|
190759
|
+
if (message.updatedAtTimestamp != null && message.hasOwnProperty("updatedAtTimestamp"))
|
|
190760
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint64(message.updatedAtTimestamp);
|
|
190761
|
+
return writer;
|
|
190762
|
+
};
|
|
190763
|
+
|
|
190764
|
+
/**
|
|
190765
|
+
* Encodes the specified GingerProviderAttribute message, length delimited. Does not implicitly {@link GingerProviderAttribute.verify|verify} messages.
|
|
190766
|
+
* @function encodeDelimited
|
|
190767
|
+
* @memberof GingerProviderAttribute
|
|
190768
|
+
* @static
|
|
190769
|
+
* @param {IGingerProviderAttribute} message GingerProviderAttribute message or plain object to encode
|
|
190770
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
190771
|
+
* @returns {$protobuf.Writer} Writer
|
|
190772
|
+
*/
|
|
190773
|
+
GingerProviderAttribute.encodeDelimited = function encodeDelimited(message, writer) {
|
|
190774
|
+
return this.encode(message, writer).ldelim();
|
|
190775
|
+
};
|
|
190776
|
+
|
|
190777
|
+
/**
|
|
190778
|
+
* Decodes a GingerProviderAttribute message from the specified reader or buffer.
|
|
190779
|
+
* @function decode
|
|
190780
|
+
* @memberof GingerProviderAttribute
|
|
190781
|
+
* @static
|
|
190782
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
190783
|
+
* @param {number} [length] Message length if known beforehand
|
|
190784
|
+
* @returns {GingerProviderAttribute} GingerProviderAttribute
|
|
190785
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
190786
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
190787
|
+
*/
|
|
190788
|
+
GingerProviderAttribute.decode = function decode(reader, length) {
|
|
190789
|
+
if (!(reader instanceof $Reader))
|
|
190790
|
+
reader = $Reader.create(reader);
|
|
190791
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GingerProviderAttribute();
|
|
190792
|
+
while (reader.pos < end) {
|
|
190793
|
+
var tag = reader.uint32();
|
|
190794
|
+
switch (tag >>> 3) {
|
|
190795
|
+
case 1:
|
|
190796
|
+
message.attributeId = reader.string();
|
|
190797
|
+
break;
|
|
190798
|
+
case 2:
|
|
190799
|
+
message.hsClinicianId = reader.string();
|
|
190800
|
+
break;
|
|
190801
|
+
case 3:
|
|
190802
|
+
message.clinicianId = reader.uint32();
|
|
190803
|
+
break;
|
|
190804
|
+
case 4:
|
|
190805
|
+
message.attributeValue = reader.string();
|
|
190806
|
+
break;
|
|
190807
|
+
case 5:
|
|
190808
|
+
message.attributeCategory = reader.int32();
|
|
190809
|
+
break;
|
|
190810
|
+
case 6:
|
|
190811
|
+
message.createdAtTimestamp = reader.uint64();
|
|
190812
|
+
break;
|
|
190813
|
+
case 7:
|
|
190814
|
+
message.updatedAtTimestamp = reader.uint64();
|
|
190815
|
+
break;
|
|
190816
|
+
default:
|
|
190817
|
+
reader.skipType(tag & 7);
|
|
190818
|
+
break;
|
|
190819
|
+
}
|
|
190820
|
+
}
|
|
190821
|
+
return message;
|
|
190822
|
+
};
|
|
190823
|
+
|
|
190824
|
+
/**
|
|
190825
|
+
* Decodes a GingerProviderAttribute message from the specified reader or buffer, length delimited.
|
|
190826
|
+
* @function decodeDelimited
|
|
190827
|
+
* @memberof GingerProviderAttribute
|
|
190828
|
+
* @static
|
|
190829
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
190830
|
+
* @returns {GingerProviderAttribute} GingerProviderAttribute
|
|
190831
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
190832
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
190833
|
+
*/
|
|
190834
|
+
GingerProviderAttribute.decodeDelimited = function decodeDelimited(reader) {
|
|
190835
|
+
if (!(reader instanceof $Reader))
|
|
190836
|
+
reader = new $Reader(reader);
|
|
190837
|
+
return this.decode(reader, reader.uint32());
|
|
190838
|
+
};
|
|
190839
|
+
|
|
190840
|
+
/**
|
|
190841
|
+
* Verifies a GingerProviderAttribute message.
|
|
190842
|
+
* @function verify
|
|
190843
|
+
* @memberof GingerProviderAttribute
|
|
190844
|
+
* @static
|
|
190845
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
190846
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
190847
|
+
*/
|
|
190848
|
+
GingerProviderAttribute.verify = function verify(message) {
|
|
190849
|
+
if (typeof message !== "object" || message === null)
|
|
190850
|
+
return "object expected";
|
|
190851
|
+
if (message.attributeId != null && message.hasOwnProperty("attributeId"))
|
|
190852
|
+
if (!$util.isString(message.attributeId))
|
|
190853
|
+
return "attributeId: string expected";
|
|
190854
|
+
if (message.hsClinicianId != null && message.hasOwnProperty("hsClinicianId"))
|
|
190855
|
+
if (!$util.isString(message.hsClinicianId))
|
|
190856
|
+
return "hsClinicianId: string expected";
|
|
190857
|
+
if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
|
|
190858
|
+
if (!$util.isInteger(message.clinicianId))
|
|
190859
|
+
return "clinicianId: integer expected";
|
|
190860
|
+
if (message.attributeValue != null && message.hasOwnProperty("attributeValue"))
|
|
190861
|
+
if (!$util.isString(message.attributeValue))
|
|
190862
|
+
return "attributeValue: string expected";
|
|
190863
|
+
if (message.attributeCategory != null && message.hasOwnProperty("attributeCategory"))
|
|
190864
|
+
switch (message.attributeCategory) {
|
|
190865
|
+
default:
|
|
190866
|
+
return "attributeCategory: enum value expected";
|
|
190867
|
+
case 0:
|
|
190868
|
+
case 1:
|
|
190869
|
+
case 2:
|
|
190870
|
+
case 3:
|
|
190871
|
+
case 4:
|
|
190872
|
+
case 5:
|
|
190873
|
+
case 6:
|
|
190874
|
+
break;
|
|
190875
|
+
}
|
|
190876
|
+
if (message.createdAtTimestamp != null && message.hasOwnProperty("createdAtTimestamp"))
|
|
190877
|
+
if (!$util.isInteger(message.createdAtTimestamp) && !(message.createdAtTimestamp && $util.isInteger(message.createdAtTimestamp.low) && $util.isInteger(message.createdAtTimestamp.high)))
|
|
190878
|
+
return "createdAtTimestamp: integer|Long expected";
|
|
190879
|
+
if (message.updatedAtTimestamp != null && message.hasOwnProperty("updatedAtTimestamp"))
|
|
190880
|
+
if (!$util.isInteger(message.updatedAtTimestamp) && !(message.updatedAtTimestamp && $util.isInteger(message.updatedAtTimestamp.low) && $util.isInteger(message.updatedAtTimestamp.high)))
|
|
190881
|
+
return "updatedAtTimestamp: integer|Long expected";
|
|
190882
|
+
return null;
|
|
190883
|
+
};
|
|
190884
|
+
|
|
190885
|
+
/**
|
|
190886
|
+
* Creates a GingerProviderAttribute message from a plain object. Also converts values to their respective internal types.
|
|
190887
|
+
* @function fromObject
|
|
190888
|
+
* @memberof GingerProviderAttribute
|
|
190889
|
+
* @static
|
|
190890
|
+
* @param {Object.<string,*>} object Plain object
|
|
190891
|
+
* @returns {GingerProviderAttribute} GingerProviderAttribute
|
|
190892
|
+
*/
|
|
190893
|
+
GingerProviderAttribute.fromObject = function fromObject(object) {
|
|
190894
|
+
if (object instanceof $root.GingerProviderAttribute)
|
|
190895
|
+
return object;
|
|
190896
|
+
var message = new $root.GingerProviderAttribute();
|
|
190897
|
+
if (object.attributeId != null)
|
|
190898
|
+
message.attributeId = String(object.attributeId);
|
|
190899
|
+
if (object.hsClinicianId != null)
|
|
190900
|
+
message.hsClinicianId = String(object.hsClinicianId);
|
|
190901
|
+
if (object.clinicianId != null)
|
|
190902
|
+
message.clinicianId = object.clinicianId >>> 0;
|
|
190903
|
+
if (object.attributeValue != null)
|
|
190904
|
+
message.attributeValue = String(object.attributeValue);
|
|
190905
|
+
switch (object.attributeCategory) {
|
|
190906
|
+
case "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_UNKNOWN":
|
|
190907
|
+
case 0:
|
|
190908
|
+
message.attributeCategory = 0;
|
|
190909
|
+
break;
|
|
190910
|
+
case "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_GENDER":
|
|
190911
|
+
case 1:
|
|
190912
|
+
message.attributeCategory = 1;
|
|
190913
|
+
break;
|
|
190914
|
+
case "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_RACE":
|
|
190915
|
+
case 2:
|
|
190916
|
+
message.attributeCategory = 2;
|
|
190917
|
+
break;
|
|
190918
|
+
case "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_CLINICAL_SPECIALITY":
|
|
190919
|
+
case 3:
|
|
190920
|
+
message.attributeCategory = 3;
|
|
190921
|
+
break;
|
|
190922
|
+
case "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_THERAPY_MODALITY":
|
|
190923
|
+
case 4:
|
|
190924
|
+
message.attributeCategory = 4;
|
|
190925
|
+
break;
|
|
190926
|
+
case "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_LANGUAGE":
|
|
190927
|
+
case 5:
|
|
190928
|
+
message.attributeCategory = 5;
|
|
190929
|
+
break;
|
|
190930
|
+
case "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_AGE_RANGE":
|
|
190931
|
+
case 6:
|
|
190932
|
+
message.attributeCategory = 6;
|
|
190933
|
+
break;
|
|
190934
|
+
}
|
|
190935
|
+
if (object.createdAtTimestamp != null)
|
|
190936
|
+
if ($util.Long)
|
|
190937
|
+
(message.createdAtTimestamp = $util.Long.fromValue(object.createdAtTimestamp)).unsigned = true;
|
|
190938
|
+
else if (typeof object.createdAtTimestamp === "string")
|
|
190939
|
+
message.createdAtTimestamp = parseInt(object.createdAtTimestamp, 10);
|
|
190940
|
+
else if (typeof object.createdAtTimestamp === "number")
|
|
190941
|
+
message.createdAtTimestamp = object.createdAtTimestamp;
|
|
190942
|
+
else if (typeof object.createdAtTimestamp === "object")
|
|
190943
|
+
message.createdAtTimestamp = new $util.LongBits(object.createdAtTimestamp.low >>> 0, object.createdAtTimestamp.high >>> 0).toNumber(true);
|
|
190944
|
+
if (object.updatedAtTimestamp != null)
|
|
190945
|
+
if ($util.Long)
|
|
190946
|
+
(message.updatedAtTimestamp = $util.Long.fromValue(object.updatedAtTimestamp)).unsigned = true;
|
|
190947
|
+
else if (typeof object.updatedAtTimestamp === "string")
|
|
190948
|
+
message.updatedAtTimestamp = parseInt(object.updatedAtTimestamp, 10);
|
|
190949
|
+
else if (typeof object.updatedAtTimestamp === "number")
|
|
190950
|
+
message.updatedAtTimestamp = object.updatedAtTimestamp;
|
|
190951
|
+
else if (typeof object.updatedAtTimestamp === "object")
|
|
190952
|
+
message.updatedAtTimestamp = new $util.LongBits(object.updatedAtTimestamp.low >>> 0, object.updatedAtTimestamp.high >>> 0).toNumber(true);
|
|
190953
|
+
return message;
|
|
190954
|
+
};
|
|
190955
|
+
|
|
190956
|
+
/**
|
|
190957
|
+
* Creates a plain object from a GingerProviderAttribute message. Also converts values to other types if specified.
|
|
190958
|
+
* @function toObject
|
|
190959
|
+
* @memberof GingerProviderAttribute
|
|
190960
|
+
* @static
|
|
190961
|
+
* @param {GingerProviderAttribute} message GingerProviderAttribute
|
|
190962
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
190963
|
+
* @returns {Object.<string,*>} Plain object
|
|
190964
|
+
*/
|
|
190965
|
+
GingerProviderAttribute.toObject = function toObject(message, options) {
|
|
190966
|
+
if (!options)
|
|
190967
|
+
options = {};
|
|
190968
|
+
var object = {};
|
|
190969
|
+
if (options.defaults) {
|
|
190970
|
+
object.attributeId = "";
|
|
190971
|
+
object.hsClinicianId = "";
|
|
190972
|
+
object.clinicianId = 0;
|
|
190973
|
+
object.attributeValue = "";
|
|
190974
|
+
object.attributeCategory = options.enums === String ? "GINGER_PROVIDER_ATTRIBUTE_CATEGORY_UNKNOWN" : 0;
|
|
190975
|
+
if ($util.Long) {
|
|
190976
|
+
var long = new $util.Long(0, 0, true);
|
|
190977
|
+
object.createdAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
190978
|
+
} else
|
|
190979
|
+
object.createdAtTimestamp = options.longs === String ? "0" : 0;
|
|
190980
|
+
if ($util.Long) {
|
|
190981
|
+
var long = new $util.Long(0, 0, true);
|
|
190982
|
+
object.updatedAtTimestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
190983
|
+
} else
|
|
190984
|
+
object.updatedAtTimestamp = options.longs === String ? "0" : 0;
|
|
190985
|
+
}
|
|
190986
|
+
if (message.attributeId != null && message.hasOwnProperty("attributeId"))
|
|
190987
|
+
object.attributeId = message.attributeId;
|
|
190988
|
+
if (message.hsClinicianId != null && message.hasOwnProperty("hsClinicianId"))
|
|
190989
|
+
object.hsClinicianId = message.hsClinicianId;
|
|
190990
|
+
if (message.clinicianId != null && message.hasOwnProperty("clinicianId"))
|
|
190991
|
+
object.clinicianId = message.clinicianId;
|
|
190992
|
+
if (message.attributeValue != null && message.hasOwnProperty("attributeValue"))
|
|
190993
|
+
object.attributeValue = message.attributeValue;
|
|
190994
|
+
if (message.attributeCategory != null && message.hasOwnProperty("attributeCategory"))
|
|
190995
|
+
object.attributeCategory = options.enums === String ? $root.GingerProviderAttributeCategory[message.attributeCategory] : message.attributeCategory;
|
|
190996
|
+
if (message.createdAtTimestamp != null && message.hasOwnProperty("createdAtTimestamp"))
|
|
190997
|
+
if (typeof message.createdAtTimestamp === "number")
|
|
190998
|
+
object.createdAtTimestamp = options.longs === String ? String(message.createdAtTimestamp) : message.createdAtTimestamp;
|
|
190999
|
+
else
|
|
191000
|
+
object.createdAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.createdAtTimestamp) : options.longs === Number ? new $util.LongBits(message.createdAtTimestamp.low >>> 0, message.createdAtTimestamp.high >>> 0).toNumber(true) : message.createdAtTimestamp;
|
|
191001
|
+
if (message.updatedAtTimestamp != null && message.hasOwnProperty("updatedAtTimestamp"))
|
|
191002
|
+
if (typeof message.updatedAtTimestamp === "number")
|
|
191003
|
+
object.updatedAtTimestamp = options.longs === String ? String(message.updatedAtTimestamp) : message.updatedAtTimestamp;
|
|
191004
|
+
else
|
|
191005
|
+
object.updatedAtTimestamp = options.longs === String ? $util.Long.prototype.toString.call(message.updatedAtTimestamp) : options.longs === Number ? new $util.LongBits(message.updatedAtTimestamp.low >>> 0, message.updatedAtTimestamp.high >>> 0).toNumber(true) : message.updatedAtTimestamp;
|
|
191006
|
+
return object;
|
|
191007
|
+
};
|
|
191008
|
+
|
|
191009
|
+
/**
|
|
191010
|
+
* Converts this GingerProviderAttribute to JSON.
|
|
191011
|
+
* @function toJSON
|
|
191012
|
+
* @memberof GingerProviderAttribute
|
|
191013
|
+
* @instance
|
|
191014
|
+
* @returns {Object.<string,*>} JSON object
|
|
191015
|
+
*/
|
|
191016
|
+
GingerProviderAttribute.prototype.toJSON = function toJSON() {
|
|
191017
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
191018
|
+
};
|
|
191019
|
+
|
|
191020
|
+
return GingerProviderAttribute;
|
|
191021
|
+
})();
|
|
191022
|
+
|
|
191023
|
+
$root.GingerProviderAttributeExported = (function() {
|
|
191024
|
+
|
|
191025
|
+
/**
|
|
191026
|
+
* Properties of a GingerProviderAttributeExported.
|
|
191027
|
+
* @name IGingerProviderAttributeExported
|
|
191028
|
+
* @interface IGingerProviderAttributeExported
|
|
191029
|
+
* @property {IGingerProviderAttribute|null} [attribute] GingerProviderAttributeExported attribute
|
|
191030
|
+
* @property {number|Long|null} [timestamp] GingerProviderAttributeExported timestamp
|
|
191031
|
+
*/
|
|
191032
|
+
|
|
191033
|
+
/**
|
|
191034
|
+
* Constructs a new GingerProviderAttributeExported.
|
|
191035
|
+
* @name GingerProviderAttributeExported
|
|
191036
|
+
* @classdesc Represents a GingerProviderAttributeExported.
|
|
191037
|
+
* @implements IGingerProviderAttributeExported
|
|
191038
|
+
* @constructor
|
|
191039
|
+
* @param {IGingerProviderAttributeExported=} [properties] Properties to set
|
|
191040
|
+
*/
|
|
191041
|
+
function GingerProviderAttributeExported(properties) {
|
|
191042
|
+
if (properties)
|
|
191043
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
191044
|
+
if (properties[keys[i]] != null)
|
|
191045
|
+
this[keys[i]] = properties[keys[i]];
|
|
191046
|
+
}
|
|
191047
|
+
|
|
191048
|
+
/**
|
|
191049
|
+
* GingerProviderAttributeExported attribute.
|
|
191050
|
+
* @member {IGingerProviderAttribute|null|undefined} attribute
|
|
191051
|
+
* @memberof GingerProviderAttributeExported
|
|
191052
|
+
* @instance
|
|
191053
|
+
*/
|
|
191054
|
+
GingerProviderAttributeExported.prototype.attribute = null;
|
|
191055
|
+
|
|
191056
|
+
/**
|
|
191057
|
+
* GingerProviderAttributeExported timestamp.
|
|
191058
|
+
* @member {number|Long} timestamp
|
|
191059
|
+
* @memberof GingerProviderAttributeExported
|
|
191060
|
+
* @instance
|
|
191061
|
+
*/
|
|
191062
|
+
GingerProviderAttributeExported.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
191063
|
+
|
|
191064
|
+
/**
|
|
191065
|
+
* Creates a new GingerProviderAttributeExported instance using the specified properties.
|
|
191066
|
+
* @function create
|
|
191067
|
+
* @memberof GingerProviderAttributeExported
|
|
191068
|
+
* @static
|
|
191069
|
+
* @param {IGingerProviderAttributeExported=} [properties] Properties to set
|
|
191070
|
+
* @returns {GingerProviderAttributeExported} GingerProviderAttributeExported instance
|
|
191071
|
+
*/
|
|
191072
|
+
GingerProviderAttributeExported.create = function create(properties) {
|
|
191073
|
+
return new GingerProviderAttributeExported(properties);
|
|
191074
|
+
};
|
|
191075
|
+
|
|
191076
|
+
/**
|
|
191077
|
+
* Encodes the specified GingerProviderAttributeExported message. Does not implicitly {@link GingerProviderAttributeExported.verify|verify} messages.
|
|
191078
|
+
* @function encode
|
|
191079
|
+
* @memberof GingerProviderAttributeExported
|
|
191080
|
+
* @static
|
|
191081
|
+
* @param {IGingerProviderAttributeExported} message GingerProviderAttributeExported message or plain object to encode
|
|
191082
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
191083
|
+
* @returns {$protobuf.Writer} Writer
|
|
191084
|
+
*/
|
|
191085
|
+
GingerProviderAttributeExported.encode = function encode(message, writer) {
|
|
191086
|
+
if (!writer)
|
|
191087
|
+
writer = $Writer.create();
|
|
191088
|
+
if (message.attribute != null && message.hasOwnProperty("attribute"))
|
|
191089
|
+
$root.GingerProviderAttribute.encode(message.attribute, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
191090
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
191091
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
191092
|
+
return writer;
|
|
191093
|
+
};
|
|
191094
|
+
|
|
191095
|
+
/**
|
|
191096
|
+
* Encodes the specified GingerProviderAttributeExported message, length delimited. Does not implicitly {@link GingerProviderAttributeExported.verify|verify} messages.
|
|
191097
|
+
* @function encodeDelimited
|
|
191098
|
+
* @memberof GingerProviderAttributeExported
|
|
191099
|
+
* @static
|
|
191100
|
+
* @param {IGingerProviderAttributeExported} message GingerProviderAttributeExported message or plain object to encode
|
|
191101
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
191102
|
+
* @returns {$protobuf.Writer} Writer
|
|
191103
|
+
*/
|
|
191104
|
+
GingerProviderAttributeExported.encodeDelimited = function encodeDelimited(message, writer) {
|
|
191105
|
+
return this.encode(message, writer).ldelim();
|
|
191106
|
+
};
|
|
191107
|
+
|
|
191108
|
+
/**
|
|
191109
|
+
* Decodes a GingerProviderAttributeExported message from the specified reader or buffer.
|
|
191110
|
+
* @function decode
|
|
191111
|
+
* @memberof GingerProviderAttributeExported
|
|
191112
|
+
* @static
|
|
191113
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
191114
|
+
* @param {number} [length] Message length if known beforehand
|
|
191115
|
+
* @returns {GingerProviderAttributeExported} GingerProviderAttributeExported
|
|
191116
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
191117
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
191118
|
+
*/
|
|
191119
|
+
GingerProviderAttributeExported.decode = function decode(reader, length) {
|
|
191120
|
+
if (!(reader instanceof $Reader))
|
|
191121
|
+
reader = $Reader.create(reader);
|
|
191122
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GingerProviderAttributeExported();
|
|
191123
|
+
while (reader.pos < end) {
|
|
191124
|
+
var tag = reader.uint32();
|
|
191125
|
+
switch (tag >>> 3) {
|
|
191126
|
+
case 1:
|
|
191127
|
+
message.attribute = $root.GingerProviderAttribute.decode(reader, reader.uint32());
|
|
191128
|
+
break;
|
|
191129
|
+
case 2:
|
|
191130
|
+
message.timestamp = reader.uint64();
|
|
191131
|
+
break;
|
|
191132
|
+
default:
|
|
191133
|
+
reader.skipType(tag & 7);
|
|
191134
|
+
break;
|
|
191135
|
+
}
|
|
191136
|
+
}
|
|
191137
|
+
return message;
|
|
191138
|
+
};
|
|
191139
|
+
|
|
191140
|
+
/**
|
|
191141
|
+
* Decodes a GingerProviderAttributeExported message from the specified reader or buffer, length delimited.
|
|
191142
|
+
* @function decodeDelimited
|
|
191143
|
+
* @memberof GingerProviderAttributeExported
|
|
191144
|
+
* @static
|
|
191145
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
191146
|
+
* @returns {GingerProviderAttributeExported} GingerProviderAttributeExported
|
|
191147
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
191148
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
191149
|
+
*/
|
|
191150
|
+
GingerProviderAttributeExported.decodeDelimited = function decodeDelimited(reader) {
|
|
191151
|
+
if (!(reader instanceof $Reader))
|
|
191152
|
+
reader = new $Reader(reader);
|
|
191153
|
+
return this.decode(reader, reader.uint32());
|
|
191154
|
+
};
|
|
191155
|
+
|
|
191156
|
+
/**
|
|
191157
|
+
* Verifies a GingerProviderAttributeExported message.
|
|
191158
|
+
* @function verify
|
|
191159
|
+
* @memberof GingerProviderAttributeExported
|
|
191160
|
+
* @static
|
|
191161
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
191162
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
191163
|
+
*/
|
|
191164
|
+
GingerProviderAttributeExported.verify = function verify(message) {
|
|
191165
|
+
if (typeof message !== "object" || message === null)
|
|
191166
|
+
return "object expected";
|
|
191167
|
+
if (message.attribute != null && message.hasOwnProperty("attribute")) {
|
|
191168
|
+
var error = $root.GingerProviderAttribute.verify(message.attribute);
|
|
191169
|
+
if (error)
|
|
191170
|
+
return "attribute." + error;
|
|
191171
|
+
}
|
|
191172
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
191173
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
191174
|
+
return "timestamp: integer|Long expected";
|
|
191175
|
+
return null;
|
|
191176
|
+
};
|
|
191177
|
+
|
|
191178
|
+
/**
|
|
191179
|
+
* Creates a GingerProviderAttributeExported message from a plain object. Also converts values to their respective internal types.
|
|
191180
|
+
* @function fromObject
|
|
191181
|
+
* @memberof GingerProviderAttributeExported
|
|
191182
|
+
* @static
|
|
191183
|
+
* @param {Object.<string,*>} object Plain object
|
|
191184
|
+
* @returns {GingerProviderAttributeExported} GingerProviderAttributeExported
|
|
191185
|
+
*/
|
|
191186
|
+
GingerProviderAttributeExported.fromObject = function fromObject(object) {
|
|
191187
|
+
if (object instanceof $root.GingerProviderAttributeExported)
|
|
191188
|
+
return object;
|
|
191189
|
+
var message = new $root.GingerProviderAttributeExported();
|
|
191190
|
+
if (object.attribute != null) {
|
|
191191
|
+
if (typeof object.attribute !== "object")
|
|
191192
|
+
throw TypeError(".GingerProviderAttributeExported.attribute: object expected");
|
|
191193
|
+
message.attribute = $root.GingerProviderAttribute.fromObject(object.attribute);
|
|
191194
|
+
}
|
|
191195
|
+
if (object.timestamp != null)
|
|
191196
|
+
if ($util.Long)
|
|
191197
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
191198
|
+
else if (typeof object.timestamp === "string")
|
|
191199
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
191200
|
+
else if (typeof object.timestamp === "number")
|
|
191201
|
+
message.timestamp = object.timestamp;
|
|
191202
|
+
else if (typeof object.timestamp === "object")
|
|
191203
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
191204
|
+
return message;
|
|
191205
|
+
};
|
|
191206
|
+
|
|
191207
|
+
/**
|
|
191208
|
+
* Creates a plain object from a GingerProviderAttributeExported message. Also converts values to other types if specified.
|
|
191209
|
+
* @function toObject
|
|
191210
|
+
* @memberof GingerProviderAttributeExported
|
|
191211
|
+
* @static
|
|
191212
|
+
* @param {GingerProviderAttributeExported} message GingerProviderAttributeExported
|
|
191213
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
191214
|
+
* @returns {Object.<string,*>} Plain object
|
|
191215
|
+
*/
|
|
191216
|
+
GingerProviderAttributeExported.toObject = function toObject(message, options) {
|
|
191217
|
+
if (!options)
|
|
191218
|
+
options = {};
|
|
191219
|
+
var object = {};
|
|
191220
|
+
if (options.defaults) {
|
|
191221
|
+
object.attribute = null;
|
|
191222
|
+
if ($util.Long) {
|
|
191223
|
+
var long = new $util.Long(0, 0, true);
|
|
191224
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
191225
|
+
} else
|
|
191226
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
191227
|
+
}
|
|
191228
|
+
if (message.attribute != null && message.hasOwnProperty("attribute"))
|
|
191229
|
+
object.attribute = $root.GingerProviderAttribute.toObject(message.attribute, options);
|
|
191230
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
191231
|
+
if (typeof message.timestamp === "number")
|
|
191232
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
191233
|
+
else
|
|
191234
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
191235
|
+
return object;
|
|
191236
|
+
};
|
|
191237
|
+
|
|
191238
|
+
/**
|
|
191239
|
+
* Converts this GingerProviderAttributeExported to JSON.
|
|
191240
|
+
* @function toJSON
|
|
191241
|
+
* @memberof GingerProviderAttributeExported
|
|
191242
|
+
* @instance
|
|
191243
|
+
* @returns {Object.<string,*>} JSON object
|
|
191244
|
+
*/
|
|
191245
|
+
GingerProviderAttributeExported.prototype.toJSON = function toJSON() {
|
|
191246
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
191247
|
+
};
|
|
191248
|
+
|
|
191249
|
+
return GingerProviderAttributeExported;
|
|
191250
|
+
})();
|
|
191251
|
+
|
|
191135
191252
|
$root.googlereceipt = (function() {
|
|
191136
191253
|
|
|
191137
191254
|
/**
|