@dashevo/dapi-grpc 4.2.0-beta.3 → 4.2.0-beta.4
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/clients/drive/v0/nodejs/drive_pbjs.js +1268 -92
- package/clients/platform/v0/nodejs/platform_pbjs.js +1268 -92
- package/clients/platform/v0/nodejs/platform_protoc.js +1211 -11
- package/clients/platform/v0/web/platform_pb.d.ts +148 -0
- package/clients/platform/v0/web/platform_pb.js +1211 -11
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +64 -5
|
@@ -39,8 +39,10 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedAddressBalanceUpdate
|
|
|
39
39
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.CompactedBlockAddressBalanceChanges', null, { proto });
|
|
40
40
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.ContractGroupDocumentTypeMember', null, { proto });
|
|
41
41
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.ContractGroupTokenMember', null, { proto });
|
|
42
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.ContractModerationDocument', null, { proto });
|
|
42
43
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.ContractModerationList', null, { proto });
|
|
43
44
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.ContractModerationReason', null, { proto });
|
|
45
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.ContractWarning', null, { proto });
|
|
44
46
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest', null, { proto });
|
|
45
47
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.GetAddressInfoRequestV0', null, { proto });
|
|
46
48
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetAddressInfoRequest.VersionCase', null, { proto });
|
|
@@ -127,6 +129,7 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsRe
|
|
|
127
129
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse', null, { proto });
|
|
128
130
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval', null, { proto });
|
|
129
131
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemovals', null, { proto });
|
|
132
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration', null, { proto });
|
|
130
133
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.GetContractDocumentRemovalsResponseV0', null, { proto });
|
|
131
134
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.GetContractDocumentRemovalsResponseV0.ResultCase', null, { proto });
|
|
132
135
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.VersionCase', null, { proto });
|
|
@@ -725,6 +728,7 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultR
|
|
|
725
728
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.VersionCase', null, { proto });
|
|
726
729
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0', null, { proto });
|
|
727
730
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse', null, { proto });
|
|
731
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance', null, { proto });
|
|
728
732
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.VersionCase', null, { proto });
|
|
729
733
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0', null, { proto });
|
|
730
734
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0.ResultCase', null, { proto });
|
|
@@ -2628,9 +2632,30 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2628
2632
|
* @extends {jspb.Message}
|
|
2629
2633
|
* @constructor
|
|
2630
2634
|
*/
|
|
2631
|
-
proto.org.dash.platform.dapi.v0.
|
|
2635
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument = function(opt_data) {
|
|
2632
2636
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2633
2637
|
};
|
|
2638
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.ContractModerationDocument, jspb.Message);
|
|
2639
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2640
|
+
/**
|
|
2641
|
+
* @public
|
|
2642
|
+
* @override
|
|
2643
|
+
*/
|
|
2644
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.displayName = 'proto.org.dash.platform.dapi.v0.ContractModerationDocument';
|
|
2645
|
+
}
|
|
2646
|
+
/**
|
|
2647
|
+
* Generated by JsPbCodeGenerator.
|
|
2648
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2649
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2650
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2651
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2652
|
+
* valid.
|
|
2653
|
+
* @extends {jspb.Message}
|
|
2654
|
+
* @constructor
|
|
2655
|
+
*/
|
|
2656
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason = function(opt_data) {
|
|
2657
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.ContractModerationReason.repeatedFields_, null);
|
|
2658
|
+
};
|
|
2634
2659
|
goog.inherits(proto.org.dash.platform.dapi.v0.ContractModerationReason, jspb.Message);
|
|
2635
2660
|
if (goog.DEBUG && !COMPILED) {
|
|
2636
2661
|
/**
|
|
@@ -2639,6 +2664,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2639
2664
|
*/
|
|
2640
2665
|
proto.org.dash.platform.dapi.v0.ContractModerationReason.displayName = 'proto.org.dash.platform.dapi.v0.ContractModerationReason';
|
|
2641
2666
|
}
|
|
2667
|
+
/**
|
|
2668
|
+
* Generated by JsPbCodeGenerator.
|
|
2669
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2670
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2671
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2672
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2673
|
+
* valid.
|
|
2674
|
+
* @extends {jspb.Message}
|
|
2675
|
+
* @constructor
|
|
2676
|
+
*/
|
|
2677
|
+
proto.org.dash.platform.dapi.v0.ContractWarning = function(opt_data) {
|
|
2678
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2679
|
+
};
|
|
2680
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.ContractWarning, jspb.Message);
|
|
2681
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2682
|
+
/**
|
|
2683
|
+
* @public
|
|
2684
|
+
* @override
|
|
2685
|
+
*/
|
|
2686
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.displayName = 'proto.org.dash.platform.dapi.v0.ContractWarning';
|
|
2687
|
+
}
|
|
2642
2688
|
/**
|
|
2643
2689
|
* Generated by JsPbCodeGenerator.
|
|
2644
2690
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2818,7 +2864,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2818
2864
|
* @constructor
|
|
2819
2865
|
*/
|
|
2820
2866
|
proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry = function(opt_data) {
|
|
2821
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
2867
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry.repeatedFields_, null);
|
|
2822
2868
|
};
|
|
2823
2869
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry, jspb.Message);
|
|
2824
2870
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -2975,6 +3021,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2975
3021
|
*/
|
|
2976
3022
|
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse';
|
|
2977
3023
|
}
|
|
3024
|
+
/**
|
|
3025
|
+
* Generated by JsPbCodeGenerator.
|
|
3026
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3027
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3028
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3029
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3030
|
+
* valid.
|
|
3031
|
+
* @extends {jspb.Message}
|
|
3032
|
+
* @constructor
|
|
3033
|
+
*/
|
|
3034
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration = function(opt_data) {
|
|
3035
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3036
|
+
};
|
|
3037
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration, jspb.Message);
|
|
3038
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3039
|
+
/**
|
|
3040
|
+
* @public
|
|
3041
|
+
* @override
|
|
3042
|
+
*/
|
|
3043
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.displayName = 'proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration';
|
|
3044
|
+
}
|
|
2978
3045
|
/**
|
|
2979
3046
|
* Generated by JsPbCodeGenerator.
|
|
2980
3047
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4781,6 +4848,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4781
4848
|
*/
|
|
4782
4849
|
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.displayName = 'proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse';
|
|
4783
4850
|
}
|
|
4851
|
+
/**
|
|
4852
|
+
* Generated by JsPbCodeGenerator.
|
|
4853
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4854
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4855
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4856
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4857
|
+
* valid.
|
|
4858
|
+
* @extends {jspb.Message}
|
|
4859
|
+
* @constructor
|
|
4860
|
+
*/
|
|
4861
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance = function(opt_data) {
|
|
4862
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4863
|
+
};
|
|
4864
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance, jspb.Message);
|
|
4865
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4866
|
+
/**
|
|
4867
|
+
* @public
|
|
4868
|
+
* @override
|
|
4869
|
+
*/
|
|
4870
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.displayName = 'proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance';
|
|
4871
|
+
}
|
|
4784
4872
|
/**
|
|
4785
4873
|
* Generated by JsPbCodeGenerator.
|
|
4786
4874
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -29518,6 +29606,197 @@ proto.org.dash.platform.dapi.v0.GetContractGroupMembersResponse.prototype.hasV0
|
|
|
29518
29606
|
|
|
29519
29607
|
|
|
29520
29608
|
|
|
29609
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29610
|
+
/**
|
|
29611
|
+
* Creates an object representation of this proto.
|
|
29612
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
29613
|
+
* Optional fields that are not set will be set to undefined.
|
|
29614
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
29615
|
+
* For the list of reserved names please see:
|
|
29616
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
29617
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
29618
|
+
* JSPB instance for transitional soy proto support:
|
|
29619
|
+
* http://goto/soy-param-migration
|
|
29620
|
+
* @return {!Object}
|
|
29621
|
+
*/
|
|
29622
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.prototype.toObject = function(opt_includeInstance) {
|
|
29623
|
+
return proto.org.dash.platform.dapi.v0.ContractModerationDocument.toObject(opt_includeInstance, this);
|
|
29624
|
+
};
|
|
29625
|
+
|
|
29626
|
+
|
|
29627
|
+
/**
|
|
29628
|
+
* Static version of the {@see toObject} method.
|
|
29629
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
29630
|
+
* the JSPB instance for transitional soy proto support:
|
|
29631
|
+
* http://goto/soy-param-migration
|
|
29632
|
+
* @param {!proto.org.dash.platform.dapi.v0.ContractModerationDocument} msg The msg instance to transform.
|
|
29633
|
+
* @return {!Object}
|
|
29634
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29635
|
+
*/
|
|
29636
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.toObject = function(includeInstance, msg) {
|
|
29637
|
+
var f, obj = {
|
|
29638
|
+
documentTypeName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
29639
|
+
documentId: msg.getDocumentId_asB64()
|
|
29640
|
+
};
|
|
29641
|
+
|
|
29642
|
+
if (includeInstance) {
|
|
29643
|
+
obj.$jspbMessageInstance = msg;
|
|
29644
|
+
}
|
|
29645
|
+
return obj;
|
|
29646
|
+
};
|
|
29647
|
+
}
|
|
29648
|
+
|
|
29649
|
+
|
|
29650
|
+
/**
|
|
29651
|
+
* Deserializes binary data (in protobuf wire format).
|
|
29652
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29653
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractModerationDocument}
|
|
29654
|
+
*/
|
|
29655
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.deserializeBinary = function(bytes) {
|
|
29656
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
29657
|
+
var msg = new proto.org.dash.platform.dapi.v0.ContractModerationDocument;
|
|
29658
|
+
return proto.org.dash.platform.dapi.v0.ContractModerationDocument.deserializeBinaryFromReader(msg, reader);
|
|
29659
|
+
};
|
|
29660
|
+
|
|
29661
|
+
|
|
29662
|
+
/**
|
|
29663
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
29664
|
+
* given reader into the given message object.
|
|
29665
|
+
* @param {!proto.org.dash.platform.dapi.v0.ContractModerationDocument} msg The message object to deserialize into.
|
|
29666
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29667
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractModerationDocument}
|
|
29668
|
+
*/
|
|
29669
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.deserializeBinaryFromReader = function(msg, reader) {
|
|
29670
|
+
while (reader.nextField()) {
|
|
29671
|
+
if (reader.isEndGroup()) {
|
|
29672
|
+
break;
|
|
29673
|
+
}
|
|
29674
|
+
var field = reader.getFieldNumber();
|
|
29675
|
+
switch (field) {
|
|
29676
|
+
case 1:
|
|
29677
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29678
|
+
msg.setDocumentTypeName(value);
|
|
29679
|
+
break;
|
|
29680
|
+
case 2:
|
|
29681
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
29682
|
+
msg.setDocumentId(value);
|
|
29683
|
+
break;
|
|
29684
|
+
default:
|
|
29685
|
+
reader.skipField();
|
|
29686
|
+
break;
|
|
29687
|
+
}
|
|
29688
|
+
}
|
|
29689
|
+
return msg;
|
|
29690
|
+
};
|
|
29691
|
+
|
|
29692
|
+
|
|
29693
|
+
/**
|
|
29694
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29695
|
+
* @return {!Uint8Array}
|
|
29696
|
+
*/
|
|
29697
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.prototype.serializeBinary = function() {
|
|
29698
|
+
var writer = new jspb.BinaryWriter();
|
|
29699
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.serializeBinaryToWriter(this, writer);
|
|
29700
|
+
return writer.getResultBuffer();
|
|
29701
|
+
};
|
|
29702
|
+
|
|
29703
|
+
|
|
29704
|
+
/**
|
|
29705
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
29706
|
+
* format), writing to the given BinaryWriter.
|
|
29707
|
+
* @param {!proto.org.dash.platform.dapi.v0.ContractModerationDocument} message
|
|
29708
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29709
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29710
|
+
*/
|
|
29711
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.serializeBinaryToWriter = function(message, writer) {
|
|
29712
|
+
var f = undefined;
|
|
29713
|
+
f = message.getDocumentTypeName();
|
|
29714
|
+
if (f.length > 0) {
|
|
29715
|
+
writer.writeString(
|
|
29716
|
+
1,
|
|
29717
|
+
f
|
|
29718
|
+
);
|
|
29719
|
+
}
|
|
29720
|
+
f = message.getDocumentId_asU8();
|
|
29721
|
+
if (f.length > 0) {
|
|
29722
|
+
writer.writeBytes(
|
|
29723
|
+
2,
|
|
29724
|
+
f
|
|
29725
|
+
);
|
|
29726
|
+
}
|
|
29727
|
+
};
|
|
29728
|
+
|
|
29729
|
+
|
|
29730
|
+
/**
|
|
29731
|
+
* optional string document_type_name = 1;
|
|
29732
|
+
* @return {string}
|
|
29733
|
+
*/
|
|
29734
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.prototype.getDocumentTypeName = function() {
|
|
29735
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
29736
|
+
};
|
|
29737
|
+
|
|
29738
|
+
|
|
29739
|
+
/**
|
|
29740
|
+
* @param {string} value
|
|
29741
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractModerationDocument} returns this
|
|
29742
|
+
*/
|
|
29743
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.prototype.setDocumentTypeName = function(value) {
|
|
29744
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
29745
|
+
};
|
|
29746
|
+
|
|
29747
|
+
|
|
29748
|
+
/**
|
|
29749
|
+
* optional bytes document_id = 2;
|
|
29750
|
+
* @return {string}
|
|
29751
|
+
*/
|
|
29752
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.prototype.getDocumentId = function() {
|
|
29753
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
29754
|
+
};
|
|
29755
|
+
|
|
29756
|
+
|
|
29757
|
+
/**
|
|
29758
|
+
* optional bytes document_id = 2;
|
|
29759
|
+
* This is a type-conversion wrapper around `getDocumentId()`
|
|
29760
|
+
* @return {string}
|
|
29761
|
+
*/
|
|
29762
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.prototype.getDocumentId_asB64 = function() {
|
|
29763
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
29764
|
+
this.getDocumentId()));
|
|
29765
|
+
};
|
|
29766
|
+
|
|
29767
|
+
|
|
29768
|
+
/**
|
|
29769
|
+
* optional bytes document_id = 2;
|
|
29770
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
29771
|
+
* @see http://caniuse.com/Uint8Array
|
|
29772
|
+
* This is a type-conversion wrapper around `getDocumentId()`
|
|
29773
|
+
* @return {!Uint8Array}
|
|
29774
|
+
*/
|
|
29775
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.prototype.getDocumentId_asU8 = function() {
|
|
29776
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
29777
|
+
this.getDocumentId()));
|
|
29778
|
+
};
|
|
29779
|
+
|
|
29780
|
+
|
|
29781
|
+
/**
|
|
29782
|
+
* @param {!(string|Uint8Array)} value
|
|
29783
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractModerationDocument} returns this
|
|
29784
|
+
*/
|
|
29785
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.prototype.setDocumentId = function(value) {
|
|
29786
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
29787
|
+
};
|
|
29788
|
+
|
|
29789
|
+
|
|
29790
|
+
|
|
29791
|
+
/**
|
|
29792
|
+
* List of repeated fields within this message type.
|
|
29793
|
+
* @private {!Array<number>}
|
|
29794
|
+
* @const
|
|
29795
|
+
*/
|
|
29796
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.repeatedFields_ = [3];
|
|
29797
|
+
|
|
29798
|
+
|
|
29799
|
+
|
|
29521
29800
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29522
29801
|
/**
|
|
29523
29802
|
* Creates an object representation of this proto.
|
|
@@ -29548,7 +29827,10 @@ proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.toObject = fu
|
|
|
29548
29827
|
proto.org.dash.platform.dapi.v0.ContractModerationReason.toObject = function(includeInstance, msg) {
|
|
29549
29828
|
var f, obj = {
|
|
29550
29829
|
code: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
29551
|
-
text: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
29830
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29831
|
+
documentsList: jspb.Message.toObjectList(msg.getDocumentsList(),
|
|
29832
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.toObject, includeInstance),
|
|
29833
|
+
reasonDocumentId: msg.getReasonDocumentId_asB64()
|
|
29552
29834
|
};
|
|
29553
29835
|
|
|
29554
29836
|
if (includeInstance) {
|
|
@@ -29593,6 +29875,15 @@ proto.org.dash.platform.dapi.v0.ContractModerationReason.deserializeBinaryFromRe
|
|
|
29593
29875
|
var value = /** @type {string} */ (reader.readString());
|
|
29594
29876
|
msg.setText(value);
|
|
29595
29877
|
break;
|
|
29878
|
+
case 3:
|
|
29879
|
+
var value = new proto.org.dash.platform.dapi.v0.ContractModerationDocument;
|
|
29880
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ContractModerationDocument.deserializeBinaryFromReader);
|
|
29881
|
+
msg.addDocuments(value);
|
|
29882
|
+
break;
|
|
29883
|
+
case 4:
|
|
29884
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
29885
|
+
msg.setReasonDocumentId(value);
|
|
29886
|
+
break;
|
|
29596
29887
|
default:
|
|
29597
29888
|
reader.skipField();
|
|
29598
29889
|
break;
|
|
@@ -29636,6 +29927,21 @@ proto.org.dash.platform.dapi.v0.ContractModerationReason.serializeBinaryToWriter
|
|
|
29636
29927
|
f
|
|
29637
29928
|
);
|
|
29638
29929
|
}
|
|
29930
|
+
f = message.getDocumentsList();
|
|
29931
|
+
if (f.length > 0) {
|
|
29932
|
+
writer.writeRepeatedMessage(
|
|
29933
|
+
3,
|
|
29934
|
+
f,
|
|
29935
|
+
proto.org.dash.platform.dapi.v0.ContractModerationDocument.serializeBinaryToWriter
|
|
29936
|
+
);
|
|
29937
|
+
}
|
|
29938
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 4));
|
|
29939
|
+
if (f != null) {
|
|
29940
|
+
writer.writeBytes(
|
|
29941
|
+
4,
|
|
29942
|
+
f
|
|
29943
|
+
);
|
|
29944
|
+
}
|
|
29639
29945
|
};
|
|
29640
29946
|
|
|
29641
29947
|
|
|
@@ -29693,6 +29999,285 @@ proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.setText = fun
|
|
|
29693
29999
|
};
|
|
29694
30000
|
|
|
29695
30001
|
|
|
30002
|
+
/**
|
|
30003
|
+
* repeated ContractModerationDocument documents = 3;
|
|
30004
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.ContractModerationDocument>}
|
|
30005
|
+
*/
|
|
30006
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.getDocumentsList = function() {
|
|
30007
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.ContractModerationDocument>} */ (
|
|
30008
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.ContractModerationDocument, 3));
|
|
30009
|
+
};
|
|
30010
|
+
|
|
30011
|
+
|
|
30012
|
+
/**
|
|
30013
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.ContractModerationDocument>} value
|
|
30014
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractModerationReason} returns this
|
|
30015
|
+
*/
|
|
30016
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.setDocumentsList = function(value) {
|
|
30017
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
30018
|
+
};
|
|
30019
|
+
|
|
30020
|
+
|
|
30021
|
+
/**
|
|
30022
|
+
* @param {!proto.org.dash.platform.dapi.v0.ContractModerationDocument=} opt_value
|
|
30023
|
+
* @param {number=} opt_index
|
|
30024
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractModerationDocument}
|
|
30025
|
+
*/
|
|
30026
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.addDocuments = function(opt_value, opt_index) {
|
|
30027
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.org.dash.platform.dapi.v0.ContractModerationDocument, opt_index);
|
|
30028
|
+
};
|
|
30029
|
+
|
|
30030
|
+
|
|
30031
|
+
/**
|
|
30032
|
+
* Clears the list making it empty but non-null.
|
|
30033
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractModerationReason} returns this
|
|
30034
|
+
*/
|
|
30035
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.clearDocumentsList = function() {
|
|
30036
|
+
return this.setDocumentsList([]);
|
|
30037
|
+
};
|
|
30038
|
+
|
|
30039
|
+
|
|
30040
|
+
/**
|
|
30041
|
+
* optional bytes reason_document_id = 4;
|
|
30042
|
+
* @return {string}
|
|
30043
|
+
*/
|
|
30044
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.getReasonDocumentId = function() {
|
|
30045
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
30046
|
+
};
|
|
30047
|
+
|
|
30048
|
+
|
|
30049
|
+
/**
|
|
30050
|
+
* optional bytes reason_document_id = 4;
|
|
30051
|
+
* This is a type-conversion wrapper around `getReasonDocumentId()`
|
|
30052
|
+
* @return {string}
|
|
30053
|
+
*/
|
|
30054
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.getReasonDocumentId_asB64 = function() {
|
|
30055
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
30056
|
+
this.getReasonDocumentId()));
|
|
30057
|
+
};
|
|
30058
|
+
|
|
30059
|
+
|
|
30060
|
+
/**
|
|
30061
|
+
* optional bytes reason_document_id = 4;
|
|
30062
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
30063
|
+
* @see http://caniuse.com/Uint8Array
|
|
30064
|
+
* This is a type-conversion wrapper around `getReasonDocumentId()`
|
|
30065
|
+
* @return {!Uint8Array}
|
|
30066
|
+
*/
|
|
30067
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.getReasonDocumentId_asU8 = function() {
|
|
30068
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
30069
|
+
this.getReasonDocumentId()));
|
|
30070
|
+
};
|
|
30071
|
+
|
|
30072
|
+
|
|
30073
|
+
/**
|
|
30074
|
+
* @param {!(string|Uint8Array)} value
|
|
30075
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractModerationReason} returns this
|
|
30076
|
+
*/
|
|
30077
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.setReasonDocumentId = function(value) {
|
|
30078
|
+
return jspb.Message.setField(this, 4, value);
|
|
30079
|
+
};
|
|
30080
|
+
|
|
30081
|
+
|
|
30082
|
+
/**
|
|
30083
|
+
* Clears the field making it undefined.
|
|
30084
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractModerationReason} returns this
|
|
30085
|
+
*/
|
|
30086
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.clearReasonDocumentId = function() {
|
|
30087
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
30088
|
+
};
|
|
30089
|
+
|
|
30090
|
+
|
|
30091
|
+
/**
|
|
30092
|
+
* Returns whether this field is set.
|
|
30093
|
+
* @return {boolean}
|
|
30094
|
+
*/
|
|
30095
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.prototype.hasReasonDocumentId = function() {
|
|
30096
|
+
return jspb.Message.getField(this, 4) != null;
|
|
30097
|
+
};
|
|
30098
|
+
|
|
30099
|
+
|
|
30100
|
+
|
|
30101
|
+
|
|
30102
|
+
|
|
30103
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30104
|
+
/**
|
|
30105
|
+
* Creates an object representation of this proto.
|
|
30106
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30107
|
+
* Optional fields that are not set will be set to undefined.
|
|
30108
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30109
|
+
* For the list of reserved names please see:
|
|
30110
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30111
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30112
|
+
* JSPB instance for transitional soy proto support:
|
|
30113
|
+
* http://goto/soy-param-migration
|
|
30114
|
+
* @return {!Object}
|
|
30115
|
+
*/
|
|
30116
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.prototype.toObject = function(opt_includeInstance) {
|
|
30117
|
+
return proto.org.dash.platform.dapi.v0.ContractWarning.toObject(opt_includeInstance, this);
|
|
30118
|
+
};
|
|
30119
|
+
|
|
30120
|
+
|
|
30121
|
+
/**
|
|
30122
|
+
* Static version of the {@see toObject} method.
|
|
30123
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30124
|
+
* the JSPB instance for transitional soy proto support:
|
|
30125
|
+
* http://goto/soy-param-migration
|
|
30126
|
+
* @param {!proto.org.dash.platform.dapi.v0.ContractWarning} msg The msg instance to transform.
|
|
30127
|
+
* @return {!Object}
|
|
30128
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30129
|
+
*/
|
|
30130
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.toObject = function(includeInstance, msg) {
|
|
30131
|
+
var f, obj = {
|
|
30132
|
+
warnedAt: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
30133
|
+
reason: (f = msg.getReason()) && proto.org.dash.platform.dapi.v0.ContractModerationReason.toObject(includeInstance, f)
|
|
30134
|
+
};
|
|
30135
|
+
|
|
30136
|
+
if (includeInstance) {
|
|
30137
|
+
obj.$jspbMessageInstance = msg;
|
|
30138
|
+
}
|
|
30139
|
+
return obj;
|
|
30140
|
+
};
|
|
30141
|
+
}
|
|
30142
|
+
|
|
30143
|
+
|
|
30144
|
+
/**
|
|
30145
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30146
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30147
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractWarning}
|
|
30148
|
+
*/
|
|
30149
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.deserializeBinary = function(bytes) {
|
|
30150
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30151
|
+
var msg = new proto.org.dash.platform.dapi.v0.ContractWarning;
|
|
30152
|
+
return proto.org.dash.platform.dapi.v0.ContractWarning.deserializeBinaryFromReader(msg, reader);
|
|
30153
|
+
};
|
|
30154
|
+
|
|
30155
|
+
|
|
30156
|
+
/**
|
|
30157
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30158
|
+
* given reader into the given message object.
|
|
30159
|
+
* @param {!proto.org.dash.platform.dapi.v0.ContractWarning} msg The message object to deserialize into.
|
|
30160
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30161
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractWarning}
|
|
30162
|
+
*/
|
|
30163
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.deserializeBinaryFromReader = function(msg, reader) {
|
|
30164
|
+
while (reader.nextField()) {
|
|
30165
|
+
if (reader.isEndGroup()) {
|
|
30166
|
+
break;
|
|
30167
|
+
}
|
|
30168
|
+
var field = reader.getFieldNumber();
|
|
30169
|
+
switch (field) {
|
|
30170
|
+
case 1:
|
|
30171
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
30172
|
+
msg.setWarnedAt(value);
|
|
30173
|
+
break;
|
|
30174
|
+
case 2:
|
|
30175
|
+
var value = new proto.org.dash.platform.dapi.v0.ContractModerationReason;
|
|
30176
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ContractModerationReason.deserializeBinaryFromReader);
|
|
30177
|
+
msg.setReason(value);
|
|
30178
|
+
break;
|
|
30179
|
+
default:
|
|
30180
|
+
reader.skipField();
|
|
30181
|
+
break;
|
|
30182
|
+
}
|
|
30183
|
+
}
|
|
30184
|
+
return msg;
|
|
30185
|
+
};
|
|
30186
|
+
|
|
30187
|
+
|
|
30188
|
+
/**
|
|
30189
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30190
|
+
* @return {!Uint8Array}
|
|
30191
|
+
*/
|
|
30192
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.prototype.serializeBinary = function() {
|
|
30193
|
+
var writer = new jspb.BinaryWriter();
|
|
30194
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.serializeBinaryToWriter(this, writer);
|
|
30195
|
+
return writer.getResultBuffer();
|
|
30196
|
+
};
|
|
30197
|
+
|
|
30198
|
+
|
|
30199
|
+
/**
|
|
30200
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30201
|
+
* format), writing to the given BinaryWriter.
|
|
30202
|
+
* @param {!proto.org.dash.platform.dapi.v0.ContractWarning} message
|
|
30203
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30204
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30205
|
+
*/
|
|
30206
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.serializeBinaryToWriter = function(message, writer) {
|
|
30207
|
+
var f = undefined;
|
|
30208
|
+
f = message.getWarnedAt();
|
|
30209
|
+
if (f !== 0) {
|
|
30210
|
+
writer.writeUint64(
|
|
30211
|
+
1,
|
|
30212
|
+
f
|
|
30213
|
+
);
|
|
30214
|
+
}
|
|
30215
|
+
f = message.getReason();
|
|
30216
|
+
if (f != null) {
|
|
30217
|
+
writer.writeMessage(
|
|
30218
|
+
2,
|
|
30219
|
+
f,
|
|
30220
|
+
proto.org.dash.platform.dapi.v0.ContractModerationReason.serializeBinaryToWriter
|
|
30221
|
+
);
|
|
30222
|
+
}
|
|
30223
|
+
};
|
|
30224
|
+
|
|
30225
|
+
|
|
30226
|
+
/**
|
|
30227
|
+
* optional uint64 warned_at = 1;
|
|
30228
|
+
* @return {number}
|
|
30229
|
+
*/
|
|
30230
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.prototype.getWarnedAt = function() {
|
|
30231
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
30232
|
+
};
|
|
30233
|
+
|
|
30234
|
+
|
|
30235
|
+
/**
|
|
30236
|
+
* @param {number} value
|
|
30237
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractWarning} returns this
|
|
30238
|
+
*/
|
|
30239
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.prototype.setWarnedAt = function(value) {
|
|
30240
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
30241
|
+
};
|
|
30242
|
+
|
|
30243
|
+
|
|
30244
|
+
/**
|
|
30245
|
+
* optional ContractModerationReason reason = 2;
|
|
30246
|
+
* @return {?proto.org.dash.platform.dapi.v0.ContractModerationReason}
|
|
30247
|
+
*/
|
|
30248
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.prototype.getReason = function() {
|
|
30249
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ContractModerationReason} */ (
|
|
30250
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ContractModerationReason, 2));
|
|
30251
|
+
};
|
|
30252
|
+
|
|
30253
|
+
|
|
30254
|
+
/**
|
|
30255
|
+
* @param {?proto.org.dash.platform.dapi.v0.ContractModerationReason|undefined} value
|
|
30256
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractWarning} returns this
|
|
30257
|
+
*/
|
|
30258
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.prototype.setReason = function(value) {
|
|
30259
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
30260
|
+
};
|
|
30261
|
+
|
|
30262
|
+
|
|
30263
|
+
/**
|
|
30264
|
+
* Clears the message field making it undefined.
|
|
30265
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractWarning} returns this
|
|
30266
|
+
*/
|
|
30267
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.prototype.clearReason = function() {
|
|
30268
|
+
return this.setReason(undefined);
|
|
30269
|
+
};
|
|
30270
|
+
|
|
30271
|
+
|
|
30272
|
+
/**
|
|
30273
|
+
* Returns whether this field is set.
|
|
30274
|
+
* @return {boolean}
|
|
30275
|
+
*/
|
|
30276
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.prototype.hasReason = function() {
|
|
30277
|
+
return jspb.Message.getField(this, 2) != null;
|
|
30278
|
+
};
|
|
30279
|
+
|
|
30280
|
+
|
|
29696
30281
|
|
|
29697
30282
|
/**
|
|
29698
30283
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -30310,7 +30895,7 @@ proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.serializeBin
|
|
|
30310
30895
|
* @private {!Array<number>}
|
|
30311
30896
|
* @const
|
|
30312
30897
|
*/
|
|
30313
|
-
proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatus.repeatedFields_ = [3];
|
|
30898
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatus.repeatedFields_ = [3,6];
|
|
30314
30899
|
|
|
30315
30900
|
|
|
30316
30901
|
|
|
@@ -30347,7 +30932,9 @@ proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractMode
|
|
|
30347
30932
|
suspendedUntil: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
30348
30933
|
listsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
30349
30934
|
banReason: (f = msg.getBanReason()) && proto.org.dash.platform.dapi.v0.ContractModerationReason.toObject(includeInstance, f),
|
|
30350
|
-
suspensionReason: (f = msg.getSuspensionReason()) && proto.org.dash.platform.dapi.v0.ContractModerationReason.toObject(includeInstance, f)
|
|
30935
|
+
suspensionReason: (f = msg.getSuspensionReason()) && proto.org.dash.platform.dapi.v0.ContractModerationReason.toObject(includeInstance, f),
|
|
30936
|
+
warningsList: jspb.Message.toObjectList(msg.getWarningsList(),
|
|
30937
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.toObject, includeInstance)
|
|
30351
30938
|
};
|
|
30352
30939
|
|
|
30353
30940
|
if (includeInstance) {
|
|
@@ -30408,6 +30995,11 @@ proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractMode
|
|
|
30408
30995
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ContractModerationReason.deserializeBinaryFromReader);
|
|
30409
30996
|
msg.setSuspensionReason(value);
|
|
30410
30997
|
break;
|
|
30998
|
+
case 6:
|
|
30999
|
+
var value = new proto.org.dash.platform.dapi.v0.ContractWarning;
|
|
31000
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ContractWarning.deserializeBinaryFromReader);
|
|
31001
|
+
msg.addWarnings(value);
|
|
31002
|
+
break;
|
|
30411
31003
|
default:
|
|
30412
31004
|
reader.skipField();
|
|
30413
31005
|
break;
|
|
@@ -30474,6 +31066,14 @@ proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractMode
|
|
|
30474
31066
|
proto.org.dash.platform.dapi.v0.ContractModerationReason.serializeBinaryToWriter
|
|
30475
31067
|
);
|
|
30476
31068
|
}
|
|
31069
|
+
f = message.getWarningsList();
|
|
31070
|
+
if (f.length > 0) {
|
|
31071
|
+
writer.writeRepeatedMessage(
|
|
31072
|
+
6,
|
|
31073
|
+
f,
|
|
31074
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.serializeBinaryToWriter
|
|
31075
|
+
);
|
|
31076
|
+
}
|
|
30477
31077
|
};
|
|
30478
31078
|
|
|
30479
31079
|
|
|
@@ -30660,6 +31260,44 @@ proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractMode
|
|
|
30660
31260
|
};
|
|
30661
31261
|
|
|
30662
31262
|
|
|
31263
|
+
/**
|
|
31264
|
+
* repeated ContractWarning warnings = 6;
|
|
31265
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.ContractWarning>}
|
|
31266
|
+
*/
|
|
31267
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatus.prototype.getWarningsList = function() {
|
|
31268
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.ContractWarning>} */ (
|
|
31269
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.ContractWarning, 6));
|
|
31270
|
+
};
|
|
31271
|
+
|
|
31272
|
+
|
|
31273
|
+
/**
|
|
31274
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.ContractWarning>} value
|
|
31275
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatus} returns this
|
|
31276
|
+
*/
|
|
31277
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatus.prototype.setWarningsList = function(value) {
|
|
31278
|
+
return jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
31279
|
+
};
|
|
31280
|
+
|
|
31281
|
+
|
|
31282
|
+
/**
|
|
31283
|
+
* @param {!proto.org.dash.platform.dapi.v0.ContractWarning=} opt_value
|
|
31284
|
+
* @param {number=} opt_index
|
|
31285
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractWarning}
|
|
31286
|
+
*/
|
|
31287
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatus.prototype.addWarnings = function(opt_value, opt_index) {
|
|
31288
|
+
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.org.dash.platform.dapi.v0.ContractWarning, opt_index);
|
|
31289
|
+
};
|
|
31290
|
+
|
|
31291
|
+
|
|
31292
|
+
/**
|
|
31293
|
+
* Clears the list making it empty but non-null.
|
|
31294
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatus} returns this
|
|
31295
|
+
*/
|
|
31296
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationStatusResponse.ContractModerationStatus.prototype.clearWarningsList = function() {
|
|
31297
|
+
return this.setWarningsList([]);
|
|
31298
|
+
};
|
|
31299
|
+
|
|
31300
|
+
|
|
30663
31301
|
|
|
30664
31302
|
/**
|
|
30665
31303
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -31626,6 +32264,13 @@ proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.serializeBi
|
|
|
31626
32264
|
|
|
31627
32265
|
|
|
31628
32266
|
|
|
32267
|
+
/**
|
|
32268
|
+
* List of repeated fields within this message type.
|
|
32269
|
+
* @private {!Array<number>}
|
|
32270
|
+
* @const
|
|
32271
|
+
*/
|
|
32272
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry.repeatedFields_ = [4];
|
|
32273
|
+
|
|
31629
32274
|
|
|
31630
32275
|
|
|
31631
32276
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -31659,7 +32304,9 @@ proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractMod
|
|
|
31659
32304
|
var f, obj = {
|
|
31660
32305
|
identityId: msg.getIdentityId_asB64(),
|
|
31661
32306
|
until: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
31662
|
-
reason: (f = msg.getReason()) && proto.org.dash.platform.dapi.v0.ContractModerationReason.toObject(includeInstance, f)
|
|
32307
|
+
reason: (f = msg.getReason()) && proto.org.dash.platform.dapi.v0.ContractModerationReason.toObject(includeInstance, f),
|
|
32308
|
+
warningsList: jspb.Message.toObjectList(msg.getWarningsList(),
|
|
32309
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.toObject, includeInstance)
|
|
31663
32310
|
};
|
|
31664
32311
|
|
|
31665
32312
|
if (includeInstance) {
|
|
@@ -31709,6 +32356,11 @@ proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractMod
|
|
|
31709
32356
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ContractModerationReason.deserializeBinaryFromReader);
|
|
31710
32357
|
msg.setReason(value);
|
|
31711
32358
|
break;
|
|
32359
|
+
case 4:
|
|
32360
|
+
var value = new proto.org.dash.platform.dapi.v0.ContractWarning;
|
|
32361
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ContractWarning.deserializeBinaryFromReader);
|
|
32362
|
+
msg.addWarnings(value);
|
|
32363
|
+
break;
|
|
31712
32364
|
default:
|
|
31713
32365
|
reader.skipField();
|
|
31714
32366
|
break;
|
|
@@ -31760,6 +32412,14 @@ proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractMod
|
|
|
31760
32412
|
proto.org.dash.platform.dapi.v0.ContractModerationReason.serializeBinaryToWriter
|
|
31761
32413
|
);
|
|
31762
32414
|
}
|
|
32415
|
+
f = message.getWarningsList();
|
|
32416
|
+
if (f.length > 0) {
|
|
32417
|
+
writer.writeRepeatedMessage(
|
|
32418
|
+
4,
|
|
32419
|
+
f,
|
|
32420
|
+
proto.org.dash.platform.dapi.v0.ContractWarning.serializeBinaryToWriter
|
|
32421
|
+
);
|
|
32422
|
+
}
|
|
31763
32423
|
};
|
|
31764
32424
|
|
|
31765
32425
|
|
|
@@ -31878,6 +32538,44 @@ proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractMod
|
|
|
31878
32538
|
};
|
|
31879
32539
|
|
|
31880
32540
|
|
|
32541
|
+
/**
|
|
32542
|
+
* repeated ContractWarning warnings = 4;
|
|
32543
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.ContractWarning>}
|
|
32544
|
+
*/
|
|
32545
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry.prototype.getWarningsList = function() {
|
|
32546
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.ContractWarning>} */ (
|
|
32547
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.ContractWarning, 4));
|
|
32548
|
+
};
|
|
32549
|
+
|
|
32550
|
+
|
|
32551
|
+
/**
|
|
32552
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.ContractWarning>} value
|
|
32553
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry} returns this
|
|
32554
|
+
*/
|
|
32555
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry.prototype.setWarningsList = function(value) {
|
|
32556
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
32557
|
+
};
|
|
32558
|
+
|
|
32559
|
+
|
|
32560
|
+
/**
|
|
32561
|
+
* @param {!proto.org.dash.platform.dapi.v0.ContractWarning=} opt_value
|
|
32562
|
+
* @param {number=} opt_index
|
|
32563
|
+
* @return {!proto.org.dash.platform.dapi.v0.ContractWarning}
|
|
32564
|
+
*/
|
|
32565
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry.prototype.addWarnings = function(opt_value, opt_index) {
|
|
32566
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.org.dash.platform.dapi.v0.ContractWarning, opt_index);
|
|
32567
|
+
};
|
|
32568
|
+
|
|
32569
|
+
|
|
32570
|
+
/**
|
|
32571
|
+
* Clears the list making it empty but non-null.
|
|
32572
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry} returns this
|
|
32573
|
+
*/
|
|
32574
|
+
proto.org.dash.platform.dapi.v0.GetContractModerationEntriesResponse.ContractModerationEntry.prototype.clearWarningsList = function() {
|
|
32575
|
+
return this.setWarningsList([]);
|
|
32576
|
+
};
|
|
32577
|
+
|
|
32578
|
+
|
|
31881
32579
|
|
|
31882
32580
|
/**
|
|
31883
32581
|
* List of repeated fields within this message type.
|
|
@@ -33414,6 +34112,190 @@ proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.serializeBin
|
|
|
33414
34112
|
|
|
33415
34113
|
|
|
33416
34114
|
|
|
34115
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34116
|
+
/**
|
|
34117
|
+
* Creates an object representation of this proto.
|
|
34118
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
34119
|
+
* Optional fields that are not set will be set to undefined.
|
|
34120
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
34121
|
+
* For the list of reserved names please see:
|
|
34122
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
34123
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
34124
|
+
* JSPB instance for transitional soy proto support:
|
|
34125
|
+
* http://goto/soy-param-migration
|
|
34126
|
+
* @return {!Object}
|
|
34127
|
+
*/
|
|
34128
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.prototype.toObject = function(opt_includeInstance) {
|
|
34129
|
+
return proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.toObject(opt_includeInstance, this);
|
|
34130
|
+
};
|
|
34131
|
+
|
|
34132
|
+
|
|
34133
|
+
/**
|
|
34134
|
+
* Static version of the {@see toObject} method.
|
|
34135
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
34136
|
+
* the JSPB instance for transitional soy proto support:
|
|
34137
|
+
* http://goto/soy-param-migration
|
|
34138
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration} msg The msg instance to transform.
|
|
34139
|
+
* @return {!Object}
|
|
34140
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34141
|
+
*/
|
|
34142
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.toObject = function(includeInstance, msg) {
|
|
34143
|
+
var f, obj = {
|
|
34144
|
+
moderatorId: msg.getModeratorId_asB64(),
|
|
34145
|
+
restoredAt: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
34146
|
+
};
|
|
34147
|
+
|
|
34148
|
+
if (includeInstance) {
|
|
34149
|
+
obj.$jspbMessageInstance = msg;
|
|
34150
|
+
}
|
|
34151
|
+
return obj;
|
|
34152
|
+
};
|
|
34153
|
+
}
|
|
34154
|
+
|
|
34155
|
+
|
|
34156
|
+
/**
|
|
34157
|
+
* Deserializes binary data (in protobuf wire format).
|
|
34158
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
34159
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration}
|
|
34160
|
+
*/
|
|
34161
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.deserializeBinary = function(bytes) {
|
|
34162
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
34163
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration;
|
|
34164
|
+
return proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.deserializeBinaryFromReader(msg, reader);
|
|
34165
|
+
};
|
|
34166
|
+
|
|
34167
|
+
|
|
34168
|
+
/**
|
|
34169
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
34170
|
+
* given reader into the given message object.
|
|
34171
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration} msg The message object to deserialize into.
|
|
34172
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
34173
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration}
|
|
34174
|
+
*/
|
|
34175
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.deserializeBinaryFromReader = function(msg, reader) {
|
|
34176
|
+
while (reader.nextField()) {
|
|
34177
|
+
if (reader.isEndGroup()) {
|
|
34178
|
+
break;
|
|
34179
|
+
}
|
|
34180
|
+
var field = reader.getFieldNumber();
|
|
34181
|
+
switch (field) {
|
|
34182
|
+
case 1:
|
|
34183
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
34184
|
+
msg.setModeratorId(value);
|
|
34185
|
+
break;
|
|
34186
|
+
case 2:
|
|
34187
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
34188
|
+
msg.setRestoredAt(value);
|
|
34189
|
+
break;
|
|
34190
|
+
default:
|
|
34191
|
+
reader.skipField();
|
|
34192
|
+
break;
|
|
34193
|
+
}
|
|
34194
|
+
}
|
|
34195
|
+
return msg;
|
|
34196
|
+
};
|
|
34197
|
+
|
|
34198
|
+
|
|
34199
|
+
/**
|
|
34200
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
34201
|
+
* @return {!Uint8Array}
|
|
34202
|
+
*/
|
|
34203
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.prototype.serializeBinary = function() {
|
|
34204
|
+
var writer = new jspb.BinaryWriter();
|
|
34205
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.serializeBinaryToWriter(this, writer);
|
|
34206
|
+
return writer.getResultBuffer();
|
|
34207
|
+
};
|
|
34208
|
+
|
|
34209
|
+
|
|
34210
|
+
/**
|
|
34211
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
34212
|
+
* format), writing to the given BinaryWriter.
|
|
34213
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration} message
|
|
34214
|
+
* @param {!jspb.BinaryWriter} writer
|
|
34215
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34216
|
+
*/
|
|
34217
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.serializeBinaryToWriter = function(message, writer) {
|
|
34218
|
+
var f = undefined;
|
|
34219
|
+
f = message.getModeratorId_asU8();
|
|
34220
|
+
if (f.length > 0) {
|
|
34221
|
+
writer.writeBytes(
|
|
34222
|
+
1,
|
|
34223
|
+
f
|
|
34224
|
+
);
|
|
34225
|
+
}
|
|
34226
|
+
f = message.getRestoredAt();
|
|
34227
|
+
if (f !== 0) {
|
|
34228
|
+
writer.writeUint64(
|
|
34229
|
+
2,
|
|
34230
|
+
f
|
|
34231
|
+
);
|
|
34232
|
+
}
|
|
34233
|
+
};
|
|
34234
|
+
|
|
34235
|
+
|
|
34236
|
+
/**
|
|
34237
|
+
* optional bytes moderator_id = 1;
|
|
34238
|
+
* @return {string}
|
|
34239
|
+
*/
|
|
34240
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.prototype.getModeratorId = function() {
|
|
34241
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
34242
|
+
};
|
|
34243
|
+
|
|
34244
|
+
|
|
34245
|
+
/**
|
|
34246
|
+
* optional bytes moderator_id = 1;
|
|
34247
|
+
* This is a type-conversion wrapper around `getModeratorId()`
|
|
34248
|
+
* @return {string}
|
|
34249
|
+
*/
|
|
34250
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.prototype.getModeratorId_asB64 = function() {
|
|
34251
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
34252
|
+
this.getModeratorId()));
|
|
34253
|
+
};
|
|
34254
|
+
|
|
34255
|
+
|
|
34256
|
+
/**
|
|
34257
|
+
* optional bytes moderator_id = 1;
|
|
34258
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
34259
|
+
* @see http://caniuse.com/Uint8Array
|
|
34260
|
+
* This is a type-conversion wrapper around `getModeratorId()`
|
|
34261
|
+
* @return {!Uint8Array}
|
|
34262
|
+
*/
|
|
34263
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.prototype.getModeratorId_asU8 = function() {
|
|
34264
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
34265
|
+
this.getModeratorId()));
|
|
34266
|
+
};
|
|
34267
|
+
|
|
34268
|
+
|
|
34269
|
+
/**
|
|
34270
|
+
* @param {!(string|Uint8Array)} value
|
|
34271
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration} returns this
|
|
34272
|
+
*/
|
|
34273
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.prototype.setModeratorId = function(value) {
|
|
34274
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
34275
|
+
};
|
|
34276
|
+
|
|
34277
|
+
|
|
34278
|
+
/**
|
|
34279
|
+
* optional uint64 restored_at = 2;
|
|
34280
|
+
* @return {number}
|
|
34281
|
+
*/
|
|
34282
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.prototype.getRestoredAt = function() {
|
|
34283
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
34284
|
+
};
|
|
34285
|
+
|
|
34286
|
+
|
|
34287
|
+
/**
|
|
34288
|
+
* @param {number} value
|
|
34289
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration} returns this
|
|
34290
|
+
*/
|
|
34291
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.prototype.setRestoredAt = function(value) {
|
|
34292
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
34293
|
+
};
|
|
34294
|
+
|
|
34295
|
+
|
|
34296
|
+
|
|
34297
|
+
|
|
34298
|
+
|
|
33417
34299
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33418
34300
|
/**
|
|
33419
34301
|
* Creates an object representation of this proto.
|
|
@@ -33447,7 +34329,9 @@ proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocu
|
|
|
33447
34329
|
documentOwnerId: msg.getDocumentOwnerId_asB64(),
|
|
33448
34330
|
moderatorId: msg.getModeratorId_asB64(),
|
|
33449
34331
|
removedAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
33450
|
-
reason: (f = msg.getReason()) && proto.org.dash.platform.dapi.v0.ContractModerationReason.toObject(includeInstance, f)
|
|
34332
|
+
reason: (f = msg.getReason()) && proto.org.dash.platform.dapi.v0.ContractModerationReason.toObject(includeInstance, f),
|
|
34333
|
+
documentHash: msg.getDocumentHash_asB64(),
|
|
34334
|
+
restoration: (f = msg.getRestoration()) && proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.toObject(includeInstance, f)
|
|
33451
34335
|
};
|
|
33452
34336
|
|
|
33453
34337
|
if (includeInstance) {
|
|
@@ -33505,6 +34389,15 @@ proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocu
|
|
|
33505
34389
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ContractModerationReason.deserializeBinaryFromReader);
|
|
33506
34390
|
msg.setReason(value);
|
|
33507
34391
|
break;
|
|
34392
|
+
case 6:
|
|
34393
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
34394
|
+
msg.setDocumentHash(value);
|
|
34395
|
+
break;
|
|
34396
|
+
case 7:
|
|
34397
|
+
var value = new proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration;
|
|
34398
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.deserializeBinaryFromReader);
|
|
34399
|
+
msg.setRestoration(value);
|
|
34400
|
+
break;
|
|
33508
34401
|
default:
|
|
33509
34402
|
reader.skipField();
|
|
33510
34403
|
break;
|
|
@@ -33570,6 +34463,21 @@ proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocu
|
|
|
33570
34463
|
proto.org.dash.platform.dapi.v0.ContractModerationReason.serializeBinaryToWriter
|
|
33571
34464
|
);
|
|
33572
34465
|
}
|
|
34466
|
+
f = message.getDocumentHash_asU8();
|
|
34467
|
+
if (f.length > 0) {
|
|
34468
|
+
writer.writeBytes(
|
|
34469
|
+
6,
|
|
34470
|
+
f
|
|
34471
|
+
);
|
|
34472
|
+
}
|
|
34473
|
+
f = message.getRestoration();
|
|
34474
|
+
if (f != null) {
|
|
34475
|
+
writer.writeMessage(
|
|
34476
|
+
7,
|
|
34477
|
+
f,
|
|
34478
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration.serializeBinaryToWriter
|
|
34479
|
+
);
|
|
34480
|
+
}
|
|
33573
34481
|
};
|
|
33574
34482
|
|
|
33575
34483
|
|
|
@@ -33754,6 +34662,85 @@ proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocu
|
|
|
33754
34662
|
};
|
|
33755
34663
|
|
|
33756
34664
|
|
|
34665
|
+
/**
|
|
34666
|
+
* optional bytes document_hash = 6;
|
|
34667
|
+
* @return {string}
|
|
34668
|
+
*/
|
|
34669
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval.prototype.getDocumentHash = function() {
|
|
34670
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
34671
|
+
};
|
|
34672
|
+
|
|
34673
|
+
|
|
34674
|
+
/**
|
|
34675
|
+
* optional bytes document_hash = 6;
|
|
34676
|
+
* This is a type-conversion wrapper around `getDocumentHash()`
|
|
34677
|
+
* @return {string}
|
|
34678
|
+
*/
|
|
34679
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval.prototype.getDocumentHash_asB64 = function() {
|
|
34680
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
34681
|
+
this.getDocumentHash()));
|
|
34682
|
+
};
|
|
34683
|
+
|
|
34684
|
+
|
|
34685
|
+
/**
|
|
34686
|
+
* optional bytes document_hash = 6;
|
|
34687
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
34688
|
+
* @see http://caniuse.com/Uint8Array
|
|
34689
|
+
* This is a type-conversion wrapper around `getDocumentHash()`
|
|
34690
|
+
* @return {!Uint8Array}
|
|
34691
|
+
*/
|
|
34692
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval.prototype.getDocumentHash_asU8 = function() {
|
|
34693
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
34694
|
+
this.getDocumentHash()));
|
|
34695
|
+
};
|
|
34696
|
+
|
|
34697
|
+
|
|
34698
|
+
/**
|
|
34699
|
+
* @param {!(string|Uint8Array)} value
|
|
34700
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval} returns this
|
|
34701
|
+
*/
|
|
34702
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval.prototype.setDocumentHash = function(value) {
|
|
34703
|
+
return jspb.Message.setProto3BytesField(this, 6, value);
|
|
34704
|
+
};
|
|
34705
|
+
|
|
34706
|
+
|
|
34707
|
+
/**
|
|
34708
|
+
* optional ContractDocumentRestoration restoration = 7;
|
|
34709
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration}
|
|
34710
|
+
*/
|
|
34711
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval.prototype.getRestoration = function() {
|
|
34712
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration} */ (
|
|
34713
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration, 7));
|
|
34714
|
+
};
|
|
34715
|
+
|
|
34716
|
+
|
|
34717
|
+
/**
|
|
34718
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRestoration|undefined} value
|
|
34719
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval} returns this
|
|
34720
|
+
*/
|
|
34721
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval.prototype.setRestoration = function(value) {
|
|
34722
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
34723
|
+
};
|
|
34724
|
+
|
|
34725
|
+
|
|
34726
|
+
/**
|
|
34727
|
+
* Clears the message field making it undefined.
|
|
34728
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval} returns this
|
|
34729
|
+
*/
|
|
34730
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval.prototype.clearRestoration = function() {
|
|
34731
|
+
return this.setRestoration(undefined);
|
|
34732
|
+
};
|
|
34733
|
+
|
|
34734
|
+
|
|
34735
|
+
/**
|
|
34736
|
+
* Returns whether this field is set.
|
|
34737
|
+
* @return {boolean}
|
|
34738
|
+
*/
|
|
34739
|
+
proto.org.dash.platform.dapi.v0.GetContractDocumentRemovalsResponse.ContractDocumentRemoval.prototype.hasRestoration = function() {
|
|
34740
|
+
return jspb.Message.getField(this, 7) != null;
|
|
34741
|
+
};
|
|
34742
|
+
|
|
34743
|
+
|
|
33757
34744
|
|
|
33758
34745
|
/**
|
|
33759
34746
|
* List of repeated fields within this message type.
|
|
@@ -53768,7 +54755,8 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForState
|
|
|
53768
54755
|
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0.toObject = function(includeInstance, msg) {
|
|
53769
54756
|
var f, obj = {
|
|
53770
54757
|
stateTransitionHash: msg.getStateTransitionHash_asB64(),
|
|
53771
|
-
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
54758
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
54759
|
+
requestUserBalance: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
53772
54760
|
};
|
|
53773
54761
|
|
|
53774
54762
|
if (includeInstance) {
|
|
@@ -53813,6 +54801,10 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForState
|
|
|
53813
54801
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
53814
54802
|
msg.setProve(value);
|
|
53815
54803
|
break;
|
|
54804
|
+
case 3:
|
|
54805
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
54806
|
+
msg.setRequestUserBalance(value);
|
|
54807
|
+
break;
|
|
53816
54808
|
default:
|
|
53817
54809
|
reader.skipField();
|
|
53818
54810
|
break;
|
|
@@ -53856,6 +54848,13 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForState
|
|
|
53856
54848
|
f
|
|
53857
54849
|
);
|
|
53858
54850
|
}
|
|
54851
|
+
f = message.getRequestUserBalance();
|
|
54852
|
+
if (f) {
|
|
54853
|
+
writer.writeBool(
|
|
54854
|
+
3,
|
|
54855
|
+
f
|
|
54856
|
+
);
|
|
54857
|
+
}
|
|
53859
54858
|
};
|
|
53860
54859
|
|
|
53861
54860
|
|
|
@@ -53919,6 +54918,24 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForState
|
|
|
53919
54918
|
};
|
|
53920
54919
|
|
|
53921
54920
|
|
|
54921
|
+
/**
|
|
54922
|
+
* optional bool request_user_balance = 3;
|
|
54923
|
+
* @return {boolean}
|
|
54924
|
+
*/
|
|
54925
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0.prototype.getRequestUserBalance = function() {
|
|
54926
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
54927
|
+
};
|
|
54928
|
+
|
|
54929
|
+
|
|
54930
|
+
/**
|
|
54931
|
+
* @param {boolean} value
|
|
54932
|
+
* @return {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0} returns this
|
|
54933
|
+
*/
|
|
54934
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0.prototype.setRequestUserBalance = function(value) {
|
|
54935
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
54936
|
+
};
|
|
54937
|
+
|
|
54938
|
+
|
|
53922
54939
|
/**
|
|
53923
54940
|
* optional WaitForStateTransitionResultRequestV0 v0 = 1;
|
|
53924
54941
|
* @return {?proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0}
|
|
@@ -54096,6 +55113,136 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.serializeBi
|
|
|
54096
55113
|
|
|
54097
55114
|
|
|
54098
55115
|
|
|
55116
|
+
|
|
55117
|
+
|
|
55118
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
55119
|
+
/**
|
|
55120
|
+
* Creates an object representation of this proto.
|
|
55121
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
55122
|
+
* Optional fields that are not set will be set to undefined.
|
|
55123
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
55124
|
+
* For the list of reserved names please see:
|
|
55125
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
55126
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
55127
|
+
* JSPB instance for transitional soy proto support:
|
|
55128
|
+
* http://goto/soy-param-migration
|
|
55129
|
+
* @return {!Object}
|
|
55130
|
+
*/
|
|
55131
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.prototype.toObject = function(opt_includeInstance) {
|
|
55132
|
+
return proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.toObject(opt_includeInstance, this);
|
|
55133
|
+
};
|
|
55134
|
+
|
|
55135
|
+
|
|
55136
|
+
/**
|
|
55137
|
+
* Static version of the {@see toObject} method.
|
|
55138
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
55139
|
+
* the JSPB instance for transitional soy proto support:
|
|
55140
|
+
* http://goto/soy-param-migration
|
|
55141
|
+
* @param {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance} msg The msg instance to transform.
|
|
55142
|
+
* @return {!Object}
|
|
55143
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55144
|
+
*/
|
|
55145
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.toObject = function(includeInstance, msg) {
|
|
55146
|
+
var f, obj = {
|
|
55147
|
+
ownerBalance: jspb.Message.getFieldWithDefault(msg, 1, "0")
|
|
55148
|
+
};
|
|
55149
|
+
|
|
55150
|
+
if (includeInstance) {
|
|
55151
|
+
obj.$jspbMessageInstance = msg;
|
|
55152
|
+
}
|
|
55153
|
+
return obj;
|
|
55154
|
+
};
|
|
55155
|
+
}
|
|
55156
|
+
|
|
55157
|
+
|
|
55158
|
+
/**
|
|
55159
|
+
* Deserializes binary data (in protobuf wire format).
|
|
55160
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
55161
|
+
* @return {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance}
|
|
55162
|
+
*/
|
|
55163
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.deserializeBinary = function(bytes) {
|
|
55164
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
55165
|
+
var msg = new proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance;
|
|
55166
|
+
return proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.deserializeBinaryFromReader(msg, reader);
|
|
55167
|
+
};
|
|
55168
|
+
|
|
55169
|
+
|
|
55170
|
+
/**
|
|
55171
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
55172
|
+
* given reader into the given message object.
|
|
55173
|
+
* @param {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance} msg The message object to deserialize into.
|
|
55174
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
55175
|
+
* @return {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance}
|
|
55176
|
+
*/
|
|
55177
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.deserializeBinaryFromReader = function(msg, reader) {
|
|
55178
|
+
while (reader.nextField()) {
|
|
55179
|
+
if (reader.isEndGroup()) {
|
|
55180
|
+
break;
|
|
55181
|
+
}
|
|
55182
|
+
var field = reader.getFieldNumber();
|
|
55183
|
+
switch (field) {
|
|
55184
|
+
case 1:
|
|
55185
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
55186
|
+
msg.setOwnerBalance(value);
|
|
55187
|
+
break;
|
|
55188
|
+
default:
|
|
55189
|
+
reader.skipField();
|
|
55190
|
+
break;
|
|
55191
|
+
}
|
|
55192
|
+
}
|
|
55193
|
+
return msg;
|
|
55194
|
+
};
|
|
55195
|
+
|
|
55196
|
+
|
|
55197
|
+
/**
|
|
55198
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
55199
|
+
* @return {!Uint8Array}
|
|
55200
|
+
*/
|
|
55201
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.prototype.serializeBinary = function() {
|
|
55202
|
+
var writer = new jspb.BinaryWriter();
|
|
55203
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.serializeBinaryToWriter(this, writer);
|
|
55204
|
+
return writer.getResultBuffer();
|
|
55205
|
+
};
|
|
55206
|
+
|
|
55207
|
+
|
|
55208
|
+
/**
|
|
55209
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
55210
|
+
* format), writing to the given BinaryWriter.
|
|
55211
|
+
* @param {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance} message
|
|
55212
|
+
* @param {!jspb.BinaryWriter} writer
|
|
55213
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
55214
|
+
*/
|
|
55215
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.serializeBinaryToWriter = function(message, writer) {
|
|
55216
|
+
var f = undefined;
|
|
55217
|
+
f = message.getOwnerBalance();
|
|
55218
|
+
if (parseInt(f, 10) !== 0) {
|
|
55219
|
+
writer.writeUint64String(
|
|
55220
|
+
1,
|
|
55221
|
+
f
|
|
55222
|
+
);
|
|
55223
|
+
}
|
|
55224
|
+
};
|
|
55225
|
+
|
|
55226
|
+
|
|
55227
|
+
/**
|
|
55228
|
+
* optional uint64 owner_balance = 1;
|
|
55229
|
+
* @return {string}
|
|
55230
|
+
*/
|
|
55231
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.prototype.getOwnerBalance = function() {
|
|
55232
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
|
|
55233
|
+
};
|
|
55234
|
+
|
|
55235
|
+
|
|
55236
|
+
/**
|
|
55237
|
+
* @param {string} value
|
|
55238
|
+
* @return {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance} returns this
|
|
55239
|
+
*/
|
|
55240
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.prototype.setOwnerBalance = function(value) {
|
|
55241
|
+
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
55242
|
+
};
|
|
55243
|
+
|
|
55244
|
+
|
|
55245
|
+
|
|
54099
55246
|
/**
|
|
54100
55247
|
* Oneof group definitions for this message. Each group defines the field
|
|
54101
55248
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -54104,7 +55251,7 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.serializeBi
|
|
|
54104
55251
|
* @private {!Array<!Array<number>>}
|
|
54105
55252
|
* @const
|
|
54106
55253
|
*/
|
|
54107
|
-
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0.oneofGroups_ = [[1,2]];
|
|
55254
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0.oneofGroups_ = [[1,2,4]];
|
|
54108
55255
|
|
|
54109
55256
|
/**
|
|
54110
55257
|
* @enum {number}
|
|
@@ -54112,7 +55259,8 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStat
|
|
|
54112
55259
|
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0.ResultCase = {
|
|
54113
55260
|
RESULT_NOT_SET: 0,
|
|
54114
55261
|
ERROR: 1,
|
|
54115
|
-
PROOF: 2
|
|
55262
|
+
PROOF: 2,
|
|
55263
|
+
SUCCESS_WITH_OWNER_BALANCE: 4
|
|
54116
55264
|
};
|
|
54117
55265
|
|
|
54118
55266
|
/**
|
|
@@ -54155,6 +55303,7 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStat
|
|
|
54155
55303
|
var f, obj = {
|
|
54156
55304
|
error: (f = msg.getError()) && proto.org.dash.platform.dapi.v0.StateTransitionBroadcastError.toObject(includeInstance, f),
|
|
54157
55305
|
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
55306
|
+
successWithOwnerBalance: (f = msg.getSuccessWithOwnerBalance()) && proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.toObject(includeInstance, f),
|
|
54158
55307
|
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
54159
55308
|
};
|
|
54160
55309
|
|
|
@@ -54202,6 +55351,11 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStat
|
|
|
54202
55351
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
54203
55352
|
msg.setProof(value);
|
|
54204
55353
|
break;
|
|
55354
|
+
case 4:
|
|
55355
|
+
var value = new proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance;
|
|
55356
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.deserializeBinaryFromReader);
|
|
55357
|
+
msg.setSuccessWithOwnerBalance(value);
|
|
55358
|
+
break;
|
|
54205
55359
|
case 3:
|
|
54206
55360
|
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
54207
55361
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
@@ -54252,6 +55406,14 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStat
|
|
|
54252
55406
|
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
54253
55407
|
);
|
|
54254
55408
|
}
|
|
55409
|
+
f = message.getSuccessWithOwnerBalance();
|
|
55410
|
+
if (f != null) {
|
|
55411
|
+
writer.writeMessage(
|
|
55412
|
+
4,
|
|
55413
|
+
f,
|
|
55414
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance.serializeBinaryToWriter
|
|
55415
|
+
);
|
|
55416
|
+
}
|
|
54255
55417
|
f = message.getMetadata();
|
|
54256
55418
|
if (f != null) {
|
|
54257
55419
|
writer.writeMessage(
|
|
@@ -54337,6 +55499,43 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStat
|
|
|
54337
55499
|
};
|
|
54338
55500
|
|
|
54339
55501
|
|
|
55502
|
+
/**
|
|
55503
|
+
* optional SuccessWithOwnerBalance success_with_owner_balance = 4;
|
|
55504
|
+
* @return {?proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance}
|
|
55505
|
+
*/
|
|
55506
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0.prototype.getSuccessWithOwnerBalance = function() {
|
|
55507
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance} */ (
|
|
55508
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance, 4));
|
|
55509
|
+
};
|
|
55510
|
+
|
|
55511
|
+
|
|
55512
|
+
/**
|
|
55513
|
+
* @param {?proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.SuccessWithOwnerBalance|undefined} value
|
|
55514
|
+
* @return {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0} returns this
|
|
55515
|
+
*/
|
|
55516
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0.prototype.setSuccessWithOwnerBalance = function(value) {
|
|
55517
|
+
return jspb.Message.setOneofWrapperField(this, 4, proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0.oneofGroups_[0], value);
|
|
55518
|
+
};
|
|
55519
|
+
|
|
55520
|
+
|
|
55521
|
+
/**
|
|
55522
|
+
* Clears the message field making it undefined.
|
|
55523
|
+
* @return {!proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0} returns this
|
|
55524
|
+
*/
|
|
55525
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0.prototype.clearSuccessWithOwnerBalance = function() {
|
|
55526
|
+
return this.setSuccessWithOwnerBalance(undefined);
|
|
55527
|
+
};
|
|
55528
|
+
|
|
55529
|
+
|
|
55530
|
+
/**
|
|
55531
|
+
* Returns whether this field is set.
|
|
55532
|
+
* @return {boolean}
|
|
55533
|
+
*/
|
|
55534
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0.prototype.hasSuccessWithOwnerBalance = function() {
|
|
55535
|
+
return jspb.Message.getField(this, 4) != null;
|
|
55536
|
+
};
|
|
55537
|
+
|
|
55538
|
+
|
|
54340
55539
|
/**
|
|
54341
55540
|
* optional ResponseMetadata metadata = 3;
|
|
54342
55541
|
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
@@ -112676,7 +113875,8 @@ proto.org.dash.platform.dapi.v0.KeyPurpose = {
|
|
|
112676
113875
|
proto.org.dash.platform.dapi.v0.ContractModerationList = {
|
|
112677
113876
|
CONTRACT_MODERATION_LIST_UNSPECIFIED: 0,
|
|
112678
113877
|
CONTRACT_MODERATION_LIST_BANLIST: 1,
|
|
112679
|
-
CONTRACT_MODERATION_LIST_SUSPENSIONS: 2
|
|
113878
|
+
CONTRACT_MODERATION_LIST_SUSPENSIONS: 2,
|
|
113879
|
+
CONTRACT_MODERATION_LIST_WARNINGS: 3
|
|
112680
113880
|
};
|
|
112681
113881
|
|
|
112682
113882
|
goog.object.extend(exports, proto.org.dash.platform.dapi.v0);
|