@miradorlabs/web-grpc 2.25.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,6 +34,7 @@ goog.exportSymbol('proto.gateway.web.v1.AnalyticsBucketUpdate', null, global);
34
34
  goog.exportSymbol('proto.gateway.web.v1.AnalyticsSnapshot', null, global);
35
35
  goog.exportSymbol('proto.gateway.web.v1.AnalyticsTimeInterval', null, global);
36
36
  goog.exportSymbol('proto.gateway.web.v1.AnalyticsTimeWindow', null, global);
37
+ goog.exportSymbol('proto.gateway.web.v1.AssetKind', null, global);
37
38
  goog.exportSymbol('proto.gateway.web.v1.AttributeValues', null, global);
38
39
  goog.exportSymbol('proto.gateway.web.v1.AttributesUpdated', null, global);
39
40
  goog.exportSymbol('proto.gateway.web.v1.BridgeDetected', null, global);
@@ -59,6 +60,12 @@ goog.exportSymbol('proto.gateway.web.v1.MetadataSnapshot', null, global);
59
60
  goog.exportSymbol('proto.gateway.web.v1.MetadataUpdate', null, global);
60
61
  goog.exportSymbol('proto.gateway.web.v1.Pagination', null, global);
61
62
  goog.exportSymbol('proto.gateway.web.v1.PaginationDetails', null, global);
63
+ goog.exportSymbol('proto.gateway.web.v1.RateAdded', null, global);
64
+ goog.exportSymbol('proto.gateway.web.v1.RateHintAdded', null, global);
65
+ goog.exportSymbol('proto.gateway.web.v1.RateHintStatus', null, global);
66
+ goog.exportSymbol('proto.gateway.web.v1.RateNotFound', null, global);
67
+ goog.exportSymbol('proto.gateway.web.v1.RateTrackingFinished', null, global);
68
+ goog.exportSymbol('proto.gateway.web.v1.RateTrackingStarted', null, global);
62
69
  goog.exportSymbol('proto.gateway.web.v1.RelayAmount', null, global);
63
70
  goog.exportSymbol('proto.gateway.web.v1.RelayAppFee', null, global);
64
71
  goog.exportSymbol('proto.gateway.web.v1.RelayCurrency', null, global);
@@ -2037,6 +2044,111 @@ if (goog.DEBUG && !COMPILED) {
2037
2044
  */
2038
2045
  proto.gateway.web.v1.StripeMoney.displayName = 'proto.gateway.web.v1.StripeMoney';
2039
2046
  }
2047
+ /**
2048
+ * Generated by JsPbCodeGenerator.
2049
+ * @param {Array=} opt_data Optional initial data array, typically from a
2050
+ * server response, or constructed directly in Javascript. The array is used
2051
+ * in place and becomes part of the constructed object. It is not cloned.
2052
+ * If no data is provided, the constructed object will be empty, but still
2053
+ * valid.
2054
+ * @extends {jspb.Message}
2055
+ * @constructor
2056
+ */
2057
+ proto.gateway.web.v1.RateHintAdded = function(opt_data) {
2058
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2059
+ };
2060
+ goog.inherits(proto.gateway.web.v1.RateHintAdded, jspb.Message);
2061
+ if (goog.DEBUG && !COMPILED) {
2062
+ /**
2063
+ * @public
2064
+ * @override
2065
+ */
2066
+ proto.gateway.web.v1.RateHintAdded.displayName = 'proto.gateway.web.v1.RateHintAdded';
2067
+ }
2068
+ /**
2069
+ * Generated by JsPbCodeGenerator.
2070
+ * @param {Array=} opt_data Optional initial data array, typically from a
2071
+ * server response, or constructed directly in Javascript. The array is used
2072
+ * in place and becomes part of the constructed object. It is not cloned.
2073
+ * If no data is provided, the constructed object will be empty, but still
2074
+ * valid.
2075
+ * @extends {jspb.Message}
2076
+ * @constructor
2077
+ */
2078
+ proto.gateway.web.v1.RateTrackingStarted = function(opt_data) {
2079
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2080
+ };
2081
+ goog.inherits(proto.gateway.web.v1.RateTrackingStarted, jspb.Message);
2082
+ if (goog.DEBUG && !COMPILED) {
2083
+ /**
2084
+ * @public
2085
+ * @override
2086
+ */
2087
+ proto.gateway.web.v1.RateTrackingStarted.displayName = 'proto.gateway.web.v1.RateTrackingStarted';
2088
+ }
2089
+ /**
2090
+ * Generated by JsPbCodeGenerator.
2091
+ * @param {Array=} opt_data Optional initial data array, typically from a
2092
+ * server response, or constructed directly in Javascript. The array is used
2093
+ * in place and becomes part of the constructed object. It is not cloned.
2094
+ * If no data is provided, the constructed object will be empty, but still
2095
+ * valid.
2096
+ * @extends {jspb.Message}
2097
+ * @constructor
2098
+ */
2099
+ proto.gateway.web.v1.RateAdded = function(opt_data) {
2100
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2101
+ };
2102
+ goog.inherits(proto.gateway.web.v1.RateAdded, jspb.Message);
2103
+ if (goog.DEBUG && !COMPILED) {
2104
+ /**
2105
+ * @public
2106
+ * @override
2107
+ */
2108
+ proto.gateway.web.v1.RateAdded.displayName = 'proto.gateway.web.v1.RateAdded';
2109
+ }
2110
+ /**
2111
+ * Generated by JsPbCodeGenerator.
2112
+ * @param {Array=} opt_data Optional initial data array, typically from a
2113
+ * server response, or constructed directly in Javascript. The array is used
2114
+ * in place and becomes part of the constructed object. It is not cloned.
2115
+ * If no data is provided, the constructed object will be empty, but still
2116
+ * valid.
2117
+ * @extends {jspb.Message}
2118
+ * @constructor
2119
+ */
2120
+ proto.gateway.web.v1.RateNotFound = function(opt_data) {
2121
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2122
+ };
2123
+ goog.inherits(proto.gateway.web.v1.RateNotFound, jspb.Message);
2124
+ if (goog.DEBUG && !COMPILED) {
2125
+ /**
2126
+ * @public
2127
+ * @override
2128
+ */
2129
+ proto.gateway.web.v1.RateNotFound.displayName = 'proto.gateway.web.v1.RateNotFound';
2130
+ }
2131
+ /**
2132
+ * Generated by JsPbCodeGenerator.
2133
+ * @param {Array=} opt_data Optional initial data array, typically from a
2134
+ * server response, or constructed directly in Javascript. The array is used
2135
+ * in place and becomes part of the constructed object. It is not cloned.
2136
+ * If no data is provided, the constructed object will be empty, but still
2137
+ * valid.
2138
+ * @extends {jspb.Message}
2139
+ * @constructor
2140
+ */
2141
+ proto.gateway.web.v1.RateTrackingFinished = function(opt_data) {
2142
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2143
+ };
2144
+ goog.inherits(proto.gateway.web.v1.RateTrackingFinished, jspb.Message);
2145
+ if (goog.DEBUG && !COMPILED) {
2146
+ /**
2147
+ * @public
2148
+ * @override
2149
+ */
2150
+ proto.gateway.web.v1.RateTrackingFinished.displayName = 'proto.gateway.web.v1.RateTrackingFinished';
2151
+ }
2040
2152
  /**
2041
2153
  * Generated by JsPbCodeGenerator.
2042
2154
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -9643,7 +9755,7 @@ proto.gateway.web.v1.RuleMatch.prototype.hasMatchedAt = function() {
9643
9755
  * @private {!Array<!Array<number>>}
9644
9756
  * @const
9645
9757
  */
9646
- proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_ = [[20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73]];
9758
+ proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_ = [[20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78]];
9647
9759
 
