protobuf-platform 1.2.314 → 1.2.317

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/bet/bet_pb.js CHANGED
@@ -31,6 +31,8 @@ goog.exportSymbol('proto.bet.AxiomGetBetsRequest', null, global);
31
31
  goog.exportSymbol('proto.bet.AxiomGetHashRequest', null, global);
32
32
  goog.exportSymbol('proto.bet.AxiomProcessBetRequest', null, global);
33
33
  goog.exportSymbol('proto.bet.BetsHistoryResponse', null, global);
34
+ goog.exportSymbol('proto.bet.CreateTestBetRequest', null, global);
35
+ goog.exportSymbol('proto.bet.CreateTestBetResponse', null, global);
34
36
  goog.exportSymbol('proto.bet.DashboardGameInfo', null, global);
35
37
  goog.exportSymbol('proto.bet.DashboardRequest', null, global);
36
38
  goog.exportSymbol('proto.bet.DashboardResponse', null, global);
@@ -43,6 +45,7 @@ goog.exportSymbol('proto.bet.SportBetListItem', null, global);
43
45
  goog.exportSymbol('proto.bet.SportBetsHistoryResponse', null, global);
44
46
  goog.exportSymbol('proto.bet.SportEventInfo', null, global);
45
47
  goog.exportSymbol('proto.bet.SportOutcomeItem', null, global);
48
+ goog.exportSymbol('proto.bet.TestBetResult', null, global);
46
49
  goog.exportSymbol('proto.bet.UserBetItem', null, global);
47
50
  goog.exportSymbol('proto.bet.UserSearchRequest', null, global);
48
51
  goog.exportSymbol('proto.bet.WinRateItem', null, global);
@@ -467,6 +470,69 @@ if (goog.DEBUG && !COMPILED) {
467
470
  */
468
471
  proto.bet.AxiomBetStatusResponse.displayName = 'proto.bet.AxiomBetStatusResponse';
469
472
  }
