@headspace/protos-events 1.296.0 → 1.297.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 +504 -0
- package/lib/index.js +1219 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -24892,6 +24892,785 @@ $root.elf = (function() {
|
|
|
24892
24892
|
return ImportJob;
|
|
24893
24893
|
})();
|
|
24894
24894
|
|
|
24895
|
+
elf.NormalizationJob = (function() {
|
|
24896
|
+
|
|
24897
|
+
/**
|
|
24898
|
+
* Properties of a NormalizationJob.
|
|
24899
|
+
* @memberof elf
|
|
24900
|
+
* @interface INormalizationJob
|
|
24901
|
+
* @property {string|null} [s3Bucket] NormalizationJob s3Bucket
|
|
24902
|
+
* @property {string|null} [s3Key] NormalizationJob s3Key
|
|
24903
|
+
* @property {string|null} [elfKeyField] NormalizationJob elfKeyField
|
|
24904
|
+
* @property {Array.<string>|null} [elfRequiredFields] NormalizationJob elfRequiredFields
|
|
24905
|
+
* @property {Object.<string,string>|null} [customVariables] NormalizationJob customVariables
|
|
24906
|
+
*/
|
|
24907
|
+
|
|
24908
|
+
/**
|
|
24909
|
+
* Constructs a new NormalizationJob.
|
|
24910
|
+
* @memberof elf
|
|
24911
|
+
* @classdesc Represents a NormalizationJob.
|
|
24912
|
+
* @implements INormalizationJob
|
|
24913
|
+
* @constructor
|
|
24914
|
+
* @param {elf.INormalizationJob=} [properties] Properties to set
|
|
24915
|
+
*/
|
|
24916
|
+
function NormalizationJob(properties) {
|
|
24917
|
+
this.elfRequiredFields = [];
|
|
24918
|
+
this.customVariables = {};
|
|
24919
|
+
if (properties)
|
|
24920
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
24921
|
+
if (properties[keys[i]] != null)
|
|
24922
|
+
this[keys[i]] = properties[keys[i]];
|
|
24923
|
+
}
|
|
24924
|
+
|
|
24925
|
+
/**
|
|
24926
|
+
* NormalizationJob s3Bucket.
|
|
24927
|
+
* @member {string} s3Bucket
|
|
24928
|
+
* @memberof elf.NormalizationJob
|
|
24929
|
+
* @instance
|
|
24930
|
+
*/
|
|
24931
|
+
NormalizationJob.prototype.s3Bucket = "";
|
|
24932
|
+
|
|
24933
|
+
/**
|
|
24934
|
+
* NormalizationJob s3Key.
|
|
24935
|
+
* @member {string} s3Key
|
|
24936
|
+
* @memberof elf.NormalizationJob
|
|
24937
|
+
* @instance
|
|
24938
|
+
*/
|
|
24939
|
+
NormalizationJob.prototype.s3Key = "";
|
|
24940
|
+
|
|
24941
|
+
/**
|
|
24942
|
+
* NormalizationJob elfKeyField.
|
|
24943
|
+
* @member {string} elfKeyField
|
|
24944
|
+
* @memberof elf.NormalizationJob
|
|
24945
|
+
* @instance
|
|
24946
|
+
*/
|
|
24947
|
+
NormalizationJob.prototype.elfKeyField = "";
|
|
24948
|
+
|
|
24949
|
+
/**
|
|
24950
|
+
* NormalizationJob elfRequiredFields.
|
|
24951
|
+
* @member {Array.<string>} elfRequiredFields
|
|
24952
|
+
* @memberof elf.NormalizationJob
|
|
24953
|
+
* @instance
|
|
24954
|
+
*/
|
|
24955
|
+
NormalizationJob.prototype.elfRequiredFields = $util.emptyArray;
|
|
24956
|
+
|
|
24957
|
+
/**
|
|
24958
|
+
* NormalizationJob customVariables.
|
|
24959
|
+
* @member {Object.<string,string>} customVariables
|
|
24960
|
+
* @memberof elf.NormalizationJob
|
|
24961
|
+
* @instance
|
|
24962
|
+
*/
|
|
24963
|
+
NormalizationJob.prototype.customVariables = $util.emptyObject;
|
|
24964
|
+
|
|
24965
|
+
/**
|
|
24966
|
+
* Creates a new NormalizationJob instance using the specified properties.
|
|
24967
|
+
* @function create
|
|
24968
|
+
* @memberof elf.NormalizationJob
|
|
24969
|
+
* @static
|
|
24970
|
+
* @param {elf.INormalizationJob=} [properties] Properties to set
|
|
24971
|
+
* @returns {elf.NormalizationJob} NormalizationJob instance
|
|
24972
|
+
*/
|
|
24973
|
+
NormalizationJob.create = function create(properties) {
|
|
24974
|
+
return new NormalizationJob(properties);
|
|
24975
|
+
};
|
|
24976
|
+
|
|
24977
|
+
/**
|
|
24978
|
+
* Encodes the specified NormalizationJob message. Does not implicitly {@link elf.NormalizationJob.verify|verify} messages.
|
|
24979
|
+
* @function encode
|
|
24980
|
+
* @memberof elf.NormalizationJob
|
|
24981
|
+
* @static
|
|
24982
|
+
* @param {elf.INormalizationJob} message NormalizationJob message or plain object to encode
|
|
24983
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
24984
|
+
* @returns {$protobuf.Writer} Writer
|
|
24985
|
+
*/
|
|
24986
|
+
NormalizationJob.encode = function encode(message, writer) {
|
|
24987
|
+
if (!writer)
|
|
24988
|
+
writer = $Writer.create();
|
|
24989
|
+
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
24990
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.s3Bucket);
|
|
24991
|
+
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
24992
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.s3Key);
|
|
24993
|
+
if (message.elfKeyField != null && message.hasOwnProperty("elfKeyField"))
|
|
24994
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.elfKeyField);
|
|
24995
|
+
if (message.elfRequiredFields != null && message.elfRequiredFields.length)
|
|
24996
|
+
for (var i = 0; i < message.elfRequiredFields.length; ++i)
|
|
24997
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.elfRequiredFields[i]);
|
|
24998
|
+
if (message.customVariables != null && message.hasOwnProperty("customVariables"))
|
|
24999
|
+
for (var keys = Object.keys(message.customVariables), i = 0; i < keys.length; ++i)
|
|
25000
|
+
writer.uint32(/* id 5, wireType 2 =*/42).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.customVariables[keys[i]]).ldelim();
|
|
25001
|
+
return writer;
|
|
25002
|
+
};
|
|
25003
|
+
|
|
25004
|
+
/**
|
|
25005
|
+
* Encodes the specified NormalizationJob message, length delimited. Does not implicitly {@link elf.NormalizationJob.verify|verify} messages.
|
|
25006
|
+
* @function encodeDelimited
|
|
25007
|
+
* @memberof elf.NormalizationJob
|
|
25008
|
+
* @static
|
|
25009
|
+
* @param {elf.INormalizationJob} message NormalizationJob message or plain object to encode
|
|
25010
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25011
|
+
* @returns {$protobuf.Writer} Writer
|
|
25012
|
+
*/
|
|
25013
|
+
NormalizationJob.encodeDelimited = function encodeDelimited(message, writer) {
|
|
25014
|
+
return this.encode(message, writer).ldelim();
|
|
25015
|
+
};
|
|
25016
|
+
|
|
25017
|
+
/**
|
|
25018
|
+
* Decodes a NormalizationJob message from the specified reader or buffer.
|
|
25019
|
+
* @function decode
|
|
25020
|
+
* @memberof elf.NormalizationJob
|
|
25021
|
+
* @static
|
|
25022
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25023
|
+
* @param {number} [length] Message length if known beforehand
|
|
25024
|
+
* @returns {elf.NormalizationJob} NormalizationJob
|
|
25025
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25026
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25027
|
+
*/
|
|
25028
|
+
NormalizationJob.decode = function decode(reader, length) {
|
|
25029
|
+
if (!(reader instanceof $Reader))
|
|
25030
|
+
reader = $Reader.create(reader);
|
|
25031
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.elf.NormalizationJob(), key;
|
|
25032
|
+
while (reader.pos < end) {
|
|
25033
|
+
var tag = reader.uint32();
|
|
25034
|
+
switch (tag >>> 3) {
|
|
25035
|
+
case 1:
|
|
25036
|
+
message.s3Bucket = reader.string();
|
|
25037
|
+
break;
|
|
25038
|
+
case 2:
|
|
25039
|
+
message.s3Key = reader.string();
|
|
25040
|
+
break;
|
|
25041
|
+
case 3:
|
|
25042
|
+
message.elfKeyField = reader.string();
|
|
25043
|
+
break;
|
|
25044
|
+
case 4:
|
|
25045
|
+
if (!(message.elfRequiredFields && message.elfRequiredFields.length))
|
|
25046
|
+
message.elfRequiredFields = [];
|
|
25047
|
+
message.elfRequiredFields.push(reader.string());
|
|
25048
|
+
break;
|
|
25049
|
+
case 5:
|
|
25050
|
+
reader.skip().pos++;
|
|
25051
|
+
if (message.customVariables === $util.emptyObject)
|
|
25052
|
+
message.customVariables = {};
|
|
25053
|
+
key = reader.string();
|
|
25054
|
+
reader.pos++;
|
|
25055
|
+
message.customVariables[key] = reader.string();
|
|
25056
|
+
break;
|
|
25057
|
+
default:
|
|
25058
|
+
reader.skipType(tag & 7);
|
|
25059
|
+
break;
|
|
25060
|
+
}
|
|
25061
|
+
}
|
|
25062
|
+
return message;
|
|
25063
|
+
};
|
|
25064
|
+
|
|
25065
|
+
/**
|
|
25066
|
+
* Decodes a NormalizationJob message from the specified reader or buffer, length delimited.
|
|
25067
|
+
* @function decodeDelimited
|
|
25068
|
+
* @memberof elf.NormalizationJob
|
|
25069
|
+
* @static
|
|
25070
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25071
|
+
* @returns {elf.NormalizationJob} NormalizationJob
|
|
25072
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25073
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25074
|
+
*/
|
|
25075
|
+
NormalizationJob.decodeDelimited = function decodeDelimited(reader) {
|
|
25076
|
+
if (!(reader instanceof $Reader))
|
|
25077
|
+
reader = new $Reader(reader);
|
|
25078
|
+
return this.decode(reader, reader.uint32());
|
|
25079
|
+
};
|
|
25080
|
+
|
|
25081
|
+
/**
|
|
25082
|
+
* Verifies a NormalizationJob message.
|
|
25083
|
+
* @function verify
|
|
25084
|
+
* @memberof elf.NormalizationJob
|
|
25085
|
+
* @static
|
|
25086
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
25087
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
25088
|
+
*/
|
|
25089
|
+
NormalizationJob.verify = function verify(message) {
|
|
25090
|
+
if (typeof message !== "object" || message === null)
|
|
25091
|
+
return "object expected";
|
|
25092
|
+
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
25093
|
+
if (!$util.isString(message.s3Bucket))
|
|
25094
|
+
return "s3Bucket: string expected";
|
|
25095
|
+
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
25096
|
+
if (!$util.isString(message.s3Key))
|
|
25097
|
+
return "s3Key: string expected";
|
|
25098
|
+
if (message.elfKeyField != null && message.hasOwnProperty("elfKeyField"))
|
|
25099
|
+
if (!$util.isString(message.elfKeyField))
|
|
25100
|
+
return "elfKeyField: string expected";
|
|
25101
|
+
if (message.elfRequiredFields != null && message.hasOwnProperty("elfRequiredFields")) {
|
|
25102
|
+
if (!Array.isArray(message.elfRequiredFields))
|
|
25103
|
+
return "elfRequiredFields: array expected";
|
|
25104
|
+
for (var i = 0; i < message.elfRequiredFields.length; ++i)
|
|
25105
|
+
if (!$util.isString(message.elfRequiredFields[i]))
|
|
25106
|
+
return "elfRequiredFields: string[] expected";
|
|
25107
|
+
}
|
|
25108
|
+
if (message.customVariables != null && message.hasOwnProperty("customVariables")) {
|
|
25109
|
+
if (!$util.isObject(message.customVariables))
|
|
25110
|
+
return "customVariables: object expected";
|
|
25111
|
+
var key = Object.keys(message.customVariables);
|
|
25112
|
+
for (var i = 0; i < key.length; ++i)
|
|
25113
|
+
if (!$util.isString(message.customVariables[key[i]]))
|
|
25114
|
+
return "customVariables: string{k:string} expected";
|
|
25115
|
+
}
|
|
25116
|
+
return null;
|
|
25117
|
+
};
|
|
25118
|
+
|
|
25119
|
+
/**
|
|
25120
|
+
* Creates a NormalizationJob message from a plain object. Also converts values to their respective internal types.
|
|
25121
|
+
* @function fromObject
|
|
25122
|
+
* @memberof elf.NormalizationJob
|
|
25123
|
+
* @static
|
|
25124
|
+
* @param {Object.<string,*>} object Plain object
|
|
25125
|
+
* @returns {elf.NormalizationJob} NormalizationJob
|
|
25126
|
+
*/
|
|
25127
|
+
NormalizationJob.fromObject = function fromObject(object) {
|
|
25128
|
+
if (object instanceof $root.elf.NormalizationJob)
|
|
25129
|
+
return object;
|
|
25130
|
+
var message = new $root.elf.NormalizationJob();
|
|
25131
|
+
if (object.s3Bucket != null)
|
|
25132
|
+
message.s3Bucket = String(object.s3Bucket);
|
|
25133
|
+
if (object.s3Key != null)
|
|
25134
|
+
message.s3Key = String(object.s3Key);
|
|
25135
|
+
if (object.elfKeyField != null)
|
|
25136
|
+
message.elfKeyField = String(object.elfKeyField);
|
|
25137
|
+
if (object.elfRequiredFields) {
|
|
25138
|
+
if (!Array.isArray(object.elfRequiredFields))
|
|
25139
|
+
throw TypeError(".elf.NormalizationJob.elfRequiredFields: array expected");
|
|
25140
|
+
message.elfRequiredFields = [];
|
|
25141
|
+
for (var i = 0; i < object.elfRequiredFields.length; ++i)
|
|
25142
|
+
message.elfRequiredFields[i] = String(object.elfRequiredFields[i]);
|
|
25143
|
+
}
|
|
25144
|
+
if (object.customVariables) {
|
|
25145
|
+
if (typeof object.customVariables !== "object")
|
|
25146
|
+
throw TypeError(".elf.NormalizationJob.customVariables: object expected");
|
|
25147
|
+
message.customVariables = {};
|
|
25148
|
+
for (var keys = Object.keys(object.customVariables), i = 0; i < keys.length; ++i)
|
|
25149
|
+
message.customVariables[keys[i]] = String(object.customVariables[keys[i]]);
|
|
25150
|
+
}
|
|
25151
|
+
return message;
|
|
25152
|
+
};
|
|
25153
|
+
|
|
25154
|
+
/**
|
|
25155
|
+
* Creates a plain object from a NormalizationJob message. Also converts values to other types if specified.
|
|
25156
|
+
* @function toObject
|
|
25157
|
+
* @memberof elf.NormalizationJob
|
|
25158
|
+
* @static
|
|
25159
|
+
* @param {elf.NormalizationJob} message NormalizationJob
|
|
25160
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
25161
|
+
* @returns {Object.<string,*>} Plain object
|
|
25162
|
+
*/
|
|
25163
|
+
NormalizationJob.toObject = function toObject(message, options) {
|
|
25164
|
+
if (!options)
|
|
25165
|
+
options = {};
|
|
25166
|
+
var object = {};
|
|
25167
|
+
if (options.arrays || options.defaults)
|
|
25168
|
+
object.elfRequiredFields = [];
|
|
25169
|
+
if (options.objects || options.defaults)
|
|
25170
|
+
object.customVariables = {};
|
|
25171
|
+
if (options.defaults) {
|
|
25172
|
+
object.s3Bucket = "";
|
|
25173
|
+
object.s3Key = "";
|
|
25174
|
+
object.elfKeyField = "";
|
|
25175
|
+
}
|
|
25176
|
+
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
25177
|
+
object.s3Bucket = message.s3Bucket;
|
|
25178
|
+
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
25179
|
+
object.s3Key = message.s3Key;
|
|
25180
|
+
if (message.elfKeyField != null && message.hasOwnProperty("elfKeyField"))
|
|
25181
|
+
object.elfKeyField = message.elfKeyField;
|
|
25182
|
+
if (message.elfRequiredFields && message.elfRequiredFields.length) {
|
|
25183
|
+
object.elfRequiredFields = [];
|
|
25184
|
+
for (var j = 0; j < message.elfRequiredFields.length; ++j)
|
|
25185
|
+
object.elfRequiredFields[j] = message.elfRequiredFields[j];
|
|
25186
|
+
}
|
|
25187
|
+
var keys2;
|
|
25188
|
+
if (message.customVariables && (keys2 = Object.keys(message.customVariables)).length) {
|
|
25189
|
+
object.customVariables = {};
|
|
25190
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
25191
|
+
object.customVariables[keys2[j]] = message.customVariables[keys2[j]];
|
|
25192
|
+
}
|
|
25193
|
+
return object;
|
|
25194
|
+
};
|
|
25195
|
+
|
|
25196
|
+
/**
|
|
25197
|
+
* Converts this NormalizationJob to JSON.
|
|
25198
|
+
* @function toJSON
|
|
25199
|
+
* @memberof elf.NormalizationJob
|
|
25200
|
+
* @instance
|
|
25201
|
+
* @returns {Object.<string,*>} JSON object
|
|
25202
|
+
*/
|
|
25203
|
+
NormalizationJob.prototype.toJSON = function toJSON() {
|
|
25204
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
25205
|
+
};
|
|
25206
|
+
|
|
25207
|
+
return NormalizationJob;
|
|
25208
|
+
})();
|
|
25209
|
+
|
|
25210
|
+
elf.NormalizationJobResult = (function() {
|
|
25211
|
+
|
|
25212
|
+
/**
|
|
25213
|
+
* Properties of a NormalizationJobResult.
|
|
25214
|
+
* @memberof elf
|
|
25215
|
+
* @interface INormalizationJobResult
|
|
25216
|
+
* @property {string|null} [s3Bucket] NormalizationJobResult s3Bucket
|
|
25217
|
+
* @property {string|null} [s3Key] NormalizationJobResult s3Key
|
|
25218
|
+
* @property {Object.<string,number>|null} [counters] NormalizationJobResult counters
|
|
25219
|
+
*/
|
|
25220
|
+
|
|
25221
|
+
/**
|
|
25222
|
+
* Constructs a new NormalizationJobResult.
|
|
25223
|
+
* @memberof elf
|
|
25224
|
+
* @classdesc Represents a NormalizationJobResult.
|
|
25225
|
+
* @implements INormalizationJobResult
|
|
25226
|
+
* @constructor
|
|
25227
|
+
* @param {elf.INormalizationJobResult=} [properties] Properties to set
|
|
25228
|
+
*/
|
|
25229
|
+
function NormalizationJobResult(properties) {
|
|
25230
|
+
this.counters = {};
|
|
25231
|
+
if (properties)
|
|
25232
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
25233
|
+
if (properties[keys[i]] != null)
|
|
25234
|
+
this[keys[i]] = properties[keys[i]];
|
|
25235
|
+
}
|
|
25236
|
+
|
|
25237
|
+
/**
|
|
25238
|
+
* NormalizationJobResult s3Bucket.
|
|
25239
|
+
* @member {string} s3Bucket
|
|
25240
|
+
* @memberof elf.NormalizationJobResult
|
|
25241
|
+
* @instance
|
|
25242
|
+
*/
|
|
25243
|
+
NormalizationJobResult.prototype.s3Bucket = "";
|
|
25244
|
+
|
|
25245
|
+
/**
|
|
25246
|
+
* NormalizationJobResult s3Key.
|
|
25247
|
+
* @member {string} s3Key
|
|
25248
|
+
* @memberof elf.NormalizationJobResult
|
|
25249
|
+
* @instance
|
|
25250
|
+
*/
|
|
25251
|
+
NormalizationJobResult.prototype.s3Key = "";
|
|
25252
|
+
|
|
25253
|
+
/**
|
|
25254
|
+
* NormalizationJobResult counters.
|
|
25255
|
+
* @member {Object.<string,number>} counters
|
|
25256
|
+
* @memberof elf.NormalizationJobResult
|
|
25257
|
+
* @instance
|
|
25258
|
+
*/
|
|
25259
|
+
NormalizationJobResult.prototype.counters = $util.emptyObject;
|
|
25260
|
+
|
|
25261
|
+
/**
|
|
25262
|
+
* Creates a new NormalizationJobResult instance using the specified properties.
|
|
25263
|
+
* @function create
|
|
25264
|
+
* @memberof elf.NormalizationJobResult
|
|
25265
|
+
* @static
|
|
25266
|
+
* @param {elf.INormalizationJobResult=} [properties] Properties to set
|
|
25267
|
+
* @returns {elf.NormalizationJobResult} NormalizationJobResult instance
|
|
25268
|
+
*/
|
|
25269
|
+
NormalizationJobResult.create = function create(properties) {
|
|
25270
|
+
return new NormalizationJobResult(properties);
|
|
25271
|
+
};
|
|
25272
|
+
|
|
25273
|
+
/**
|
|
25274
|
+
* Encodes the specified NormalizationJobResult message. Does not implicitly {@link elf.NormalizationJobResult.verify|verify} messages.
|
|
25275
|
+
* @function encode
|
|
25276
|
+
* @memberof elf.NormalizationJobResult
|
|
25277
|
+
* @static
|
|
25278
|
+
* @param {elf.INormalizationJobResult} message NormalizationJobResult message or plain object to encode
|
|
25279
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25280
|
+
* @returns {$protobuf.Writer} Writer
|
|
25281
|
+
*/
|
|
25282
|
+
NormalizationJobResult.encode = function encode(message, writer) {
|
|
25283
|
+
if (!writer)
|
|
25284
|
+
writer = $Writer.create();
|
|
25285
|
+
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
25286
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.s3Bucket);
|
|
25287
|
+
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
25288
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.s3Key);
|
|
25289
|
+
if (message.counters != null && message.hasOwnProperty("counters"))
|
|
25290
|
+
for (var keys = Object.keys(message.counters), i = 0; i < keys.length; ++i)
|
|
25291
|
+
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).int32(message.counters[keys[i]]).ldelim();
|
|
25292
|
+
return writer;
|
|
25293
|
+
};
|
|
25294
|
+
|
|
25295
|
+
/**
|
|
25296
|
+
* Encodes the specified NormalizationJobResult message, length delimited. Does not implicitly {@link elf.NormalizationJobResult.verify|verify} messages.
|
|
25297
|
+
* @function encodeDelimited
|
|
25298
|
+
* @memberof elf.NormalizationJobResult
|
|
25299
|
+
* @static
|
|
25300
|
+
* @param {elf.INormalizationJobResult} message NormalizationJobResult message or plain object to encode
|
|
25301
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25302
|
+
* @returns {$protobuf.Writer} Writer
|
|
25303
|
+
*/
|
|
25304
|
+
NormalizationJobResult.encodeDelimited = function encodeDelimited(message, writer) {
|
|
25305
|
+
return this.encode(message, writer).ldelim();
|
|
25306
|
+
};
|
|
25307
|
+
|
|
25308
|
+
/**
|
|
25309
|
+
* Decodes a NormalizationJobResult message from the specified reader or buffer.
|
|
25310
|
+
* @function decode
|
|
25311
|
+
* @memberof elf.NormalizationJobResult
|
|
25312
|
+
* @static
|
|
25313
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25314
|
+
* @param {number} [length] Message length if known beforehand
|
|
25315
|
+
* @returns {elf.NormalizationJobResult} NormalizationJobResult
|
|
25316
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25317
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25318
|
+
*/
|
|
25319
|
+
NormalizationJobResult.decode = function decode(reader, length) {
|
|
25320
|
+
if (!(reader instanceof $Reader))
|
|
25321
|
+
reader = $Reader.create(reader);
|
|
25322
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.elf.NormalizationJobResult(), key;
|
|
25323
|
+
while (reader.pos < end) {
|
|
25324
|
+
var tag = reader.uint32();
|
|
25325
|
+
switch (tag >>> 3) {
|
|
25326
|
+
case 1:
|
|
25327
|
+
message.s3Bucket = reader.string();
|
|
25328
|
+
break;
|
|
25329
|
+
case 2:
|
|
25330
|
+
message.s3Key = reader.string();
|
|
25331
|
+
break;
|
|
25332
|
+
case 3:
|
|
25333
|
+
reader.skip().pos++;
|
|
25334
|
+
if (message.counters === $util.emptyObject)
|
|
25335
|
+
message.counters = {};
|
|
25336
|
+
key = reader.string();
|
|
25337
|
+
reader.pos++;
|
|
25338
|
+
message.counters[key] = reader.int32();
|
|
25339
|
+
break;
|
|
25340
|
+
default:
|
|
25341
|
+
reader.skipType(tag & 7);
|
|
25342
|
+
break;
|
|
25343
|
+
}
|
|
25344
|
+
}
|
|
25345
|
+
return message;
|
|
25346
|
+
};
|
|
25347
|
+
|
|
25348
|
+
/**
|
|
25349
|
+
* Decodes a NormalizationJobResult message from the specified reader or buffer, length delimited.
|
|
25350
|
+
* @function decodeDelimited
|
|
25351
|
+
* @memberof elf.NormalizationJobResult
|
|
25352
|
+
* @static
|
|
25353
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25354
|
+
* @returns {elf.NormalizationJobResult} NormalizationJobResult
|
|
25355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25357
|
+
*/
|
|
25358
|
+
NormalizationJobResult.decodeDelimited = function decodeDelimited(reader) {
|
|
25359
|
+
if (!(reader instanceof $Reader))
|
|
25360
|
+
reader = new $Reader(reader);
|
|
25361
|
+
return this.decode(reader, reader.uint32());
|
|
25362
|
+
};
|
|
25363
|
+
|
|
25364
|
+
/**
|
|
25365
|
+
* Verifies a NormalizationJobResult message.
|
|
25366
|
+
* @function verify
|
|
25367
|
+
* @memberof elf.NormalizationJobResult
|
|
25368
|
+
* @static
|
|
25369
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
25370
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
25371
|
+
*/
|
|
25372
|
+
NormalizationJobResult.verify = function verify(message) {
|
|
25373
|
+
if (typeof message !== "object" || message === null)
|
|
25374
|
+
return "object expected";
|
|
25375
|
+
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
25376
|
+
if (!$util.isString(message.s3Bucket))
|
|
25377
|
+
return "s3Bucket: string expected";
|
|
25378
|
+
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
25379
|
+
if (!$util.isString(message.s3Key))
|
|
25380
|
+
return "s3Key: string expected";
|
|
25381
|
+
if (message.counters != null && message.hasOwnProperty("counters")) {
|
|
25382
|
+
if (!$util.isObject(message.counters))
|
|
25383
|
+
return "counters: object expected";
|
|
25384
|
+
var key = Object.keys(message.counters);
|
|
25385
|
+
for (var i = 0; i < key.length; ++i)
|
|
25386
|
+
if (!$util.isInteger(message.counters[key[i]]))
|
|
25387
|
+
return "counters: integer{k:string} expected";
|
|
25388
|
+
}
|
|
25389
|
+
return null;
|
|
25390
|
+
};
|
|
25391
|
+
|
|
25392
|
+
/**
|
|
25393
|
+
* Creates a NormalizationJobResult message from a plain object. Also converts values to their respective internal types.
|
|
25394
|
+
* @function fromObject
|
|
25395
|
+
* @memberof elf.NormalizationJobResult
|
|
25396
|
+
* @static
|
|
25397
|
+
* @param {Object.<string,*>} object Plain object
|
|
25398
|
+
* @returns {elf.NormalizationJobResult} NormalizationJobResult
|
|
25399
|
+
*/
|
|
25400
|
+
NormalizationJobResult.fromObject = function fromObject(object) {
|
|
25401
|
+
if (object instanceof $root.elf.NormalizationJobResult)
|
|
25402
|
+
return object;
|
|
25403
|
+
var message = new $root.elf.NormalizationJobResult();
|
|
25404
|
+
if (object.s3Bucket != null)
|
|
25405
|
+
message.s3Bucket = String(object.s3Bucket);
|
|
25406
|
+
if (object.s3Key != null)
|
|
25407
|
+
message.s3Key = String(object.s3Key);
|
|
25408
|
+
if (object.counters) {
|
|
25409
|
+
if (typeof object.counters !== "object")
|
|
25410
|
+
throw TypeError(".elf.NormalizationJobResult.counters: object expected");
|
|
25411
|
+
message.counters = {};
|
|
25412
|
+
for (var keys = Object.keys(object.counters), i = 0; i < keys.length; ++i)
|
|
25413
|
+
message.counters[keys[i]] = object.counters[keys[i]] | 0;
|
|
25414
|
+
}
|
|
25415
|
+
return message;
|
|
25416
|
+
};
|
|
25417
|
+
|
|
25418
|
+
/**
|
|
25419
|
+
* Creates a plain object from a NormalizationJobResult message. Also converts values to other types if specified.
|
|
25420
|
+
* @function toObject
|
|
25421
|
+
* @memberof elf.NormalizationJobResult
|
|
25422
|
+
* @static
|
|
25423
|
+
* @param {elf.NormalizationJobResult} message NormalizationJobResult
|
|
25424
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
25425
|
+
* @returns {Object.<string,*>} Plain object
|
|
25426
|
+
*/
|
|
25427
|
+
NormalizationJobResult.toObject = function toObject(message, options) {
|
|
25428
|
+
if (!options)
|
|
25429
|
+
options = {};
|
|
25430
|
+
var object = {};
|
|
25431
|
+
if (options.objects || options.defaults)
|
|
25432
|
+
object.counters = {};
|
|
25433
|
+
if (options.defaults) {
|
|
25434
|
+
object.s3Bucket = "";
|
|
25435
|
+
object.s3Key = "";
|
|
25436
|
+
}
|
|
25437
|
+
if (message.s3Bucket != null && message.hasOwnProperty("s3Bucket"))
|
|
25438
|
+
object.s3Bucket = message.s3Bucket;
|
|
25439
|
+
if (message.s3Key != null && message.hasOwnProperty("s3Key"))
|
|
25440
|
+
object.s3Key = message.s3Key;
|
|
25441
|
+
var keys2;
|
|
25442
|
+
if (message.counters && (keys2 = Object.keys(message.counters)).length) {
|
|
25443
|
+
object.counters = {};
|
|
25444
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
25445
|
+
object.counters[keys2[j]] = message.counters[keys2[j]];
|
|
25446
|
+
}
|
|
25447
|
+
return object;
|
|
25448
|
+
};
|
|
25449
|
+
|
|
25450
|
+
/**
|
|
25451
|
+
* Converts this NormalizationJobResult to JSON.
|
|
25452
|
+
* @function toJSON
|
|
25453
|
+
* @memberof elf.NormalizationJobResult
|
|
25454
|
+
* @instance
|
|
25455
|
+
* @returns {Object.<string,*>} JSON object
|
|
25456
|
+
*/
|
|
25457
|
+
NormalizationJobResult.prototype.toJSON = function toJSON() {
|
|
25458
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
25459
|
+
};
|
|
25460
|
+
|
|
25461
|
+
return NormalizationJobResult;
|
|
25462
|
+
})();
|
|
25463
|
+
|
|
25464
|
+
elf.NormalizationJobError = (function() {
|
|
25465
|
+
|
|
25466
|
+
/**
|
|
25467
|
+
* Properties of a NormalizationJobError.
|
|
25468
|
+
* @memberof elf
|
|
25469
|
+
* @interface INormalizationJobError
|
|
25470
|
+
* @property {string|null} [code] NormalizationJobError code
|
|
25471
|
+
* @property {string|null} [message] NormalizationJobError message
|
|
25472
|
+
*/
|
|
25473
|
+
|
|
25474
|
+
/**
|
|
25475
|
+
* Constructs a new NormalizationJobError.
|
|
25476
|
+
* @memberof elf
|
|
25477
|
+
* @classdesc Represents a NormalizationJobError.
|
|
25478
|
+
* @implements INormalizationJobError
|
|
25479
|
+
* @constructor
|
|
25480
|
+
* @param {elf.INormalizationJobError=} [properties] Properties to set
|
|
25481
|
+
*/
|
|
25482
|
+
function NormalizationJobError(properties) {
|
|
25483
|
+
if (properties)
|
|
25484
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
25485
|
+
if (properties[keys[i]] != null)
|
|
25486
|
+
this[keys[i]] = properties[keys[i]];
|
|
25487
|
+
}
|
|
25488
|
+
|
|
25489
|
+
/**
|
|
25490
|
+
* NormalizationJobError code.
|
|
25491
|
+
* @member {string} code
|
|
25492
|
+
* @memberof elf.NormalizationJobError
|
|
25493
|
+
* @instance
|
|
25494
|
+
*/
|
|
25495
|
+
NormalizationJobError.prototype.code = "";
|
|
25496
|
+
|
|
25497
|
+
/**
|
|
25498
|
+
* NormalizationJobError message.
|
|
25499
|
+
* @member {string} message
|
|
25500
|
+
* @memberof elf.NormalizationJobError
|
|
25501
|
+
* @instance
|
|
25502
|
+
*/
|
|
25503
|
+
NormalizationJobError.prototype.message = "";
|
|
25504
|
+
|
|
25505
|
+
/**
|
|
25506
|
+
* Creates a new NormalizationJobError instance using the specified properties.
|
|
25507
|
+
* @function create
|
|
25508
|
+
* @memberof elf.NormalizationJobError
|
|
25509
|
+
* @static
|
|
25510
|
+
* @param {elf.INormalizationJobError=} [properties] Properties to set
|
|
25511
|
+
* @returns {elf.NormalizationJobError} NormalizationJobError instance
|
|
25512
|
+
*/
|
|
25513
|
+
NormalizationJobError.create = function create(properties) {
|
|
25514
|
+
return new NormalizationJobError(properties);
|
|
25515
|
+
};
|
|
25516
|
+
|
|
25517
|
+
/**
|
|
25518
|
+
* Encodes the specified NormalizationJobError message. Does not implicitly {@link elf.NormalizationJobError.verify|verify} messages.
|
|
25519
|
+
* @function encode
|
|
25520
|
+
* @memberof elf.NormalizationJobError
|
|
25521
|
+
* @static
|
|
25522
|
+
* @param {elf.INormalizationJobError} message NormalizationJobError message or plain object to encode
|
|
25523
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25524
|
+
* @returns {$protobuf.Writer} Writer
|
|
25525
|
+
*/
|
|
25526
|
+
NormalizationJobError.encode = function encode(message, writer) {
|
|
25527
|
+
if (!writer)
|
|
25528
|
+
writer = $Writer.create();
|
|
25529
|
+
if (message.code != null && message.hasOwnProperty("code"))
|
|
25530
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.code);
|
|
25531
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
25532
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
|
|
25533
|
+
return writer;
|
|
25534
|
+
};
|
|
25535
|
+
|
|
25536
|
+
/**
|
|
25537
|
+
* Encodes the specified NormalizationJobError message, length delimited. Does not implicitly {@link elf.NormalizationJobError.verify|verify} messages.
|
|
25538
|
+
* @function encodeDelimited
|
|
25539
|
+
* @memberof elf.NormalizationJobError
|
|
25540
|
+
* @static
|
|
25541
|
+
* @param {elf.INormalizationJobError} message NormalizationJobError message or plain object to encode
|
|
25542
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
25543
|
+
* @returns {$protobuf.Writer} Writer
|
|
25544
|
+
*/
|
|
25545
|
+
NormalizationJobError.encodeDelimited = function encodeDelimited(message, writer) {
|
|
25546
|
+
return this.encode(message, writer).ldelim();
|
|
25547
|
+
};
|
|
25548
|
+
|
|
25549
|
+
/**
|
|
25550
|
+
* Decodes a NormalizationJobError message from the specified reader or buffer.
|
|
25551
|
+
* @function decode
|
|
25552
|
+
* @memberof elf.NormalizationJobError
|
|
25553
|
+
* @static
|
|
25554
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25555
|
+
* @param {number} [length] Message length if known beforehand
|
|
25556
|
+
* @returns {elf.NormalizationJobError} NormalizationJobError
|
|
25557
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25558
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25559
|
+
*/
|
|
25560
|
+
NormalizationJobError.decode = function decode(reader, length) {
|
|
25561
|
+
if (!(reader instanceof $Reader))
|
|
25562
|
+
reader = $Reader.create(reader);
|
|
25563
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.elf.NormalizationJobError();
|
|
25564
|
+
while (reader.pos < end) {
|
|
25565
|
+
var tag = reader.uint32();
|
|
25566
|
+
switch (tag >>> 3) {
|
|
25567
|
+
case 1:
|
|
25568
|
+
message.code = reader.string();
|
|
25569
|
+
break;
|
|
25570
|
+
case 2:
|
|
25571
|
+
message.message = reader.string();
|
|
25572
|
+
break;
|
|
25573
|
+
default:
|
|
25574
|
+
reader.skipType(tag & 7);
|
|
25575
|
+
break;
|
|
25576
|
+
}
|
|
25577
|
+
}
|
|
25578
|
+
return message;
|
|
25579
|
+
};
|
|
25580
|
+
|
|
25581
|
+
/**
|
|
25582
|
+
* Decodes a NormalizationJobError message from the specified reader or buffer, length delimited.
|
|
25583
|
+
* @function decodeDelimited
|
|
25584
|
+
* @memberof elf.NormalizationJobError
|
|
25585
|
+
* @static
|
|
25586
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
25587
|
+
* @returns {elf.NormalizationJobError} NormalizationJobError
|
|
25588
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25589
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25590
|
+
*/
|
|
25591
|
+
NormalizationJobError.decodeDelimited = function decodeDelimited(reader) {
|
|
25592
|
+
if (!(reader instanceof $Reader))
|
|
25593
|
+
reader = new $Reader(reader);
|
|
25594
|
+
return this.decode(reader, reader.uint32());
|
|
25595
|
+
};
|
|
25596
|
+
|
|
25597
|
+
/**
|
|
25598
|
+
* Verifies a NormalizationJobError message.
|
|
25599
|
+
* @function verify
|
|
25600
|
+
* @memberof elf.NormalizationJobError
|
|
25601
|
+
* @static
|
|
25602
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
25603
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
25604
|
+
*/
|
|
25605
|
+
NormalizationJobError.verify = function verify(message) {
|
|
25606
|
+
if (typeof message !== "object" || message === null)
|
|
25607
|
+
return "object expected";
|
|
25608
|
+
if (message.code != null && message.hasOwnProperty("code"))
|
|
25609
|
+
if (!$util.isString(message.code))
|
|
25610
|
+
return "code: string expected";
|
|
25611
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
25612
|
+
if (!$util.isString(message.message))
|
|
25613
|
+
return "message: string expected";
|
|
25614
|
+
return null;
|
|
25615
|
+
};
|
|
25616
|
+
|
|
25617
|
+
/**
|
|
25618
|
+
* Creates a NormalizationJobError message from a plain object. Also converts values to their respective internal types.
|
|
25619
|
+
* @function fromObject
|
|
25620
|
+
* @memberof elf.NormalizationJobError
|
|
25621
|
+
* @static
|
|
25622
|
+
* @param {Object.<string,*>} object Plain object
|
|
25623
|
+
* @returns {elf.NormalizationJobError} NormalizationJobError
|
|
25624
|
+
*/
|
|
25625
|
+
NormalizationJobError.fromObject = function fromObject(object) {
|
|
25626
|
+
if (object instanceof $root.elf.NormalizationJobError)
|
|
25627
|
+
return object;
|
|
25628
|
+
var message = new $root.elf.NormalizationJobError();
|
|
25629
|
+
if (object.code != null)
|
|
25630
|
+
message.code = String(object.code);
|
|
25631
|
+
if (object.message != null)
|
|
25632
|
+
message.message = String(object.message);
|
|
25633
|
+
return message;
|
|
25634
|
+
};
|
|
25635
|
+
|
|
25636
|
+
/**
|
|
25637
|
+
* Creates a plain object from a NormalizationJobError message. Also converts values to other types if specified.
|
|
25638
|
+
* @function toObject
|
|
25639
|
+
* @memberof elf.NormalizationJobError
|
|
25640
|
+
* @static
|
|
25641
|
+
* @param {elf.NormalizationJobError} message NormalizationJobError
|
|
25642
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
25643
|
+
* @returns {Object.<string,*>} Plain object
|
|
25644
|
+
*/
|
|
25645
|
+
NormalizationJobError.toObject = function toObject(message, options) {
|
|
25646
|
+
if (!options)
|
|
25647
|
+
options = {};
|
|
25648
|
+
var object = {};
|
|
25649
|
+
if (options.defaults) {
|
|
25650
|
+
object.code = "";
|
|
25651
|
+
object.message = "";
|
|
25652
|
+
}
|
|
25653
|
+
if (message.code != null && message.hasOwnProperty("code"))
|
|
25654
|
+
object.code = message.code;
|
|
25655
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
25656
|
+
object.message = message.message;
|
|
25657
|
+
return object;
|
|
25658
|
+
};
|
|
25659
|
+
|
|
25660
|
+
/**
|
|
25661
|
+
* Converts this NormalizationJobError to JSON.
|
|
25662
|
+
* @function toJSON
|
|
25663
|
+
* @memberof elf.NormalizationJobError
|
|
25664
|
+
* @instance
|
|
25665
|
+
* @returns {Object.<string,*>} JSON object
|
|
25666
|
+
*/
|
|
25667
|
+
NormalizationJobError.prototype.toJSON = function toJSON() {
|
|
25668
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
25669
|
+
};
|
|
25670
|
+
|
|
25671
|
+
return NormalizationJobError;
|
|
25672
|
+
})();
|
|
25673
|
+
|
|
24895
25674
|
return elf;
|
|
24896
25675
|
})();
|
|
24897
25676
|
|
|
@@ -80084,6 +80863,446 @@ $root.ElfImportJobRejected = (function() {
|
|
|
80084
80863
|
return ElfImportJobRejected;
|
|
80085
80864
|
})();
|
|
80086
80865
|
|
|
80866
|
+
$root.ElfNormalizationJobCompleted = (function() {
|
|
80867
|
+
|
|
80868
|
+
/**
|
|
80869
|
+
* Properties of an ElfNormalizationJobCompleted.
|
|
80870
|
+
* @exports IElfNormalizationJobCompleted
|
|
80871
|
+
* @interface IElfNormalizationJobCompleted
|
|
80872
|
+
* @property {elf.INormalizationJob|null} [job] ElfNormalizationJobCompleted job
|
|
80873
|
+
* @property {elf.INormalizationJobResult|null} [result] ElfNormalizationJobCompleted result
|
|
80874
|
+
*/
|
|
80875
|
+
|
|
80876
|
+
/**
|
|
80877
|
+
* Constructs a new ElfNormalizationJobCompleted.
|
|
80878
|
+
* @exports ElfNormalizationJobCompleted
|
|
80879
|
+
* @classdesc Represents an ElfNormalizationJobCompleted.
|
|
80880
|
+
* @implements IElfNormalizationJobCompleted
|
|
80881
|
+
* @constructor
|
|
80882
|
+
* @param {IElfNormalizationJobCompleted=} [properties] Properties to set
|
|
80883
|
+
*/
|
|
80884
|
+
function ElfNormalizationJobCompleted(properties) {
|
|
80885
|
+
if (properties)
|
|
80886
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
80887
|
+
if (properties[keys[i]] != null)
|
|
80888
|
+
this[keys[i]] = properties[keys[i]];
|
|
80889
|
+
}
|
|
80890
|
+
|
|
80891
|
+
/**
|
|
80892
|
+
* ElfNormalizationJobCompleted job.
|
|
80893
|
+
* @member {elf.INormalizationJob|null|undefined} job
|
|
80894
|
+
* @memberof ElfNormalizationJobCompleted
|
|
80895
|
+
* @instance
|
|
80896
|
+
*/
|
|
80897
|
+
ElfNormalizationJobCompleted.prototype.job = null;
|
|
80898
|
+
|
|
80899
|
+
/**
|
|
80900
|
+
* ElfNormalizationJobCompleted result.
|
|
80901
|
+
* @member {elf.INormalizationJobResult|null|undefined} result
|
|
80902
|
+
* @memberof ElfNormalizationJobCompleted
|
|
80903
|
+
* @instance
|
|
80904
|
+
*/
|
|
80905
|
+
ElfNormalizationJobCompleted.prototype.result = null;
|
|
80906
|
+
|
|
80907
|
+
/**
|
|
80908
|
+
* Creates a new ElfNormalizationJobCompleted instance using the specified properties.
|
|
80909
|
+
* @function create
|
|
80910
|
+
* @memberof ElfNormalizationJobCompleted
|
|
80911
|
+
* @static
|
|
80912
|
+
* @param {IElfNormalizationJobCompleted=} [properties] Properties to set
|
|
80913
|
+
* @returns {ElfNormalizationJobCompleted} ElfNormalizationJobCompleted instance
|
|
80914
|
+
*/
|
|
80915
|
+
ElfNormalizationJobCompleted.create = function create(properties) {
|
|
80916
|
+
return new ElfNormalizationJobCompleted(properties);
|
|
80917
|
+
};
|
|
80918
|
+
|
|
80919
|
+
/**
|
|
80920
|
+
* Encodes the specified ElfNormalizationJobCompleted message. Does not implicitly {@link ElfNormalizationJobCompleted.verify|verify} messages.
|
|
80921
|
+
* @function encode
|
|
80922
|
+
* @memberof ElfNormalizationJobCompleted
|
|
80923
|
+
* @static
|
|
80924
|
+
* @param {IElfNormalizationJobCompleted} message ElfNormalizationJobCompleted message or plain object to encode
|
|
80925
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
80926
|
+
* @returns {$protobuf.Writer} Writer
|
|
80927
|
+
*/
|
|
80928
|
+
ElfNormalizationJobCompleted.encode = function encode(message, writer) {
|
|
80929
|
+
if (!writer)
|
|
80930
|
+
writer = $Writer.create();
|
|
80931
|
+
if (message.job != null && message.hasOwnProperty("job"))
|
|
80932
|
+
$root.elf.NormalizationJob.encode(message.job, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
80933
|
+
if (message.result != null && message.hasOwnProperty("result"))
|
|
80934
|
+
$root.elf.NormalizationJobResult.encode(message.result, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
80935
|
+
return writer;
|
|
80936
|
+
};
|
|
80937
|
+
|
|
80938
|
+
/**
|
|
80939
|
+
* Encodes the specified ElfNormalizationJobCompleted message, length delimited. Does not implicitly {@link ElfNormalizationJobCompleted.verify|verify} messages.
|
|
80940
|
+
* @function encodeDelimited
|
|
80941
|
+
* @memberof ElfNormalizationJobCompleted
|
|
80942
|
+
* @static
|
|
80943
|
+
* @param {IElfNormalizationJobCompleted} message ElfNormalizationJobCompleted message or plain object to encode
|
|
80944
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
80945
|
+
* @returns {$protobuf.Writer} Writer
|
|
80946
|
+
*/
|
|
80947
|
+
ElfNormalizationJobCompleted.encodeDelimited = function encodeDelimited(message, writer) {
|
|
80948
|
+
return this.encode(message, writer).ldelim();
|
|
80949
|
+
};
|
|
80950
|
+
|
|
80951
|
+
/**
|
|
80952
|
+
* Decodes an ElfNormalizationJobCompleted message from the specified reader or buffer.
|
|
80953
|
+
* @function decode
|
|
80954
|
+
* @memberof ElfNormalizationJobCompleted
|
|
80955
|
+
* @static
|
|
80956
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
80957
|
+
* @param {number} [length] Message length if known beforehand
|
|
80958
|
+
* @returns {ElfNormalizationJobCompleted} ElfNormalizationJobCompleted
|
|
80959
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
80960
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
80961
|
+
*/
|
|
80962
|
+
ElfNormalizationJobCompleted.decode = function decode(reader, length) {
|
|
80963
|
+
if (!(reader instanceof $Reader))
|
|
80964
|
+
reader = $Reader.create(reader);
|
|
80965
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfNormalizationJobCompleted();
|
|
80966
|
+
while (reader.pos < end) {
|
|
80967
|
+
var tag = reader.uint32();
|
|
80968
|
+
switch (tag >>> 3) {
|
|
80969
|
+
case 1:
|
|
80970
|
+
message.job = $root.elf.NormalizationJob.decode(reader, reader.uint32());
|
|
80971
|
+
break;
|
|
80972
|
+
case 2:
|
|
80973
|
+
message.result = $root.elf.NormalizationJobResult.decode(reader, reader.uint32());
|
|
80974
|
+
break;
|
|
80975
|
+
default:
|
|
80976
|
+
reader.skipType(tag & 7);
|
|
80977
|
+
break;
|
|
80978
|
+
}
|
|
80979
|
+
}
|
|
80980
|
+
return message;
|
|
80981
|
+
};
|
|
80982
|
+
|
|
80983
|
+
/**
|
|
80984
|
+
* Decodes an ElfNormalizationJobCompleted message from the specified reader or buffer, length delimited.
|
|
80985
|
+
* @function decodeDelimited
|
|
80986
|
+
* @memberof ElfNormalizationJobCompleted
|
|
80987
|
+
* @static
|
|
80988
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
80989
|
+
* @returns {ElfNormalizationJobCompleted} ElfNormalizationJobCompleted
|
|
80990
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
80991
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
80992
|
+
*/
|
|
80993
|
+
ElfNormalizationJobCompleted.decodeDelimited = function decodeDelimited(reader) {
|
|
80994
|
+
if (!(reader instanceof $Reader))
|
|
80995
|
+
reader = new $Reader(reader);
|
|
80996
|
+
return this.decode(reader, reader.uint32());
|
|
80997
|
+
};
|
|
80998
|
+
|
|
80999
|
+
/**
|
|
81000
|
+
* Verifies an ElfNormalizationJobCompleted message.
|
|
81001
|
+
* @function verify
|
|
81002
|
+
* @memberof ElfNormalizationJobCompleted
|
|
81003
|
+
* @static
|
|
81004
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
81005
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
81006
|
+
*/
|
|
81007
|
+
ElfNormalizationJobCompleted.verify = function verify(message) {
|
|
81008
|
+
if (typeof message !== "object" || message === null)
|
|
81009
|
+
return "object expected";
|
|
81010
|
+
if (message.job != null && message.hasOwnProperty("job")) {
|
|
81011
|
+
var error = $root.elf.NormalizationJob.verify(message.job);
|
|
81012
|
+
if (error)
|
|
81013
|
+
return "job." + error;
|
|
81014
|
+
}
|
|
81015
|
+
if (message.result != null && message.hasOwnProperty("result")) {
|
|
81016
|
+
var error = $root.elf.NormalizationJobResult.verify(message.result);
|
|
81017
|
+
if (error)
|
|
81018
|
+
return "result." + error;
|
|
81019
|
+
}
|
|
81020
|
+
return null;
|
|
81021
|
+
};
|
|
81022
|
+
|
|
81023
|
+
/**
|
|
81024
|
+
* Creates an ElfNormalizationJobCompleted message from a plain object. Also converts values to their respective internal types.
|
|
81025
|
+
* @function fromObject
|
|
81026
|
+
* @memberof ElfNormalizationJobCompleted
|
|
81027
|
+
* @static
|
|
81028
|
+
* @param {Object.<string,*>} object Plain object
|
|
81029
|
+
* @returns {ElfNormalizationJobCompleted} ElfNormalizationJobCompleted
|
|
81030
|
+
*/
|
|
81031
|
+
ElfNormalizationJobCompleted.fromObject = function fromObject(object) {
|
|
81032
|
+
if (object instanceof $root.ElfNormalizationJobCompleted)
|
|
81033
|
+
return object;
|
|
81034
|
+
var message = new $root.ElfNormalizationJobCompleted();
|
|
81035
|
+
if (object.job != null) {
|
|
81036
|
+
if (typeof object.job !== "object")
|
|
81037
|
+
throw TypeError(".ElfNormalizationJobCompleted.job: object expected");
|
|
81038
|
+
message.job = $root.elf.NormalizationJob.fromObject(object.job);
|
|
81039
|
+
}
|
|
81040
|
+
if (object.result != null) {
|
|
81041
|
+
if (typeof object.result !== "object")
|
|
81042
|
+
throw TypeError(".ElfNormalizationJobCompleted.result: object expected");
|
|
81043
|
+
message.result = $root.elf.NormalizationJobResult.fromObject(object.result);
|
|
81044
|
+
}
|
|
81045
|
+
return message;
|
|
81046
|
+
};
|
|
81047
|
+
|
|
81048
|
+
/**
|
|
81049
|
+
* Creates a plain object from an ElfNormalizationJobCompleted message. Also converts values to other types if specified.
|
|
81050
|
+
* @function toObject
|
|
81051
|
+
* @memberof ElfNormalizationJobCompleted
|
|
81052
|
+
* @static
|
|
81053
|
+
* @param {ElfNormalizationJobCompleted} message ElfNormalizationJobCompleted
|
|
81054
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
81055
|
+
* @returns {Object.<string,*>} Plain object
|
|
81056
|
+
*/
|
|
81057
|
+
ElfNormalizationJobCompleted.toObject = function toObject(message, options) {
|
|
81058
|
+
if (!options)
|
|
81059
|
+
options = {};
|
|
81060
|
+
var object = {};
|
|
81061
|
+
if (options.defaults) {
|
|
81062
|
+
object.job = null;
|
|
81063
|
+
object.result = null;
|
|
81064
|
+
}
|
|
81065
|
+
if (message.job != null && message.hasOwnProperty("job"))
|
|
81066
|
+
object.job = $root.elf.NormalizationJob.toObject(message.job, options);
|
|
81067
|
+
if (message.result != null && message.hasOwnProperty("result"))
|
|
81068
|
+
object.result = $root.elf.NormalizationJobResult.toObject(message.result, options);
|
|
81069
|
+
return object;
|
|
81070
|
+
};
|
|
81071
|
+
|
|
81072
|
+
/**
|
|
81073
|
+
* Converts this ElfNormalizationJobCompleted to JSON.
|
|
81074
|
+
* @function toJSON
|
|
81075
|
+
* @memberof ElfNormalizationJobCompleted
|
|
81076
|
+
* @instance
|
|
81077
|
+
* @returns {Object.<string,*>} JSON object
|
|
81078
|
+
*/
|
|
81079
|
+
ElfNormalizationJobCompleted.prototype.toJSON = function toJSON() {
|
|
81080
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
81081
|
+
};
|
|
81082
|
+
|
|
81083
|
+
return ElfNormalizationJobCompleted;
|
|
81084
|
+
})();
|
|
81085
|
+
|
|
81086
|
+
$root.ElfNormalizationJobFailed = (function() {
|
|
81087
|
+
|
|
81088
|
+
/**
|
|
81089
|
+
* Properties of an ElfNormalizationJobFailed.
|
|
81090
|
+
* @exports IElfNormalizationJobFailed
|
|
81091
|
+
* @interface IElfNormalizationJobFailed
|
|
81092
|
+
* @property {elf.INormalizationJob|null} [job] ElfNormalizationJobFailed job
|
|
81093
|
+
* @property {elf.INormalizationJobError|null} [error] ElfNormalizationJobFailed error
|
|
81094
|
+
*/
|
|
81095
|
+
|
|
81096
|
+
/**
|
|
81097
|
+
* Constructs a new ElfNormalizationJobFailed.
|
|
81098
|
+
* @exports ElfNormalizationJobFailed
|
|
81099
|
+
* @classdesc Represents an ElfNormalizationJobFailed.
|
|
81100
|
+
* @implements IElfNormalizationJobFailed
|
|
81101
|
+
* @constructor
|
|
81102
|
+
* @param {IElfNormalizationJobFailed=} [properties] Properties to set
|
|
81103
|
+
*/
|
|
81104
|
+
function ElfNormalizationJobFailed(properties) {
|
|
81105
|
+
if (properties)
|
|
81106
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
81107
|
+
if (properties[keys[i]] != null)
|
|
81108
|
+
this[keys[i]] = properties[keys[i]];
|
|
81109
|
+
}
|
|
81110
|
+
|
|
81111
|
+
/**
|
|
81112
|
+
* ElfNormalizationJobFailed job.
|
|
81113
|
+
* @member {elf.INormalizationJob|null|undefined} job
|
|
81114
|
+
* @memberof ElfNormalizationJobFailed
|
|
81115
|
+
* @instance
|
|
81116
|
+
*/
|
|
81117
|
+
ElfNormalizationJobFailed.prototype.job = null;
|
|
81118
|
+
|
|
81119
|
+
/**
|
|
81120
|
+
* ElfNormalizationJobFailed error.
|
|
81121
|
+
* @member {elf.INormalizationJobError|null|undefined} error
|
|
81122
|
+
* @memberof ElfNormalizationJobFailed
|
|
81123
|
+
* @instance
|
|
81124
|
+
*/
|
|
81125
|
+
ElfNormalizationJobFailed.prototype.error = null;
|
|
81126
|
+
|
|
81127
|
+
/**
|
|
81128
|
+
* Creates a new ElfNormalizationJobFailed instance using the specified properties.
|
|
81129
|
+
* @function create
|
|
81130
|
+
* @memberof ElfNormalizationJobFailed
|
|
81131
|
+
* @static
|
|
81132
|
+
* @param {IElfNormalizationJobFailed=} [properties] Properties to set
|
|
81133
|
+
* @returns {ElfNormalizationJobFailed} ElfNormalizationJobFailed instance
|
|
81134
|
+
*/
|
|
81135
|
+
ElfNormalizationJobFailed.create = function create(properties) {
|
|
81136
|
+
return new ElfNormalizationJobFailed(properties);
|
|
81137
|
+
};
|
|
81138
|
+
|
|
81139
|
+
/**
|
|
81140
|
+
* Encodes the specified ElfNormalizationJobFailed message. Does not implicitly {@link ElfNormalizationJobFailed.verify|verify} messages.
|
|
81141
|
+
* @function encode
|
|
81142
|
+
* @memberof ElfNormalizationJobFailed
|
|
81143
|
+
* @static
|
|
81144
|
+
* @param {IElfNormalizationJobFailed} message ElfNormalizationJobFailed message or plain object to encode
|
|
81145
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
81146
|
+
* @returns {$protobuf.Writer} Writer
|
|
81147
|
+
*/
|
|
81148
|
+
ElfNormalizationJobFailed.encode = function encode(message, writer) {
|
|
81149
|
+
if (!writer)
|
|
81150
|
+
writer = $Writer.create();
|
|
81151
|
+
if (message.job != null && message.hasOwnProperty("job"))
|
|
81152
|
+
$root.elf.NormalizationJob.encode(message.job, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
81153
|
+
if (message.error != null && message.hasOwnProperty("error"))
|
|
81154
|
+
$root.elf.NormalizationJobError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
81155
|
+
return writer;
|
|
81156
|
+
};
|
|
81157
|
+
|
|
81158
|
+
/**
|
|
81159
|
+
* Encodes the specified ElfNormalizationJobFailed message, length delimited. Does not implicitly {@link ElfNormalizationJobFailed.verify|verify} messages.
|
|
81160
|
+
* @function encodeDelimited
|
|
81161
|
+
* @memberof ElfNormalizationJobFailed
|
|
81162
|
+
* @static
|
|
81163
|
+
* @param {IElfNormalizationJobFailed} message ElfNormalizationJobFailed message or plain object to encode
|
|
81164
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
81165
|
+
* @returns {$protobuf.Writer} Writer
|
|
81166
|
+
*/
|
|
81167
|
+
ElfNormalizationJobFailed.encodeDelimited = function encodeDelimited(message, writer) {
|
|
81168
|
+
return this.encode(message, writer).ldelim();
|
|
81169
|
+
};
|
|
81170
|
+
|
|
81171
|
+
/**
|
|
81172
|
+
* Decodes an ElfNormalizationJobFailed message from the specified reader or buffer.
|
|
81173
|
+
* @function decode
|
|
81174
|
+
* @memberof ElfNormalizationJobFailed
|
|
81175
|
+
* @static
|
|
81176
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
81177
|
+
* @param {number} [length] Message length if known beforehand
|
|
81178
|
+
* @returns {ElfNormalizationJobFailed} ElfNormalizationJobFailed
|
|
81179
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
81180
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
81181
|
+
*/
|
|
81182
|
+
ElfNormalizationJobFailed.decode = function decode(reader, length) {
|
|
81183
|
+
if (!(reader instanceof $Reader))
|
|
81184
|
+
reader = $Reader.create(reader);
|
|
81185
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.ElfNormalizationJobFailed();
|
|
81186
|
+
while (reader.pos < end) {
|
|
81187
|
+
var tag = reader.uint32();
|
|
81188
|
+
switch (tag >>> 3) {
|
|
81189
|
+
case 1:
|
|
81190
|
+
message.job = $root.elf.NormalizationJob.decode(reader, reader.uint32());
|
|
81191
|
+
break;
|
|
81192
|
+
case 2:
|
|
81193
|
+
message.error = $root.elf.NormalizationJobError.decode(reader, reader.uint32());
|
|
81194
|
+
break;
|
|
81195
|
+
default:
|
|
81196
|
+
reader.skipType(tag & 7);
|
|
81197
|
+
break;
|
|
81198
|
+
}
|
|
81199
|
+
}
|
|
81200
|
+
return message;
|
|
81201
|
+
};
|
|
81202
|
+
|
|
81203
|
+
/**
|
|
81204
|
+
* Decodes an ElfNormalizationJobFailed message from the specified reader or buffer, length delimited.
|
|
81205
|
+
* @function decodeDelimited
|
|
81206
|
+
* @memberof ElfNormalizationJobFailed
|
|
81207
|
+
* @static
|
|
81208
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
81209
|
+
* @returns {ElfNormalizationJobFailed} ElfNormalizationJobFailed
|
|
81210
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
81211
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
81212
|
+
*/
|
|
81213
|
+
ElfNormalizationJobFailed.decodeDelimited = function decodeDelimited(reader) {
|
|
81214
|
+
if (!(reader instanceof $Reader))
|
|
81215
|
+
reader = new $Reader(reader);
|
|
81216
|
+
return this.decode(reader, reader.uint32());
|
|
81217
|
+
};
|
|
81218
|
+
|
|
81219
|
+
/**
|
|
81220
|
+
* Verifies an ElfNormalizationJobFailed message.
|
|
81221
|
+
* @function verify
|
|
81222
|
+
* @memberof ElfNormalizationJobFailed
|
|
81223
|
+
* @static
|
|
81224
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
81225
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
81226
|
+
*/
|
|
81227
|
+
ElfNormalizationJobFailed.verify = function verify(message) {
|
|
81228
|
+
if (typeof message !== "object" || message === null)
|
|
81229
|
+
return "object expected";
|
|
81230
|
+
if (message.job != null && message.hasOwnProperty("job")) {
|
|
81231
|
+
var error = $root.elf.NormalizationJob.verify(message.job);
|
|
81232
|
+
if (error)
|
|
81233
|
+
return "job." + error;
|
|
81234
|
+
}
|
|
81235
|
+
if (message.error != null && message.hasOwnProperty("error")) {
|
|
81236
|
+
var error = $root.elf.NormalizationJobError.verify(message.error);
|
|
81237
|
+
if (error)
|
|
81238
|
+
return "error." + error;
|
|
81239
|
+
}
|
|
81240
|
+
return null;
|
|
81241
|
+
};
|
|
81242
|
+
|
|
81243
|
+
/**
|
|
81244
|
+
* Creates an ElfNormalizationJobFailed message from a plain object. Also converts values to their respective internal types.
|
|
81245
|
+
* @function fromObject
|
|
81246
|
+
* @memberof ElfNormalizationJobFailed
|
|
81247
|
+
* @static
|
|
81248
|
+
* @param {Object.<string,*>} object Plain object
|
|
81249
|
+
* @returns {ElfNormalizationJobFailed} ElfNormalizationJobFailed
|
|
81250
|
+
*/
|
|
81251
|
+
ElfNormalizationJobFailed.fromObject = function fromObject(object) {
|
|
81252
|
+
if (object instanceof $root.ElfNormalizationJobFailed)
|
|
81253
|
+
return object;
|
|
81254
|
+
var message = new $root.ElfNormalizationJobFailed();
|
|
81255
|
+
if (object.job != null) {
|
|
81256
|
+
if (typeof object.job !== "object")
|
|
81257
|
+
throw TypeError(".ElfNormalizationJobFailed.job: object expected");
|
|
81258
|
+
message.job = $root.elf.NormalizationJob.fromObject(object.job);
|
|
81259
|
+
}
|
|
81260
|
+
if (object.error != null) {
|
|
81261
|
+
if (typeof object.error !== "object")
|
|
81262
|
+
throw TypeError(".ElfNormalizationJobFailed.error: object expected");
|
|
81263
|
+
message.error = $root.elf.NormalizationJobError.fromObject(object.error);
|
|
81264
|
+
}
|
|
81265
|
+
return message;
|
|
81266
|
+
};
|
|
81267
|
+
|
|
81268
|
+
/**
|
|
81269
|
+
* Creates a plain object from an ElfNormalizationJobFailed message. Also converts values to other types if specified.
|
|
81270
|
+
* @function toObject
|
|
81271
|
+
* @memberof ElfNormalizationJobFailed
|
|
81272
|
+
* @static
|
|
81273
|
+
* @param {ElfNormalizationJobFailed} message ElfNormalizationJobFailed
|
|
81274
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
81275
|
+
* @returns {Object.<string,*>} Plain object
|
|
81276
|
+
*/
|
|
81277
|
+
ElfNormalizationJobFailed.toObject = function toObject(message, options) {
|
|
81278
|
+
if (!options)
|
|
81279
|
+
options = {};
|
|
81280
|
+
var object = {};
|
|
81281
|
+
if (options.defaults) {
|
|
81282
|
+
object.job = null;
|
|
81283
|
+
object.error = null;
|
|
81284
|
+
}
|
|
81285
|
+
if (message.job != null && message.hasOwnProperty("job"))
|
|
81286
|
+
object.job = $root.elf.NormalizationJob.toObject(message.job, options);
|
|
81287
|
+
if (message.error != null && message.hasOwnProperty("error"))
|
|
81288
|
+
object.error = $root.elf.NormalizationJobError.toObject(message.error, options);
|
|
81289
|
+
return object;
|
|
81290
|
+
};
|
|
81291
|
+
|
|
81292
|
+
/**
|
|
81293
|
+
* Converts this ElfNormalizationJobFailed to JSON.
|
|
81294
|
+
* @function toJSON
|
|
81295
|
+
* @memberof ElfNormalizationJobFailed
|
|
81296
|
+
* @instance
|
|
81297
|
+
* @returns {Object.<string,*>} JSON object
|
|
81298
|
+
*/
|
|
81299
|
+
ElfNormalizationJobFailed.prototype.toJSON = function toJSON() {
|
|
81300
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
81301
|
+
};
|
|
81302
|
+
|
|
81303
|
+
return ElfNormalizationJobFailed;
|
|
81304
|
+
})();
|
|
81305
|
+
|
|
80087
81306
|
$root.EnterpriseUserEnrollmentCreated = (function() {
|
|
80088
81307
|
|
|
80089
81308
|
/**
|