9648
9760
  /**
9649
9761
  * @enum {number}
@@ -9700,7 +9812,12 @@ proto.gateway.web.v1.TraceEventEnvelope.PayloadCase = {
9700
9812
  STRIPE_FUNDS_AVAILABLE: 70,
9701
9813
  STRIPE_PAYOUT_PAID: 71,
9702
9814
  STRIPE_TRACKING_FINISHED: 72,
9703
- SAFE_TX_SUPERSEDED: 73
9815
+ SAFE_TX_SUPERSEDED: 73,
9816
+ RATE_HINT_ADDED: 74,
9817
+ RATE_TRACKING_STARTED: 75,
9818
+ RATE_ADDED: 76,
9819
+ RATE_NOT_FOUND: 77,
9820
+ RATE_TRACKING_FINISHED: 78
9704
9821
  };
9705
9822
 
9706
9823
  /**
@@ -9805,7 +9922,12 @@ stripePaymentSucceeded: (f = msg.getStripePaymentSucceeded()) && proto.gateway.w
9805
9922
  stripeFundsAvailable: (f = msg.getStripeFundsAvailable()) && proto.gateway.web.v1.StripeFundsAvailable.toObject(includeInstance, f),
9806
9923
  stripePayoutPaid: (f = msg.getStripePayoutPaid()) && proto.gateway.web.v1.StripePayoutPaid.toObject(includeInstance, f),
9807
9924
  stripeTrackingFinished: (f = msg.getStripeTrackingFinished()) && proto.gateway.web.v1.StripeTrackingFinished.toObject(includeInstance, f),
9808
- safeTxSuperseded: (f = msg.getSafeTxSuperseded()) && proto.gateway.web.v1.SafeTxSuperseded.toObject(includeInstance, f)
9925
+ safeTxSuperseded: (f = msg.getSafeTxSuperseded()) && proto.gateway.web.v1.SafeTxSuperseded.toObject(includeInstance, f),
9926
+ rateHintAdded: (f = msg.getRateHintAdded()) && proto.gateway.web.v1.RateHintAdded.toObject(includeInstance, f),
9927
+ rateTrackingStarted: (f = msg.getRateTrackingStarted()) && proto.gateway.web.v1.RateTrackingStarted.toObject(includeInstance, f),
9928
+ rateAdded: (f = msg.getRateAdded()) && proto.gateway.web.v1.RateAdded.toObject(includeInstance, f),
9929
+ rateNotFound: (f = msg.getRateNotFound()) && proto.gateway.web.v1.RateNotFound.toObject(includeInstance, f),
9930
+ rateTrackingFinished: (f = msg.getRateTrackingFinished()) && proto.gateway.web.v1.RateTrackingFinished.toObject(includeInstance, f)
9809
9931
  };
9810
9932
 
9811
9933
  if (includeInstance) {
@@ -10157,6 +10279,31 @@ proto.gateway.web.v1.TraceEventEnvelope.deserializeBinaryFromReader = function(m
10157
10279
  reader.readMessage(value,proto.gateway.web.v1.SafeTxSuperseded.deserializeBinaryFromReader);
10158
10280
  msg.setSafeTxSuperseded(value);
10159
10281
  break;
10282
+ case 74:
10283
+ var value = new proto.gateway.web.v1.RateHintAdded;
10284
+ reader.readMessage(value,proto.gateway.web.v1.RateHintAdded.deserializeBinaryFromReader);
10285
+ msg.setRateHintAdded(value);
10286
+ break;
10287
+ case 75:
10288
+ var value = new proto.gateway.web.v1.RateTrackingStarted;
10289
+ reader.readMessage(value,proto.gateway.web.v1.RateTrackingStarted.deserializeBinaryFromReader);
10290
+ msg.setRateTrackingStarted(value);
10291
+ break;
10292
+ case 76:
10293
+ var value = new proto.gateway.web.v1.RateAdded;
10294
+ reader.readMessage(value,proto.gateway.web.v1.RateAdded.deserializeBinaryFromReader);
10295
+ msg.setRateAdded(value);
10296
+ break;
10297
+ case 77:
10298
+ var value = new proto.gateway.web.v1.RateNotFound;
10299
+ reader.readMessage(value,proto.gateway.web.v1.RateNotFound.deserializeBinaryFromReader);
10300
+ msg.setRateNotFound(value);
10301
+ break;
10302
+ case 78:
10303
+ var value = new proto.gateway.web.v1.RateTrackingFinished;
10304
+ reader.readMessage(value,proto.gateway.web.v1.RateTrackingFinished.deserializeBinaryFromReader);
10305
+ msg.setRateTrackingFinished(value);
10306
+ break;
10160
10307
  default:
10161
10308
  reader.skipField();
10162
10309
  break;
@@ -10691,6 +10838,46 @@ proto.gateway.web.v1.TraceEventEnvelope.serializeBinaryToWriter = function(messa
10691
10838
  proto.gateway.web.v1.SafeTxSuperseded.serializeBinaryToWriter
10692
10839
  );
10693
10840
  }
10841
+ f = message.getRateHintAdded();
10842
+ if (f != null) {
10843
+ writer.writeMessage(
10844
+ 74,
10845
+ f,
10846
+ proto.gateway.web.v1.RateHintAdded.serializeBinaryToWriter
10847
+ );
10848
+ }
10849
+ f = message.getRateTrackingStarted();
10850
+ if (f != null) {
10851
+ writer.writeMessage(
10852
+ 75,
10853
+ f,
10854
+ proto.gateway.web.v1.RateTrackingStarted.serializeBinaryToWriter
10855
+ );
10856
+ }
10857
+ f = message.getRateAdded();
10858
+ if (f != null) {
10859
+ writer.writeMessage(
10860
+ 76,
10861
+ f,
10862
+ proto.gateway.web.v1.RateAdded.serializeBinaryToWriter
10863
+ );
10864
+ }
10865
+ f = message.getRateNotFound();
10866
+ if (f != null) {
10867
+ writer.writeMessage(
10868
+ 77,
10869
+ f,
10870
+ proto.gateway.web.v1.RateNotFound.serializeBinaryToWriter
10871
+ );
10872
+ }
10873
+ f = message.getRateTrackingFinished();
10874
+ if (f != null) {
10875
+ writer.writeMessage(
10876
+ 78,
10877
+ f,
10878
+ proto.gateway.web.v1.RateTrackingFinished.serializeBinaryToWriter
10879
+ );
10880
+ }
10694
10881
  };
10695
10882
 
10696
10883
 
@@ -12876,6 +13063,191 @@ proto.gateway.web.v1.TraceEventEnvelope.prototype.hasSafeTxSuperseded = function
12876
13063
  };
12877
13064
 
12878
13065
 
13066
+ /**
13067
+ * optional RateHintAdded rate_hint_added = 74;
13068
+ * @return {?proto.gateway.web.v1.RateHintAdded}
13069
+ */
13070
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.getRateHintAdded = function() {
13071
+ return /** @type{?proto.gateway.web.v1.RateHintAdded} */ (
13072
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.RateHintAdded, 74));
13073
+ };
13074
+
13075
+
13076
+ /**
13077
+ * @param {?proto.gateway.web.v1.RateHintAdded|undefined} value
13078
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13079
+ */
13080
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.setRateHintAdded = function(value) {
13081
+ return jspb.Message.setOneofWrapperField(this, 74, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
13082
+ };
13083
+
13084
+
13085
+ /**
13086
+ * Clears the message field making it undefined.
13087
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13088
+ */
13089
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.clearRateHintAdded = function() {
13090
+ return this.setRateHintAdded(undefined);
13091
+ };
13092
+
13093
+
13094
+ /**
13095
+ * Returns whether this field is set.
13096
+ * @return {boolean}
13097
+ */
13098
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.hasRateHintAdded = function() {
13099
+ return jspb.Message.getField(this, 74) != null;
13100
+ };
13101
+
13102
+
13103
+ /**
13104
+ * optional RateTrackingStarted rate_tracking_started = 75;
13105
+ * @return {?proto.gateway.web.v1.RateTrackingStarted}
13106
+ */
13107
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.getRateTrackingStarted = function() {
13108
+ return /** @type{?proto.gateway.web.v1.RateTrackingStarted} */ (
13109
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.RateTrackingStarted, 75));
13110
+ };
13111
+
13112
+
13113
+ /**
13114
+ * @param {?proto.gateway.web.v1.RateTrackingStarted|undefined} value
13115
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13116
+ */
13117
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.setRateTrackingStarted = function(value) {
13118
+ return jspb.Message.setOneofWrapperField(this, 75, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
13119
+ };
13120
+
13121
+
13122
+ /**
13123
+ * Clears the message field making it undefined.
13124
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13125
+ */
13126
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.clearRateTrackingStarted = function() {
13127
+ return this.setRateTrackingStarted(undefined);
13128
+ };
13129
+
13130
+
13131
+ /**
13132
+ * Returns whether this field is set.
13133
+ * @return {boolean}
13134
+ */
13135
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.hasRateTrackingStarted = function() {
13136
+ return jspb.Message.getField(this, 75) != null;
13137
+ };
13138
+
13139
+
13140
+ /**
13141
+ * optional RateAdded rate_added = 76;
13142
+ * @return {?proto.gateway.web.v1.RateAdded}
13143
+ */
13144
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.getRateAdded = function() {
13145
+ return /** @type{?proto.gateway.web.v1.RateAdded} */ (
13146
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.RateAdded, 76));
13147
+ };
13148
+
13149
+
13150
+ /**
13151
+ * @param {?proto.gateway.web.v1.RateAdded|undefined} value
13152
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13153
+ */
13154
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.setRateAdded = function(value) {
13155
+ return jspb.Message.setOneofWrapperField(this, 76, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
13156
+ };
13157
+
13158
+
13159
+ /**
13160
+ * Clears the message field making it undefined.
13161
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13162
+ */
13163
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.clearRateAdded = function() {
13164
+ return this.setRateAdded(undefined);
13165
+ };
13166
+
13167
+
13168
+ /**
13169
+ * Returns whether this field is set.
13170
+ * @return {boolean}
13171
+ */
13172
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.hasRateAdded = function() {
13173
+ return jspb.Message.getField(this, 76) != null;
13174
+ };
13175
+
13176
+
13177
+ /**
13178
+ * optional RateNotFound rate_not_found = 77;
13179
+ * @return {?proto.gateway.web.v1.RateNotFound}
13180
+ */
13181
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.getRateNotFound = function() {
13182
+ return /** @type{?proto.gateway.web.v1.RateNotFound} */ (
13183
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.RateNotFound, 77));
13184
+ };
13185
+
13186
+
13187
+ /**
13188
+ * @param {?proto.gateway.web.v1.RateNotFound|undefined} value
13189
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13190
+ */
13191
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.setRateNotFound = function(value) {
13192
+ return jspb.Message.setOneofWrapperField(this, 77, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
13193
+ };
13194
+
13195
+
13196
+ /**
13197
+ * Clears the message field making it undefined.
13198
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13199
+ */
13200
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.clearRateNotFound = function() {
13201
+ return this.setRateNotFound(undefined);
13202
+ };
13203
+
13204
+
13205
+ /**
13206
+ * Returns whether this field is set.
13207
+ * @return {boolean}
13208
+ */
13209
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.hasRateNotFound = function() {
13210
+ return jspb.Message.getField(this, 77) != null;
13211
+ };
13212
+
13213
+
13214
+ /**
13215
+ * optional RateTrackingFinished rate_tracking_finished = 78;
13216
+ * @return {?proto.gateway.web.v1.RateTrackingFinished}
13217
+ */
13218
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.getRateTrackingFinished = function() {
13219
+ return /** @type{?proto.gateway.web.v1.RateTrackingFinished} */ (
13220
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.RateTrackingFinished, 78));
13221
+ };
13222
+
13223
+
13224
+ /**
13225
+ * @param {?proto.gateway.web.v1.RateTrackingFinished|undefined} value
13226
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13227
+ */
13228
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.setRateTrackingFinished = function(value) {
13229
+ return jspb.Message.setOneofWrapperField(this, 78, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
13230
+ };
13231
+
13232
+
13233
+ /**
13234
+ * Clears the message field making it undefined.
13235
+ * @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
13236
+ */
13237
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.clearRateTrackingFinished = function() {
13238
+ return this.setRateTrackingFinished(undefined);
13239
+ };
13240
+
13241
+
13242
+ /**
13243
+ * Returns whether this field is set.
13244
+ * @return {boolean}
13245
+ */
13246
+ proto.gateway.web.v1.TraceEventEnvelope.prototype.hasRateTrackingFinished = function() {
13247
+ return jspb.Message.getField(this, 78) != null;
13248
+ };
13249
+
13250
+
12879
13251
 
12880
13252
 
12881
13253
 
@@ -31438,35 +31810,1665 @@ proto.gateway.web.v1.StripeTrackingFinished.serializeBinaryToWriter = function(m
31438
31810
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
31439
31811
  );
31440
31812
  }