473
+ /**
474
+ * Generated by JsPbCodeGenerator.
475
+ * @param {Array=} opt_data Optional initial data array, typically from a
476
+ * server response, or constructed directly in Javascript. The array is used
477
+ * in place and becomes part of the constructed object. It is not cloned.
478
+ * If no data is provided, the constructed object will be empty, but still
479
+ * valid.
480
+ * @extends {jspb.Message}
481
+ * @constructor
482
+ */
483
+ proto.bet.CreateTestBetRequest = function(opt_data) {
484
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
485
+ };
486
+ goog.inherits(proto.bet.CreateTestBetRequest, jspb.Message);
487
+ if (goog.DEBUG && !COMPILED) {
488
+ /**
489
+ * @public
490
+ * @override
491
+ */
492
+ proto.bet.CreateTestBetRequest.displayName = 'proto.bet.CreateTestBetRequest';
493
+ }
494
+ /**
495
+ * Generated by JsPbCodeGenerator.
496
+ * @param {Array=} opt_data Optional initial data array, typically from a
497
+ * server response, or constructed directly in Javascript. The array is used
498
+ * in place and becomes part of the constructed object. It is not cloned.
499
+ * If no data is provided, the constructed object will be empty, but still
500
+ * valid.
501
+ * @extends {jspb.Message}
502
+ * @constructor
503
+ */
504
+ proto.bet.CreateTestBetResponse = function(opt_data) {
505
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
506
+ };
507
+ goog.inherits(proto.bet.CreateTestBetResponse, jspb.Message);
508
+ if (goog.DEBUG && !COMPILED) {
509
+ /**
510
+ * @public
511
+ * @override
512
+ */
513
+ proto.bet.CreateTestBetResponse.displayName = 'proto.bet.CreateTestBetResponse';
514
+ }
515
+ /**
516
+ * Generated by JsPbCodeGenerator.
517
+ * @param {Array=} opt_data Optional initial data array, typically from a
518
+ * server response, or constructed directly in Javascript. The array is used
519
+ * in place and becomes part of the constructed object. It is not cloned.
520
+ * If no data is provided, the constructed object will be empty, but still
521
+ * valid.
522
+ * @extends {jspb.Message}
523
+ * @constructor
524
+ */
525
+ proto.bet.TestBetResult = function(opt_data) {
526
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
527
+ };
528
+ goog.inherits(proto.bet.TestBetResult, jspb.Message);
529
+ if (goog.DEBUG && !COMPILED) {
530
+ /**
531
+ * @public
532
+ * @override
533
+ */
534
+ proto.bet.TestBetResult.displayName = 'proto.bet.TestBetResult';
535
+ }
470
536
  /**
471
537
  * Generated by JsPbCodeGenerator.
472
538
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6678,6 +6744,1200 @@ proto.bet.AxiomBetStatusResponse.prototype.setStatus = function(value) {
6678
6744
 
6679
6745
 
6680
6746
 
6747
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6748
+ /**
6749
+ * Creates an object representation of this proto.
6750
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6751
+ * Optional fields that are not set will be set to undefined.
6752
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6753
+ * For the list of reserved names please see:
6754
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6755
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6756
+ * JSPB instance for transitional soy proto support:
6757
+ * http://goto/soy-param-migration
6758
+ * @return {!Object}
6759
+ */
6760
+ proto.bet.CreateTestBetRequest.prototype.toObject = function(opt_includeInstance) {
6761
+ return proto.bet.CreateTestBetRequest.toObject(opt_includeInstance, this);
6762
+ };
6763
+
6764
+
6765
+ /**
6766
+ * Static version of the {@see toObject} method.
6767
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6768
+ * the JSPB instance for transitional soy proto support:
6769
+ * http://goto/soy-param-migration
6770
+ * @param {!proto.bet.CreateTestBetRequest} msg The msg instance to transform.
6771
+ * @return {!Object}
6772
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6773
+ */
6774
+ proto.bet.CreateTestBetRequest.toObject = function(includeInstance, msg) {
6775
+ var f, obj = {
6776
+ gameId: jspb.Message.getFieldWithDefault(msg, 1, 0),
6777
+ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
6778
+ currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
6779
+ tokenId: jspb.Message.getFieldWithDefault(msg, 4, ""),
6780
+ tokenChainId: jspb.Message.getFieldWithDefault(msg, 5, ""),
6781
+ withWin: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
6782
+ winAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
6783
+ };
6784
+
6785
+ if (includeInstance) {
6786
+ obj.$jspbMessageInstance = msg;
6787
+ }
6788
+ return obj;
6789
+ };
6790
+ }
6791
+
6792
+
6793
+ /**
6794
+ * Deserializes binary data (in protobuf wire format).
6795
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6796
+ * @return {!proto.bet.CreateTestBetRequest}
6797
+ */
6798
+ proto.bet.CreateTestBetRequest.deserializeBinary = function(bytes) {
6799
+ var reader = new jspb.BinaryReader(bytes);
6800
+ var msg = new proto.bet.CreateTestBetRequest;
6801
+ return proto.bet.CreateTestBetRequest.deserializeBinaryFromReader(msg, reader);
6802
+ };
6803
+
6804
+
6805
+ /**
6806
+ * Deserializes binary data (in protobuf wire format) from the
6807
+ * given reader into the given message object.
6808
+ * @param {!proto.bet.CreateTestBetRequest} msg The message object to deserialize into.
6809
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6810
+ * @return {!proto.bet.CreateTestBetRequest}
6811
+ */
6812
+ proto.bet.CreateTestBetRequest.deserializeBinaryFromReader = function(msg, reader) {
6813
+ while (reader.nextField()) {
6814
+ if (reader.isEndGroup()) {
6815
+ break;
6816
+ }
6817
+ var field = reader.getFieldNumber();
6818
+ switch (field) {
6819
+ case 1:
6820
+ var value = /** @type {number} */ (reader.readInt32());
6821
+ msg.setGameId(value);
6822
+ break;
6823
+ case 2:
6824
+ var value = /** @type {number} */ (reader.readFloat());
6825
+ msg.setAmount(value);
6826
+ break;
6827
+ case 3:
6828
+ var value = /** @type {string} */ (reader.readString());
6829
+ msg.setCurrency(value);
6830
+ break;
6831
+ case 4:
6832
+ var value = /** @type {string} */ (reader.readString());
6833
+ msg.setTokenId(value);
6834
+ break;
6835
+ case 5:
6836
+ var value = /** @type {string} */ (reader.readString());
6837
+ msg.setTokenChainId(value);
6838
+ break;
6839
+ case 6:
6840
+ var value = /** @type {boolean} */ (reader.readBool());
6841
+ msg.setWithWin(value);
6842
+ break;
6843
+ case 7:
6844
+ var value = /** @type {number} */ (reader.readFloat());
6845
+ msg.setWinAmount(value);
6846
+ break;
6847
+ default:
6848
+ reader.skipField();
6849
+ break;
6850
+ }
6851
+ }
6852
+ return msg;
6853
+ };
6854
+
6855
+
6856
+ /**
6857
+ * Serializes the message to binary data (in protobuf wire format).
6858
+ * @return {!Uint8Array}
6859
+ */
6860
+ proto.bet.CreateTestBetRequest.prototype.serializeBinary = function() {
6861
+ var writer = new jspb.BinaryWriter();
6862
+ proto.bet.CreateTestBetRequest.serializeBinaryToWriter(this, writer);
6863
+ return writer.getResultBuffer();
6864
+ };
6865
+
6866
+
6867
+ /**
6868
+ * Serializes the given message to binary data (in protobuf wire
6869
+ * format), writing to the given BinaryWriter.
6870
+ * @param {!proto.bet.CreateTestBetRequest} message
6871
+ * @param {!jspb.BinaryWriter} writer
6872
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6873
+ */
6874
+ proto.bet.CreateTestBetRequest.serializeBinaryToWriter = function(message, writer) {
6875
+ var f = undefined;
6876
+ f = message.getGameId();
6877
+ if (f !== 0) {
6878
+ writer.writeInt32(
6879
+ 1,
6880
+ f
6881
+ );
6882
+ }
6883
+ f = message.getAmount();
6884
+ if (f !== 0.0) {
6885
+ writer.writeFloat(
6886
+ 2,
6887
+ f
6888
+ );
6889
+ }
6890
+ f = message.getCurrency();
6891
+ if (f.length > 0) {
6892
+ writer.writeString(
6893
+ 3,
6894
+ f
6895
+ );
6896
+ }
6897
+ f = message.getTokenId();
6898
+ if (f.length > 0) {
6899
+ writer.writeString(
6900
+ 4,
6901
+ f
6902
+ );
6903
+ }
6904
+ f = message.getTokenChainId();
6905
+ if (f.length > 0) {
6906
+ writer.writeString(
6907
+ 5,
6908
+ f
6909
+ );
6910
+ }
6911
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
6912
+ if (f != null) {
6913
+ writer.writeBool(
6914
+ 6,
6915
+ f
6916
+ );
6917
+ }
6918
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
6919
+ if (f != null) {
6920
+ writer.writeFloat(
6921
+ 7,
6922
+ f
6923
+ );
6924
+ }
6925
+ };
6926
+
6927
+
6928
+ /**
6929
+ * optional int32 game_id = 1;
6930
+ * @return {number}
6931
+ */
6932
+ proto.bet.CreateTestBetRequest.prototype.getGameId = function() {
6933
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
6934
+ };
6935
+
6936
+
6937
+ /**
6938
+ * @param {number} value
6939
+ * @return {!proto.bet.CreateTestBetRequest} returns this
6940
+ */
6941
+ proto.bet.CreateTestBetRequest.prototype.setGameId = function(value) {
6942
+ return jspb.Message.setProto3IntField(this, 1, value);
6943
+ };
6944
+
6945
+
6946
+ /**
6947
+ * optional float amount = 2;
6948
+ * @return {number}
6949
+ */
6950
+ proto.bet.CreateTestBetRequest.prototype.getAmount = function() {
6951
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
6952
+ };
6953
+
6954
+
6955
+ /**
6956
+ * @param {number} value
6957
+ * @return {!proto.bet.CreateTestBetRequest} returns this
6958
+ */
6959
+ proto.bet.CreateTestBetRequest.prototype.setAmount = function(value) {
6960
+ return jspb.Message.setProto3FloatField(this, 2, value);
6961
+ };
6962
+
6963
+
6964
+ /**
6965
+ * optional string currency = 3;
6966
+ * @return {string}
6967
+ */
6968
+ proto.bet.CreateTestBetRequest.prototype.getCurrency = function() {
6969
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6970
+ };
6971
+
6972
+
6973
+ /**
6974
+ * @param {string} value
6975
+ * @return {!proto.bet.CreateTestBetRequest} returns this
6976
+ */
6977
+ proto.bet.CreateTestBetRequest.prototype.setCurrency = function(value) {
6978
+ return jspb.Message.setProto3StringField(this, 3, value);
6979
+ };
6980
+
6981
+
6982
+ /**
6983
+ * optional string token_id = 4;
6984
+ * @return {string}
6985
+ */
6986
+ proto.bet.CreateTestBetRequest.prototype.getTokenId = function() {
6987
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6988
+ };
6989
+
6990
+
6991
+ /**
6992
+ * @param {string} value
6993
+ * @return {!proto.bet.CreateTestBetRequest} returns this
6994
+ */
6995
+ proto.bet.CreateTestBetRequest.prototype.setTokenId = function(value) {
6996
+ return jspb.Message.setProto3StringField(this, 4, value);
6997
+ };
6998
+
6999
+
7000
+ /**
7001
+ * optional string token_chain_id = 5;
7002
+ * @return {string}
7003
+ */
7004
+ proto.bet.CreateTestBetRequest.prototype.getTokenChainId = function() {
7005
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
7006
+ };
7007
+
7008
+
7009
+ /**
7010
+ * @param {string} value
7011
+ * @return {!proto.bet.CreateTestBetRequest} returns this
7012
+ */
7013
+ proto.bet.CreateTestBetRequest.prototype.setTokenChainId = function(value) {
7014
+ return jspb.Message.setProto3StringField(this, 5, value);
7015
+ };
7016
+
7017
+
7018
+ /**
7019
+ * optional bool with_win = 6;
7020
+ * @return {boolean}
7021
+ */
7022
+ proto.bet.CreateTestBetRequest.prototype.getWithWin = function() {
7023
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
7024
+ };
7025
+
7026
+
7027
+ /**
7028
+ * @param {boolean} value
7029
+ * @return {!proto.bet.CreateTestBetRequest} returns this
7030
+ */
7031
+ proto.bet.CreateTestBetRequest.prototype.setWithWin = function(value) {
7032
+ return jspb.Message.setField(this, 6, value);
7033
+ };
7034
+
7035
+
7036
+ /**
7037
+ * Clears the field making it undefined.
7038
+ * @return {!proto.bet.CreateTestBetRequest} returns this
7039
+ */
7040
+ proto.bet.CreateTestBetRequest.prototype.clearWithWin = function() {
7041
+ return jspb.Message.setField(this, 6, undefined);
7042
+ };
7043
+
7044
+
7045
+ /**
7046
+ * Returns whether this field is set.
7047
+ * @return {boolean}
7048
+ */
7049
+ proto.bet.CreateTestBetRequest.prototype.hasWithWin = function() {
7050
+ return jspb.Message.getField(this, 6) != null;
7051
+ };
7052
+
7053
+
7054
+ /**
7055
+ * optional float win_amount = 7;
7056
+ * @return {number}
7057
+ */
7058
+ proto.bet.CreateTestBetRequest.prototype.getWinAmount = function() {
7059
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
7060
+ };
7061
+
7062
+
7063
+ /**
7064
+ * @param {number} value
7065
+ * @return {!proto.bet.CreateTestBetRequest} returns this
7066
+ */
7067
+ proto.bet.CreateTestBetRequest.prototype.setWinAmount = function(value) {
7068
+ return jspb.Message.setField(this, 7, value);
7069
+ };
7070
+
7071
+
7072
+ /**
7073
+ * Clears the field making it undefined.
7074
+ * @return {!proto.bet.CreateTestBetRequest} returns this
7075
+ */
7076
+ proto.bet.CreateTestBetRequest.prototype.clearWinAmount = function() {
7077
+ return jspb.Message.setField(this, 7, undefined);
7078
+ };
7079
+
7080
+
7081
+ /**
7082
+ * Returns whether this field is set.
7083
+ * @return {boolean}
7084
+ */
7085
+ proto.bet.CreateTestBetRequest.prototype.hasWinAmount = function() {
7086
+ return jspb.Message.getField(this, 7) != null;
7087
+ };
7088
+
7089
+
7090
+
7091
+
7092
+
7093
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7094
+ /**
7095
+ * Creates an object representation of this proto.
7096
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7097
+ * Optional fields that are not set will be set to undefined.
7098
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7099
+ * For the list of reserved names please see:
7100
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7101
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7102
+ * JSPB instance for transitional soy proto support:
7103
+ * http://goto/soy-param-migration
7104
+ * @return {!Object}
7105
+ */
7106
+ proto.bet.CreateTestBetResponse.prototype.toObject = function(opt_includeInstance) {
7107
+ return proto.bet.CreateTestBetResponse.toObject(opt_includeInstance, this);
7108
+ };
7109
+
7110
+
7111
+ /**
7112
+ * Static version of the {@see toObject} method.
7113
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7114
+ * the JSPB instance for transitional soy proto support:
7115
+ * http://goto/soy-param-migration
7116
+ * @param {!proto.bet.CreateTestBetResponse} msg The msg instance to transform.
7117
+ * @return {!Object}
7118
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7119
+ */
7120
+ proto.bet.CreateTestBetResponse.toObject = function(includeInstance, msg) {
7121
+ var f, obj = {
7122
+ bet: (f = msg.getBet()) && proto.bet.TestBetResult.toObject(includeInstance, f),
7123
+ win: (f = msg.getWin()) && proto.bet.TestBetResult.toObject(includeInstance, f)
7124
+ };
7125
+
7126
+ if (includeInstance) {
7127
+ obj.$jspbMessageInstance = msg;
7128
+ }
7129
+ return obj;
7130
+ };
7131
+ }
7132
+
7133
+
7134
+ /**
7135
+ * Deserializes binary data (in protobuf wire format).
7136
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7137
+ * @return {!proto.bet.CreateTestBetResponse}
7138
+ */
7139
+ proto.bet.CreateTestBetResponse.deserializeBinary = function(bytes) {
7140
+ var reader = new jspb.BinaryReader(bytes);
7141
+ var msg = new proto.bet.CreateTestBetResponse;
7142
+ return proto.bet.CreateTestBetResponse.deserializeBinaryFromReader(msg, reader);
7143
+ };
7144
+
7145
+
7146
+ /**
7147
+ * Deserializes binary data (in protobuf wire format) from the
7148
+ * given reader into the given message object.
7149
+ * @param {!proto.bet.CreateTestBetResponse} msg The message object to deserialize into.
7150
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7151
+ * @return {!proto.bet.CreateTestBetResponse}
7152
+ */
7153
+ proto.bet.CreateTestBetResponse.deserializeBinaryFromReader = function(msg, reader) {
7154
+ while (reader.nextField()) {
7155
+ if (reader.isEndGroup()) {
7156
+ break;
7157
+ }
7158
+ var field = reader.getFieldNumber();
7159
+ switch (field) {
7160
+ case 1:
7161
+ var value = new proto.bet.TestBetResult;
7162
+ reader.readMessage(value,proto.bet.TestBetResult.deserializeBinaryFromReader);
7163
+ msg.setBet(value);
7164
+ break;
7165
+ case 2:
7166
+ var value = new proto.bet.TestBetResult;
7167
+ reader.readMessage(value,proto.bet.TestBetResult.deserializeBinaryFromReader);
7168
+ msg.setWin(value);
7169
+ break;
7170
+ default:
7171
+ reader.skipField();
7172
+ break;
7173
+ }
7174
+ }
7175
+ return msg;
7176
+ };
7177
+
7178
+
7179
+ /**
7180
+ * Serializes the message to binary data (in protobuf wire format).
7181
+ * @return {!Uint8Array}
7182
+ */
7183
+ proto.bet.CreateTestBetResponse.prototype.serializeBinary = function() {
7184
+ var writer = new jspb.BinaryWriter();
7185
+ proto.bet.CreateTestBetResponse.serializeBinaryToWriter(this, writer);
7186
+ return writer.getResultBuffer();
7187
+ };
7188
+
7189
+
7190
+ /**
7191
+ * Serializes the given message to binary data (in protobuf wire
7192
+ * format), writing to the given BinaryWriter.
7193
+ * @param {!proto.bet.CreateTestBetResponse} message
7194
+ * @param {!jspb.BinaryWriter} writer
7195
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7196
+ */
7197
+ proto.bet.CreateTestBetResponse.serializeBinaryToWriter = function(message, writer) {
7198
+ var f = undefined;
7199
+ f = message.getBet();
7200
+ if (f != null) {
7201
+ writer.writeMessage(
7202
+ 1,
7203
+ f,
7204
+ proto.bet.TestBetResult.serializeBinaryToWriter
7205
+ );
7206
+ }
7207
+ f = message.getWin();
7208
+ if (f != null) {
7209
+ writer.writeMessage(
7210
+ 2,
7211
+ f,
7212
+ proto.bet.TestBetResult.serializeBinaryToWriter
7213
+ );
7214
+ }
7215
+ };
7216
+
7217
+
7218
+ /**
7219
+ * optional TestBetResult bet = 1;
7220
+ * @return {?proto.bet.TestBetResult}
7221
+ */
7222
+ proto.bet.CreateTestBetResponse.prototype.getBet = function() {
7223
+ return /** @type{?proto.bet.TestBetResult} */ (
7224
+ jspb.Message.getWrapperField(this, proto.bet.TestBetResult, 1));
7225
+ };
7226
+
7227
+
7228
+ /**
7229
+ * @param {?proto.bet.TestBetResult|undefined} value
7230
+ * @return {!proto.bet.CreateTestBetResponse} returns this
7231
+ */
7232
+ proto.bet.CreateTestBetResponse.prototype.setBet = function(value) {
7233
+ return jspb.Message.setWrapperField(this, 1, value);
7234
+ };
7235
+
7236
+
7237
+ /**
7238
+ * Clears the message field making it undefined.
7239
+ * @return {!proto.bet.CreateTestBetResponse} returns this
7240
+ */
7241
+ proto.bet.CreateTestBetResponse.prototype.clearBet = function() {
7242
+ return this.setBet(undefined);
7243
+ };
7244
+
7245
+
7246
+ /**
7247
+ * Returns whether this field is set.
7248
+ * @return {boolean}
7249
+ */
7250
+ proto.bet.CreateTestBetResponse.prototype.hasBet = function() {
7251
+ return jspb.Message.getField(this, 1) != null;
7252
+ };
7253
+
7254
+
7255
+ /**
7256
+ * optional TestBetResult win = 2;
7257
+ * @return {?proto.bet.TestBetResult}
7258
+ */
7259
+ proto.bet.CreateTestBetResponse.prototype.getWin = function() {
7260
+ return /** @type{?proto.bet.TestBetResult} */ (
7261
+ jspb.Message.getWrapperField(this, proto.bet.TestBetResult, 2));
7262
+ };
7263
+
7264
+
7265
+ /**
7266
+ * @param {?proto.bet.TestBetResult|undefined} value
7267
+ * @return {!proto.bet.CreateTestBetResponse} returns this
7268
+ */
7269
+ proto.bet.CreateTestBetResponse.prototype.setWin = function(value) {
7270
+ return jspb.Message.setWrapperField(this, 2, value);
7271
+ };
7272
+
7273
+
7274
+ /**
7275
+ * Clears the message field making it undefined.
7276
+ * @return {!proto.bet.CreateTestBetResponse} returns this
7277
+ */
7278
+ proto.bet.CreateTestBetResponse.prototype.clearWin = function() {
7279
+ return this.setWin(undefined);
7280
+ };
7281
+
7282
+
7283
+ /**
7284
+ * Returns whether this field is set.
7285
+ * @return {boolean}
7286
+ */
7287
+ proto.bet.CreateTestBetResponse.prototype.hasWin = function() {
7288
+ return jspb.Message.getField(this, 2) != null;
7289
+ };
7290
+
7291
+
7292
+
7293
+
7294
+
7295
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7296
+ /**
7297
+ * Creates an object representation of this proto.
7298
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7299
+ * Optional fields that are not set will be set to undefined.
7300
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7301
+ * For the list of reserved names please see:
7302
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7303
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7304
+ * JSPB instance for transitional soy proto support:
7305
+ * http://goto/soy-param-migration
7306
+ * @return {!Object}
7307
+ */
7308
+ proto.bet.TestBetResult.prototype.toObject = function(opt_includeInstance) {
7309
+ return proto.bet.TestBetResult.toObject(opt_includeInstance, this);
7310
+ };
7311
+
7312
+
7313
+ /**
7314
+ * Static version of the {@see toObject} method.
7315
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7316
+ * the JSPB instance for transitional soy proto support:
7317
+ * http://goto/soy-param-migration
7318
+ * @param {!proto.bet.TestBetResult} msg The msg instance to transform.
7319
+ * @return {!Object}
7320
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7321
+ */
7322
+ proto.bet.TestBetResult.toObject = function(includeInstance, msg) {
7323
+ var f, obj = {
7324
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
7325
+ sourceEventId: jspb.Message.getFieldWithDefault(msg, 2, ""),
7326
+ action: jspb.Message.getFieldWithDefault(msg, 3, ""),
7327
+ playerId: jspb.Message.getFieldWithDefault(msg, 4, ""),
7328
+ gameId: jspb.Message.getFieldWithDefault(msg, 5, 0),
7329
+ roundId: jspb.Message.getFieldWithDefault(msg, 6, ""),
7330
+ transactionId: jspb.Message.getFieldWithDefault(msg, 7, ""),
7331
+ currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
7332
+ baseCurrency: jspb.Message.getFieldWithDefault(msg, 9, ""),
7333
+ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
7334
+ amountInBaseCurrency: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
7335
+ amountCents: jspb.Message.getFieldWithDefault(msg, 12, ""),
7336
+ tokenChainId: jspb.Message.getFieldWithDefault(msg, 13, ""),
7337
+ tokenId: jspb.Message.getFieldWithDefault(msg, 14, ""),
7338
+ dispatchOk: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
7339
+ dispatchHttpStatus: jspb.Message.getFieldWithDefault(msg, 16, 0),
7340
+ dispatchResponseBody: jspb.Message.getFieldWithDefault(msg, 17, "")
7341
+ };
7342
+
7343
+ if (includeInstance) {
7344
+ obj.$jspbMessageInstance = msg;
7345
+ }
7346
+ return obj;
7347
+ };
7348
+ }
7349
+
7350
+
7351
+ /**
7352
+ * Deserializes binary data (in protobuf wire format).
7353
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7354
+ * @return {!proto.bet.TestBetResult}
7355
+ */
7356
+ proto.bet.TestBetResult.deserializeBinary = function(bytes) {
7357
+ var reader = new jspb.BinaryReader(bytes);
7358
+ var msg = new proto.bet.TestBetResult;
7359
+ return proto.bet.TestBetResult.deserializeBinaryFromReader(msg, reader);
7360
+ };
7361
+
7362
+
7363
+ /**
7364
+ * Deserializes binary data (in protobuf wire format) from the
7365
+ * given reader into the given message object.
7366
+ * @param {!proto.bet.TestBetResult} msg The message object to deserialize into.
7367
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7368
+ * @return {!proto.bet.TestBetResult}
7369
+ */
7370
+ proto.bet.TestBetResult.deserializeBinaryFromReader = function(msg, reader) {
7371
+ while (reader.nextField()) {
7372
+ if (reader.isEndGroup()) {
7373
+ break;
7374
+ }
7375
+ var field = reader.getFieldNumber();
7376
+ switch (field) {
7377
+ case 1:
7378
+ var value = /** @type {number} */ (reader.readInt32());
7379
+ msg.setId(value);
7380
+ break;
7381
+ case 2:
7382
+ var value = /** @type {string} */ (reader.readString());
7383
+ msg.setSourceEventId(value);
7384
+ break;
7385
+ case 3:
7386
+ var value = /** @type {string} */ (reader.readString());
7387
+ msg.setAction(value);
7388
+ break;
7389
+ case 4:
7390
+ var value = /** @type {string} */ (reader.readString());
7391
+ msg.setPlayerId(value);
7392
+ break;
7393
+ case 5:
7394
+ var value = /** @type {number} */ (reader.readInt32());
7395
+ msg.setGameId(value);
7396
+ break;
7397
+ case 6:
7398
+ var value = /** @type {string} */ (reader.readString());
7399
+ msg.setRoundId(value);
7400
+ break;
7401
+ case 7:
7402
+ var value = /** @type {string} */ (reader.readString());
7403
+ msg.setTransactionId(value);
7404
+ break;
7405
+ case 8:
7406
+ var value = /** @type {string} */ (reader.readString());
7407
+ msg.setCurrency(value);
7408
+ break;
7409
+ case 9:
7410
+ var value = /** @type {string} */ (reader.readString());
7411
+ msg.setBaseCurrency(value);
7412
+ break;
7413
+ case 10:
7414
+ var value = /** @type {number} */ (reader.readFloat());
7415
+ msg.setAmount(value);
7416
+ break;
7417
+ case 11:
7418
+ var value = /** @type {number} */ (reader.readFloat());
7419
+ msg.setAmountInBaseCurrency(value);
7420
+ break;
7421
+ case 12:
7422
+ var value = /** @type {string} */ (reader.readString());
7423
+ msg.setAmountCents(value);
7424
+ break;
7425
+ case 13:
7426
+ var value = /** @type {string} */ (reader.readString());
7427
+ msg.setTokenChainId(value);
7428
+ break;
7429
+ case 14:
7430
+ var value = /** @type {string} */ (reader.readString());
7431
+ msg.setTokenId(value);
7432
+ break;
7433
+ case 15:
7434
+ var value = /** @type {boolean} */ (reader.readBool());
7435
+ msg.setDispatchOk(value);
7436
+ break;
7437
+ case 16:
7438
+ var value = /** @type {number} */ (reader.readInt32());
7439
+ msg.setDispatchHttpStatus(value);
7440
+ break;
7441
+ case 17:
7442
+ var value = /** @type {string} */ (reader.readString());
7443
+ msg.setDispatchResponseBody(value);
7444
+ break;
7445
+ default:
7446
+ reader.skipField();
7447
+ break;
7448
+ }
7449
+ }
7450
+ return msg;
7451
+ };
7452
+
7453
+
7454
+ /**
7455
+ * Serializes the message to binary data (in protobuf wire format).
7456
+ * @return {!Uint8Array}
7457
+ */
7458
+ proto.bet.TestBetResult.prototype.serializeBinary = function() {
7459
+ var writer = new jspb.BinaryWriter();
7460
+ proto.bet.TestBetResult.serializeBinaryToWriter(this, writer);
7461
+ return writer.getResultBuffer();
7462
+ };
7463
+
7464
+
7465
+ /**
7466
+ * Serializes the given message to binary data (in protobuf wire
7467
+ * format), writing to the given BinaryWriter.
7468
+ * @param {!proto.bet.TestBetResult} message
7469
+ * @param {!jspb.BinaryWriter} writer
7470
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7471
+ */
7472
+ proto.bet.TestBetResult.serializeBinaryToWriter = function(message, writer) {
7473
+ var f = undefined;
7474
+ f = message.getId();
7475
+ if (f !== 0) {
7476
+ writer.writeInt32(
7477
+ 1,
7478
+ f
7479
+ );
7480
+ }
7481
+ f = message.getSourceEventId();
7482
+ if (f.length > 0) {
7483
+ writer.writeString(
7484
+ 2,
7485
+ f
7486
+ );
7487
+ }
7488
+ f = message.getAction();
7489
+ if (f.length > 0) {
7490
+ writer.writeString(
7491
+ 3,
7492
+ f
7493
+ );
7494
+ }
7495
+ f = message.getPlayerId();
7496
+ if (f.length > 0) {
7497
+ writer.writeString(
7498
+ 4,
7499
+ f
7500
+ );
7501
+ }
7502
+ f = message.getGameId();
7503
+ if (f !== 0) {
7504
+ writer.writeInt32(
7505
+ 5,
7506
+ f
7507
+ );
7508
+ }
7509
+ f = message.getRoundId();
7510
+ if (f.length > 0) {
7511
+ writer.writeString(
7512
+ 6,
7513
+ f
7514
+ );
7515
+ }
7516
+ f = message.getTransactionId();
7517
+ if (f.length > 0) {
7518
+ writer.writeString(
7519
+ 7,
7520
+ f
7521
+ );
7522
+ }
7523
+ f = message.getCurrency();
7524
+ if (f.length > 0) {
7525
+ writer.writeString(
7526
+ 8,
7527
+ f
7528
+ );
7529
+ }
7530
+ f = message.getBaseCurrency();
7531
+ if (f.length > 0) {
7532
+ writer.writeString(
7533
+ 9,
7534
+ f
7535
+ );
7536
+ }
7537
+ f = message.getAmount();
7538
+ if (f !== 0.0) {
7539
+ writer.writeFloat(
7540
+ 10,
7541
+ f
7542
+ );
7543
+ }
7544
+ f = message.getAmountInBaseCurrency();
7545
+ if (f !== 0.0) {
7546
+ writer.writeFloat(
7547
+ 11,
7548
+ f
7549
+ );
7550
+ }
7551
+ f = message.getAmountCents();
7552
+ if (f.length > 0) {
7553
+ writer.writeString(
7554
+ 12,
7555
+ f
7556
+ );
7557
+ }
7558
+ f = message.getTokenChainId();
7559
+ if (f.length > 0) {
7560
+ writer.writeString(
7561
+ 13,
7562
+ f
7563
+ );
7564
+ }
7565
+ f = message.getTokenId();
7566
+ if (f.length > 0) {
7567
+ writer.writeString(
7568
+ 14,
7569
+ f
7570
+ );
7571
+ }
7572
+ f = message.getDispatchOk();
7573
+ if (f) {
7574
+ writer.writeBool(
7575
+ 15,
7576
+ f
7577
+ );
7578
+ }
7579
+ f = /** @type {number} */ (jspb.Message.getField(message, 16));
7580
+ if (f != null) {
7581
+ writer.writeInt32(
7582
+ 16,
7583
+ f
7584
+ );
7585
+ }
7586
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
7587
+ if (f != null) {
7588
+ writer.writeString(
7589
+ 17,
7590
+ f
7591
+ );
7592
+ }
7593
+ };
7594
+
7595
+
7596
+ /**
7597
+ * optional int32 id = 1;
7598
+ * @return {number}
7599
+ */
7600
+ proto.bet.TestBetResult.prototype.getId = function() {
7601
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7602
+ };
7603
+
7604
+
7605
+ /**
7606
+ * @param {number} value
7607
+ * @return {!proto.bet.TestBetResult} returns this
7608
+ */
7609
+ proto.bet.TestBetResult.prototype.setId = function(value) {
7610
+ return jspb.Message.setProto3IntField(this, 1, value);
7611
+ };
7612
+
7613
+
7614
+ /**
7615
+ * optional string source_event_id = 2;
7616
+ * @return {string}
7617
+ */
7618
+ proto.bet.TestBetResult.prototype.getSourceEventId = function() {
7619
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
7620
+ };
7621
+
7622
+
7623
+ /**
7624
+ * @param {string} value
7625
+ * @return {!proto.bet.TestBetResult} returns this
7626
+ */
7627
+ proto.bet.TestBetResult.prototype.setSourceEventId = function(value) {
7628
+ return jspb.Message.setProto3StringField(this, 2, value);
7629
+ };
7630
+
7631
+
7632
+ /**
7633
+ * optional string action = 3;
7634
+ * @return {string}
7635
+ */
7636
+ proto.bet.TestBetResult.prototype.getAction = function() {
7637
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
7638
+ };
7639
+
7640
+
7641
+ /**
7642
+ * @param {string} value
7643
+ * @return {!proto.bet.TestBetResult} returns this
7644
+ */
7645
+ proto.bet.TestBetResult.prototype.setAction = function(value) {
7646
+ return jspb.Message.setProto3StringField(this, 3, value);
7647
+ };
7648
+
7649
+
7650
+ /**
7651
+ * optional string player_id = 4;
7652
+ * @return {string}
7653
+ */
7654
+ proto.bet.TestBetResult.prototype.getPlayerId = function() {
7655
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
7656
+ };
7657
+
7658
+
7659
+ /**
7660
+ * @param {string} value
7661
+ * @return {!proto.bet.TestBetResult} returns this
7662
+ */
7663
+ proto.bet.TestBetResult.prototype.setPlayerId = function(value) {
7664
+ return jspb.Message.setProto3StringField(this, 4, value);
7665
+ };
7666
+
7667
+
7668
+ /**
7669
+ * optional int32 game_id = 5;
7670
+ * @return {number}
7671
+ */
7672
+ proto.bet.TestBetResult.prototype.getGameId = function() {
7673
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
7674
+ };
7675
+
7676
+
7677
+ /**
7678
+ * @param {number} value
7679
+ * @return {!proto.bet.TestBetResult} returns this
7680
+ */
7681
+ proto.bet.TestBetResult.prototype.setGameId = function(value) {
7682
+ return jspb.Message.setProto3IntField(this, 5, value);
7683
+ };
7684
+
7685
+
7686
+ /**
7687
+ * optional string round_id = 6;
7688
+ * @return {string}
7689
+ */
7690
+ proto.bet.TestBetResult.prototype.getRoundId = function() {
7691
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
7692
+ };
7693
+
7694
+
7695
+ /**
7696
+ * @param {string} value
7697
+ * @return {!proto.bet.TestBetResult} returns this
7698
+ */
7699
+ proto.bet.TestBetResult.prototype.setRoundId = function(value) {
7700
+ return jspb.Message.setProto3StringField(this, 6, value);
7701
+ };
7702
+
7703
+
7704
+ /**
7705
+ * optional string transaction_id = 7;
7706
+ * @return {string}
7707
+ */
7708
+ proto.bet.TestBetResult.prototype.getTransactionId = function() {
7709
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7710
+ };
7711
+
7712
+
7713
+ /**
7714
+ * @param {string} value
7715
+ * @return {!proto.bet.TestBetResult} returns this
7716
+ */
7717
+ proto.bet.TestBetResult.prototype.setTransactionId = function(value) {
7718
+ return jspb.Message.setProto3StringField(this, 7, value);
7719
+ };
7720
+
7721
+
7722
+ /**
7723
+ * optional string currency = 8;
7724
+ * @return {string}
7725
+ */
7726
+ proto.bet.TestBetResult.prototype.getCurrency = function() {
7727
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
7728
+ };
7729
+
7730
+
7731
+ /**
7732
+ * @param {string} value
7733
+ * @return {!proto.bet.TestBetResult} returns this
7734
+ */
7735
+ proto.bet.TestBetResult.prototype.setCurrency = function(value) {
7736
+ return jspb.Message.setProto3StringField(this, 8, value);
7737
+ };
7738
+
7739
+
7740
+ /**
7741
+ * optional string base_currency = 9;
7742
+ * @return {string}
7743
+ */
7744
+ proto.bet.TestBetResult.prototype.getBaseCurrency = function() {
7745
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
7746
+ };
7747
+
7748
+
7749
+ /**
7750
+ * @param {string} value
7751
+ * @return {!proto.bet.TestBetResult} returns this
7752
+ */
7753
+ proto.bet.TestBetResult.prototype.setBaseCurrency = function(value) {
7754
+ return jspb.Message.setProto3StringField(this, 9, value);
7755
+ };
7756
+
7757
+
7758
+ /**
7759
+ * optional float amount = 10;
7760
+ * @return {number}
7761
+ */
7762
+ proto.bet.TestBetResult.prototype.getAmount = function() {
7763
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
7764
+ };
7765
+
7766
+
7767
+ /**
7768
+ * @param {number} value
7769
+ * @return {!proto.bet.TestBetResult} returns this
7770
+ */
7771
+ proto.bet.TestBetResult.prototype.setAmount = function(value) {
7772
+ return jspb.Message.setProto3FloatField(this, 10, value);
7773
+ };
7774
+
7775
+
7776
+ /**
7777
+ * optional float amount_in_base_currency = 11;
7778
+ * @return {number}
7779
+ */
7780
+ proto.bet.TestBetResult.prototype.getAmountInBaseCurrency = function() {
7781
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
7782
+ };
7783
+
7784
+
7785
+ /**
7786
+ * @param {number} value
7787
+ * @return {!proto.bet.TestBetResult} returns this
7788
+ */
7789
+ proto.bet.TestBetResult.prototype.setAmountInBaseCurrency = function(value) {
7790
+ return jspb.Message.setProto3FloatField(this, 11, value);
7791
+ };
7792
+
7793
+
7794
+ /**
7795
+ * optional string amount_cents = 12;
7796
+ * @return {string}
7797
+ */
7798
+ proto.bet.TestBetResult.prototype.getAmountCents = function() {
7799
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
7800
+ };
7801
+
7802
+
7803
+ /**
7804
+ * @param {string} value
7805
+ * @return {!proto.bet.TestBetResult} returns this
7806
+ */
7807
+ proto.bet.TestBetResult.prototype.setAmountCents = function(value) {
7808
+ return jspb.Message.setProto3StringField(this, 12, value);
7809
+ };
7810
+
7811
+
7812
+ /**
7813
+ * optional string token_chain_id = 13;
7814
+ * @return {string}
7815
+ */
7816
+ proto.bet.TestBetResult.prototype.getTokenChainId = function() {
7817
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
7818
+ };
7819
+
7820
+
7821
+ /**
7822
+ * @param {string} value
7823
+ * @return {!proto.bet.TestBetResult} returns this
7824
+ */
7825
+ proto.bet.TestBetResult.prototype.setTokenChainId = function(value) {
7826
+ return jspb.Message.setProto3StringField(this, 13, value);
7827
+ };
7828
+
7829
+
7830
+ /**
7831
+ * optional string token_id = 14;
7832
+ * @return {string}
7833
+ */
7834
+ proto.bet.TestBetResult.prototype.getTokenId = function() {
7835
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
7836
+ };
7837
+
7838
+
7839
+ /**
7840
+ * @param {string} value
7841
+ * @return {!proto.bet.TestBetResult} returns this
7842
+ */
7843
+ proto.bet.TestBetResult.prototype.setTokenId = function(value) {
7844
+ return jspb.Message.setProto3StringField(this, 14, value);
7845
+ };
7846
+
7847
+
7848
+ /**
7849
+ * optional bool dispatch_ok = 15;
7850
+ * @return {boolean}
7851
+ */
7852
+ proto.bet.TestBetResult.prototype.getDispatchOk = function() {
7853
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
7854
+ };
7855
+
7856
+
7857
+ /**
7858
+ * @param {boolean} value
7859
+ * @return {!proto.bet.TestBetResult} returns this
7860
+ */
7861
+ proto.bet.TestBetResult.prototype.setDispatchOk = function(value) {
7862
+ return jspb.Message.setProto3BooleanField(this, 15, value);
7863
+ };
7864
+
7865
+
7866
+ /**
7867
+ * optional int32 dispatch_http_status = 16;
7868
+ * @return {number}
7869
+ */
7870
+ proto.bet.TestBetResult.prototype.getDispatchHttpStatus = function() {
7871
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
7872
+ };
7873
+
7874
+
7875
+ /**
7876
+ * @param {number} value
7877
+ * @return {!proto.bet.TestBetResult} returns this
7878
+ */
7879
+ proto.bet.TestBetResult.prototype.setDispatchHttpStatus = function(value) {
7880
+ return jspb.Message.setField(this, 16, value);
7881
+ };
7882
+
7883
+
7884
+ /**
7885
+ * Clears the field making it undefined.
7886
+ * @return {!proto.bet.TestBetResult} returns this
7887
+ */
7888
+ proto.bet.TestBetResult.prototype.clearDispatchHttpStatus = function() {
7889
+ return jspb.Message.setField(this, 16, undefined);
7890
+ };
7891
+
7892
+
7893
+ /**
7894
+ * Returns whether this field is set.
7895
+ * @return {boolean}
7896
+ */
7897
+ proto.bet.TestBetResult.prototype.hasDispatchHttpStatus = function() {
7898
+ return jspb.Message.getField(this, 16) != null;
7899
+ };
7900
+
7901
+
7902
+ /**
7903
+ * optional string dispatch_response_body = 17;
7904
+ * @return {string}
7905
+ */
7906
+ proto.bet.TestBetResult.prototype.getDispatchResponseBody = function() {
7907
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
7908
+ };
7909
+
7910
+
7911
+ /**
7912
+ * @param {string} value
7913
+ * @return {!proto.bet.TestBetResult} returns this
7914
+ */
7915
+ proto.bet.TestBetResult.prototype.setDispatchResponseBody = function(value) {
7916
+ return jspb.Message.setField(this, 17, value);
7917
+ };
7918
+
7919
+
7920
+ /**
7921
+ * Clears the field making it undefined.
7922
+ * @return {!proto.bet.TestBetResult} returns this
7923
+ */
7924
+ proto.bet.TestBetResult.prototype.clearDispatchResponseBody = function() {
7925
+ return jspb.Message.setField(this, 17, undefined);
7926
+ };
7927
+
7928
+
7929
+ /**
7930
+ * Returns whether this field is set.
7931
+ * @return {boolean}
7932
+ */
7933
+ proto.bet.TestBetResult.prototype.hasDispatchResponseBody = function() {
7934
+ return jspb.Message.getField(this, 17) != null;
7935
+ };
7936
+
7937
+
7938
+
7939
+
7940
+
6681
7941
  if (jspb.Message.GENERATE_TO_OBJECT) {
6682
7942
  /**
6683
7943
  * Creates an object representation of this proto.