@flyteorg/flyteidl 0.24.21 → 1.1.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/gen/pb-js/flyteidl.d.ts +486 -0
- package/gen/pb-js/flyteidl.js +1047 -0
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +228 -0
- package/protos/flyteidl/admin/execution.proto +7 -0
- package/protos/flyteidl/admin/launch_plan.proto +7 -0
- package/protos/flyteidl/admin/matchable_resource.proto +7 -0
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -23922,6 +23922,7 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
23922
23922
|
* @property {number|null} [maxParallelism] ExecutionSpec maxParallelism
|
|
23923
23923
|
* @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] ExecutionSpec rawOutputDataConfig
|
|
23924
23924
|
* @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] ExecutionSpec clusterAssignment
|
|
23925
|
+
* @property {google.protobuf.IBoolValue|null} [interruptible] ExecutionSpec interruptible
|
|
23925
23926
|
*/
|
|
23926
23927
|
|
|
23927
23928
|
/**
|
|
@@ -24043,6 +24044,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
24043
24044
|
*/
|
|
24044
24045
|
ExecutionSpec.prototype.clusterAssignment = null;
|
|
24045
24046
|
|
|
24047
|
+
/**
|
|
24048
|
+
* ExecutionSpec interruptible.
|
|
24049
|
+
* @member {google.protobuf.IBoolValue|null|undefined} interruptible
|
|
24050
|
+
* @memberof flyteidl.admin.ExecutionSpec
|
|
24051
|
+
* @instance
|
|
24052
|
+
*/
|
|
24053
|
+
ExecutionSpec.prototype.interruptible = null;
|
|
24054
|
+
|
|
24046
24055
|
// OneOf field names bound to virtual getters and setters
|
|
24047
24056
|
let $oneOfFields;
|
|
24048
24057
|
|
|
@@ -24107,6 +24116,8 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
24107
24116
|
$root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
24108
24117
|
if (message.clusterAssignment != null && message.hasOwnProperty("clusterAssignment"))
|
|
24109
24118
|
$root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignment, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
24119
|
+
if (message.interruptible != null && message.hasOwnProperty("interruptible"))
|
|
24120
|
+
$root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
24110
24121
|
return writer;
|
|
24111
24122
|
};
|
|
24112
24123
|
|
|
@@ -24167,6 +24178,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
24167
24178
|
case 20:
|
|
24168
24179
|
message.clusterAssignment = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32());
|
|
24169
24180
|
break;
|
|
24181
|
+
case 21:
|
|
24182
|
+
message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
24183
|
+
break;
|
|
24170
24184
|
default:
|
|
24171
24185
|
reader.skipType(tag & 7);
|
|
24172
24186
|
break;
|
|
@@ -24255,6 +24269,11 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
24255
24269
|
if (error)
|
|
24256
24270
|
return "clusterAssignment." + error;
|
|
24257
24271
|
}
|
|
24272
|
+
if (message.interruptible != null && message.hasOwnProperty("interruptible")) {
|
|
24273
|
+
let error = $root.google.protobuf.BoolValue.verify(message.interruptible);
|
|
24274
|
+
if (error)
|
|
24275
|
+
return "interruptible." + error;
|
|
24276
|
+
}
|
|
24258
24277
|
return null;
|
|
24259
24278
|
};
|
|
24260
24279
|
|
|
@@ -25827,6 +25846,7 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
25827
25846
|
* @property {flyteidl.core.IQualityOfService|null} [qualityOfService] LaunchPlanSpec qualityOfService
|
|
25828
25847
|
* @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] LaunchPlanSpec rawOutputDataConfig
|
|
25829
25848
|
* @property {number|null} [maxParallelism] LaunchPlanSpec maxParallelism
|
|
25849
|
+
* @property {google.protobuf.IBoolValue|null} [interruptible] LaunchPlanSpec interruptible
|
|
25830
25850
|
*/
|
|
25831
25851
|
|
|
25832
25852
|
/**
|
|
@@ -25948,6 +25968,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
25948
25968
|
*/
|
|
25949
25969
|
LaunchPlanSpec.prototype.maxParallelism = 0;
|
|
25950
25970
|
|
|
25971
|
+
/**
|
|
25972
|
+
* LaunchPlanSpec interruptible.
|
|
25973
|
+
* @member {google.protobuf.IBoolValue|null|undefined} interruptible
|
|
25974
|
+
* @memberof flyteidl.admin.LaunchPlanSpec
|
|
25975
|
+
* @instance
|
|
25976
|
+
*/
|
|
25977
|
+
LaunchPlanSpec.prototype.interruptible = null;
|
|
25978
|
+
|
|
25951
25979
|
/**
|
|
25952
25980
|
* Creates a new LaunchPlanSpec instance using the specified properties.
|
|
25953
25981
|
* @function create
|
|
@@ -25998,6 +26026,8 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
25998
26026
|
$root.flyteidl.admin.RawOutputDataConfig.encode(message.rawOutputDataConfig, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
|
|
25999
26027
|
if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism"))
|
|
26000
26028
|
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.maxParallelism);
|
|
26029
|
+
if (message.interruptible != null && message.hasOwnProperty("interruptible"))
|
|
26030
|
+
$root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
|
|
26001
26031
|
return writer;
|
|
26002
26032
|
};
|
|
26003
26033
|
|
|
@@ -26058,6 +26088,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
26058
26088
|
case 18:
|
|
26059
26089
|
message.maxParallelism = reader.int32();
|
|
26060
26090
|
break;
|
|
26091
|
+
case 19:
|
|
26092
|
+
message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
26093
|
+
break;
|
|
26061
26094
|
default:
|
|
26062
26095
|
reader.skipType(tag & 7);
|
|
26063
26096
|
break;
|
|
@@ -26138,6 +26171,11 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
26138
26171
|
if (message.maxParallelism != null && message.hasOwnProperty("maxParallelism"))
|
|
26139
26172
|
if (!$util.isInteger(message.maxParallelism))
|
|
26140
26173
|
return "maxParallelism: integer expected";
|
|
26174
|
+
if (message.interruptible != null && message.hasOwnProperty("interruptible")) {
|
|
26175
|
+
let error = $root.google.protobuf.BoolValue.verify(message.interruptible);
|
|
26176
|
+
if (error)
|
|
26177
|
+
return "interruptible." + error;
|
|
26178
|
+
}
|
|
26141
26179
|
return null;
|
|
26142
26180
|
};
|
|
26143
26181
|
|
|
@@ -28448,6 +28486,7 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28448
28486
|
* @property {flyteidl.admin.IRawOutputDataConfig|null} [rawOutputDataConfig] WorkflowExecutionConfig rawOutputDataConfig
|
|
28449
28487
|
* @property {flyteidl.admin.ILabels|null} [labels] WorkflowExecutionConfig labels
|
|
28450
28488
|
* @property {flyteidl.admin.IAnnotations|null} [annotations] WorkflowExecutionConfig annotations
|
|
28489
|
+
* @property {google.protobuf.IBoolValue|null} [interruptible] WorkflowExecutionConfig interruptible
|
|
28451
28490
|
*/
|
|
28452
28491
|
|
|
28453
28492
|
/**
|
|
@@ -28505,6 +28544,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28505
28544
|
*/
|
|
28506
28545
|
WorkflowExecutionConfig.prototype.annotations = null;
|
|
28507
28546
|
|
|
28547
|
+
/**
|
|
28548
|
+
* WorkflowExecutionConfig interruptible.
|
|
28549
|
+
* @member {google.protobuf.IBoolValue|null|undefined} interruptible
|
|
28550
|
+
* @memberof flyteidl.admin.WorkflowExecutionConfig
|
|
28551
|
+
* @instance
|
|
28552
|
+
*/
|
|
28553
|
+
WorkflowExecutionConfig.prototype.interruptible = null;
|
|
28554
|
+
|
|
28508
28555
|
/**
|
|
28509
28556
|
* Creates a new WorkflowExecutionConfig instance using the specified properties.
|
|
28510
28557
|
* @function create
|
|
@@ -28539,6 +28586,8 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28539
28586
|
$root.flyteidl.admin.Labels.encode(message.labels, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
28540
28587
|
if (message.annotations != null && message.hasOwnProperty("annotations"))
|
|
28541
28588
|
$root.flyteidl.admin.Annotations.encode(message.annotations, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
28589
|
+
if (message.interruptible != null && message.hasOwnProperty("interruptible"))
|
|
28590
|
+
$root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
28542
28591
|
return writer;
|
|
28543
28592
|
};
|
|
28544
28593
|
|
|
@@ -28575,6 +28624,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28575
28624
|
case 5:
|
|
28576
28625
|
message.annotations = $root.flyteidl.admin.Annotations.decode(reader, reader.uint32());
|
|
28577
28626
|
break;
|
|
28627
|
+
case 6:
|
|
28628
|
+
message.interruptible = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
|
|
28629
|
+
break;
|
|
28578
28630
|
default:
|
|
28579
28631
|
reader.skipType(tag & 7);
|
|
28580
28632
|
break;
|
|
@@ -28617,6 +28669,11 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
28617
28669
|
if (error)
|
|
28618
28670
|
return "annotations." + error;
|
|
28619
28671
|
}
|
|
28672
|
+
if (message.interruptible != null && message.hasOwnProperty("interruptible")) {
|
|
28673
|
+
let error = $root.google.protobuf.BoolValue.verify(message.interruptible);
|
|
28674
|
+
if (error)
|
|
28675
|
+
return "interruptible." + error;
|
|
28676
|
+
}
|
|
28620
28677
|
return null;
|
|
28621
28678
|
};
|
|
28622
28679
|
|
|
@@ -41246,6 +41303,996 @@ export const google = $root.google = (() => {
|
|
|
41246
41303
|
return ListValue;
|
|
41247
41304
|
})();
|
|
41248
41305
|
|
|
41306
|
+
protobuf.DoubleValue = (function() {
|
|
41307
|
+
|
|
41308
|
+
/**
|
|
41309
|
+
* Properties of a DoubleValue.
|
|
41310
|
+
* @memberof google.protobuf
|
|
41311
|
+
* @interface IDoubleValue
|
|
41312
|
+
* @property {number|null} [value] DoubleValue value
|
|
41313
|
+
*/
|
|
41314
|
+
|
|
41315
|
+
/**
|
|
41316
|
+
* Constructs a new DoubleValue.
|
|
41317
|
+
* @memberof google.protobuf
|
|
41318
|
+
* @classdesc Represents a DoubleValue.
|
|
41319
|
+
* @implements IDoubleValue
|
|
41320
|
+
* @constructor
|
|
41321
|
+
* @param {google.protobuf.IDoubleValue=} [properties] Properties to set
|
|
41322
|
+
*/
|
|
41323
|
+
function DoubleValue(properties) {
|
|
41324
|
+
if (properties)
|
|
41325
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41326
|
+
if (properties[keys[i]] != null)
|
|
41327
|
+
this[keys[i]] = properties[keys[i]];
|
|
41328
|
+
}
|
|
41329
|
+
|
|
41330
|
+
/**
|
|
41331
|
+
* DoubleValue value.
|
|
41332
|
+
* @member {number} value
|
|
41333
|
+
* @memberof google.protobuf.DoubleValue
|
|
41334
|
+
* @instance
|
|
41335
|
+
*/
|
|
41336
|
+
DoubleValue.prototype.value = 0;
|
|
41337
|
+
|
|
41338
|
+
/**
|
|
41339
|
+
* Creates a new DoubleValue instance using the specified properties.
|
|
41340
|
+
* @function create
|
|
41341
|
+
* @memberof google.protobuf.DoubleValue
|
|
41342
|
+
* @static
|
|
41343
|
+
* @param {google.protobuf.IDoubleValue=} [properties] Properties to set
|
|
41344
|
+
* @returns {google.protobuf.DoubleValue} DoubleValue instance
|
|
41345
|
+
*/
|
|
41346
|
+
DoubleValue.create = function create(properties) {
|
|
41347
|
+
return new DoubleValue(properties);
|
|
41348
|
+
};
|
|
41349
|
+
|
|
41350
|
+
/**
|
|
41351
|
+
* Encodes the specified DoubleValue message. Does not implicitly {@link google.protobuf.DoubleValue.verify|verify} messages.
|
|
41352
|
+
* @function encode
|
|
41353
|
+
* @memberof google.protobuf.DoubleValue
|
|
41354
|
+
* @static
|
|
41355
|
+
* @param {google.protobuf.IDoubleValue} message DoubleValue message or plain object to encode
|
|
41356
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
41357
|
+
* @returns {$protobuf.Writer} Writer
|
|
41358
|
+
*/
|
|
41359
|
+
DoubleValue.encode = function encode(message, writer) {
|
|
41360
|
+
if (!writer)
|
|
41361
|
+
writer = $Writer.create();
|
|
41362
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41363
|
+
writer.uint32(/* id 1, wireType 1 =*/9).double(message.value);
|
|
41364
|
+
return writer;
|
|
41365
|
+
};
|
|
41366
|
+
|
|
41367
|
+
/**
|
|
41368
|
+
* Decodes a DoubleValue message from the specified reader or buffer.
|
|
41369
|
+
* @function decode
|
|
41370
|
+
* @memberof google.protobuf.DoubleValue
|
|
41371
|
+
* @static
|
|
41372
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
41373
|
+
* @param {number} [length] Message length if known beforehand
|
|
41374
|
+
* @returns {google.protobuf.DoubleValue} DoubleValue
|
|
41375
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
41376
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
41377
|
+
*/
|
|
41378
|
+
DoubleValue.decode = function decode(reader, length) {
|
|
41379
|
+
if (!(reader instanceof $Reader))
|
|
41380
|
+
reader = $Reader.create(reader);
|
|
41381
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.DoubleValue();
|
|
41382
|
+
while (reader.pos < end) {
|
|
41383
|
+
let tag = reader.uint32();
|
|
41384
|
+
switch (tag >>> 3) {
|
|
41385
|
+
case 1:
|
|
41386
|
+
message.value = reader.double();
|
|
41387
|
+
break;
|
|
41388
|
+
default:
|
|
41389
|
+
reader.skipType(tag & 7);
|
|
41390
|
+
break;
|
|
41391
|
+
}
|
|
41392
|
+
}
|
|
41393
|
+
return message;
|
|
41394
|
+
};
|
|
41395
|
+
|
|
41396
|
+
/**
|
|
41397
|
+
* Verifies a DoubleValue message.
|
|
41398
|
+
* @function verify
|
|
41399
|
+
* @memberof google.protobuf.DoubleValue
|
|
41400
|
+
* @static
|
|
41401
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
41402
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
41403
|
+
*/
|
|
41404
|
+
DoubleValue.verify = function verify(message) {
|
|
41405
|
+
if (typeof message !== "object" || message === null)
|
|
41406
|
+
return "object expected";
|
|
41407
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41408
|
+
if (typeof message.value !== "number")
|
|
41409
|
+
return "value: number expected";
|
|
41410
|
+
return null;
|
|
41411
|
+
};
|
|
41412
|
+
|
|
41413
|
+
return DoubleValue;
|
|
41414
|
+
})();
|
|
41415
|
+
|
|
41416
|
+
protobuf.FloatValue = (function() {
|
|
41417
|
+
|
|
41418
|
+
/**
|
|
41419
|
+
* Properties of a FloatValue.
|
|
41420
|
+
* @memberof google.protobuf
|
|
41421
|
+
* @interface IFloatValue
|
|
41422
|
+
* @property {number|null} [value] FloatValue value
|
|
41423
|
+
*/
|
|
41424
|
+
|
|
41425
|
+
/**
|
|
41426
|
+
* Constructs a new FloatValue.
|
|
41427
|
+
* @memberof google.protobuf
|
|
41428
|
+
* @classdesc Represents a FloatValue.
|
|
41429
|
+
* @implements IFloatValue
|
|
41430
|
+
* @constructor
|
|
41431
|
+
* @param {google.protobuf.IFloatValue=} [properties] Properties to set
|
|
41432
|
+
*/
|
|
41433
|
+
function FloatValue(properties) {
|
|
41434
|
+
if (properties)
|
|
41435
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41436
|
+
if (properties[keys[i]] != null)
|
|
41437
|
+
this[keys[i]] = properties[keys[i]];
|
|
41438
|
+
}
|
|
41439
|
+
|
|
41440
|
+
/**
|
|
41441
|
+
* FloatValue value.
|
|
41442
|
+
* @member {number} value
|
|
41443
|
+
* @memberof google.protobuf.FloatValue
|
|
41444
|
+
* @instance
|
|
41445
|
+
*/
|
|
41446
|
+
FloatValue.prototype.value = 0;
|
|
41447
|
+
|
|
41448
|
+
/**
|
|
41449
|
+
* Creates a new FloatValue instance using the specified properties.
|
|
41450
|
+
* @function create
|
|
41451
|
+
* @memberof google.protobuf.FloatValue
|
|
41452
|
+
* @static
|
|
41453
|
+
* @param {google.protobuf.IFloatValue=} [properties] Properties to set
|
|
41454
|
+
* @returns {google.protobuf.FloatValue} FloatValue instance
|
|
41455
|
+
*/
|
|
41456
|
+
FloatValue.create = function create(properties) {
|
|
41457
|
+
return new FloatValue(properties);
|
|
41458
|
+
};
|
|
41459
|
+
|
|
41460
|
+
/**
|
|
41461
|
+
* Encodes the specified FloatValue message. Does not implicitly {@link google.protobuf.FloatValue.verify|verify} messages.
|
|
41462
|
+
* @function encode
|
|
41463
|
+
* @memberof google.protobuf.FloatValue
|
|
41464
|
+
* @static
|
|
41465
|
+
* @param {google.protobuf.IFloatValue} message FloatValue message or plain object to encode
|
|
41466
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
41467
|
+
* @returns {$protobuf.Writer} Writer
|
|
41468
|
+
*/
|
|
41469
|
+
FloatValue.encode = function encode(message, writer) {
|
|
41470
|
+
if (!writer)
|
|
41471
|
+
writer = $Writer.create();
|
|
41472
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41473
|
+
writer.uint32(/* id 1, wireType 5 =*/13).float(message.value);
|
|
41474
|
+
return writer;
|
|
41475
|
+
};
|
|
41476
|
+
|
|
41477
|
+
/**
|
|
41478
|
+
* Decodes a FloatValue message from the specified reader or buffer.
|
|
41479
|
+
* @function decode
|
|
41480
|
+
* @memberof google.protobuf.FloatValue
|
|
41481
|
+
* @static
|
|
41482
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
41483
|
+
* @param {number} [length] Message length if known beforehand
|
|
41484
|
+
* @returns {google.protobuf.FloatValue} FloatValue
|
|
41485
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
41486
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
41487
|
+
*/
|
|
41488
|
+
FloatValue.decode = function decode(reader, length) {
|
|
41489
|
+
if (!(reader instanceof $Reader))
|
|
41490
|
+
reader = $Reader.create(reader);
|
|
41491
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FloatValue();
|
|
41492
|
+
while (reader.pos < end) {
|
|
41493
|
+
let tag = reader.uint32();
|
|
41494
|
+
switch (tag >>> 3) {
|
|
41495
|
+
case 1:
|
|
41496
|
+
message.value = reader.float();
|
|
41497
|
+
break;
|
|
41498
|
+
default:
|
|
41499
|
+
reader.skipType(tag & 7);
|
|
41500
|
+
break;
|
|
41501
|
+
}
|
|
41502
|
+
}
|
|
41503
|
+
return message;
|
|
41504
|
+
};
|
|
41505
|
+
|
|
41506
|
+
/**
|
|
41507
|
+
* Verifies a FloatValue message.
|
|
41508
|
+
* @function verify
|
|
41509
|
+
* @memberof google.protobuf.FloatValue
|
|
41510
|
+
* @static
|
|
41511
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
41512
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
41513
|
+
*/
|
|
41514
|
+
FloatValue.verify = function verify(message) {
|
|
41515
|
+
if (typeof message !== "object" || message === null)
|
|
41516
|
+
return "object expected";
|
|
41517
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41518
|
+
if (typeof message.value !== "number")
|
|
41519
|
+
return "value: number expected";
|
|
41520
|
+
return null;
|
|
41521
|
+
};
|
|
41522
|
+
|
|
41523
|
+
return FloatValue;
|
|
41524
|
+
})();
|
|
41525
|
+
|
|
41526
|
+
protobuf.Int64Value = (function() {
|
|
41527
|
+
|
|
41528
|
+
/**
|
|
41529
|
+
* Properties of an Int64Value.
|
|
41530
|
+
* @memberof google.protobuf
|
|
41531
|
+
* @interface IInt64Value
|
|
41532
|
+
* @property {Long|null} [value] Int64Value value
|
|
41533
|
+
*/
|
|
41534
|
+
|
|
41535
|
+
/**
|
|
41536
|
+
* Constructs a new Int64Value.
|
|
41537
|
+
* @memberof google.protobuf
|
|
41538
|
+
* @classdesc Represents an Int64Value.
|
|
41539
|
+
* @implements IInt64Value
|
|
41540
|
+
* @constructor
|
|
41541
|
+
* @param {google.protobuf.IInt64Value=} [properties] Properties to set
|
|
41542
|
+
*/
|
|
41543
|
+
function Int64Value(properties) {
|
|
41544
|
+
if (properties)
|
|
41545
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41546
|
+
if (properties[keys[i]] != null)
|
|
41547
|
+
this[keys[i]] = properties[keys[i]];
|
|
41548
|
+
}
|
|
41549
|
+
|
|
41550
|
+
/**
|
|
41551
|
+
* Int64Value value.
|
|
41552
|
+
* @member {Long} value
|
|
41553
|
+
* @memberof google.protobuf.Int64Value
|
|
41554
|
+
* @instance
|
|
41555
|
+
*/
|
|
41556
|
+
Int64Value.prototype.value = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
41557
|
+
|
|
41558
|
+
/**
|
|
41559
|
+
* Creates a new Int64Value instance using the specified properties.
|
|
41560
|
+
* @function create
|
|
41561
|
+
* @memberof google.protobuf.Int64Value
|
|
41562
|
+
* @static
|
|
41563
|
+
* @param {google.protobuf.IInt64Value=} [properties] Properties to set
|
|
41564
|
+
* @returns {google.protobuf.Int64Value} Int64Value instance
|
|
41565
|
+
*/
|
|
41566
|
+
Int64Value.create = function create(properties) {
|
|
41567
|
+
return new Int64Value(properties);
|
|
41568
|
+
};
|
|
41569
|
+
|
|
41570
|
+
/**
|
|
41571
|
+
* Encodes the specified Int64Value message. Does not implicitly {@link google.protobuf.Int64Value.verify|verify} messages.
|
|
41572
|
+
* @function encode
|
|
41573
|
+
* @memberof google.protobuf.Int64Value
|
|
41574
|
+
* @static
|
|
41575
|
+
* @param {google.protobuf.IInt64Value} message Int64Value message or plain object to encode
|
|
41576
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
41577
|
+
* @returns {$protobuf.Writer} Writer
|
|
41578
|
+
*/
|
|
41579
|
+
Int64Value.encode = function encode(message, writer) {
|
|
41580
|
+
if (!writer)
|
|
41581
|
+
writer = $Writer.create();
|
|
41582
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41583
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int64(message.value);
|
|
41584
|
+
return writer;
|
|
41585
|
+
};
|
|
41586
|
+
|
|
41587
|
+
/**
|
|
41588
|
+
* Decodes an Int64Value message from the specified reader or buffer.
|
|
41589
|
+
* @function decode
|
|
41590
|
+
* @memberof google.protobuf.Int64Value
|
|
41591
|
+
* @static
|
|
41592
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
41593
|
+
* @param {number} [length] Message length if known beforehand
|
|
41594
|
+
* @returns {google.protobuf.Int64Value} Int64Value
|
|
41595
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
41596
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
41597
|
+
*/
|
|
41598
|
+
Int64Value.decode = function decode(reader, length) {
|
|
41599
|
+
if (!(reader instanceof $Reader))
|
|
41600
|
+
reader = $Reader.create(reader);
|
|
41601
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.Int64Value();
|
|
41602
|
+
while (reader.pos < end) {
|
|
41603
|
+
let tag = reader.uint32();
|
|
41604
|
+
switch (tag >>> 3) {
|
|
41605
|
+
case 1:
|
|
41606
|
+
message.value = reader.int64();
|
|
41607
|
+
break;
|
|
41608
|
+
default:
|
|
41609
|
+
reader.skipType(tag & 7);
|
|
41610
|
+
break;
|
|
41611
|
+
}
|
|
41612
|
+
}
|
|
41613
|
+
return message;
|
|
41614
|
+
};
|
|
41615
|
+
|
|
41616
|
+
/**
|
|
41617
|
+
* Verifies an Int64Value message.
|
|
41618
|
+
* @function verify
|
|
41619
|
+
* @memberof google.protobuf.Int64Value
|
|
41620
|
+
* @static
|
|
41621
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
41622
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
41623
|
+
*/
|
|
41624
|
+
Int64Value.verify = function verify(message) {
|
|
41625
|
+
if (typeof message !== "object" || message === null)
|
|
41626
|
+
return "object expected";
|
|
41627
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41628
|
+
if (!$util.isInteger(message.value) && !(message.value && $util.isInteger(message.value.low) && $util.isInteger(message.value.high)))
|
|
41629
|
+
return "value: integer|Long expected";
|
|
41630
|
+
return null;
|
|
41631
|
+
};
|
|
41632
|
+
|
|
41633
|
+
return Int64Value;
|
|
41634
|
+
})();
|
|
41635
|
+
|
|
41636
|
+
protobuf.UInt64Value = (function() {
|
|
41637
|
+
|
|
41638
|
+
/**
|
|
41639
|
+
* Properties of a UInt64Value.
|
|
41640
|
+
* @memberof google.protobuf
|
|
41641
|
+
* @interface IUInt64Value
|
|
41642
|
+
* @property {Long|null} [value] UInt64Value value
|
|
41643
|
+
*/
|
|
41644
|
+
|
|
41645
|
+
/**
|
|
41646
|
+
* Constructs a new UInt64Value.
|
|
41647
|
+
* @memberof google.protobuf
|
|
41648
|
+
* @classdesc Represents a UInt64Value.
|
|
41649
|
+
* @implements IUInt64Value
|
|
41650
|
+
* @constructor
|
|
41651
|
+
* @param {google.protobuf.IUInt64Value=} [properties] Properties to set
|
|
41652
|
+
*/
|
|
41653
|
+
function UInt64Value(properties) {
|
|
41654
|
+
if (properties)
|
|
41655
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41656
|
+
if (properties[keys[i]] != null)
|
|
41657
|
+
this[keys[i]] = properties[keys[i]];
|
|
41658
|
+
}
|
|
41659
|
+
|
|
41660
|
+
/**
|
|
41661
|
+
* UInt64Value value.
|
|
41662
|
+
* @member {Long} value
|
|
41663
|
+
* @memberof google.protobuf.UInt64Value
|
|
41664
|
+
* @instance
|
|
41665
|
+
*/
|
|
41666
|
+
UInt64Value.prototype.value = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
41667
|
+
|
|
41668
|
+
/**
|
|
41669
|
+
* Creates a new UInt64Value instance using the specified properties.
|
|
41670
|
+
* @function create
|
|
41671
|
+
* @memberof google.protobuf.UInt64Value
|
|
41672
|
+
* @static
|
|
41673
|
+
* @param {google.protobuf.IUInt64Value=} [properties] Properties to set
|
|
41674
|
+
* @returns {google.protobuf.UInt64Value} UInt64Value instance
|
|
41675
|
+
*/
|
|
41676
|
+
UInt64Value.create = function create(properties) {
|
|
41677
|
+
return new UInt64Value(properties);
|
|
41678
|
+
};
|
|
41679
|
+
|
|
41680
|
+
/**
|
|
41681
|
+
* Encodes the specified UInt64Value message. Does not implicitly {@link google.protobuf.UInt64Value.verify|verify} messages.
|
|
41682
|
+
* @function encode
|
|
41683
|
+
* @memberof google.protobuf.UInt64Value
|
|
41684
|
+
* @static
|
|
41685
|
+
* @param {google.protobuf.IUInt64Value} message UInt64Value message or plain object to encode
|
|
41686
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
41687
|
+
* @returns {$protobuf.Writer} Writer
|
|
41688
|
+
*/
|
|
41689
|
+
UInt64Value.encode = function encode(message, writer) {
|
|
41690
|
+
if (!writer)
|
|
41691
|
+
writer = $Writer.create();
|
|
41692
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41693
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.value);
|
|
41694
|
+
return writer;
|
|
41695
|
+
};
|
|
41696
|
+
|
|
41697
|
+
/**
|
|
41698
|
+
* Decodes a UInt64Value message from the specified reader or buffer.
|
|
41699
|
+
* @function decode
|
|
41700
|
+
* @memberof google.protobuf.UInt64Value
|
|
41701
|
+
* @static
|
|
41702
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
41703
|
+
* @param {number} [length] Message length if known beforehand
|
|
41704
|
+
* @returns {google.protobuf.UInt64Value} UInt64Value
|
|
41705
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
41706
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
41707
|
+
*/
|
|
41708
|
+
UInt64Value.decode = function decode(reader, length) {
|
|
41709
|
+
if (!(reader instanceof $Reader))
|
|
41710
|
+
reader = $Reader.create(reader);
|
|
41711
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.UInt64Value();
|
|
41712
|
+
while (reader.pos < end) {
|
|
41713
|
+
let tag = reader.uint32();
|
|
41714
|
+
switch (tag >>> 3) {
|
|
41715
|
+
case 1:
|
|
41716
|
+
message.value = reader.uint64();
|
|
41717
|
+
break;
|
|
41718
|
+
default:
|
|
41719
|
+
reader.skipType(tag & 7);
|
|
41720
|
+
break;
|
|
41721
|
+
}
|
|
41722
|
+
}
|
|
41723
|
+
return message;
|
|
41724
|
+
};
|
|
41725
|
+
|
|
41726
|
+
/**
|
|
41727
|
+
* Verifies a UInt64Value message.
|
|
41728
|
+
* @function verify
|
|
41729
|
+
* @memberof google.protobuf.UInt64Value
|
|
41730
|
+
* @static
|
|
41731
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
41732
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
41733
|
+
*/
|
|
41734
|
+
UInt64Value.verify = function verify(message) {
|
|
41735
|
+
if (typeof message !== "object" || message === null)
|
|
41736
|
+
return "object expected";
|
|
41737
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41738
|
+
if (!$util.isInteger(message.value) && !(message.value && $util.isInteger(message.value.low) && $util.isInteger(message.value.high)))
|
|
41739
|
+
return "value: integer|Long expected";
|
|
41740
|
+
return null;
|
|
41741
|
+
};
|
|
41742
|
+
|
|
41743
|
+
return UInt64Value;
|
|
41744
|
+
})();
|
|
41745
|
+
|
|
41746
|
+
protobuf.Int32Value = (function() {
|
|
41747
|
+
|
|
41748
|
+
/**
|
|
41749
|
+
* Properties of an Int32Value.
|
|
41750
|
+
* @memberof google.protobuf
|
|
41751
|
+
* @interface IInt32Value
|
|
41752
|
+
* @property {number|null} [value] Int32Value value
|
|
41753
|
+
*/
|
|
41754
|
+
|
|
41755
|
+
/**
|
|
41756
|
+
* Constructs a new Int32Value.
|
|
41757
|
+
* @memberof google.protobuf
|
|
41758
|
+
* @classdesc Represents an Int32Value.
|
|
41759
|
+
* @implements IInt32Value
|
|
41760
|
+
* @constructor
|
|
41761
|
+
* @param {google.protobuf.IInt32Value=} [properties] Properties to set
|
|
41762
|
+
*/
|
|
41763
|
+
function Int32Value(properties) {
|
|
41764
|
+
if (properties)
|
|
41765
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41766
|
+
if (properties[keys[i]] != null)
|
|
41767
|
+
this[keys[i]] = properties[keys[i]];
|
|
41768
|
+
}
|
|
41769
|
+
|
|
41770
|
+
/**
|
|
41771
|
+
* Int32Value value.
|
|
41772
|
+
* @member {number} value
|
|
41773
|
+
* @memberof google.protobuf.Int32Value
|
|
41774
|
+
* @instance
|
|
41775
|
+
*/
|
|
41776
|
+
Int32Value.prototype.value = 0;
|
|
41777
|
+
|
|
41778
|
+
/**
|
|
41779
|
+
* Creates a new Int32Value instance using the specified properties.
|
|
41780
|
+
* @function create
|
|
41781
|
+
* @memberof google.protobuf.Int32Value
|
|
41782
|
+
* @static
|
|
41783
|
+
* @param {google.protobuf.IInt32Value=} [properties] Properties to set
|
|
41784
|
+
* @returns {google.protobuf.Int32Value} Int32Value instance
|
|
41785
|
+
*/
|
|
41786
|
+
Int32Value.create = function create(properties) {
|
|
41787
|
+
return new Int32Value(properties);
|
|
41788
|
+
};
|
|
41789
|
+
|
|
41790
|
+
/**
|
|
41791
|
+
* Encodes the specified Int32Value message. Does not implicitly {@link google.protobuf.Int32Value.verify|verify} messages.
|
|
41792
|
+
* @function encode
|
|
41793
|
+
* @memberof google.protobuf.Int32Value
|
|
41794
|
+
* @static
|
|
41795
|
+
* @param {google.protobuf.IInt32Value} message Int32Value message or plain object to encode
|
|
41796
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
41797
|
+
* @returns {$protobuf.Writer} Writer
|
|
41798
|
+
*/
|
|
41799
|
+
Int32Value.encode = function encode(message, writer) {
|
|
41800
|
+
if (!writer)
|
|
41801
|
+
writer = $Writer.create();
|
|
41802
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41803
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value);
|
|
41804
|
+
return writer;
|
|
41805
|
+
};
|
|
41806
|
+
|
|
41807
|
+
/**
|
|
41808
|
+
* Decodes an Int32Value message from the specified reader or buffer.
|
|
41809
|
+
* @function decode
|
|
41810
|
+
* @memberof google.protobuf.Int32Value
|
|
41811
|
+
* @static
|
|
41812
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
41813
|
+
* @param {number} [length] Message length if known beforehand
|
|
41814
|
+
* @returns {google.protobuf.Int32Value} Int32Value
|
|
41815
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
41816
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
41817
|
+
*/
|
|
41818
|
+
Int32Value.decode = function decode(reader, length) {
|
|
41819
|
+
if (!(reader instanceof $Reader))
|
|
41820
|
+
reader = $Reader.create(reader);
|
|
41821
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.Int32Value();
|
|
41822
|
+
while (reader.pos < end) {
|
|
41823
|
+
let tag = reader.uint32();
|
|
41824
|
+
switch (tag >>> 3) {
|
|
41825
|
+
case 1:
|
|
41826
|
+
message.value = reader.int32();
|
|
41827
|
+
break;
|
|
41828
|
+
default:
|
|
41829
|
+
reader.skipType(tag & 7);
|
|
41830
|
+
break;
|
|
41831
|
+
}
|
|
41832
|
+
}
|
|
41833
|
+
return message;
|
|
41834
|
+
};
|
|
41835
|
+
|
|
41836
|
+
/**
|
|
41837
|
+
* Verifies an Int32Value message.
|
|
41838
|
+
* @function verify
|
|
41839
|
+
* @memberof google.protobuf.Int32Value
|
|
41840
|
+
* @static
|
|
41841
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
41842
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
41843
|
+
*/
|
|
41844
|
+
Int32Value.verify = function verify(message) {
|
|
41845
|
+
if (typeof message !== "object" || message === null)
|
|
41846
|
+
return "object expected";
|
|
41847
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41848
|
+
if (!$util.isInteger(message.value))
|
|
41849
|
+
return "value: integer expected";
|
|
41850
|
+
return null;
|
|
41851
|
+
};
|
|
41852
|
+
|
|
41853
|
+
return Int32Value;
|
|
41854
|
+
})();
|
|
41855
|
+
|
|
41856
|
+
protobuf.UInt32Value = (function() {
|
|
41857
|
+
|
|
41858
|
+
/**
|
|
41859
|
+
* Properties of a UInt32Value.
|
|
41860
|
+
* @memberof google.protobuf
|
|
41861
|
+
* @interface IUInt32Value
|
|
41862
|
+
* @property {number|null} [value] UInt32Value value
|
|
41863
|
+
*/
|
|
41864
|
+
|
|
41865
|
+
/**
|
|
41866
|
+
* Constructs a new UInt32Value.
|
|
41867
|
+
* @memberof google.protobuf
|
|
41868
|
+
* @classdesc Represents a UInt32Value.
|
|
41869
|
+
* @implements IUInt32Value
|
|
41870
|
+
* @constructor
|
|
41871
|
+
* @param {google.protobuf.IUInt32Value=} [properties] Properties to set
|
|
41872
|
+
*/
|
|
41873
|
+
function UInt32Value(properties) {
|
|
41874
|
+
if (properties)
|
|
41875
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41876
|
+
if (properties[keys[i]] != null)
|
|
41877
|
+
this[keys[i]] = properties[keys[i]];
|
|
41878
|
+
}
|
|
41879
|
+
|
|
41880
|
+
/**
|
|
41881
|
+
* UInt32Value value.
|
|
41882
|
+
* @member {number} value
|
|
41883
|
+
* @memberof google.protobuf.UInt32Value
|
|
41884
|
+
* @instance
|
|
41885
|
+
*/
|
|
41886
|
+
UInt32Value.prototype.value = 0;
|
|
41887
|
+
|
|
41888
|
+
/**
|
|
41889
|
+
* Creates a new UInt32Value instance using the specified properties.
|
|
41890
|
+
* @function create
|
|
41891
|
+
* @memberof google.protobuf.UInt32Value
|
|
41892
|
+
* @static
|
|
41893
|
+
* @param {google.protobuf.IUInt32Value=} [properties] Properties to set
|
|
41894
|
+
* @returns {google.protobuf.UInt32Value} UInt32Value instance
|
|
41895
|
+
*/
|
|
41896
|
+
UInt32Value.create = function create(properties) {
|
|
41897
|
+
return new UInt32Value(properties);
|
|
41898
|
+
};
|
|
41899
|
+
|
|
41900
|
+
/**
|
|
41901
|
+
* Encodes the specified UInt32Value message. Does not implicitly {@link google.protobuf.UInt32Value.verify|verify} messages.
|
|
41902
|
+
* @function encode
|
|
41903
|
+
* @memberof google.protobuf.UInt32Value
|
|
41904
|
+
* @static
|
|
41905
|
+
* @param {google.protobuf.IUInt32Value} message UInt32Value message or plain object to encode
|
|
41906
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
41907
|
+
* @returns {$protobuf.Writer} Writer
|
|
41908
|
+
*/
|
|
41909
|
+
UInt32Value.encode = function encode(message, writer) {
|
|
41910
|
+
if (!writer)
|
|
41911
|
+
writer = $Writer.create();
|
|
41912
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41913
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.value);
|
|
41914
|
+
return writer;
|
|
41915
|
+
};
|
|
41916
|
+
|
|
41917
|
+
/**
|
|
41918
|
+
* Decodes a UInt32Value message from the specified reader or buffer.
|
|
41919
|
+
* @function decode
|
|
41920
|
+
* @memberof google.protobuf.UInt32Value
|
|
41921
|
+
* @static
|
|
41922
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
41923
|
+
* @param {number} [length] Message length if known beforehand
|
|
41924
|
+
* @returns {google.protobuf.UInt32Value} UInt32Value
|
|
41925
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
41926
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
41927
|
+
*/
|
|
41928
|
+
UInt32Value.decode = function decode(reader, length) {
|
|
41929
|
+
if (!(reader instanceof $Reader))
|
|
41930
|
+
reader = $Reader.create(reader);
|
|
41931
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.UInt32Value();
|
|
41932
|
+
while (reader.pos < end) {
|
|
41933
|
+
let tag = reader.uint32();
|
|
41934
|
+
switch (tag >>> 3) {
|
|
41935
|
+
case 1:
|
|
41936
|
+
message.value = reader.uint32();
|
|
41937
|
+
break;
|
|
41938
|
+
default:
|
|
41939
|
+
reader.skipType(tag & 7);
|
|
41940
|
+
break;
|
|
41941
|
+
}
|
|
41942
|
+
}
|
|
41943
|
+
return message;
|
|
41944
|
+
};
|
|
41945
|
+
|
|
41946
|
+
/**
|
|
41947
|
+
* Verifies a UInt32Value message.
|
|
41948
|
+
* @function verify
|
|
41949
|
+
* @memberof google.protobuf.UInt32Value
|
|
41950
|
+
* @static
|
|
41951
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
41952
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
41953
|
+
*/
|
|
41954
|
+
UInt32Value.verify = function verify(message) {
|
|
41955
|
+
if (typeof message !== "object" || message === null)
|
|
41956
|
+
return "object expected";
|
|
41957
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
41958
|
+
if (!$util.isInteger(message.value))
|
|
41959
|
+
return "value: integer expected";
|
|
41960
|
+
return null;
|
|
41961
|
+
};
|
|
41962
|
+
|
|
41963
|
+
return UInt32Value;
|
|
41964
|
+
})();
|
|
41965
|
+
|
|
41966
|
+
protobuf.BoolValue = (function() {
|
|
41967
|
+
|
|
41968
|
+
/**
|
|
41969
|
+
* Properties of a BoolValue.
|
|
41970
|
+
* @memberof google.protobuf
|
|
41971
|
+
* @interface IBoolValue
|
|
41972
|
+
* @property {boolean|null} [value] BoolValue value
|
|
41973
|
+
*/
|
|
41974
|
+
|
|
41975
|
+
/**
|
|
41976
|
+
* Constructs a new BoolValue.
|
|
41977
|
+
* @memberof google.protobuf
|
|
41978
|
+
* @classdesc Represents a BoolValue.
|
|
41979
|
+
* @implements IBoolValue
|
|
41980
|
+
* @constructor
|
|
41981
|
+
* @param {google.protobuf.IBoolValue=} [properties] Properties to set
|
|
41982
|
+
*/
|
|
41983
|
+
function BoolValue(properties) {
|
|
41984
|
+
if (properties)
|
|
41985
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41986
|
+
if (properties[keys[i]] != null)
|
|
41987
|
+
this[keys[i]] = properties[keys[i]];
|
|
41988
|
+
}
|
|
41989
|
+
|
|
41990
|
+
/**
|
|
41991
|
+
* BoolValue value.
|
|
41992
|
+
* @member {boolean} value
|
|
41993
|
+
* @memberof google.protobuf.BoolValue
|
|
41994
|
+
* @instance
|
|
41995
|
+
*/
|
|
41996
|
+
BoolValue.prototype.value = false;
|
|
41997
|
+
|
|
41998
|
+
/**
|
|
41999
|
+
* Creates a new BoolValue instance using the specified properties.
|
|
42000
|
+
* @function create
|
|
42001
|
+
* @memberof google.protobuf.BoolValue
|
|
42002
|
+
* @static
|
|
42003
|
+
* @param {google.protobuf.IBoolValue=} [properties] Properties to set
|
|
42004
|
+
* @returns {google.protobuf.BoolValue} BoolValue instance
|
|
42005
|
+
*/
|
|
42006
|
+
BoolValue.create = function create(properties) {
|
|
42007
|
+
return new BoolValue(properties);
|
|
42008
|
+
};
|
|
42009
|
+
|
|
42010
|
+
/**
|
|
42011
|
+
* Encodes the specified BoolValue message. Does not implicitly {@link google.protobuf.BoolValue.verify|verify} messages.
|
|
42012
|
+
* @function encode
|
|
42013
|
+
* @memberof google.protobuf.BoolValue
|
|
42014
|
+
* @static
|
|
42015
|
+
* @param {google.protobuf.IBoolValue} message BoolValue message or plain object to encode
|
|
42016
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
42017
|
+
* @returns {$protobuf.Writer} Writer
|
|
42018
|
+
*/
|
|
42019
|
+
BoolValue.encode = function encode(message, writer) {
|
|
42020
|
+
if (!writer)
|
|
42021
|
+
writer = $Writer.create();
|
|
42022
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
42023
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.value);
|
|
42024
|
+
return writer;
|
|
42025
|
+
};
|
|
42026
|
+
|
|
42027
|
+
/**
|
|
42028
|
+
* Decodes a BoolValue message from the specified reader or buffer.
|
|
42029
|
+
* @function decode
|
|
42030
|
+
* @memberof google.protobuf.BoolValue
|
|
42031
|
+
* @static
|
|
42032
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
42033
|
+
* @param {number} [length] Message length if known beforehand
|
|
42034
|
+
* @returns {google.protobuf.BoolValue} BoolValue
|
|
42035
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42036
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42037
|
+
*/
|
|
42038
|
+
BoolValue.decode = function decode(reader, length) {
|
|
42039
|
+
if (!(reader instanceof $Reader))
|
|
42040
|
+
reader = $Reader.create(reader);
|
|
42041
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.BoolValue();
|
|
42042
|
+
while (reader.pos < end) {
|
|
42043
|
+
let tag = reader.uint32();
|
|
42044
|
+
switch (tag >>> 3) {
|
|
42045
|
+
case 1:
|
|
42046
|
+
message.value = reader.bool();
|
|
42047
|
+
break;
|
|
42048
|
+
default:
|
|
42049
|
+
reader.skipType(tag & 7);
|
|
42050
|
+
break;
|
|
42051
|
+
}
|
|
42052
|
+
}
|
|
42053
|
+
return message;
|
|
42054
|
+
};
|
|
42055
|
+
|
|
42056
|
+
/**
|
|
42057
|
+
* Verifies a BoolValue message.
|
|
42058
|
+
* @function verify
|
|
42059
|
+
* @memberof google.protobuf.BoolValue
|
|
42060
|
+
* @static
|
|
42061
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
42062
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
42063
|
+
*/
|
|
42064
|
+
BoolValue.verify = function verify(message) {
|
|
42065
|
+
if (typeof message !== "object" || message === null)
|
|
42066
|
+
return "object expected";
|
|
42067
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
42068
|
+
if (typeof message.value !== "boolean")
|
|
42069
|
+
return "value: boolean expected";
|
|
42070
|
+
return null;
|
|
42071
|
+
};
|
|
42072
|
+
|
|
42073
|
+
return BoolValue;
|
|
42074
|
+
})();
|
|
42075
|
+
|
|
42076
|
+
protobuf.StringValue = (function() {
|
|
42077
|
+
|
|
42078
|
+
/**
|
|
42079
|
+
* Properties of a StringValue.
|
|
42080
|
+
* @memberof google.protobuf
|
|
42081
|
+
* @interface IStringValue
|
|
42082
|
+
* @property {string|null} [value] StringValue value
|
|
42083
|
+
*/
|
|
42084
|
+
|
|
42085
|
+
/**
|
|
42086
|
+
* Constructs a new StringValue.
|
|
42087
|
+
* @memberof google.protobuf
|
|
42088
|
+
* @classdesc Represents a StringValue.
|
|
42089
|
+
* @implements IStringValue
|
|
42090
|
+
* @constructor
|
|
42091
|
+
* @param {google.protobuf.IStringValue=} [properties] Properties to set
|
|
42092
|
+
*/
|
|
42093
|
+
function StringValue(properties) {
|
|
42094
|
+
if (properties)
|
|
42095
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
42096
|
+
if (properties[keys[i]] != null)
|
|
42097
|
+
this[keys[i]] = properties[keys[i]];
|
|
42098
|
+
}
|
|
42099
|
+
|
|
42100
|
+
/**
|
|
42101
|
+
* StringValue value.
|
|
42102
|
+
* @member {string} value
|
|
42103
|
+
* @memberof google.protobuf.StringValue
|
|
42104
|
+
* @instance
|
|
42105
|
+
*/
|
|
42106
|
+
StringValue.prototype.value = "";
|
|
42107
|
+
|
|
42108
|
+
/**
|
|
42109
|
+
* Creates a new StringValue instance using the specified properties.
|
|
42110
|
+
* @function create
|
|
42111
|
+
* @memberof google.protobuf.StringValue
|
|
42112
|
+
* @static
|
|
42113
|
+
* @param {google.protobuf.IStringValue=} [properties] Properties to set
|
|
42114
|
+
* @returns {google.protobuf.StringValue} StringValue instance
|
|
42115
|
+
*/
|
|
42116
|
+
StringValue.create = function create(properties) {
|
|
42117
|
+
return new StringValue(properties);
|
|
42118
|
+
};
|
|
42119
|
+
|
|
42120
|
+
/**
|
|
42121
|
+
* Encodes the specified StringValue message. Does not implicitly {@link google.protobuf.StringValue.verify|verify} messages.
|
|
42122
|
+
* @function encode
|
|
42123
|
+
* @memberof google.protobuf.StringValue
|
|
42124
|
+
* @static
|
|
42125
|
+
* @param {google.protobuf.IStringValue} message StringValue message or plain object to encode
|
|
42126
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
42127
|
+
* @returns {$protobuf.Writer} Writer
|
|
42128
|
+
*/
|
|
42129
|
+
StringValue.encode = function encode(message, writer) {
|
|
42130
|
+
if (!writer)
|
|
42131
|
+
writer = $Writer.create();
|
|
42132
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
42133
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.value);
|
|
42134
|
+
return writer;
|
|
42135
|
+
};
|
|
42136
|
+
|
|
42137
|
+
/**
|
|
42138
|
+
* Decodes a StringValue message from the specified reader or buffer.
|
|
42139
|
+
* @function decode
|
|
42140
|
+
* @memberof google.protobuf.StringValue
|
|
42141
|
+
* @static
|
|
42142
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
42143
|
+
* @param {number} [length] Message length if known beforehand
|
|
42144
|
+
* @returns {google.protobuf.StringValue} StringValue
|
|
42145
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42146
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42147
|
+
*/
|
|
42148
|
+
StringValue.decode = function decode(reader, length) {
|
|
42149
|
+
if (!(reader instanceof $Reader))
|
|
42150
|
+
reader = $Reader.create(reader);
|
|
42151
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.StringValue();
|
|
42152
|
+
while (reader.pos < end) {
|
|
42153
|
+
let tag = reader.uint32();
|
|
42154
|
+
switch (tag >>> 3) {
|
|
42155
|
+
case 1:
|
|
42156
|
+
message.value = reader.string();
|
|
42157
|
+
break;
|
|
42158
|
+
default:
|
|
42159
|
+
reader.skipType(tag & 7);
|
|
42160
|
+
break;
|
|
42161
|
+
}
|
|
42162
|
+
}
|
|
42163
|
+
return message;
|
|
42164
|
+
};
|
|
42165
|
+
|
|
42166
|
+
/**
|
|
42167
|
+
* Verifies a StringValue message.
|
|
42168
|
+
* @function verify
|
|
42169
|
+
* @memberof google.protobuf.StringValue
|
|
42170
|
+
* @static
|
|
42171
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
42172
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
42173
|
+
*/
|
|
42174
|
+
StringValue.verify = function verify(message) {
|
|
42175
|
+
if (typeof message !== "object" || message === null)
|
|
42176
|
+
return "object expected";
|
|
42177
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
42178
|
+
if (!$util.isString(message.value))
|
|
42179
|
+
return "value: string expected";
|
|
42180
|
+
return null;
|
|
42181
|
+
};
|
|
42182
|
+
|
|
42183
|
+
return StringValue;
|
|
42184
|
+
})();
|
|
42185
|
+
|
|
42186
|
+
protobuf.BytesValue = (function() {
|
|
42187
|
+
|
|
42188
|
+
/**
|
|
42189
|
+
* Properties of a BytesValue.
|
|
42190
|
+
* @memberof google.protobuf
|
|
42191
|
+
* @interface IBytesValue
|
|
42192
|
+
* @property {Uint8Array|null} [value] BytesValue value
|
|
42193
|
+
*/
|
|
42194
|
+
|
|
42195
|
+
/**
|
|
42196
|
+
* Constructs a new BytesValue.
|
|
42197
|
+
* @memberof google.protobuf
|
|
42198
|
+
* @classdesc Represents a BytesValue.
|
|
42199
|
+
* @implements IBytesValue
|
|
42200
|
+
* @constructor
|
|
42201
|
+
* @param {google.protobuf.IBytesValue=} [properties] Properties to set
|
|
42202
|
+
*/
|
|
42203
|
+
function BytesValue(properties) {
|
|
42204
|
+
if (properties)
|
|
42205
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
42206
|
+
if (properties[keys[i]] != null)
|
|
42207
|
+
this[keys[i]] = properties[keys[i]];
|
|
42208
|
+
}
|
|
42209
|
+
|
|
42210
|
+
/**
|
|
42211
|
+
* BytesValue value.
|
|
42212
|
+
* @member {Uint8Array} value
|
|
42213
|
+
* @memberof google.protobuf.BytesValue
|
|
42214
|
+
* @instance
|
|
42215
|
+
*/
|
|
42216
|
+
BytesValue.prototype.value = $util.newBuffer([]);
|
|
42217
|
+
|
|
42218
|
+
/**
|
|
42219
|
+
* Creates a new BytesValue instance using the specified properties.
|
|
42220
|
+
* @function create
|
|
42221
|
+
* @memberof google.protobuf.BytesValue
|
|
42222
|
+
* @static
|
|
42223
|
+
* @param {google.protobuf.IBytesValue=} [properties] Properties to set
|
|
42224
|
+
* @returns {google.protobuf.BytesValue} BytesValue instance
|
|
42225
|
+
*/
|
|
42226
|
+
BytesValue.create = function create(properties) {
|
|
42227
|
+
return new BytesValue(properties);
|
|
42228
|
+
};
|
|
42229
|
+
|
|
42230
|
+
/**
|
|
42231
|
+
* Encodes the specified BytesValue message. Does not implicitly {@link google.protobuf.BytesValue.verify|verify} messages.
|
|
42232
|
+
* @function encode
|
|
42233
|
+
* @memberof google.protobuf.BytesValue
|
|
42234
|
+
* @static
|
|
42235
|
+
* @param {google.protobuf.IBytesValue} message BytesValue message or plain object to encode
|
|
42236
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
42237
|
+
* @returns {$protobuf.Writer} Writer
|
|
42238
|
+
*/
|
|
42239
|
+
BytesValue.encode = function encode(message, writer) {
|
|
42240
|
+
if (!writer)
|
|
42241
|
+
writer = $Writer.create();
|
|
42242
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
42243
|
+
writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.value);
|
|
42244
|
+
return writer;
|
|
42245
|
+
};
|
|
42246
|
+
|
|
42247
|
+
/**
|
|
42248
|
+
* Decodes a BytesValue message from the specified reader or buffer.
|
|
42249
|
+
* @function decode
|
|
42250
|
+
* @memberof google.protobuf.BytesValue
|
|
42251
|
+
* @static
|
|
42252
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
42253
|
+
* @param {number} [length] Message length if known beforehand
|
|
42254
|
+
* @returns {google.protobuf.BytesValue} BytesValue
|
|
42255
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42256
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42257
|
+
*/
|
|
42258
|
+
BytesValue.decode = function decode(reader, length) {
|
|
42259
|
+
if (!(reader instanceof $Reader))
|
|
42260
|
+
reader = $Reader.create(reader);
|
|
42261
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.BytesValue();
|
|
42262
|
+
while (reader.pos < end) {
|
|
42263
|
+
let tag = reader.uint32();
|
|
42264
|
+
switch (tag >>> 3) {
|
|
42265
|
+
case 1:
|
|
42266
|
+
message.value = reader.bytes();
|
|
42267
|
+
break;
|
|
42268
|
+
default:
|
|
42269
|
+
reader.skipType(tag & 7);
|
|
42270
|
+
break;
|
|
42271
|
+
}
|
|
42272
|
+
}
|
|
42273
|
+
return message;
|
|
42274
|
+
};
|
|
42275
|
+
|
|
42276
|
+
/**
|
|
42277
|
+
* Verifies a BytesValue message.
|
|
42278
|
+
* @function verify
|
|
42279
|
+
* @memberof google.protobuf.BytesValue
|
|
42280
|
+
* @static
|
|
42281
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
42282
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
42283
|
+
*/
|
|
42284
|
+
BytesValue.verify = function verify(message) {
|
|
42285
|
+
if (typeof message !== "object" || message === null)
|
|
42286
|
+
return "object expected";
|
|
42287
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
42288
|
+
if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value)))
|
|
42289
|
+
return "value: buffer expected";
|
|
42290
|
+
return null;
|
|
42291
|
+
};
|
|
42292
|
+
|
|
42293
|
+
return BytesValue;
|
|
42294
|
+
})();
|
|
42295
|
+
|
|
41249
42296
|
protobuf.FileDescriptorSet = (function() {
|
|
41250
42297
|
|
|
41251
42298
|
/**
|