@aldiokta/protocgen 1.1.65 → 1.1.67
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/package.json +1 -1
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +33 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +1764 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +71 -0
- package/prisca/v1/core/auth/auth_pb.js +599 -1
- package/prisca/v1/core/currency_exchange_rate/currency_exchange_rate_grpc_pb.js +180 -0
- package/prisca/v1/core/currency_exchange_rate/currency_exchange_rate_pb.js +2696 -0
- package/prisca/v1/core/employee/employee_pb.js +61 -1
- package/prisca/v1/core/subscription/subscription_grpc_pb.js +82 -0
- package/prisca/v1/core/subscription/subscription_pb.js +1713 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +24 -0
- package/prisca/v1/invoice/invoice_pb.js +1102 -108
- package/prisca/v1/purchase_order/purchase_order_pb.js +62 -2
|
@@ -53,8 +53,11 @@ goog.exportSymbol('proto.RequestForgotPasswordReq', null, global);
|
|
|
53
53
|
goog.exportSymbol('proto.RequestForgotResponse', null, global);
|
|
54
54
|
goog.exportSymbol('proto.RequestRegisterVendorReq', null, global);
|
|
55
55
|
goog.exportSymbol('proto.RequestRegisterVendorResponse', null, global);
|
|
56
|
+
goog.exportSymbol('proto.RetryPendingActivationRequest', null, global);
|
|
57
|
+
goog.exportSymbol('proto.RetryPendingActivationResponse', null, global);
|
|
56
58
|
goog.exportSymbol('proto.RevokeRefreshTokenRequest', null, global);
|
|
57
59
|
goog.exportSymbol('proto.RevokeRefreshTokenResponse', null, global);
|
|
60
|
+
goog.exportSymbol('proto.SetUserStatusRequest', null, global);
|
|
58
61
|
goog.exportSymbol('proto.UpdateAccessPayload', null, global);
|
|
59
62
|
goog.exportSymbol('proto.UpdateUserPayload', null, global);
|
|
60
63
|
goog.exportSymbol('proto.UserResponse', null, global);
|
|
@@ -606,6 +609,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
606
609
|
*/
|
|
607
610
|
proto.UserResponse.displayName = 'proto.UserResponse';
|
|
608
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* Generated by JsPbCodeGenerator.
|
|
614
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
615
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
616
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
617
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
618
|
+
* valid.
|
|
619
|
+
* @extends {jspb.Message}
|
|
620
|
+
* @constructor
|
|
621
|
+
*/
|
|
622
|
+
proto.SetUserStatusRequest = function(opt_data) {
|
|
623
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
624
|
+
};
|
|
625
|
+
goog.inherits(proto.SetUserStatusRequest, jspb.Message);
|
|
626
|
+
if (goog.DEBUG && !COMPILED) {
|
|
627
|
+
/**
|
|
628
|
+
* @public
|
|
629
|
+
* @override
|
|
630
|
+
*/
|
|
631
|
+
proto.SetUserStatusRequest.displayName = 'proto.SetUserStatusRequest';
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* Generated by JsPbCodeGenerator.
|
|
635
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
636
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
637
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
638
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
639
|
+
* valid.
|
|
640
|
+
* @extends {jspb.Message}
|
|
641
|
+
* @constructor
|
|
642
|
+
*/
|
|
643
|
+
proto.RetryPendingActivationRequest = function(opt_data) {
|
|
644
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
645
|
+
};
|
|
646
|
+
goog.inherits(proto.RetryPendingActivationRequest, jspb.Message);
|
|
647
|
+
if (goog.DEBUG && !COMPILED) {
|
|
648
|
+
/**
|
|
649
|
+
* @public
|
|
650
|
+
* @override
|
|
651
|
+
*/
|
|
652
|
+
proto.RetryPendingActivationRequest.displayName = 'proto.RetryPendingActivationRequest';
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Generated by JsPbCodeGenerator.
|
|
656
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
657
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
658
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
659
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
660
|
+
* valid.
|
|
661
|
+
* @extends {jspb.Message}
|
|
662
|
+
* @constructor
|
|
663
|
+
*/
|
|
664
|
+
proto.RetryPendingActivationResponse = function(opt_data) {
|
|
665
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
666
|
+
};
|
|
667
|
+
goog.inherits(proto.RetryPendingActivationResponse, jspb.Message);
|
|
668
|
+
if (goog.DEBUG && !COMPILED) {
|
|
669
|
+
/**
|
|
670
|
+
* @public
|
|
671
|
+
* @override
|
|
672
|
+
*/
|
|
673
|
+
proto.RetryPendingActivationResponse.displayName = 'proto.RetryPendingActivationResponse';
|
|
674
|
+
}
|
|
609
675
|
/**
|
|
610
676
|
* Generated by JsPbCodeGenerator.
|
|
611
677
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5021,7 +5087,9 @@ statementsList: jspb.Message.toObjectList(msg.getStatementsList(),
|
|
|
5021
5087
|
prisca_v1_core_access_manager_access_manager_pb.Statement.toObject, includeInstance),
|
|
5022
5088
|
companiesList: jspb.Message.toObjectList(msg.getCompaniesList(),
|
|
5023
5089
|
prisca_v1_core_company_company_pb.Company.toObject, includeInstance),
|
|
5024
|
-
avatar: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
5090
|
+
avatar: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5091
|
+
status: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5092
|
+
statusReason: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
5025
5093
|
};
|
|
5026
5094
|
|
|
5027
5095
|
if (includeInstance) {
|
|
@@ -5097,6 +5165,14 @@ proto.UserResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
5097
5165
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5098
5166
|
msg.setAvatar(value);
|
|
5099
5167
|
break;
|
|
5168
|
+
case 10:
|
|
5169
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5170
|
+
msg.setStatus(value);
|
|
5171
|
+
break;
|
|
5172
|
+
case 11:
|
|
5173
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5174
|
+
msg.setStatusReason(value);
|
|
5175
|
+
break;
|
|
5100
5176
|
default:
|
|
5101
5177
|
reader.skipField();
|
|
5102
5178
|
break;
|
|
@@ -5192,6 +5268,20 @@ proto.UserResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
5192
5268
|
f
|
|
5193
5269
|
);
|
|
5194
5270
|
}
|
|
5271
|
+
f = message.getStatus();
|
|
5272
|
+
if (f.length > 0) {
|
|
5273
|
+
writer.writeString(
|
|
5274
|
+
10,
|
|
5275
|
+
f
|
|
5276
|
+
);
|
|
5277
|
+
}
|
|
5278
|
+
f = message.getStatusReason();
|
|
5279
|
+
if (f.length > 0) {
|
|
5280
|
+
writer.writeString(
|
|
5281
|
+
11,
|
|
5282
|
+
f
|
|
5283
|
+
);
|
|
5284
|
+
}
|
|
5195
5285
|
};
|
|
5196
5286
|
|
|
5197
5287
|
|
|
@@ -5417,6 +5507,514 @@ proto.UserResponse.prototype.setAvatar = function(value) {
|
|
|
5417
5507
|
};
|
|
5418
5508
|
|
|
5419
5509
|
|
|
5510
|
+
/**
|
|
5511
|
+
* optional string status = 10;
|
|
5512
|
+
* @return {string}
|
|
5513
|
+
*/
|
|
5514
|
+
proto.UserResponse.prototype.getStatus = function() {
|
|
5515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5516
|
+
};
|
|
5517
|
+
|
|
5518
|
+
|
|
5519
|
+
/**
|
|
5520
|
+
* @param {string} value
|
|
5521
|
+
* @return {!proto.UserResponse} returns this
|
|
5522
|
+
*/
|
|
5523
|
+
proto.UserResponse.prototype.setStatus = function(value) {
|
|
5524
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5525
|
+
};
|
|
5526
|
+
|
|
5527
|
+
|
|
5528
|
+
/**
|
|
5529
|
+
* optional string status_reason = 11;
|
|
5530
|
+
* @return {string}
|
|
5531
|
+
*/
|
|
5532
|
+
proto.UserResponse.prototype.getStatusReason = function() {
|
|
5533
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5534
|
+
};
|
|
5535
|
+
|
|
5536
|
+
|
|
5537
|
+
/**
|
|
5538
|
+
* @param {string} value
|
|
5539
|
+
* @return {!proto.UserResponse} returns this
|
|
5540
|
+
*/
|
|
5541
|
+
proto.UserResponse.prototype.setStatusReason = function(value) {
|
|
5542
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
5543
|
+
};
|
|
5544
|
+
|
|
5545
|
+
|
|
5546
|
+
|
|
5547
|
+
|
|
5548
|
+
|
|
5549
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5550
|
+
/**
|
|
5551
|
+
* Creates an object representation of this proto.
|
|
5552
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5553
|
+
* Optional fields that are not set will be set to undefined.
|
|
5554
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5555
|
+
* For the list of reserved names please see:
|
|
5556
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5557
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5558
|
+
* JSPB instance for transitional soy proto support:
|
|
5559
|
+
* http://goto/soy-param-migration
|
|
5560
|
+
* @return {!Object}
|
|
5561
|
+
*/
|
|
5562
|
+
proto.SetUserStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5563
|
+
return proto.SetUserStatusRequest.toObject(opt_includeInstance, this);
|
|
5564
|
+
};
|
|
5565
|
+
|
|
5566
|
+
|
|
5567
|
+
/**
|
|
5568
|
+
* Static version of the {@see toObject} method.
|
|
5569
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5570
|
+
* the JSPB instance for transitional soy proto support:
|
|
5571
|
+
* http://goto/soy-param-migration
|
|
5572
|
+
* @param {!proto.SetUserStatusRequest} msg The msg instance to transform.
|
|
5573
|
+
* @return {!Object}
|
|
5574
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5575
|
+
*/
|
|
5576
|
+
proto.SetUserStatusRequest.toObject = function(includeInstance, msg) {
|
|
5577
|
+
var f, obj = {
|
|
5578
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5579
|
+
};
|
|
5580
|
+
|
|
5581
|
+
if (includeInstance) {
|
|
5582
|
+
obj.$jspbMessageInstance = msg;
|
|
5583
|
+
}
|
|
5584
|
+
return obj;
|
|
5585
|
+
};
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
|
|
5589
|
+
/**
|
|
5590
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5591
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5592
|
+
* @return {!proto.SetUserStatusRequest}
|
|
5593
|
+
*/
|
|
5594
|
+
proto.SetUserStatusRequest.deserializeBinary = function(bytes) {
|
|
5595
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5596
|
+
var msg = new proto.SetUserStatusRequest;
|
|
5597
|
+
return proto.SetUserStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
5598
|
+
};
|
|
5599
|
+
|
|
5600
|
+
|
|
5601
|
+
/**
|
|
5602
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5603
|
+
* given reader into the given message object.
|
|
5604
|
+
* @param {!proto.SetUserStatusRequest} msg The message object to deserialize into.
|
|
5605
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5606
|
+
* @return {!proto.SetUserStatusRequest}
|
|
5607
|
+
*/
|
|
5608
|
+
proto.SetUserStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5609
|
+
while (reader.nextField()) {
|
|
5610
|
+
if (reader.isEndGroup()) {
|
|
5611
|
+
break;
|
|
5612
|
+
}
|
|
5613
|
+
var field = reader.getFieldNumber();
|
|
5614
|
+
switch (field) {
|
|
5615
|
+
case 1:
|
|
5616
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
5617
|
+
msg.setReferencesId(value);
|
|
5618
|
+
break;
|
|
5619
|
+
default:
|
|
5620
|
+
reader.skipField();
|
|
5621
|
+
break;
|
|
5622
|
+
}
|
|
5623
|
+
}
|
|
5624
|
+
return msg;
|
|
5625
|
+
};
|
|
5626
|
+
|
|
5627
|
+
|
|
5628
|
+
/**
|
|
5629
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5630
|
+
* @return {!Uint8Array}
|
|
5631
|
+
*/
|
|
5632
|
+
proto.SetUserStatusRequest.prototype.serializeBinary = function() {
|
|
5633
|
+
var writer = new jspb.BinaryWriter();
|
|
5634
|
+
proto.SetUserStatusRequest.serializeBinaryToWriter(this, writer);
|
|
5635
|
+
return writer.getResultBuffer();
|
|
5636
|
+
};
|
|
5637
|
+
|
|
5638
|
+
|
|
5639
|
+
/**
|
|
5640
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5641
|
+
* format), writing to the given BinaryWriter.
|
|
5642
|
+
* @param {!proto.SetUserStatusRequest} message
|
|
5643
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5644
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5645
|
+
*/
|
|
5646
|
+
proto.SetUserStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5647
|
+
var f = undefined;
|
|
5648
|
+
f = message.getReferencesId();
|
|
5649
|
+
if (f.length > 0) {
|
|
5650
|
+
writer.writeString(
|
|
5651
|
+
1,
|
|
5652
|
+
f
|
|
5653
|
+
);
|
|
5654
|
+
}
|
|
5655
|
+
};
|
|
5656
|
+
|
|
5657
|
+
|
|
5658
|
+
/**
|
|
5659
|
+
* optional string references_id = 1;
|
|
5660
|
+
* @return {string}
|
|
5661
|
+
*/
|
|
5662
|
+
proto.SetUserStatusRequest.prototype.getReferencesId = function() {
|
|
5663
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5664
|
+
};
|
|
5665
|
+
|
|
5666
|
+
|
|
5667
|
+
/**
|
|
5668
|
+
* @param {string} value
|
|
5669
|
+
* @return {!proto.SetUserStatusRequest} returns this
|
|
5670
|
+
*/
|
|
5671
|
+
proto.SetUserStatusRequest.prototype.setReferencesId = function(value) {
|
|
5672
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5673
|
+
};
|
|
5674
|
+
|
|
5675
|
+
|
|
5676
|
+
|
|
5677
|
+
|
|
5678
|
+
|
|
5679
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5680
|
+
/**
|
|
5681
|
+
* Creates an object representation of this proto.
|
|
5682
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5683
|
+
* Optional fields that are not set will be set to undefined.
|
|
5684
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5685
|
+
* For the list of reserved names please see:
|
|
5686
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5687
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5688
|
+
* JSPB instance for transitional soy proto support:
|
|
5689
|
+
* http://goto/soy-param-migration
|
|
5690
|
+
* @return {!Object}
|
|
5691
|
+
*/
|
|
5692
|
+
proto.RetryPendingActivationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5693
|
+
return proto.RetryPendingActivationRequest.toObject(opt_includeInstance, this);
|
|
5694
|
+
};
|
|
5695
|
+
|
|
5696
|
+
|
|
5697
|
+
/**
|
|
5698
|
+
* Static version of the {@see toObject} method.
|
|
5699
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5700
|
+
* the JSPB instance for transitional soy proto support:
|
|
5701
|
+
* http://goto/soy-param-migration
|
|
5702
|
+
* @param {!proto.RetryPendingActivationRequest} msg The msg instance to transform.
|
|
5703
|
+
* @return {!Object}
|
|
5704
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5705
|
+
*/
|
|
5706
|
+
proto.RetryPendingActivationRequest.toObject = function(includeInstance, msg) {
|
|
5707
|
+
var f, obj = {
|
|
5708
|
+
|
|
5709
|
+
};
|
|
5710
|
+
|
|
5711
|
+
if (includeInstance) {
|
|
5712
|
+
obj.$jspbMessageInstance = msg;
|
|
5713
|
+
}
|
|
5714
|
+
return obj;
|
|
5715
|
+
};
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
|
|
5719
|
+
/**
|
|
5720
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5721
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5722
|
+
* @return {!proto.RetryPendingActivationRequest}
|
|
5723
|
+
*/
|
|
5724
|
+
proto.RetryPendingActivationRequest.deserializeBinary = function(bytes) {
|
|
5725
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5726
|
+
var msg = new proto.RetryPendingActivationRequest;
|
|
5727
|
+
return proto.RetryPendingActivationRequest.deserializeBinaryFromReader(msg, reader);
|
|
5728
|
+
};
|
|
5729
|
+
|
|
5730
|
+
|
|
5731
|
+
/**
|
|
5732
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5733
|
+
* given reader into the given message object.
|
|
5734
|
+
* @param {!proto.RetryPendingActivationRequest} msg The message object to deserialize into.
|
|
5735
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5736
|
+
* @return {!proto.RetryPendingActivationRequest}
|
|
5737
|
+
*/
|
|
5738
|
+
proto.RetryPendingActivationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5739
|
+
while (reader.nextField()) {
|
|
5740
|
+
if (reader.isEndGroup()) {
|
|
5741
|
+
break;
|
|
5742
|
+
}
|
|
5743
|
+
var field = reader.getFieldNumber();
|
|
5744
|
+
switch (field) {
|
|
5745
|
+
default:
|
|
5746
|
+
reader.skipField();
|
|
5747
|
+
break;
|
|
5748
|
+
}
|
|
5749
|
+
}
|
|
5750
|
+
return msg;
|
|
5751
|
+
};
|
|
5752
|
+
|
|
5753
|
+
|
|
5754
|
+
/**
|
|
5755
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5756
|
+
* @return {!Uint8Array}
|
|
5757
|
+
*/
|
|
5758
|
+
proto.RetryPendingActivationRequest.prototype.serializeBinary = function() {
|
|
5759
|
+
var writer = new jspb.BinaryWriter();
|
|
5760
|
+
proto.RetryPendingActivationRequest.serializeBinaryToWriter(this, writer);
|
|
5761
|
+
return writer.getResultBuffer();
|
|
5762
|
+
};
|
|
5763
|
+
|
|
5764
|
+
|
|
5765
|
+
/**
|
|
5766
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5767
|
+
* format), writing to the given BinaryWriter.
|
|
5768
|
+
* @param {!proto.RetryPendingActivationRequest} message
|
|
5769
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5770
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5771
|
+
*/
|
|
5772
|
+
proto.RetryPendingActivationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5773
|
+
var f = undefined;
|
|
5774
|
+
};
|
|
5775
|
+
|
|
5776
|
+
|
|
5777
|
+
|
|
5778
|
+
|
|
5779
|
+
|
|
5780
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5781
|
+
/**
|
|
5782
|
+
* Creates an object representation of this proto.
|
|
5783
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5784
|
+
* Optional fields that are not set will be set to undefined.
|
|
5785
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5786
|
+
* For the list of reserved names please see:
|
|
5787
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5788
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5789
|
+
* JSPB instance for transitional soy proto support:
|
|
5790
|
+
* http://goto/soy-param-migration
|
|
5791
|
+
* @return {!Object}
|
|
5792
|
+
*/
|
|
5793
|
+
proto.RetryPendingActivationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5794
|
+
return proto.RetryPendingActivationResponse.toObject(opt_includeInstance, this);
|
|
5795
|
+
};
|
|
5796
|
+
|
|
5797
|
+
|
|
5798
|
+
/**
|
|
5799
|
+
* Static version of the {@see toObject} method.
|
|
5800
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5801
|
+
* the JSPB instance for transitional soy proto support:
|
|
5802
|
+
* http://goto/soy-param-migration
|
|
5803
|
+
* @param {!proto.RetryPendingActivationResponse} msg The msg instance to transform.
|
|
5804
|
+
* @return {!Object}
|
|
5805
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5806
|
+
*/
|
|
5807
|
+
proto.RetryPendingActivationResponse.toObject = function(includeInstance, msg) {
|
|
5808
|
+
var f, obj = {
|
|
5809
|
+
activated: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5810
|
+
stillPending: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5811
|
+
quotaExceeded: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
5812
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
5813
|
+
};
|
|
5814
|
+
|
|
5815
|
+
if (includeInstance) {
|
|
5816
|
+
obj.$jspbMessageInstance = msg;
|
|
5817
|
+
}
|
|
5818
|
+
return obj;
|
|
5819
|
+
};
|
|
5820
|
+
}
|
|
5821
|
+
|
|
5822
|
+
|
|
5823
|
+
/**
|
|
5824
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5825
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5826
|
+
* @return {!proto.RetryPendingActivationResponse}
|
|
5827
|
+
*/
|
|
5828
|
+
proto.RetryPendingActivationResponse.deserializeBinary = function(bytes) {
|
|
5829
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5830
|
+
var msg = new proto.RetryPendingActivationResponse;
|
|
5831
|
+
return proto.RetryPendingActivationResponse.deserializeBinaryFromReader(msg, reader);
|
|
5832
|
+
};
|
|
5833
|
+
|
|
5834
|
+
|
|
5835
|
+
/**
|
|
5836
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5837
|
+
* given reader into the given message object.
|
|
5838
|
+
* @param {!proto.RetryPendingActivationResponse} msg The message object to deserialize into.
|
|
5839
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5840
|
+
* @return {!proto.RetryPendingActivationResponse}
|
|
5841
|
+
*/
|
|
5842
|
+
proto.RetryPendingActivationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5843
|
+
while (reader.nextField()) {
|
|
5844
|
+
if (reader.isEndGroup()) {
|
|
5845
|
+
break;
|
|
5846
|
+
}
|
|
5847
|
+
var field = reader.getFieldNumber();
|
|
5848
|
+
switch (field) {
|
|
5849
|
+
case 1:
|
|
5850
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5851
|
+
msg.setActivated(value);
|
|
5852
|
+
break;
|
|
5853
|
+
case 2:
|
|
5854
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5855
|
+
msg.setStillPending(value);
|
|
5856
|
+
break;
|
|
5857
|
+
case 3:
|
|
5858
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
5859
|
+
msg.setQuotaExceeded(value);
|
|
5860
|
+
break;
|
|
5861
|
+
case 99:
|
|
5862
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
5863
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
5864
|
+
msg.setMeta(value);
|
|
5865
|
+
break;
|
|
5866
|
+
default:
|
|
5867
|
+
reader.skipField();
|
|
5868
|
+
break;
|
|
5869
|
+
}
|
|
5870
|
+
}
|
|
5871
|
+
return msg;
|
|
5872
|
+
};
|
|
5873
|
+
|
|
5874
|
+
|
|
5875
|
+
/**
|
|
5876
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5877
|
+
* @return {!Uint8Array}
|
|
5878
|
+
*/
|
|
5879
|
+
proto.RetryPendingActivationResponse.prototype.serializeBinary = function() {
|
|
5880
|
+
var writer = new jspb.BinaryWriter();
|
|
5881
|
+
proto.RetryPendingActivationResponse.serializeBinaryToWriter(this, writer);
|
|
5882
|
+
return writer.getResultBuffer();
|
|
5883
|
+
};
|
|
5884
|
+
|
|
5885
|
+
|
|
5886
|
+
/**
|
|
5887
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5888
|
+
* format), writing to the given BinaryWriter.
|
|
5889
|
+
* @param {!proto.RetryPendingActivationResponse} message
|
|
5890
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5891
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5892
|
+
*/
|
|
5893
|
+
proto.RetryPendingActivationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5894
|
+
var f = undefined;
|
|
5895
|
+
f = message.getActivated();
|
|
5896
|
+
if (f !== 0) {
|
|
5897
|
+
writer.writeInt64(
|
|
5898
|
+
1,
|
|
5899
|
+
f
|
|
5900
|
+
);
|
|
5901
|
+
}
|
|
5902
|
+
f = message.getStillPending();
|
|
5903
|
+
if (f !== 0) {
|
|
5904
|
+
writer.writeInt64(
|
|
5905
|
+
2,
|
|
5906
|
+
f
|
|
5907
|
+
);
|
|
5908
|
+
}
|
|
5909
|
+
f = message.getQuotaExceeded();
|
|
5910
|
+
if (f !== 0) {
|
|
5911
|
+
writer.writeInt64(
|
|
5912
|
+
3,
|
|
5913
|
+
f
|
|
5914
|
+
);
|
|
5915
|
+
}
|
|
5916
|
+
f = message.getMeta();
|
|
5917
|
+
if (f != null) {
|
|
5918
|
+
writer.writeMessage(
|
|
5919
|
+
99,
|
|
5920
|
+
f,
|
|
5921
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
5922
|
+
);
|
|
5923
|
+
}
|
|
5924
|
+
};
|
|
5925
|
+
|
|
5926
|
+
|
|
5927
|
+
/**
|
|
5928
|
+
* optional int64 activated = 1;
|
|
5929
|
+
* @return {number}
|
|
5930
|
+
*/
|
|
5931
|
+
proto.RetryPendingActivationResponse.prototype.getActivated = function() {
|
|
5932
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5933
|
+
};
|
|
5934
|
+
|
|
5935
|
+
|
|
5936
|
+
/**
|
|
5937
|
+
* @param {number} value
|
|
5938
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
5939
|
+
*/
|
|
5940
|
+
proto.RetryPendingActivationResponse.prototype.setActivated = function(value) {
|
|
5941
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
5942
|
+
};
|
|
5943
|
+
|
|
5944
|
+
|
|
5945
|
+
/**
|
|
5946
|
+
* optional int64 still_pending = 2;
|
|
5947
|
+
* @return {number}
|
|
5948
|
+
*/
|
|
5949
|
+
proto.RetryPendingActivationResponse.prototype.getStillPending = function() {
|
|
5950
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5951
|
+
};
|
|
5952
|
+
|
|
5953
|
+
|
|
5954
|
+
/**
|
|
5955
|
+
* @param {number} value
|
|
5956
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
5957
|
+
*/
|
|
5958
|
+
proto.RetryPendingActivationResponse.prototype.setStillPending = function(value) {
|
|
5959
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
5960
|
+
};
|
|
5961
|
+
|
|
5962
|
+
|
|
5963
|
+
/**
|
|
5964
|
+
* optional int64 quota_exceeded = 3;
|
|
5965
|
+
* @return {number}
|
|
5966
|
+
*/
|
|
5967
|
+
proto.RetryPendingActivationResponse.prototype.getQuotaExceeded = function() {
|
|
5968
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
5969
|
+
};
|
|
5970
|
+
|
|
5971
|
+
|
|
5972
|
+
/**
|
|
5973
|
+
* @param {number} value
|
|
5974
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
5975
|
+
*/
|
|
5976
|
+
proto.RetryPendingActivationResponse.prototype.setQuotaExceeded = function(value) {
|
|
5977
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
5978
|
+
};
|
|
5979
|
+
|
|
5980
|
+
|
|
5981
|
+
/**
|
|
5982
|
+
* optional prisca.v1.global.meta.Meta meta = 99;
|
|
5983
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
5984
|
+
*/
|
|
5985
|
+
proto.RetryPendingActivationResponse.prototype.getMeta = function() {
|
|
5986
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
5987
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 99));
|
|
5988
|
+
};
|
|
5989
|
+
|
|
5990
|
+
|
|
5991
|
+
/**
|
|
5992
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
5993
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
5994
|
+
*/
|
|
5995
|
+
proto.RetryPendingActivationResponse.prototype.setMeta = function(value) {
|
|
5996
|
+
return jspb.Message.setWrapperField(this, 99, value);
|
|
5997
|
+
};
|
|
5998
|
+
|
|
5999
|
+
|
|
6000
|
+
/**
|
|
6001
|
+
* Clears the message field making it undefined.
|
|
6002
|
+
* @return {!proto.RetryPendingActivationResponse} returns this
|
|
6003
|
+
*/
|
|
6004
|
+
proto.RetryPendingActivationResponse.prototype.clearMeta = function() {
|
|
6005
|
+
return this.setMeta(undefined);
|
|
6006
|
+
};
|
|
6007
|
+
|
|
6008
|
+
|
|
6009
|
+
/**
|
|
6010
|
+
* Returns whether this field is set.
|
|
6011
|
+
* @return {boolean}
|
|
6012
|
+
*/
|
|
6013
|
+
proto.RetryPendingActivationResponse.prototype.hasMeta = function() {
|
|
6014
|
+
return jspb.Message.getField(this, 99) != null;
|
|
6015
|
+
};
|
|
6016
|
+
|
|
6017
|
+
|
|
5420
6018
|
|
|
5421
6019
|
/**
|
|
5422
6020
|
* List of repeated fields within this message type.
|