31441
- f = message.getPaymentIntentId();
31442
- if (f.length > 0) {
31443
- writer.writeString(
31444
- 10,
31445
- f
31446
- );
31447
- }
31448
- f = message.getChargeId();
31449
- if (f.length > 0) {
31450
- writer.writeString(
31451
- 11,
31452
- f
31453
- );
31454
- }
31455
- f = message.getPayoutId();
31456
- if (f.length > 0) {
31457
- writer.writeString(
31458
- 12,
31459
- f
31460
- );
31461
- }
31462
- f = message.getNetAmount();
31463
- if (f != null) {
31464
- writer.writeMessage(
31465
- 13,
31466
- f,
31467
- proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter
31468
- );
31469
- }
31813
+ f = message.getPaymentIntentId();
31814
+ if (f.length > 0) {
31815
+ writer.writeString(
31816
+ 10,
31817
+ f
31818
+ );
31819
+ }
31820
+ f = message.getChargeId();
31821
+ if (f.length > 0) {
31822
+ writer.writeString(
31823
+ 11,
31824
+ f
31825
+ );
31826
+ }
31827
+ f = message.getPayoutId();
31828
+ if (f.length > 0) {
31829
+ writer.writeString(
31830
+ 12,
31831
+ f
31832
+ );
31833
+ }
31834
+ f = message.getNetAmount();
31835
+ if (f != null) {
31836
+ writer.writeMessage(
31837
+ 13,
31838
+ f,
31839
+ proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter
31840
+ );
31841
+ }
31842
+ };
31843
+
31844
+
31845
+ /**
31846
+ * optional string plugin_correlation_id = 1;
31847
+ * @return {string}
31848
+ */
31849
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.getPluginCorrelationId = function() {
31850
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
31851
+ };
31852
+
31853
+
31854
+ /**
31855
+ * @param {string} value
31856
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31857
+ */
31858
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.setPluginCorrelationId = function(value) {
31859
+ return jspb.Message.setProto3StringField(this, 1, value);
31860
+ };
31861
+
31862
+
31863
+ /**
31864
+ * optional StripeHintStatus status = 2;
31865
+ * @return {!proto.gateway.web.v1.StripeHintStatus}
31866
+ */
31867
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.getStatus = function() {
31868
+ return /** @type {!proto.gateway.web.v1.StripeHintStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
31869
+ };
31870
+
31871
+
31872
+ /**
31873
+ * @param {!proto.gateway.web.v1.StripeHintStatus} value
31874
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31875
+ */
31876
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.setStatus = function(value) {
31877
+ return jspb.Message.setProto3EnumField(this, 2, value);
31878
+ };
31879
+
31880
+
31881
+ /**
31882
+ * optional string message = 3;
31883
+ * @return {string}
31884
+ */
31885
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.getMessage = function() {
31886
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
31887
+ };
31888
+
31889
+
31890
+ /**
31891
+ * @param {string} value
31892
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31893
+ */
31894
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.setMessage = function(value) {
31895
+ return jspb.Message.setField(this, 3, value);
31896
+ };
31897
+
31898
+
31899
+ /**
31900
+ * Clears the field making it undefined.
31901
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31902
+ */
31903
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.clearMessage = function() {
31904
+ return jspb.Message.setField(this, 3, undefined);
31905
+ };
31906
+
31907
+
31908
+ /**
31909
+ * Returns whether this field is set.
31910
+ * @return {boolean}
31911
+ */
31912
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.hasMessage = function() {
31913
+ return jspb.Message.getField(this, 3) != null;
31914
+ };
31915
+
31916
+
31917
+ /**
31918
+ * optional google.protobuf.Timestamp completed_at = 4;
31919
+ * @return {?proto.google.protobuf.Timestamp}
31920
+ */
31921
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.getCompletedAt = function() {
31922
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
31923
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
31924
+ };
31925
+
31926
+
31927
+ /**
31928
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
31929
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31930
+ */
31931
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.setCompletedAt = function(value) {
31932
+ return jspb.Message.setWrapperField(this, 4, value);
31933
+ };
31934
+
31935
+
31936
+ /**
31937
+ * Clears the message field making it undefined.
31938
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31939
+ */
31940
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.clearCompletedAt = function() {
31941
+ return this.setCompletedAt(undefined);
31942
+ };
31943
+
31944
+
31945
+ /**
31946
+ * Returns whether this field is set.
31947
+ * @return {boolean}
31948
+ */
31949
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.hasCompletedAt = function() {
31950
+ return jspb.Message.getField(this, 4) != null;
31951
+ };
31952
+
31953
+
31954
+ /**
31955
+ * optional string payment_intent_id = 10;
31956
+ * @return {string}
31957
+ */
31958
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.getPaymentIntentId = function() {
31959
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
31960
+ };
31961
+
31962
+
31963
+ /**
31964
+ * @param {string} value
31965
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31966
+ */
31967
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.setPaymentIntentId = function(value) {
31968
+ return jspb.Message.setProto3StringField(this, 10, value);
31969
+ };
31970
+
31971
+
31972
+ /**
31973
+ * optional string charge_id = 11;
31974
+ * @return {string}
31975
+ */
31976
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.getChargeId = function() {
31977
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
31978
+ };
31979
+
31980
+
31981
+ /**
31982
+ * @param {string} value
31983
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31984
+ */
31985
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.setChargeId = function(value) {
31986
+ return jspb.Message.setProto3StringField(this, 11, value);
31987
+ };
31988
+
31989
+
31990
+ /**
31991
+ * optional string payout_id = 12;
31992
+ * @return {string}
31993
+ */
31994
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.getPayoutId = function() {
31995
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
31996
+ };
31997
+
31998
+
31999
+ /**
32000
+ * @param {string} value
32001
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
32002
+ */
32003
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.setPayoutId = function(value) {
32004
+ return jspb.Message.setProto3StringField(this, 12, value);
32005
+ };
32006
+
32007
+
32008
+ /**
32009
+ * optional StripeMoney net_amount = 13;
32010
+ * @return {?proto.gateway.web.v1.StripeMoney}
32011
+ */
32012
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.getNetAmount = function() {
32013
+ return /** @type{?proto.gateway.web.v1.StripeMoney} */ (
32014
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeMoney, 13));
32015
+ };
32016
+
32017
+
32018
+ /**
32019
+ * @param {?proto.gateway.web.v1.StripeMoney|undefined} value
32020
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
32021
+ */
32022
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.setNetAmount = function(value) {
32023
+ return jspb.Message.setWrapperField(this, 13, value);
32024
+ };
32025
+
32026
+
32027
+ /**
32028
+ * Clears the message field making it undefined.
32029
+ * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
32030
+ */
32031
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.clearNetAmount = function() {
32032
+ return this.setNetAmount(undefined);
32033
+ };
32034
+
32035
+
32036
+ /**
32037
+ * Returns whether this field is set.
32038
+ * @return {boolean}
32039
+ */
32040
+ proto.gateway.web.v1.StripeTrackingFinished.prototype.hasNetAmount = function() {
32041
+ return jspb.Message.getField(this, 13) != null;
32042
+ };
32043
+
32044
+
32045
+
32046
+
32047
+
32048
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32049
+ /**
32050
+ * Creates an object representation of this proto.
32051
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32052
+ * Optional fields that are not set will be set to undefined.
32053
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32054
+ * For the list of reserved names please see:
32055
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
32056
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
32057
+ * JSPB instance for transitional soy proto support:
32058
+ * http://goto/soy-param-migration
32059
+ * @return {!Object}
32060
+ */
32061
+ proto.gateway.web.v1.StripeMoney.prototype.toObject = function(opt_includeInstance) {
32062
+ return proto.gateway.web.v1.StripeMoney.toObject(opt_includeInstance, this);
32063
+ };
32064
+
32065
+
32066
+ /**
32067
+ * Static version of the {@see toObject} method.
32068
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
32069
+ * the JSPB instance for transitional soy proto support:
32070
+ * http://goto/soy-param-migration
32071
+ * @param {!proto.gateway.web.v1.StripeMoney} msg The msg instance to transform.
32072
+ * @return {!Object}
32073
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32074
+ */
32075
+ proto.gateway.web.v1.StripeMoney.toObject = function(includeInstance, msg) {
32076
+ var f, obj = {
32077
+ amountMinor: jspb.Message.getFieldWithDefault(msg, 1, 0),
32078
+ currency: jspb.Message.getFieldWithDefault(msg, 2, "")
32079
+ };
32080
+
32081
+ if (includeInstance) {
32082
+ obj.$jspbMessageInstance = msg;
32083
+ }
32084
+ return obj;
32085
+ };
32086
+ }
32087
+
32088
+
32089
+ /**
32090
+ * Deserializes binary data (in protobuf wire format).
32091
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32092
+ * @return {!proto.gateway.web.v1.StripeMoney}
32093
+ */
32094
+ proto.gateway.web.v1.StripeMoney.deserializeBinary = function(bytes) {
32095
+ var reader = new jspb.BinaryReader(bytes);
32096
+ var msg = new proto.gateway.web.v1.StripeMoney;
32097
+ return proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader(msg, reader);
32098
+ };
32099
+
32100
+
32101
+ /**
32102
+ * Deserializes binary data (in protobuf wire format) from the
32103
+ * given reader into the given message object.
32104
+ * @param {!proto.gateway.web.v1.StripeMoney} msg The message object to deserialize into.
32105
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32106
+ * @return {!proto.gateway.web.v1.StripeMoney}
32107
+ */
32108
+ proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader = function(msg, reader) {
32109
+ while (reader.nextField()) {
32110
+ if (reader.isEndGroup()) {
32111
+ break;
32112
+ }
32113
+ var field = reader.getFieldNumber();
32114
+ switch (field) {
32115
+ case 1:
32116
+ var value = /** @type {number} */ (reader.readInt64());
32117
+ msg.setAmountMinor(value);
32118
+ break;
32119
+ case 2:
32120
+ var value = /** @type {string} */ (reader.readString());
32121
+ msg.setCurrency(value);
32122
+ break;
32123
+ default:
32124
+ reader.skipField();
32125
+ break;
32126
+ }
32127
+ }
32128
+ return msg;
32129
+ };
32130
+
32131
+
32132
+ /**
32133
+ * Serializes the message to binary data (in protobuf wire format).
32134
+ * @return {!Uint8Array}
32135
+ */
32136
+ proto.gateway.web.v1.StripeMoney.prototype.serializeBinary = function() {
32137
+ var writer = new jspb.BinaryWriter();
32138
+ proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter(this, writer);
32139
+ return writer.getResultBuffer();
32140
+ };
32141
+
32142
+
32143
+ /**
32144
+ * Serializes the given message to binary data (in protobuf wire
32145
+ * format), writing to the given BinaryWriter.
32146
+ * @param {!proto.gateway.web.v1.StripeMoney} message
32147
+ * @param {!jspb.BinaryWriter} writer
32148
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32149
+ */
32150
+ proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter = function(message, writer) {
32151
+ var f = undefined;
32152
+ f = message.getAmountMinor();
32153
+ if (f !== 0) {
32154
+ writer.writeInt64(
32155
+ 1,
32156
+ f
32157
+ );
32158
+ }
32159
+ f = message.getCurrency();
32160
+ if (f.length > 0) {
32161
+ writer.writeString(
32162
+ 2,
32163
+ f
32164
+ );
32165
+ }
32166
+ };
32167
+
32168
+
32169
+ /**
32170
+ * optional int64 amount_minor = 1;
32171
+ * @return {number}
32172
+ */
32173
+ proto.gateway.web.v1.StripeMoney.prototype.getAmountMinor = function() {
32174
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
32175
+ };
32176
+
32177
+
32178
+ /**
32179
+ * @param {number} value
32180
+ * @return {!proto.gateway.web.v1.StripeMoney} returns this
32181
+ */
32182
+ proto.gateway.web.v1.StripeMoney.prototype.setAmountMinor = function(value) {
32183
+ return jspb.Message.setProto3IntField(this, 1, value);
32184
+ };
32185
+
32186
+
32187
+ /**
32188
+ * optional string currency = 2;
32189
+ * @return {string}
32190
+ */
32191
+ proto.gateway.web.v1.StripeMoney.prototype.getCurrency = function() {
32192
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
32193
+ };
32194
+
32195
+
32196
+ /**
32197
+ * @param {string} value
32198
+ * @return {!proto.gateway.web.v1.StripeMoney} returns this
32199
+ */
32200
+ proto.gateway.web.v1.StripeMoney.prototype.setCurrency = function(value) {
32201
+ return jspb.Message.setProto3StringField(this, 2, value);
32202
+ };
32203
+
32204
+
32205
+
32206
+
32207
+
32208
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32209
+ /**
32210
+ * Creates an object representation of this proto.
32211
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32212
+ * Optional fields that are not set will be set to undefined.
32213
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32214
+ * For the list of reserved names please see:
32215
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
32216
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
32217
+ * JSPB instance for transitional soy proto support:
32218
+ * http://goto/soy-param-migration
32219
+ * @return {!Object}
32220
+ */
32221
+ proto.gateway.web.v1.RateHintAdded.prototype.toObject = function(opt_includeInstance) {
32222
+ return proto.gateway.web.v1.RateHintAdded.toObject(opt_includeInstance, this);
32223
+ };
32224
+
32225
+
32226
+ /**
32227
+ * Static version of the {@see toObject} method.
32228
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
32229
+ * the JSPB instance for transitional soy proto support:
32230
+ * http://goto/soy-param-migration
32231
+ * @param {!proto.gateway.web.v1.RateHintAdded} msg The msg instance to transform.
32232
+ * @return {!Object}
32233
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32234
+ */
32235
+ proto.gateway.web.v1.RateHintAdded.toObject = function(includeInstance, msg) {
32236
+ var f, obj = {
32237
+ pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
32238
+ symbol: jspb.Message.getFieldWithDefault(msg, 2, ""),
32239
+ quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
32240
+ assetKind: jspb.Message.getFieldWithDefault(msg, 4, 0),
32241
+ clientTimestamp: (f = msg.getClientTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
32242
+ };
32243
+
32244
+ if (includeInstance) {
32245
+ obj.$jspbMessageInstance = msg;
32246
+ }
32247
+ return obj;
32248
+ };
32249
+ }
32250
+
32251
+
32252
+ /**
32253
+ * Deserializes binary data (in protobuf wire format).
32254
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32255
+ * @return {!proto.gateway.web.v1.RateHintAdded}
32256
+ */
32257
+ proto.gateway.web.v1.RateHintAdded.deserializeBinary = function(bytes) {
32258
+ var reader = new jspb.BinaryReader(bytes);
32259
+ var msg = new proto.gateway.web.v1.RateHintAdded;
32260
+ return proto.gateway.web.v1.RateHintAdded.deserializeBinaryFromReader(msg, reader);
32261
+ };
32262
+
32263
+
32264
+ /**
32265
+ * Deserializes binary data (in protobuf wire format) from the
32266
+ * given reader into the given message object.
32267
+ * @param {!proto.gateway.web.v1.RateHintAdded} msg The message object to deserialize into.
32268
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32269
+ * @return {!proto.gateway.web.v1.RateHintAdded}
32270
+ */
32271
+ proto.gateway.web.v1.RateHintAdded.deserializeBinaryFromReader = function(msg, reader) {
32272
+ while (reader.nextField()) {
32273
+ if (reader.isEndGroup()) {
32274
+ break;
32275
+ }
32276
+ var field = reader.getFieldNumber();
32277
+ switch (field) {
32278
+ case 1:
32279
+ var value = /** @type {string} */ (reader.readString());
32280
+ msg.setPluginCorrelationId(value);
32281
+ break;
32282
+ case 2:
32283
+ var value = /** @type {string} */ (reader.readString());
32284
+ msg.setSymbol(value);
32285
+ break;
32286
+ case 3:
32287
+ var value = /** @type {number} */ (reader.readDouble());
32288
+ msg.setQuantity(value);
32289
+ break;
32290
+ case 4:
32291
+ var value = /** @type {!proto.gateway.web.v1.AssetKind} */ (reader.readEnum());
32292
+ msg.setAssetKind(value);
32293
+ break;
32294
+ case 5:
32295
+ var value = new google_protobuf_timestamp_pb.Timestamp;
32296
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
32297
+ msg.setClientTimestamp(value);
32298
+ break;
32299
+ default:
32300
+ reader.skipField();
32301
+ break;
32302
+ }
32303
+ }
32304
+ return msg;
32305
+ };
32306
+
32307
+
32308
+ /**
32309
+ * Serializes the message to binary data (in protobuf wire format).
32310
+ * @return {!Uint8Array}
32311
+ */
32312
+ proto.gateway.web.v1.RateHintAdded.prototype.serializeBinary = function() {
32313
+ var writer = new jspb.BinaryWriter();
32314
+ proto.gateway.web.v1.RateHintAdded.serializeBinaryToWriter(this, writer);
32315
+ return writer.getResultBuffer();
32316
+ };
32317
+
32318
+
32319
+ /**
32320
+ * Serializes the given message to binary data (in protobuf wire
32321
+ * format), writing to the given BinaryWriter.
32322
+ * @param {!proto.gateway.web.v1.RateHintAdded} message
32323
+ * @param {!jspb.BinaryWriter} writer
32324
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32325
+ */
32326
+ proto.gateway.web.v1.RateHintAdded.serializeBinaryToWriter = function(message, writer) {
32327
+ var f = undefined;
32328
+ f = message.getPluginCorrelationId();
32329
+ if (f.length > 0) {
32330
+ writer.writeString(
32331
+ 1,
32332
+ f
32333
+ );
32334
+ }
32335
+ f = message.getSymbol();
32336
+ if (f.length > 0) {
32337
+ writer.writeString(
32338
+ 2,
32339
+ f
32340
+ );
32341
+ }
32342
+ f = message.getQuantity();
32343
+ if (f !== 0.0) {
32344
+ writer.writeDouble(
32345
+ 3,
32346
+ f
32347
+ );
32348
+ }
32349
+ f = message.getAssetKind();
32350
+ if (f !== 0.0) {
32351
+ writer.writeEnum(
32352
+ 4,
32353
+ f
32354
+ );
32355
+ }
32356
+ f = message.getClientTimestamp();
32357
+ if (f != null) {
32358
+ writer.writeMessage(
32359
+ 5,
32360
+ f,
32361
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
32362
+ );
32363
+ }
32364
+ };
32365
+
32366
+
32367
+ /**
32368
+ * optional string plugin_correlation_id = 1;
32369
+ * @return {string}
32370
+ */
32371
+ proto.gateway.web.v1.RateHintAdded.prototype.getPluginCorrelationId = function() {
32372
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
32373
+ };
32374
+
32375
+
32376
+ /**
32377
+ * @param {string} value
32378
+ * @return {!proto.gateway.web.v1.RateHintAdded} returns this
32379
+ */
32380
+ proto.gateway.web.v1.RateHintAdded.prototype.setPluginCorrelationId = function(value) {
32381
+ return jspb.Message.setProto3StringField(this, 1, value);
32382
+ };
32383
+
32384
+
32385
+ /**
32386
+ * optional string symbol = 2;
32387
+ * @return {string}
32388
+ */
32389
+ proto.gateway.web.v1.RateHintAdded.prototype.getSymbol = function() {
32390
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
32391
+ };
32392
+
32393
+
32394
+ /**
32395
+ * @param {string} value
32396
+ * @return {!proto.gateway.web.v1.RateHintAdded} returns this
32397
+ */
32398
+ proto.gateway.web.v1.RateHintAdded.prototype.setSymbol = function(value) {
32399
+ return jspb.Message.setProto3StringField(this, 2, value);
32400
+ };
32401
+
32402
+
32403
+ /**
32404
+ * optional double quantity = 3;
32405
+ * @return {number}
32406
+ */
32407
+ proto.gateway.web.v1.RateHintAdded.prototype.getQuantity = function() {
32408
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
32409
+ };
32410
+
32411
+
32412
+ /**
32413
+ * @param {number} value
32414
+ * @return {!proto.gateway.web.v1.RateHintAdded} returns this
32415
+ */
32416
+ proto.gateway.web.v1.RateHintAdded.prototype.setQuantity = function(value) {
32417
+ return jspb.Message.setProto3FloatField(this, 3, value);
32418
+ };
32419
+
32420
+
32421
+ /**
32422
+ * optional AssetKind asset_kind = 4;
32423
+ * @return {!proto.gateway.web.v1.AssetKind}
32424
+ */
32425
+ proto.gateway.web.v1.RateHintAdded.prototype.getAssetKind = function() {
32426
+ return /** @type {!proto.gateway.web.v1.AssetKind} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
32427
+ };
32428
+
32429
+
32430
+ /**
32431
+ * @param {!proto.gateway.web.v1.AssetKind} value
32432
+ * @return {!proto.gateway.web.v1.RateHintAdded} returns this
32433
+ */
32434
+ proto.gateway.web.v1.RateHintAdded.prototype.setAssetKind = function(value) {
32435
+ return jspb.Message.setProto3EnumField(this, 4, value);
32436
+ };
32437
+
32438
+
32439
+ /**
32440
+ * optional google.protobuf.Timestamp client_timestamp = 5;
32441
+ * @return {?proto.google.protobuf.Timestamp}
32442
+ */
32443
+ proto.gateway.web.v1.RateHintAdded.prototype.getClientTimestamp = function() {
32444
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
32445
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
32446
+ };
32447
+
32448
+
32449
+ /**
32450
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
32451
+ * @return {!proto.gateway.web.v1.RateHintAdded} returns this
32452
+ */
32453
+ proto.gateway.web.v1.RateHintAdded.prototype.setClientTimestamp = function(value) {
32454
+ return jspb.Message.setWrapperField(this, 5, value);
32455
+ };
32456
+
32457
+
32458
+ /**
32459
+ * Clears the message field making it undefined.
32460
+ * @return {!proto.gateway.web.v1.RateHintAdded} returns this
32461
+ */
32462
+ proto.gateway.web.v1.RateHintAdded.prototype.clearClientTimestamp = function() {
32463
+ return this.setClientTimestamp(undefined);
32464
+ };
32465
+
32466
+
32467
+ /**
32468
+ * Returns whether this field is set.
32469
+ * @return {boolean}
32470
+ */
32471
+ proto.gateway.web.v1.RateHintAdded.prototype.hasClientTimestamp = function() {
32472
+ return jspb.Message.getField(this, 5) != null;
32473
+ };
32474
+
32475
+
32476
+
32477
+
32478
+
32479
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32480
+ /**
32481
+ * Creates an object representation of this proto.
32482
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32483
+ * Optional fields that are not set will be set to undefined.
32484
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32485
+ * For the list of reserved names please see:
32486
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
32487
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
32488
+ * JSPB instance for transitional soy proto support:
32489
+ * http://goto/soy-param-migration
32490
+ * @return {!Object}
32491
+ */
32492
+ proto.gateway.web.v1.RateTrackingStarted.prototype.toObject = function(opt_includeInstance) {
32493
+ return proto.gateway.web.v1.RateTrackingStarted.toObject(opt_includeInstance, this);
32494
+ };
32495
+
32496
+
32497
+ /**
32498
+ * Static version of the {@see toObject} method.
32499
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
32500
+ * the JSPB instance for transitional soy proto support:
32501
+ * http://goto/soy-param-migration
32502
+ * @param {!proto.gateway.web.v1.RateTrackingStarted} msg The msg instance to transform.
32503
+ * @return {!Object}
32504
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32505
+ */
32506
+ proto.gateway.web.v1.RateTrackingStarted.toObject = function(includeInstance, msg) {
32507
+ var f, obj = {
32508
+ pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
32509
+ symbol: jspb.Message.getFieldWithDefault(msg, 2, ""),
32510
+ assetKind: jspb.Message.getFieldWithDefault(msg, 3, 0),
32511
+ quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
32512
+ };
32513
+
32514
+ if (includeInstance) {
32515
+ obj.$jspbMessageInstance = msg;
32516
+ }
32517
+ return obj;
32518
+ };
32519
+ }
32520
+
32521
+
32522
+ /**
32523
+ * Deserializes binary data (in protobuf wire format).
32524
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32525
+ * @return {!proto.gateway.web.v1.RateTrackingStarted}
32526
+ */
32527
+ proto.gateway.web.v1.RateTrackingStarted.deserializeBinary = function(bytes) {
32528
+ var reader = new jspb.BinaryReader(bytes);
32529
+ var msg = new proto.gateway.web.v1.RateTrackingStarted;
32530
+ return proto.gateway.web.v1.RateTrackingStarted.deserializeBinaryFromReader(msg, reader);
32531
+ };
32532
+
32533
+
32534
+ /**
32535
+ * Deserializes binary data (in protobuf wire format) from the
32536
+ * given reader into the given message object.
32537
+ * @param {!proto.gateway.web.v1.RateTrackingStarted} msg The message object to deserialize into.
32538
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32539
+ * @return {!proto.gateway.web.v1.RateTrackingStarted}
32540
+ */
32541
+ proto.gateway.web.v1.RateTrackingStarted.deserializeBinaryFromReader = function(msg, reader) {
32542
+ while (reader.nextField()) {
32543
+ if (reader.isEndGroup()) {
32544
+ break;
32545
+ }
32546
+ var field = reader.getFieldNumber();
32547
+ switch (field) {
32548
+ case 1:
32549
+ var value = /** @type {string} */ (reader.readString());
32550
+ msg.setPluginCorrelationId(value);
32551
+ break;
32552
+ case 2:
32553
+ var value = /** @type {string} */ (reader.readString());
32554
+ msg.setSymbol(value);
32555
+ break;
32556
+ case 3:
32557
+ var value = /** @type {!proto.gateway.web.v1.AssetKind} */ (reader.readEnum());
32558
+ msg.setAssetKind(value);
32559
+ break;
32560
+ case 4:
32561
+ var value = /** @type {number} */ (reader.readDouble());
32562
+ msg.setQuantity(value);
32563
+ break;
32564
+ default:
32565
+ reader.skipField();
32566
+ break;
32567
+ }
32568
+ }
32569
+ return msg;
32570
+ };
32571
+
32572
+
32573
+ /**
32574
+ * Serializes the message to binary data (in protobuf wire format).
32575
+ * @return {!Uint8Array}
32576
+ */
32577
+ proto.gateway.web.v1.RateTrackingStarted.prototype.serializeBinary = function() {
32578
+ var writer = new jspb.BinaryWriter();
32579
+ proto.gateway.web.v1.RateTrackingStarted.serializeBinaryToWriter(this, writer);
32580
+ return writer.getResultBuffer();
32581
+ };
32582
+
32583
+
32584
+ /**
32585
+ * Serializes the given message to binary data (in protobuf wire
32586
+ * format), writing to the given BinaryWriter.
32587
+ * @param {!proto.gateway.web.v1.RateTrackingStarted} message
32588
+ * @param {!jspb.BinaryWriter} writer
32589
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32590
+ */
32591
+ proto.gateway.web.v1.RateTrackingStarted.serializeBinaryToWriter = function(message, writer) {
32592
+ var f = undefined;
32593
+ f = message.getPluginCorrelationId();
32594
+ if (f.length > 0) {
32595
+ writer.writeString(
32596
+ 1,
32597
+ f
32598
+ );
32599
+ }
32600
+ f = message.getSymbol();
32601
+ if (f.length > 0) {
32602
+ writer.writeString(
32603
+ 2,
32604
+ f
32605
+ );
32606
+ }
32607
+ f = message.getAssetKind();
32608
+ if (f !== 0.0) {
32609
+ writer.writeEnum(
32610
+ 3,
32611
+ f
32612
+ );
32613
+ }
32614
+ f = message.getQuantity();
32615
+ if (f !== 0.0) {
32616
+ writer.writeDouble(
32617
+ 4,
32618
+ f
32619
+ );
32620
+ }
32621
+ };
32622
+
32623
+
32624
+ /**
32625
+ * optional string plugin_correlation_id = 1;
32626
+ * @return {string}
32627
+ */
32628
+ proto.gateway.web.v1.RateTrackingStarted.prototype.getPluginCorrelationId = function() {
32629
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
32630
+ };
32631
+
32632
+
32633
+ /**
32634
+ * @param {string} value
32635
+ * @return {!proto.gateway.web.v1.RateTrackingStarted} returns this
32636
+ */
32637
+ proto.gateway.web.v1.RateTrackingStarted.prototype.setPluginCorrelationId = function(value) {
32638
+ return jspb.Message.setProto3StringField(this, 1, value);
32639
+ };
32640
+
32641
+
32642
+ /**
32643
+ * optional string symbol = 2;
32644
+ * @return {string}
32645
+ */
32646
+ proto.gateway.web.v1.RateTrackingStarted.prototype.getSymbol = function() {
32647
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
32648
+ };
32649
+
32650
+
32651
+ /**
32652
+ * @param {string} value
32653
+ * @return {!proto.gateway.web.v1.RateTrackingStarted} returns this
32654
+ */
32655
+ proto.gateway.web.v1.RateTrackingStarted.prototype.setSymbol = function(value) {
32656
+ return jspb.Message.setProto3StringField(this, 2, value);
32657
+ };
32658
+
32659
+
32660
+ /**
32661
+ * optional AssetKind asset_kind = 3;
32662
+ * @return {!proto.gateway.web.v1.AssetKind}
32663
+ */
32664
+ proto.gateway.web.v1.RateTrackingStarted.prototype.getAssetKind = function() {
32665
+ return /** @type {!proto.gateway.web.v1.AssetKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
32666
+ };
32667
+
32668
+
32669
+ /**
32670
+ * @param {!proto.gateway.web.v1.AssetKind} value
32671
+ * @return {!proto.gateway.web.v1.RateTrackingStarted} returns this
32672
+ */
32673
+ proto.gateway.web.v1.RateTrackingStarted.prototype.setAssetKind = function(value) {
32674
+ return jspb.Message.setProto3EnumField(this, 3, value);
32675
+ };
32676
+
32677
+
32678
+ /**
32679
+ * optional double quantity = 4;
32680
+ * @return {number}
32681
+ */
32682
+ proto.gateway.web.v1.RateTrackingStarted.prototype.getQuantity = function() {
32683
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
32684
+ };
32685
+
32686
+
32687
+ /**
32688
+ * @param {number} value
32689
+ * @return {!proto.gateway.web.v1.RateTrackingStarted} returns this
32690
+ */
32691
+ proto.gateway.web.v1.RateTrackingStarted.prototype.setQuantity = function(value) {
32692
+ return jspb.Message.setProto3FloatField(this, 4, value);
32693
+ };
32694
+
32695
+
32696
+
32697
+
32698
+
32699
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32700
+ /**
32701
+ * Creates an object representation of this proto.
32702
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32703
+ * Optional fields that are not set will be set to undefined.
32704
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32705
+ * For the list of reserved names please see:
32706
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
32707
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
32708
+ * JSPB instance for transitional soy proto support:
32709
+ * http://goto/soy-param-migration
32710
+ * @return {!Object}
32711
+ */
32712
+ proto.gateway.web.v1.RateAdded.prototype.toObject = function(opt_includeInstance) {
32713
+ return proto.gateway.web.v1.RateAdded.toObject(opt_includeInstance, this);
32714
+ };
32715
+
32716
+
32717
+ /**
32718
+ * Static version of the {@see toObject} method.
32719
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
32720
+ * the JSPB instance for transitional soy proto support:
32721
+ * http://goto/soy-param-migration
32722
+ * @param {!proto.gateway.web.v1.RateAdded} msg The msg instance to transform.
32723
+ * @return {!Object}
32724
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32725
+ */
32726
+ proto.gateway.web.v1.RateAdded.toObject = function(includeInstance, msg) {
32727
+ var f, obj = {
32728
+ pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
32729
+ symbol: jspb.Message.getFieldWithDefault(msg, 2, ""),
32730
+ assetKind: jspb.Message.getFieldWithDefault(msg, 3, 0),
32731
+ quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
32732
+ usdPerUnit: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
32733
+ usdNotional: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
32734
+ rateAsOf: (f = msg.getRateAsOf()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
32735
+ source: jspb.Message.getFieldWithDefault(msg, 8, "")
32736
+ };
32737
+
32738
+ if (includeInstance) {
32739
+ obj.$jspbMessageInstance = msg;
32740
+ }
32741
+ return obj;
32742
+ };
32743
+ }
32744
+
32745
+
32746
+ /**
32747
+ * Deserializes binary data (in protobuf wire format).
32748
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32749
+ * @return {!proto.gateway.web.v1.RateAdded}
32750
+ */
32751
+ proto.gateway.web.v1.RateAdded.deserializeBinary = function(bytes) {
32752
+ var reader = new jspb.BinaryReader(bytes);
32753
+ var msg = new proto.gateway.web.v1.RateAdded;
32754
+ return proto.gateway.web.v1.RateAdded.deserializeBinaryFromReader(msg, reader);
32755
+ };
32756
+
32757
+
32758
+ /**
32759
+ * Deserializes binary data (in protobuf wire format) from the
32760
+ * given reader into the given message object.
32761
+ * @param {!proto.gateway.web.v1.RateAdded} msg The message object to deserialize into.
32762
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32763
+ * @return {!proto.gateway.web.v1.RateAdded}
32764
+ */
32765
+ proto.gateway.web.v1.RateAdded.deserializeBinaryFromReader = function(msg, reader) {
32766
+ while (reader.nextField()) {
32767
+ if (reader.isEndGroup()) {
32768
+ break;
32769
+ }
32770
+ var field = reader.getFieldNumber();
32771
+ switch (field) {
32772
+ case 1:
32773
+ var value = /** @type {string} */ (reader.readString());
32774
+ msg.setPluginCorrelationId(value);
32775
+ break;
32776
+ case 2:
32777
+ var value = /** @type {string} */ (reader.readString());
32778
+ msg.setSymbol(value);
32779
+ break;
32780
+ case 3:
32781
+ var value = /** @type {!proto.gateway.web.v1.AssetKind} */ (reader.readEnum());
32782
+ msg.setAssetKind(value);
32783
+ break;
32784
+ case 4:
32785
+ var value = /** @type {number} */ (reader.readDouble());
32786
+ msg.setQuantity(value);
32787
+ break;
32788
+ case 5:
32789
+ var value = /** @type {number} */ (reader.readDouble());
32790
+ msg.setUsdPerUnit(value);
32791
+ break;
32792
+ case 6:
32793
+ var value = /** @type {number} */ (reader.readDouble());
32794
+ msg.setUsdNotional(value);
32795
+ break;
32796
+ case 7:
32797
+ var value = new google_protobuf_timestamp_pb.Timestamp;
32798
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
32799
+ msg.setRateAsOf(value);
32800
+ break;
32801
+ case 8:
32802
+ var value = /** @type {string} */ (reader.readString());
32803
+ msg.setSource(value);
32804
+ break;
32805
+ default:
32806
+ reader.skipField();
32807
+ break;
32808
+ }
32809
+ }
32810
+ return msg;
32811
+ };
32812
+
32813
+
32814
+ /**
32815
+ * Serializes the message to binary data (in protobuf wire format).
32816
+ * @return {!Uint8Array}
32817
+ */
32818
+ proto.gateway.web.v1.RateAdded.prototype.serializeBinary = function() {
32819
+ var writer = new jspb.BinaryWriter();
32820
+ proto.gateway.web.v1.RateAdded.serializeBinaryToWriter(this, writer);
32821
+ return writer.getResultBuffer();
32822
+ };
32823
+
32824
+
32825
+ /**
32826
+ * Serializes the given message to binary data (in protobuf wire
32827
+ * format), writing to the given BinaryWriter.
32828
+ * @param {!proto.gateway.web.v1.RateAdded} message
32829
+ * @param {!jspb.BinaryWriter} writer
32830
+ * @suppress {unusedLocalVariables} f is only used for nested messages
32831
+ */
32832
+ proto.gateway.web.v1.RateAdded.serializeBinaryToWriter = function(message, writer) {
32833
+ var f = undefined;
32834
+ f = message.getPluginCorrelationId();
32835
+ if (f.length > 0) {
32836
+ writer.writeString(
32837
+ 1,
32838
+ f
32839
+ );
32840
+ }
32841
+ f = message.getSymbol();
32842
+ if (f.length > 0) {
32843
+ writer.writeString(
32844
+ 2,
32845
+ f
32846
+ );
32847
+ }
32848
+ f = message.getAssetKind();
32849
+ if (f !== 0.0) {
32850
+ writer.writeEnum(
32851
+ 3,
32852
+ f
32853
+ );
32854
+ }
32855
+ f = message.getQuantity();
32856
+ if (f !== 0.0) {
32857
+ writer.writeDouble(
32858
+ 4,
32859
+ f
32860
+ );
32861
+ }
32862
+ f = message.getUsdPerUnit();
32863
+ if (f !== 0.0) {
32864
+ writer.writeDouble(
32865
+ 5,
32866
+ f
32867
+ );
32868
+ }
32869
+ f = message.getUsdNotional();
32870
+ if (f !== 0.0) {
32871
+ writer.writeDouble(
32872
+ 6,
32873
+ f
32874
+ );
32875
+ }
32876
+ f = message.getRateAsOf();
32877
+ if (f != null) {
32878
+ writer.writeMessage(
32879
+ 7,
32880
+ f,
32881
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
32882
+ );
32883
+ }
32884
+ f = message.getSource();
32885
+ if (f.length > 0) {
32886
+ writer.writeString(
32887
+ 8,
32888
+ f
32889
+ );
32890
+ }
32891
+ };
32892
+
32893
+
32894
+ /**
32895
+ * optional string plugin_correlation_id = 1;
32896
+ * @return {string}
32897
+ */
32898
+ proto.gateway.web.v1.RateAdded.prototype.getPluginCorrelationId = function() {
32899
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
32900
+ };
32901
+
32902
+
32903
+ /**
32904
+ * @param {string} value
32905
+ * @return {!proto.gateway.web.v1.RateAdded} returns this
32906
+ */
32907
+ proto.gateway.web.v1.RateAdded.prototype.setPluginCorrelationId = function(value) {
32908
+ return jspb.Message.setProto3StringField(this, 1, value);
32909
+ };
32910
+
32911
+
32912
+ /**
32913
+ * optional string symbol = 2;
32914
+ * @return {string}
32915
+ */
32916
+ proto.gateway.web.v1.RateAdded.prototype.getSymbol = function() {
32917
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
32918
+ };
32919
+
32920
+
32921
+ /**
32922
+ * @param {string} value
32923
+ * @return {!proto.gateway.web.v1.RateAdded} returns this
32924
+ */
32925
+ proto.gateway.web.v1.RateAdded.prototype.setSymbol = function(value) {
32926
+ return jspb.Message.setProto3StringField(this, 2, value);
32927
+ };
32928
+
32929
+
32930
+ /**
32931
+ * optional AssetKind asset_kind = 3;
32932
+ * @return {!proto.gateway.web.v1.AssetKind}
32933
+ */
32934
+ proto.gateway.web.v1.RateAdded.prototype.getAssetKind = function() {
32935
+ return /** @type {!proto.gateway.web.v1.AssetKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
32936
+ };
32937
+
32938
+
32939
+ /**
32940
+ * @param {!proto.gateway.web.v1.AssetKind} value
32941
+ * @return {!proto.gateway.web.v1.RateAdded} returns this
32942
+ */
32943
+ proto.gateway.web.v1.RateAdded.prototype.setAssetKind = function(value) {
32944
+ return jspb.Message.setProto3EnumField(this, 3, value);
32945
+ };
32946
+
32947
+
32948
+ /**
32949
+ * optional double quantity = 4;
32950
+ * @return {number}
32951
+ */
32952
+ proto.gateway.web.v1.RateAdded.prototype.getQuantity = function() {
32953
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
32954
+ };
32955
+
32956
+
32957
+ /**
32958
+ * @param {number} value
32959
+ * @return {!proto.gateway.web.v1.RateAdded} returns this
32960
+ */
32961
+ proto.gateway.web.v1.RateAdded.prototype.setQuantity = function(value) {
32962
+ return jspb.Message.setProto3FloatField(this, 4, value);
32963
+ };
32964
+
32965
+
32966
+ /**
32967
+ * optional double usd_per_unit = 5;
32968
+ * @return {number}
32969
+ */
32970
+ proto.gateway.web.v1.RateAdded.prototype.getUsdPerUnit = function() {
32971
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
32972
+ };
32973
+
32974
+
32975
+ /**
32976
+ * @param {number} value
32977
+ * @return {!proto.gateway.web.v1.RateAdded} returns this
32978
+ */
32979
+ proto.gateway.web.v1.RateAdded.prototype.setUsdPerUnit = function(value) {
32980
+ return jspb.Message.setProto3FloatField(this, 5, value);
32981
+ };
32982
+
32983
+
32984
+ /**
32985
+ * optional double usd_notional = 6;
32986
+ * @return {number}
32987
+ */
32988
+ proto.gateway.web.v1.RateAdded.prototype.getUsdNotional = function() {
32989
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
32990
+ };
32991
+
32992
+
32993
+ /**
32994
+ * @param {number} value
32995
+ * @return {!proto.gateway.web.v1.RateAdded} returns this
32996
+ */
32997
+ proto.gateway.web.v1.RateAdded.prototype.setUsdNotional = function(value) {
32998
+ return jspb.Message.setProto3FloatField(this, 6, value);
32999
+ };
33000
+
33001
+
33002
+ /**
33003
+ * optional google.protobuf.Timestamp rate_as_of = 7;
33004
+ * @return {?proto.google.protobuf.Timestamp}
33005
+ */
33006
+ proto.gateway.web.v1.RateAdded.prototype.getRateAsOf = function() {
33007
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
33008
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
33009
+ };
33010
+
33011
+
33012
+ /**
33013
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
33014
+ * @return {!proto.gateway.web.v1.RateAdded} returns this
33015
+ */
33016
+ proto.gateway.web.v1.RateAdded.prototype.setRateAsOf = function(value) {
33017
+ return jspb.Message.setWrapperField(this, 7, value);
33018
+ };
33019
+
33020
+
33021
+ /**
33022
+ * Clears the message field making it undefined.
33023
+ * @return {!proto.gateway.web.v1.RateAdded} returns this
33024
+ */
33025
+ proto.gateway.web.v1.RateAdded.prototype.clearRateAsOf = function() {
33026
+ return this.setRateAsOf(undefined);
33027
+ };
33028
+
33029
+
33030
+ /**
33031
+ * Returns whether this field is set.
33032
+ * @return {boolean}
33033
+ */
33034
+ proto.gateway.web.v1.RateAdded.prototype.hasRateAsOf = function() {
33035
+ return jspb.Message.getField(this, 7) != null;
33036
+ };
33037
+
33038
+
33039
+ /**
33040
+ * optional string source = 8;
33041
+ * @return {string}
33042
+ */
33043
+ proto.gateway.web.v1.RateAdded.prototype.getSource = function() {
33044
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
33045
+ };
33046
+
33047
+
33048
+ /**
33049
+ * @param {string} value
33050
+ * @return {!proto.gateway.web.v1.RateAdded} returns this
33051
+ */
33052
+ proto.gateway.web.v1.RateAdded.prototype.setSource = function(value) {
33053
+ return jspb.Message.setProto3StringField(this, 8, value);
33054
+ };
33055
+
33056
+
33057
+
33058
+
33059
+
33060
+ if (jspb.Message.GENERATE_TO_OBJECT) {
33061
+ /**
33062
+ * Creates an object representation of this proto.
33063
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
33064
+ * Optional fields that are not set will be set to undefined.
33065
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33066
+ * For the list of reserved names please see:
33067
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33068
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33069
+ * JSPB instance for transitional soy proto support:
33070
+ * http://goto/soy-param-migration
33071
+ * @return {!Object}
33072
+ */
33073
+ proto.gateway.web.v1.RateNotFound.prototype.toObject = function(opt_includeInstance) {
33074
+ return proto.gateway.web.v1.RateNotFound.toObject(opt_includeInstance, this);
33075
+ };
33076
+
33077
+
33078
+ /**
33079
+ * Static version of the {@see toObject} method.
33080
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33081
+ * the JSPB instance for transitional soy proto support:
33082
+ * http://goto/soy-param-migration
33083
+ * @param {!proto.gateway.web.v1.RateNotFound} msg The msg instance to transform.
33084
+ * @return {!Object}
33085
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33086
+ */
33087
+ proto.gateway.web.v1.RateNotFound.toObject = function(includeInstance, msg) {
33088
+ var f, obj = {
33089
+ pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
33090
+ symbol: jspb.Message.getFieldWithDefault(msg, 2, ""),
33091
+ assetKind: jspb.Message.getFieldWithDefault(msg, 3, 0),
33092
+ quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
33093
+ message: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f
33094
+ };
33095
+
33096
+ if (includeInstance) {
33097
+ obj.$jspbMessageInstance = msg;
33098
+ }
33099
+ return obj;
33100
+ };
33101
+ }
33102
+
33103
+
33104
+ /**
33105
+ * Deserializes binary data (in protobuf wire format).
33106
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
33107
+ * @return {!proto.gateway.web.v1.RateNotFound}
33108
+ */
33109
+ proto.gateway.web.v1.RateNotFound.deserializeBinary = function(bytes) {
33110
+ var reader = new jspb.BinaryReader(bytes);
33111
+ var msg = new proto.gateway.web.v1.RateNotFound;
33112
+ return proto.gateway.web.v1.RateNotFound.deserializeBinaryFromReader(msg, reader);
33113
+ };
33114
+
33115
+
33116
+ /**
33117
+ * Deserializes binary data (in protobuf wire format) from the
33118
+ * given reader into the given message object.
33119
+ * @param {!proto.gateway.web.v1.RateNotFound} msg The message object to deserialize into.
33120
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33121
+ * @return {!proto.gateway.web.v1.RateNotFound}
33122
+ */
33123
+ proto.gateway.web.v1.RateNotFound.deserializeBinaryFromReader = function(msg, reader) {
33124
+ while (reader.nextField()) {
33125
+ if (reader.isEndGroup()) {
33126
+ break;
33127
+ }
33128
+ var field = reader.getFieldNumber();
33129
+ switch (field) {
33130
+ case 1:
33131
+ var value = /** @type {string} */ (reader.readString());
33132
+ msg.setPluginCorrelationId(value);
33133
+ break;
33134
+ case 2:
33135
+ var value = /** @type {string} */ (reader.readString());
33136
+ msg.setSymbol(value);
33137
+ break;
33138
+ case 3:
33139
+ var value = /** @type {!proto.gateway.web.v1.AssetKind} */ (reader.readEnum());
33140
+ msg.setAssetKind(value);
33141
+ break;
33142
+ case 4:
33143
+ var value = /** @type {number} */ (reader.readDouble());
33144
+ msg.setQuantity(value);
33145
+ break;
33146
+ case 5:
33147
+ var value = /** @type {string} */ (reader.readString());
33148
+ msg.setMessage(value);
33149
+ break;
33150
+ default:
33151
+ reader.skipField();
33152
+ break;
33153
+ }
33154
+ }
33155
+ return msg;
33156
+ };
33157
+
33158
+
33159
+ /**
33160
+ * Serializes the message to binary data (in protobuf wire format).
33161
+ * @return {!Uint8Array}
33162
+ */
33163
+ proto.gateway.web.v1.RateNotFound.prototype.serializeBinary = function() {
33164
+ var writer = new jspb.BinaryWriter();
33165
+ proto.gateway.web.v1.RateNotFound.serializeBinaryToWriter(this, writer);
33166
+ return writer.getResultBuffer();
33167
+ };
33168
+
33169
+
33170
+ /**
33171
+ * Serializes the given message to binary data (in protobuf wire
33172
+ * format), writing to the given BinaryWriter.
33173
+ * @param {!proto.gateway.web.v1.RateNotFound} message
33174
+ * @param {!jspb.BinaryWriter} writer
33175
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33176
+ */
33177
+ proto.gateway.web.v1.RateNotFound.serializeBinaryToWriter = function(message, writer) {
33178
+ var f = undefined;
33179
+ f = message.getPluginCorrelationId();
33180
+ if (f.length > 0) {
33181
+ writer.writeString(
33182
+ 1,
33183
+ f
33184
+ );
33185
+ }
33186
+ f = message.getSymbol();
33187
+ if (f.length > 0) {
33188
+ writer.writeString(
33189
+ 2,
33190
+ f
33191
+ );
33192
+ }
33193
+ f = message.getAssetKind();
33194
+ if (f !== 0.0) {
33195
+ writer.writeEnum(
33196
+ 3,
33197
+ f
33198
+ );
33199
+ }
33200
+ f = message.getQuantity();
33201
+ if (f !== 0.0) {
33202
+ writer.writeDouble(
33203
+ 4,
33204
+ f
33205
+ );
33206
+ }
33207
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
33208
+ if (f != null) {
33209
+ writer.writeString(
33210
+ 5,
33211
+ f
33212
+ );
33213
+ }
33214
+ };
33215
+
33216
+
33217
+ /**
33218
+ * optional string plugin_correlation_id = 1;
33219
+ * @return {string}
33220
+ */
33221
+ proto.gateway.web.v1.RateNotFound.prototype.getPluginCorrelationId = function() {
33222
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
33223
+ };
33224
+
33225
+
33226
+ /**
33227
+ * @param {string} value
33228
+ * @return {!proto.gateway.web.v1.RateNotFound} returns this
33229
+ */
33230
+ proto.gateway.web.v1.RateNotFound.prototype.setPluginCorrelationId = function(value) {
33231
+ return jspb.Message.setProto3StringField(this, 1, value);
33232
+ };
33233
+
33234
+
33235
+ /**
33236
+ * optional string symbol = 2;
33237
+ * @return {string}
33238
+ */
33239
+ proto.gateway.web.v1.RateNotFound.prototype.getSymbol = function() {
33240
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
33241
+ };
33242
+
33243
+
33244
+ /**
33245
+ * @param {string} value
33246
+ * @return {!proto.gateway.web.v1.RateNotFound} returns this
33247
+ */
33248
+ proto.gateway.web.v1.RateNotFound.prototype.setSymbol = function(value) {
33249
+ return jspb.Message.setProto3StringField(this, 2, value);
33250
+ };
33251
+
33252
+
33253
+ /**
33254
+ * optional AssetKind asset_kind = 3;
33255
+ * @return {!proto.gateway.web.v1.AssetKind}
33256
+ */
33257
+ proto.gateway.web.v1.RateNotFound.prototype.getAssetKind = function() {
33258
+ return /** @type {!proto.gateway.web.v1.AssetKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
33259
+ };
33260
+
33261
+
33262
+ /**
33263
+ * @param {!proto.gateway.web.v1.AssetKind} value
33264
+ * @return {!proto.gateway.web.v1.RateNotFound} returns this
33265
+ */
33266
+ proto.gateway.web.v1.RateNotFound.prototype.setAssetKind = function(value) {
33267
+ return jspb.Message.setProto3EnumField(this, 3, value);
33268
+ };
33269
+
33270
+
33271
+ /**
33272
+ * optional double quantity = 4;
33273
+ * @return {number}
33274
+ */
33275
+ proto.gateway.web.v1.RateNotFound.prototype.getQuantity = function() {
33276
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
33277
+ };
33278
+
33279
+
33280
+ /**
33281
+ * @param {number} value
33282
+ * @return {!proto.gateway.web.v1.RateNotFound} returns this
33283
+ */
33284
+ proto.gateway.web.v1.RateNotFound.prototype.setQuantity = function(value) {
33285
+ return jspb.Message.setProto3FloatField(this, 4, value);
33286
+ };
33287
+
33288
+
33289
+ /**
33290
+ * optional string message = 5;
33291
+ * @return {string}
33292
+ */
33293
+ proto.gateway.web.v1.RateNotFound.prototype.getMessage = function() {
33294
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
33295
+ };
33296
+
33297
+
33298
+ /**
33299
+ * @param {string} value
33300
+ * @return {!proto.gateway.web.v1.RateNotFound} returns this
33301
+ */
33302
+ proto.gateway.web.v1.RateNotFound.prototype.setMessage = function(value) {
33303
+ return jspb.Message.setField(this, 5, value);
33304
+ };
33305
+
33306
+
33307
+ /**
33308
+ * Clears the field making it undefined.
33309
+ * @return {!proto.gateway.web.v1.RateNotFound} returns this
33310
+ */
33311
+ proto.gateway.web.v1.RateNotFound.prototype.clearMessage = function() {
33312
+ return jspb.Message.setField(this, 5, undefined);
33313
+ };
33314
+
33315
+
33316
+ /**
33317
+ * Returns whether this field is set.
33318
+ * @return {boolean}
33319
+ */
33320
+ proto.gateway.web.v1.RateNotFound.prototype.hasMessage = function() {
33321
+ return jspb.Message.getField(this, 5) != null;
33322
+ };
33323
+
33324
+
33325
+
33326
+
33327
+
33328
+ if (jspb.Message.GENERATE_TO_OBJECT) {
33329
+ /**
33330
+ * Creates an object representation of this proto.
33331
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
33332
+ * Optional fields that are not set will be set to undefined.
33333
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33334
+ * For the list of reserved names please see:
33335
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33336
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33337
+ * JSPB instance for transitional soy proto support:
33338
+ * http://goto/soy-param-migration
33339
+ * @return {!Object}
33340
+ */
33341
+ proto.gateway.web.v1.RateTrackingFinished.prototype.toObject = function(opt_includeInstance) {
33342
+ return proto.gateway.web.v1.RateTrackingFinished.toObject(opt_includeInstance, this);
33343
+ };
33344
+
33345
+
33346
+ /**
33347
+ * Static version of the {@see toObject} method.
33348
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33349
+ * the JSPB instance for transitional soy proto support:
33350
+ * http://goto/soy-param-migration
33351
+ * @param {!proto.gateway.web.v1.RateTrackingFinished} msg The msg instance to transform.
33352
+ * @return {!Object}
33353
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33354
+ */
33355
+ proto.gateway.web.v1.RateTrackingFinished.toObject = function(includeInstance, msg) {
33356
+ var f, obj = {
33357
+ pluginCorrelationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
33358
+ status: jspb.Message.getFieldWithDefault(msg, 2, 0),
33359
+ message: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
33360
+ completedAt: (f = msg.getCompletedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
33361
+ };
33362
+
33363
+ if (includeInstance) {
33364
+ obj.$jspbMessageInstance = msg;
33365
+ }
33366
+ return obj;
33367
+ };
33368
+ }
33369
+
33370
+
33371
+ /**
33372
+ * Deserializes binary data (in protobuf wire format).
33373
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
33374
+ * @return {!proto.gateway.web.v1.RateTrackingFinished}
33375
+ */
33376
+ proto.gateway.web.v1.RateTrackingFinished.deserializeBinary = function(bytes) {
33377
+ var reader = new jspb.BinaryReader(bytes);
33378
+ var msg = new proto.gateway.web.v1.RateTrackingFinished;
33379
+ return proto.gateway.web.v1.RateTrackingFinished.deserializeBinaryFromReader(msg, reader);
33380
+ };
33381
+
33382
+
33383
+ /**
33384
+ * Deserializes binary data (in protobuf wire format) from the
33385
+ * given reader into the given message object.
33386
+ * @param {!proto.gateway.web.v1.RateTrackingFinished} msg The message object to deserialize into.
33387
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33388
+ * @return {!proto.gateway.web.v1.RateTrackingFinished}
33389
+ */
33390
+ proto.gateway.web.v1.RateTrackingFinished.deserializeBinaryFromReader = function(msg, reader) {
33391
+ while (reader.nextField()) {
33392
+ if (reader.isEndGroup()) {
33393
+ break;
33394
+ }
33395
+ var field = reader.getFieldNumber();
33396
+ switch (field) {
33397
+ case 1:
33398
+ var value = /** @type {string} */ (reader.readString());
33399
+ msg.setPluginCorrelationId(value);
33400
+ break;
33401
+ case 2:
33402
+ var value = /** @type {!proto.gateway.web.v1.RateHintStatus} */ (reader.readEnum());
33403
+ msg.setStatus(value);
33404
+ break;
33405
+ case 3:
33406
+ var value = /** @type {string} */ (reader.readString());
33407
+ msg.setMessage(value);
33408
+ break;
33409
+ case 4:
33410
+ var value = new google_protobuf_timestamp_pb.Timestamp;
33411
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
33412
+ msg.setCompletedAt(value);
33413
+ break;
33414
+ default:
33415
+ reader.skipField();
33416
+ break;
33417
+ }
33418
+ }
33419
+ return msg;
33420
+ };
33421
+
33422
+
33423
+ /**
33424
+ * Serializes the message to binary data (in protobuf wire format).
33425
+ * @return {!Uint8Array}
33426
+ */
33427
+ proto.gateway.web.v1.RateTrackingFinished.prototype.serializeBinary = function() {
33428
+ var writer = new jspb.BinaryWriter();
33429
+ proto.gateway.web.v1.RateTrackingFinished.serializeBinaryToWriter(this, writer);
33430
+ return writer.getResultBuffer();
33431
+ };
33432
+
33433
+
33434
+ /**
33435
+ * Serializes the given message to binary data (in protobuf wire
33436
+ * format), writing to the given BinaryWriter.
33437
+ * @param {!proto.gateway.web.v1.RateTrackingFinished} message
33438
+ * @param {!jspb.BinaryWriter} writer
33439
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33440
+ */
33441
+ proto.gateway.web.v1.RateTrackingFinished.serializeBinaryToWriter = function(message, writer) {
33442
+ var f = undefined;
33443
+ f = message.getPluginCorrelationId();
33444
+ if (f.length > 0) {
33445
+ writer.writeString(
33446
+ 1,
33447
+ f
33448
+ );
33449
+ }
33450
+ f = message.getStatus();
33451
+ if (f !== 0.0) {
33452
+ writer.writeEnum(
33453
+ 2,
33454
+ f
33455
+ );
33456
+ }
33457
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
33458
+ if (f != null) {
33459
+ writer.writeString(
33460
+ 3,
33461
+ f
33462
+ );
33463
+ }
33464
+ f = message.getCompletedAt();
33465
+ if (f != null) {
33466
+ writer.writeMessage(
33467
+ 4,
33468
+ f,
33469
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
33470
+ );
33471
+ }
31470
33472
  };
31471
33473
 
31472
33474
 
@@ -31474,34 +33476,34 @@ proto.gateway.web.v1.StripeTrackingFinished.serializeBinaryToWriter = function(m
31474
33476
  * optional string plugin_correlation_id = 1;
31475
33477
  * @return {string}
31476
33478
  */
31477
- proto.gateway.web.v1.StripeTrackingFinished.prototype.getPluginCorrelationId = function() {
33479
+ proto.gateway.web.v1.RateTrackingFinished.prototype.getPluginCorrelationId = function() {
31478
33480
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
31479
33481
  };
31480
33482
 
31481
33483
 
31482
33484
  /**
31483
33485
  * @param {string} value
31484
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
33486
+ * @return {!proto.gateway.web.v1.RateTrackingFinished} returns this
31485
33487
  */
31486
- proto.gateway.web.v1.StripeTrackingFinished.prototype.setPluginCorrelationId = function(value) {
33488
+ proto.gateway.web.v1.RateTrackingFinished.prototype.setPluginCorrelationId = function(value) {
31487
33489
  return jspb.Message.setProto3StringField(this, 1, value);
31488
33490
  };
31489
33491
 
31490
33492
 
31491
33493
  /**
31492
- * optional StripeHintStatus status = 2;
31493
- * @return {!proto.gateway.web.v1.StripeHintStatus}
33494
+ * optional RateHintStatus status = 2;
33495
+ * @return {!proto.gateway.web.v1.RateHintStatus}
31494
33496
  */
31495
- proto.gateway.web.v1.StripeTrackingFinished.prototype.getStatus = function() {
31496
- return /** @type {!proto.gateway.web.v1.StripeHintStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
33497
+ proto.gateway.web.v1.RateTrackingFinished.prototype.getStatus = function() {
33498
+ return /** @type {!proto.gateway.web.v1.RateHintStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
31497
33499
  };
31498
33500
 
31499
33501
 
31500
33502
  /**
31501
- * @param {!proto.gateway.web.v1.StripeHintStatus} value
31502
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
33503
+ * @param {!proto.gateway.web.v1.RateHintStatus} value
33504
+ * @return {!proto.gateway.web.v1.RateTrackingFinished} returns this
31503
33505
  */
31504
- proto.gateway.web.v1.StripeTrackingFinished.prototype.setStatus = function(value) {
33506
+ proto.gateway.web.v1.RateTrackingFinished.prototype.setStatus = function(value) {
31505
33507
  return jspb.Message.setProto3EnumField(this, 2, value);
31506
33508
  };
31507
33509
 
@@ -31510,25 +33512,25 @@ proto.gateway.web.v1.StripeTrackingFinished.prototype.setStatus = function(value
31510
33512
  * optional string message = 3;
31511
33513
  * @return {string}
31512
33514
  */
31513
- proto.gateway.web.v1.StripeTrackingFinished.prototype.getMessage = function() {
33515
+ proto.gateway.web.v1.RateTrackingFinished.prototype.getMessage = function() {
31514
33516
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
31515
33517
  };
31516
33518
 
31517
33519
 
31518
33520
  /**
31519
33521
  * @param {string} value
31520
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
33522
+ * @return {!proto.gateway.web.v1.RateTrackingFinished} returns this
31521
33523
  */
31522
- proto.gateway.web.v1.StripeTrackingFinished.prototype.setMessage = function(value) {
33524
+ proto.gateway.web.v1.RateTrackingFinished.prototype.setMessage = function(value) {
31523
33525
  return jspb.Message.setField(this, 3, value);
31524
33526
  };
31525
33527
 
31526
33528
 
31527
33529
  /**
31528
33530
  * Clears the field making it undefined.
31529
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
33531
+ * @return {!proto.gateway.web.v1.RateTrackingFinished} returns this
31530
33532
  */
31531
- proto.gateway.web.v1.StripeTrackingFinished.prototype.clearMessage = function() {
33533
+ proto.gateway.web.v1.RateTrackingFinished.prototype.clearMessage = function() {
31532
33534
  return jspb.Message.setField(this, 3, undefined);
31533
33535
  };
31534
33536
 
@@ -31537,7 +33539,7 @@ proto.gateway.web.v1.StripeTrackingFinished.prototype.clearMessage = function()
31537
33539
  * Returns whether this field is set.
31538
33540
  * @return {boolean}
31539
33541
  */
31540
- proto.gateway.web.v1.StripeTrackingFinished.prototype.hasMessage = function() {
33542
+ proto.gateway.web.v1.RateTrackingFinished.prototype.hasMessage = function() {
31541
33543
  return jspb.Message.getField(this, 3) != null;
31542
33544
  };
31543
33545
 
@@ -31546,7 +33548,7 @@ proto.gateway.web.v1.StripeTrackingFinished.prototype.hasMessage = function() {
31546
33548
  * optional google.protobuf.Timestamp completed_at = 4;
31547
33549
  * @return {?proto.google.protobuf.Timestamp}
31548
33550
  */
31549
- proto.gateway.web.v1.StripeTrackingFinished.prototype.getCompletedAt = function() {
33551
+ proto.gateway.web.v1.RateTrackingFinished.prototype.getCompletedAt = function() {
31550
33552
  return /** @type{?proto.google.protobuf.Timestamp} */ (
31551
33553
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
31552
33554
  };
@@ -31554,18 +33556,18 @@ proto.gateway.web.v1.StripeTrackingFinished.prototype.getCompletedAt = function(
31554
33556
 
31555
33557
  /**
31556
33558
  * @param {?proto.google.protobuf.Timestamp|undefined} value
31557
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
33559
+ * @return {!proto.gateway.web.v1.RateTrackingFinished} returns this
31558
33560
  */
31559
- proto.gateway.web.v1.StripeTrackingFinished.prototype.setCompletedAt = function(value) {
33561
+ proto.gateway.web.v1.RateTrackingFinished.prototype.setCompletedAt = function(value) {
31560
33562
  return jspb.Message.setWrapperField(this, 4, value);
31561
33563
  };
31562
33564
 
31563
33565
 
31564
33566
  /**
31565
33567
  * Clears the message field making it undefined.
31566
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
33568
+ * @return {!proto.gateway.web.v1.RateTrackingFinished} returns this
31567
33569
  */
31568
- proto.gateway.web.v1.StripeTrackingFinished.prototype.clearCompletedAt = function() {
33570
+ proto.gateway.web.v1.RateTrackingFinished.prototype.clearCompletedAt = function() {
31569
33571
  return this.setCompletedAt(undefined);
31570
33572
  };
31571
33573
 
@@ -31574,262 +33576,11 @@ proto.gateway.web.v1.StripeTrackingFinished.prototype.clearCompletedAt = functio
31574
33576
  * Returns whether this field is set.
31575
33577
  * @return {boolean}
31576
33578
  */
31577
- proto.gateway.web.v1.StripeTrackingFinished.prototype.hasCompletedAt = function() {
33579
+ proto.gateway.web.v1.RateTrackingFinished.prototype.hasCompletedAt = function() {
31578
33580
  return jspb.Message.getField(this, 4) != null;
31579
33581
  };
31580
33582
 
31581
33583
 
31582
- /**
31583
- * optional string payment_intent_id = 10;
31584
- * @return {string}
31585
- */
31586
- proto.gateway.web.v1.StripeTrackingFinished.prototype.getPaymentIntentId = function() {
31587
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
31588
- };
31589
-
31590
-
31591
- /**
31592
- * @param {string} value
31593
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31594
- */
31595
- proto.gateway.web.v1.StripeTrackingFinished.prototype.setPaymentIntentId = function(value) {
31596
- return jspb.Message.setProto3StringField(this, 10, value);
31597
- };
31598
-
31599
-
31600
- /**
31601
- * optional string charge_id = 11;
31602
- * @return {string}
31603
- */
31604
- proto.gateway.web.v1.StripeTrackingFinished.prototype.getChargeId = function() {
31605
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
31606
- };
31607
-
31608
-
31609
- /**
31610
- * @param {string} value
31611
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31612
- */
31613
- proto.gateway.web.v1.StripeTrackingFinished.prototype.setChargeId = function(value) {
31614
- return jspb.Message.setProto3StringField(this, 11, value);
31615
- };
31616
-
31617
-
31618
- /**
31619
- * optional string payout_id = 12;
31620
- * @return {string}
31621
- */
31622
- proto.gateway.web.v1.StripeTrackingFinished.prototype.getPayoutId = function() {
31623
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
31624
- };
31625
-
31626
-
31627
- /**
31628
- * @param {string} value
31629
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31630
- */
31631
- proto.gateway.web.v1.StripeTrackingFinished.prototype.setPayoutId = function(value) {
31632
- return jspb.Message.setProto3StringField(this, 12, value);
31633
- };
31634
-
31635
-
31636
- /**
31637
- * optional StripeMoney net_amount = 13;
31638
- * @return {?proto.gateway.web.v1.StripeMoney}
31639
- */
31640
- proto.gateway.web.v1.StripeTrackingFinished.prototype.getNetAmount = function() {
31641
- return /** @type{?proto.gateway.web.v1.StripeMoney} */ (
31642
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.StripeMoney, 13));
31643
- };
31644
-
31645
-
31646
- /**
31647
- * @param {?proto.gateway.web.v1.StripeMoney|undefined} value
31648
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31649
- */
31650
- proto.gateway.web.v1.StripeTrackingFinished.prototype.setNetAmount = function(value) {
31651
- return jspb.Message.setWrapperField(this, 13, value);
31652
- };
31653
-
31654
-
31655
- /**
31656
- * Clears the message field making it undefined.
31657
- * @return {!proto.gateway.web.v1.StripeTrackingFinished} returns this
31658
- */
31659
- proto.gateway.web.v1.StripeTrackingFinished.prototype.clearNetAmount = function() {
31660
- return this.setNetAmount(undefined);
31661
- };
31662
-
31663
-
31664
- /**
31665
- * Returns whether this field is set.
31666
- * @return {boolean}
31667
- */
31668
- proto.gateway.web.v1.StripeTrackingFinished.prototype.hasNetAmount = function() {
31669
- return jspb.Message.getField(this, 13) != null;
31670
- };
31671
-
31672
-
31673
-
31674
-
31675
-
31676
- if (jspb.Message.GENERATE_TO_OBJECT) {
31677
- /**
31678
- * Creates an object representation of this proto.
31679
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
31680
- * Optional fields that are not set will be set to undefined.
31681
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
31682
- * For the list of reserved names please see:
31683
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
31684
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
31685
- * JSPB instance for transitional soy proto support:
31686
- * http://goto/soy-param-migration
31687
- * @return {!Object}
31688
- */
31689
- proto.gateway.web.v1.StripeMoney.prototype.toObject = function(opt_includeInstance) {
31690
- return proto.gateway.web.v1.StripeMoney.toObject(opt_includeInstance, this);
31691
- };
31692
-
31693
-
31694
- /**
31695
- * Static version of the {@see toObject} method.
31696
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
31697
- * the JSPB instance for transitional soy proto support:
31698
- * http://goto/soy-param-migration
31699
- * @param {!proto.gateway.web.v1.StripeMoney} msg The msg instance to transform.
31700
- * @return {!Object}
31701
- * @suppress {unusedLocalVariables} f is only used for nested messages
31702
- */
31703
- proto.gateway.web.v1.StripeMoney.toObject = function(includeInstance, msg) {
31704
- var f, obj = {
31705
- amountMinor: jspb.Message.getFieldWithDefault(msg, 1, 0),
31706
- currency: jspb.Message.getFieldWithDefault(msg, 2, "")
31707
- };
31708
-
31709
- if (includeInstance) {
31710
- obj.$jspbMessageInstance = msg;
31711
- }
31712
- return obj;
31713
- };
31714
- }
31715
-
31716
-
31717
- /**
31718
- * Deserializes binary data (in protobuf wire format).
31719
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
31720
- * @return {!proto.gateway.web.v1.StripeMoney}
31721
- */
31722
- proto.gateway.web.v1.StripeMoney.deserializeBinary = function(bytes) {
31723
- var reader = new jspb.BinaryReader(bytes);
31724
- var msg = new proto.gateway.web.v1.StripeMoney;
31725
- return proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader(msg, reader);
31726
- };
31727
-
31728
-
31729
- /**
31730
- * Deserializes binary data (in protobuf wire format) from the
31731
- * given reader into the given message object.
31732
- * @param {!proto.gateway.web.v1.StripeMoney} msg The message object to deserialize into.
31733
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
31734
- * @return {!proto.gateway.web.v1.StripeMoney}
31735
- */
31736
- proto.gateway.web.v1.StripeMoney.deserializeBinaryFromReader = function(msg, reader) {
31737
- while (reader.nextField()) {
31738
- if (reader.isEndGroup()) {
31739
- break;
31740
- }
31741
- var field = reader.getFieldNumber();
31742
- switch (field) {
31743
- case 1:
31744
- var value = /** @type {number} */ (reader.readInt64());
31745
- msg.setAmountMinor(value);
31746
- break;
31747
- case 2:
31748
- var value = /** @type {string} */ (reader.readString());
31749
- msg.setCurrency(value);
31750
- break;
31751
- default:
31752
- reader.skipField();
31753
- break;
31754
- }
31755
- }
31756
- return msg;
31757
- };
31758
-
31759
-
31760
- /**
31761
- * Serializes the message to binary data (in protobuf wire format).
31762
- * @return {!Uint8Array}
31763
- */
31764
- proto.gateway.web.v1.StripeMoney.prototype.serializeBinary = function() {
31765
- var writer = new jspb.BinaryWriter();
31766
- proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter(this, writer);
31767
- return writer.getResultBuffer();
31768
- };
31769
-
31770
-
31771
- /**
31772
- * Serializes the given message to binary data (in protobuf wire
31773
- * format), writing to the given BinaryWriter.
31774
- * @param {!proto.gateway.web.v1.StripeMoney} message
31775
- * @param {!jspb.BinaryWriter} writer
31776
- * @suppress {unusedLocalVariables} f is only used for nested messages
31777
- */
31778
- proto.gateway.web.v1.StripeMoney.serializeBinaryToWriter = function(message, writer) {
31779
- var f = undefined;
31780
- f = message.getAmountMinor();
31781
- if (f !== 0) {
31782
- writer.writeInt64(
31783
- 1,
31784
- f
31785
- );
31786
- }
31787
- f = message.getCurrency();
31788
- if (f.length > 0) {
31789
- writer.writeString(
31790
- 2,
31791
- f
31792
- );
31793
- }
31794
- };
31795
-
31796
-
31797
- /**
31798
- * optional int64 amount_minor = 1;
31799
- * @return {number}
31800
- */
31801
- proto.gateway.web.v1.StripeMoney.prototype.getAmountMinor = function() {
31802
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
31803
- };
31804
-
31805
-
31806
- /**
31807
- * @param {number} value
31808
- * @return {!proto.gateway.web.v1.StripeMoney} returns this
31809
- */
31810
- proto.gateway.web.v1.StripeMoney.prototype.setAmountMinor = function(value) {
31811
- return jspb.Message.setProto3IntField(this, 1, value);
31812
- };
31813
-
31814
-
31815
- /**
31816
- * optional string currency = 2;
31817
- * @return {string}
31818
- */
31819
- proto.gateway.web.v1.StripeMoney.prototype.getCurrency = function() {
31820
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
31821
- };
31822
-
31823
-
31824
- /**
31825
- * @param {string} value
31826
- * @return {!proto.gateway.web.v1.StripeMoney} returns this
31827
- */
31828
- proto.gateway.web.v1.StripeMoney.prototype.setCurrency = function(value) {
31829
- return jspb.Message.setProto3StringField(this, 2, value);
31830
- };
31831
-
31832
-
31833
33584
 
31834
33585
 
31835
33586
 
@@ -32397,7 +34148,12 @@ proto.gateway.web.v1.TraceEventType = {
32397
34148
  TRACE_EVENT_TYPE_STRIPE_FUNDS_AVAILABLE: 60,
32398
34149
  TRACE_EVENT_TYPE_STRIPE_PAYOUT_PAID: 61,
32399
34150
  TRACE_EVENT_TYPE_STRIPE_TRACKING_FINISHED: 62,
32400
- TRACE_EVENT_TYPE_SAFE_TX_SUPERSEDED: 63
34151
+ TRACE_EVENT_TYPE_SAFE_TX_SUPERSEDED: 63,
34152
+ TRACE_EVENT_TYPE_RATE_HINT_ADDED: 64,
34153
+ TRACE_EVENT_TYPE_RATE_TRACKING_STARTED: 65,
34154
+ TRACE_EVENT_TYPE_RATE_ADDED: 66,
34155
+ TRACE_EVENT_TYPE_RATE_NOT_FOUND: 67,
34156
+ TRACE_EVENT_TYPE_RATE_TRACKING_FINISHED: 68
32401
34157
  };
32402
34158
 
32403
34159
  /**
@@ -32588,4 +34344,23 @@ proto.gateway.web.v1.StripeHintStatus = {
32588
34344
  STRIPE_HINT_STATUS_NOT_FOUND: 7
32589
34345
  };
32590
34346
 
34347
+ /**
34348
+ * @enum {number}
34349
+ */
34350
+ proto.gateway.web.v1.AssetKind = {
34351
+ ASSET_KIND_UNSPECIFIED: 0,
34352
+ ASSET_KIND_CRYPTO: 1,
34353
+ ASSET_KIND_FIAT: 2
34354
+ };
34355
+
34356
+ /**
34357
+ * @enum {number}
34358
+ */
34359
+ proto.gateway.web.v1.RateHintStatus = {
34360
+ RATE_HINT_STATUS_UNSPECIFIED: 0,
34361
+ RATE_HINT_STATUS_SUCCESS: 1,
34362
+ RATE_HINT_STATUS_UNAVAILABLE: 2,
34363
+ RATE_HINT_STATUS_UNSUPPORTED: 3
34364
+ };
34365
+
32591
34366
  goog.object.extend(exports, proto.gateway.web.v1);