@miradorlabs/web-grpc 3.34.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/proto/gateway/web/v1/admin_gateway.ts +1014 -127
- package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +109 -0
- package/proto/gateway/web/v1/admin_gateway_pb.js +1804 -0
- package/proto/gateway/web/v1/ai_gateway.ts +179 -20
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +3 -3
- package/proto/gateway/web/v1/ai_gateway_pb.js +384 -7
|
@@ -151,6 +151,7 @@ goog.exportSymbol('proto.gateway.web.v1.SpendForecastBreakdown', null, global);
|
|
|
151
151
|
goog.exportSymbol('proto.gateway.web.v1.SpendForecastFilter', null, global);
|
|
152
152
|
goog.exportSymbol('proto.gateway.web.v1.SpendForecastGroup', null, global);
|
|
153
153
|
goog.exportSymbol('proto.gateway.web.v1.SpendForecastMeasures', null, global);
|
|
154
|
+
goog.exportSymbol('proto.gateway.web.v1.SpendForecastPrincipal', null, global);
|
|
154
155
|
goog.exportSymbol('proto.gateway.web.v1.SpendForecastRequest', null, global);
|
|
155
156
|
goog.exportSymbol('proto.gateway.web.v1.SpendProjection', null, global);
|
|
156
157
|
goog.exportSymbol('proto.gateway.web.v1.StreamEntitlementsRequest', null, global);
|
|
@@ -1401,6 +1402,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1401
1402
|
*/
|
|
1402
1403
|
proto.gateway.web.v1.SpendForecastGroup.displayName = 'proto.gateway.web.v1.SpendForecastGroup';
|
|
1403
1404
|
}
|
|
1405
|
+
/**
|
|
1406
|
+
* Generated by JsPbCodeGenerator.
|
|
1407
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1408
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1409
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1410
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1411
|
+
* valid.
|
|
1412
|
+
* @extends {jspb.Message}
|
|
1413
|
+
* @constructor
|
|
1414
|
+
*/
|
|
1415
|
+
proto.gateway.web.v1.SpendForecastPrincipal = function(opt_data) {
|
|
1416
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1417
|
+
};
|
|
1418
|
+
goog.inherits(proto.gateway.web.v1.SpendForecastPrincipal, jspb.Message);
|
|
1419
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1420
|
+
/**
|
|
1421
|
+
* @public
|
|
1422
|
+
* @override
|
|
1423
|
+
*/
|
|
1424
|
+
proto.gateway.web.v1.SpendForecastPrincipal.displayName = 'proto.gateway.web.v1.SpendForecastPrincipal';
|
|
1425
|
+
}
|
|
1404
1426
|
/**
|
|
1405
1427
|
* Generated by JsPbCodeGenerator.
|
|
1406
1428
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -20956,7 +20978,7 @@ proto.gateway.web.v1.SpendForecastRequest.prototype.hasFilter = function() {
|
|
|
20956
20978
|
* @private {!Array<number>}
|
|
20957
20979
|
* @const
|
|
20958
20980
|
*/
|
|
20959
|
-
proto.gateway.web.v1.SpendForecastFilter.repeatedFields_ = [1];
|
|
20981
|
+
proto.gateway.web.v1.SpendForecastFilter.repeatedFields_ = [1,2,3];
|
|
20960
20982
|
|
|
20961
20983
|
|
|
20962
20984
|
|
|
@@ -20989,7 +21011,10 @@ proto.gateway.web.v1.SpendForecastFilter.prototype.toObject = function(opt_inclu
|
|
|
20989
21011
|
*/
|
|
20990
21012
|
proto.gateway.web.v1.SpendForecastFilter.toObject = function(includeInstance, msg) {
|
|
20991
21013
|
var f, obj = {
|
|
20992
|
-
fundingModesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
21014
|
+
fundingModesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
21015
|
+
sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
21016
|
+
principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
|
|
21017
|
+
proto.gateway.web.v1.DailyActivityPrincipal.toObject, includeInstance)
|
|
20993
21018
|
};
|
|
20994
21019
|
|
|
20995
21020
|
if (includeInstance) {
|
|
@@ -21029,6 +21054,15 @@ proto.gateway.web.v1.SpendForecastFilter.deserializeBinaryFromReader = function(
|
|
|
21029
21054
|
case 1:
|
|
21030
21055
|
reader.readPackableEnumInto(msg.getFundingModesList());
|
|
21031
21056
|
break;
|
|
21057
|
+
case 2:
|
|
21058
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
21059
|
+
msg.addSourceSystems(value);
|
|
21060
|
+
break;
|
|
21061
|
+
case 3:
|
|
21062
|
+
var value = new proto.gateway.web.v1.DailyActivityPrincipal;
|
|
21063
|
+
reader.readMessage(value,proto.gateway.web.v1.DailyActivityPrincipal.deserializeBinaryFromReader);
|
|
21064
|
+
msg.addPrincipals(value);
|
|
21065
|
+
break;
|
|
21032
21066
|
default:
|
|
21033
21067
|
reader.skipField();
|
|
21034
21068
|
break;
|
|
@@ -21065,6 +21099,21 @@ proto.gateway.web.v1.SpendForecastFilter.serializeBinaryToWriter = function(mess
|
|
|
21065
21099
|
f
|
|
21066
21100
|
);
|
|
21067
21101
|
}
|
|
21102
|
+
f = message.getSourceSystemsList();
|
|
21103
|
+
if (f.length > 0) {
|
|
21104
|
+
writer.writeRepeatedString(
|
|
21105
|
+
2,
|
|
21106
|
+
f
|
|
21107
|
+
);
|
|
21108
|
+
}
|
|
21109
|
+
f = message.getPrincipalsList();
|
|
21110
|
+
if (f.length > 0) {
|
|
21111
|
+
writer.writeRepeatedMessage(
|
|
21112
|
+
3,
|
|
21113
|
+
f,
|
|
21114
|
+
proto.gateway.web.v1.DailyActivityPrincipal.serializeBinaryToWriter
|
|
21115
|
+
);
|
|
21116
|
+
}
|
|
21068
21117
|
};
|
|
21069
21118
|
|
|
21070
21119
|
|
|
@@ -21105,13 +21154,88 @@ proto.gateway.web.v1.SpendForecastFilter.prototype.clearFundingModesList = funct
|
|
|
21105
21154
|
};
|
|
21106
21155
|
|
|
21107
21156
|
|
|
21157
|
+
/**
|
|
21158
|
+
* repeated string source_systems = 2;
|
|
21159
|
+
* @return {!Array<string>}
|
|
21160
|
+
*/
|
|
21161
|
+
proto.gateway.web.v1.SpendForecastFilter.prototype.getSourceSystemsList = function() {
|
|
21162
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
21163
|
+
};
|
|
21164
|
+
|
|
21165
|
+
|
|
21166
|
+
/**
|
|
21167
|
+
* @param {!Array<string>} value
|
|
21168
|
+
* @return {!proto.gateway.web.v1.SpendForecastFilter} returns this
|
|
21169
|
+
*/
|
|
21170
|
+
proto.gateway.web.v1.SpendForecastFilter.prototype.setSourceSystemsList = function(value) {
|
|
21171
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
21172
|
+
};
|
|
21173
|
+
|
|
21174
|
+
|
|
21175
|
+
/**
|
|
21176
|
+
* @param {string} value
|
|
21177
|
+
* @param {number=} opt_index
|
|
21178
|
+
* @return {!proto.gateway.web.v1.SpendForecastFilter} returns this
|
|
21179
|
+
*/
|
|
21180
|
+
proto.gateway.web.v1.SpendForecastFilter.prototype.addSourceSystems = function(value, opt_index) {
|
|
21181
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
21182
|
+
};
|
|
21183
|
+
|
|
21184
|
+
|
|
21185
|
+
/**
|
|
21186
|
+
* Clears the list making it empty but non-null.
|
|
21187
|
+
* @return {!proto.gateway.web.v1.SpendForecastFilter} returns this
|
|
21188
|
+
*/
|
|
21189
|
+
proto.gateway.web.v1.SpendForecastFilter.prototype.clearSourceSystemsList = function() {
|
|
21190
|
+
return this.setSourceSystemsList([]);
|
|
21191
|
+
};
|
|
21192
|
+
|
|
21193
|
+
|
|
21194
|
+
/**
|
|
21195
|
+
* repeated DailyActivityPrincipal principals = 3;
|
|
21196
|
+
* @return {!Array<!proto.gateway.web.v1.DailyActivityPrincipal>}
|
|
21197
|
+
*/
|
|
21198
|
+
proto.gateway.web.v1.SpendForecastFilter.prototype.getPrincipalsList = function() {
|
|
21199
|
+
return /** @type{!Array<!proto.gateway.web.v1.DailyActivityPrincipal>} */ (
|
|
21200
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DailyActivityPrincipal, 3));
|
|
21201
|
+
};
|
|
21202
|
+
|
|
21203
|
+
|
|
21204
|
+
/**
|
|
21205
|
+
* @param {!Array<!proto.gateway.web.v1.DailyActivityPrincipal>} value
|
|
21206
|
+
* @return {!proto.gateway.web.v1.SpendForecastFilter} returns this
|
|
21207
|
+
*/
|
|
21208
|
+
proto.gateway.web.v1.SpendForecastFilter.prototype.setPrincipalsList = function(value) {
|
|
21209
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
21210
|
+
};
|
|
21211
|
+
|
|
21212
|
+
|
|
21213
|
+
/**
|
|
21214
|
+
* @param {!proto.gateway.web.v1.DailyActivityPrincipal=} opt_value
|
|
21215
|
+
* @param {number=} opt_index
|
|
21216
|
+
* @return {!proto.gateway.web.v1.DailyActivityPrincipal}
|
|
21217
|
+
*/
|
|
21218
|
+
proto.gateway.web.v1.SpendForecastFilter.prototype.addPrincipals = function(opt_value, opt_index) {
|
|
21219
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.DailyActivityPrincipal, opt_index);
|
|
21220
|
+
};
|
|
21221
|
+
|
|
21222
|
+
|
|
21223
|
+
/**
|
|
21224
|
+
* Clears the list making it empty but non-null.
|
|
21225
|
+
* @return {!proto.gateway.web.v1.SpendForecastFilter} returns this
|
|
21226
|
+
*/
|
|
21227
|
+
proto.gateway.web.v1.SpendForecastFilter.prototype.clearPrincipalsList = function() {
|
|
21228
|
+
return this.setPrincipalsList([]);
|
|
21229
|
+
};
|
|
21230
|
+
|
|
21231
|
+
|
|
21108
21232
|
|
|
21109
21233
|
/**
|
|
21110
21234
|
* List of repeated fields within this message type.
|
|
21111
21235
|
* @private {!Array<number>}
|
|
21112
21236
|
* @const
|
|
21113
21237
|
*/
|
|
21114
|
-
proto.gateway.web.v1.SpendForecast.repeatedFields_ = [7];
|
|
21238
|
+
proto.gateway.web.v1.SpendForecast.repeatedFields_ = [7,9];
|
|
21115
21239
|
|
|
21116
21240
|
|
|
21117
21241
|
|
|
@@ -21152,7 +21276,9 @@ historyWeeks: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
|
21152
21276
|
total: (f = msg.getTotal()) && proto.gateway.web.v1.SpendForecastMeasures.toObject(includeInstance, f),
|
|
21153
21277
|
breakdownsList: jspb.Message.toObjectList(msg.getBreakdownsList(),
|
|
21154
21278
|
proto.gateway.web.v1.SpendForecastBreakdown.toObject, includeInstance),
|
|
21155
|
-
asOf: (f = msg.getAsOf()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
21279
|
+
asOf: (f = msg.getAsOf()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
21280
|
+
principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
|
|
21281
|
+
proto.gateway.web.v1.SpendForecastPrincipal.toObject, includeInstance)
|
|
21156
21282
|
};
|
|
21157
21283
|
|
|
21158
21284
|
if (includeInstance) {
|
|
@@ -21224,6 +21350,11 @@ proto.gateway.web.v1.SpendForecast.deserializeBinaryFromReader = function(msg, r
|
|
|
21224
21350
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
21225
21351
|
msg.setAsOf(value);
|
|
21226
21352
|
break;
|
|
21353
|
+
case 9:
|
|
21354
|
+
var value = new proto.gateway.web.v1.SpendForecastPrincipal;
|
|
21355
|
+
reader.readMessage(value,proto.gateway.web.v1.SpendForecastPrincipal.deserializeBinaryFromReader);
|
|
21356
|
+
msg.addPrincipals(value);
|
|
21357
|
+
break;
|
|
21227
21358
|
default:
|
|
21228
21359
|
reader.skipField();
|
|
21229
21360
|
break;
|
|
@@ -21312,6 +21443,14 @@ proto.gateway.web.v1.SpendForecast.serializeBinaryToWriter = function(message, w
|
|
|
21312
21443
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
21313
21444
|
);
|
|
21314
21445
|
}
|
|
21446
|
+
f = message.getPrincipalsList();
|
|
21447
|
+
if (f.length > 0) {
|
|
21448
|
+
writer.writeRepeatedMessage(
|
|
21449
|
+
9,
|
|
21450
|
+
f,
|
|
21451
|
+
proto.gateway.web.v1.SpendForecastPrincipal.serializeBinaryToWriter
|
|
21452
|
+
);
|
|
21453
|
+
}
|
|
21315
21454
|
};
|
|
21316
21455
|
|
|
21317
21456
|
|
|
@@ -21517,6 +21656,44 @@ proto.gateway.web.v1.SpendForecast.prototype.hasAsOf = function() {
|
|
|
21517
21656
|
};
|
|
21518
21657
|
|
|
21519
21658
|
|
|
21659
|
+
/**
|
|
21660
|
+
* repeated SpendForecastPrincipal principals = 9;
|
|
21661
|
+
* @return {!Array<!proto.gateway.web.v1.SpendForecastPrincipal>}
|
|
21662
|
+
*/
|
|
21663
|
+
proto.gateway.web.v1.SpendForecast.prototype.getPrincipalsList = function() {
|
|
21664
|
+
return /** @type{!Array<!proto.gateway.web.v1.SpendForecastPrincipal>} */ (
|
|
21665
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.SpendForecastPrincipal, 9));
|
|
21666
|
+
};
|
|
21667
|
+
|
|
21668
|
+
|
|
21669
|
+
/**
|
|
21670
|
+
* @param {!Array<!proto.gateway.web.v1.SpendForecastPrincipal>} value
|
|
21671
|
+
* @return {!proto.gateway.web.v1.SpendForecast} returns this
|
|
21672
|
+
*/
|
|
21673
|
+
proto.gateway.web.v1.SpendForecast.prototype.setPrincipalsList = function(value) {
|
|
21674
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
21675
|
+
};
|
|
21676
|
+
|
|
21677
|
+
|
|
21678
|
+
/**
|
|
21679
|
+
* @param {!proto.gateway.web.v1.SpendForecastPrincipal=} opt_value
|
|
21680
|
+
* @param {number=} opt_index
|
|
21681
|
+
* @return {!proto.gateway.web.v1.SpendForecastPrincipal}
|
|
21682
|
+
*/
|
|
21683
|
+
proto.gateway.web.v1.SpendForecast.prototype.addPrincipals = function(opt_value, opt_index) {
|
|
21684
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.gateway.web.v1.SpendForecastPrincipal, opt_index);
|
|
21685
|
+
};
|
|
21686
|
+
|
|
21687
|
+
|
|
21688
|
+
/**
|
|
21689
|
+
* Clears the list making it empty but non-null.
|
|
21690
|
+
* @return {!proto.gateway.web.v1.SpendForecast} returns this
|
|
21691
|
+
*/
|
|
21692
|
+
proto.gateway.web.v1.SpendForecast.prototype.clearPrincipalsList = function() {
|
|
21693
|
+
return this.setPrincipalsList([]);
|
|
21694
|
+
};
|
|
21695
|
+
|
|
21696
|
+
|
|
21520
21697
|
|
|
21521
21698
|
/**
|
|
21522
21699
|
* List of repeated fields within this message type.
|
|
@@ -21891,6 +22068,208 @@ proto.gateway.web.v1.SpendForecastGroup.prototype.hasMeasures = function() {
|
|
|
21891
22068
|
|
|
21892
22069
|
|
|
21893
22070
|
|
|
22071
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22072
|
+
/**
|
|
22073
|
+
* Creates an object representation of this proto.
|
|
22074
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22075
|
+
* Optional fields that are not set will be set to undefined.
|
|
22076
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22077
|
+
* For the list of reserved names please see:
|
|
22078
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22079
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22080
|
+
* JSPB instance for transitional soy proto support:
|
|
22081
|
+
* http://goto/soy-param-migration
|
|
22082
|
+
* @return {!Object}
|
|
22083
|
+
*/
|
|
22084
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.toObject = function(opt_includeInstance) {
|
|
22085
|
+
return proto.gateway.web.v1.SpendForecastPrincipal.toObject(opt_includeInstance, this);
|
|
22086
|
+
};
|
|
22087
|
+
|
|
22088
|
+
|
|
22089
|
+
/**
|
|
22090
|
+
* Static version of the {@see toObject} method.
|
|
22091
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22092
|
+
* the JSPB instance for transitional soy proto support:
|
|
22093
|
+
* http://goto/soy-param-migration
|
|
22094
|
+
* @param {!proto.gateway.web.v1.SpendForecastPrincipal} msg The msg instance to transform.
|
|
22095
|
+
* @return {!Object}
|
|
22096
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22097
|
+
*/
|
|
22098
|
+
proto.gateway.web.v1.SpendForecastPrincipal.toObject = function(includeInstance, msg) {
|
|
22099
|
+
var f, obj = {
|
|
22100
|
+
principal: (f = msg.getPrincipal()) && proto.gateway.web.v1.DailyActivityPrincipal.toObject(includeInstance, f),
|
|
22101
|
+
measures: (f = msg.getMeasures()) && proto.gateway.web.v1.SpendForecastMeasures.toObject(includeInstance, f)
|
|
22102
|
+
};
|
|
22103
|
+
|
|
22104
|
+
if (includeInstance) {
|
|
22105
|
+
obj.$jspbMessageInstance = msg;
|
|
22106
|
+
}
|
|
22107
|
+
return obj;
|
|
22108
|
+
};
|
|
22109
|
+
}
|
|
22110
|
+
|
|
22111
|
+
|
|
22112
|
+
/**
|
|
22113
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22114
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
22115
|
+
* @return {!proto.gateway.web.v1.SpendForecastPrincipal}
|
|
22116
|
+
*/
|
|
22117
|
+
proto.gateway.web.v1.SpendForecastPrincipal.deserializeBinary = function(bytes) {
|
|
22118
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22119
|
+
var msg = new proto.gateway.web.v1.SpendForecastPrincipal;
|
|
22120
|
+
return proto.gateway.web.v1.SpendForecastPrincipal.deserializeBinaryFromReader(msg, reader);
|
|
22121
|
+
};
|
|
22122
|
+
|
|
22123
|
+
|
|
22124
|
+
/**
|
|
22125
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22126
|
+
* given reader into the given message object.
|
|
22127
|
+
* @param {!proto.gateway.web.v1.SpendForecastPrincipal} msg The message object to deserialize into.
|
|
22128
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22129
|
+
* @return {!proto.gateway.web.v1.SpendForecastPrincipal}
|
|
22130
|
+
*/
|
|
22131
|
+
proto.gateway.web.v1.SpendForecastPrincipal.deserializeBinaryFromReader = function(msg, reader) {
|
|
22132
|
+
while (reader.nextField()) {
|
|
22133
|
+
if (reader.isEndGroup()) {
|
|
22134
|
+
break;
|
|
22135
|
+
}
|
|
22136
|
+
var field = reader.getFieldNumber();
|
|
22137
|
+
switch (field) {
|
|
22138
|
+
case 1:
|
|
22139
|
+
var value = new proto.gateway.web.v1.DailyActivityPrincipal;
|
|
22140
|
+
reader.readMessage(value,proto.gateway.web.v1.DailyActivityPrincipal.deserializeBinaryFromReader);
|
|
22141
|
+
msg.setPrincipal(value);
|
|
22142
|
+
break;
|
|
22143
|
+
case 2:
|
|
22144
|
+
var value = new proto.gateway.web.v1.SpendForecastMeasures;
|
|
22145
|
+
reader.readMessage(value,proto.gateway.web.v1.SpendForecastMeasures.deserializeBinaryFromReader);
|
|
22146
|
+
msg.setMeasures(value);
|
|
22147
|
+
break;
|
|
22148
|
+
default:
|
|
22149
|
+
reader.skipField();
|
|
22150
|
+
break;
|
|
22151
|
+
}
|
|
22152
|
+
}
|
|
22153
|
+
return msg;
|
|
22154
|
+
};
|
|
22155
|
+
|
|
22156
|
+
|
|
22157
|
+
/**
|
|
22158
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22159
|
+
* @return {!Uint8Array}
|
|
22160
|
+
*/
|
|
22161
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.serializeBinary = function() {
|
|
22162
|
+
var writer = new jspb.BinaryWriter();
|
|
22163
|
+
proto.gateway.web.v1.SpendForecastPrincipal.serializeBinaryToWriter(this, writer);
|
|
22164
|
+
return writer.getResultBuffer();
|
|
22165
|
+
};
|
|
22166
|
+
|
|
22167
|
+
|
|
22168
|
+
/**
|
|
22169
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22170
|
+
* format), writing to the given BinaryWriter.
|
|
22171
|
+
* @param {!proto.gateway.web.v1.SpendForecastPrincipal} message
|
|
22172
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22173
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22174
|
+
*/
|
|
22175
|
+
proto.gateway.web.v1.SpendForecastPrincipal.serializeBinaryToWriter = function(message, writer) {
|
|
22176
|
+
var f = undefined;
|
|
22177
|
+
f = message.getPrincipal();
|
|
22178
|
+
if (f != null) {
|
|
22179
|
+
writer.writeMessage(
|
|
22180
|
+
1,
|
|
22181
|
+
f,
|
|
22182
|
+
proto.gateway.web.v1.DailyActivityPrincipal.serializeBinaryToWriter
|
|
22183
|
+
);
|
|
22184
|
+
}
|
|
22185
|
+
f = message.getMeasures();
|
|
22186
|
+
if (f != null) {
|
|
22187
|
+
writer.writeMessage(
|
|
22188
|
+
2,
|
|
22189
|
+
f,
|
|
22190
|
+
proto.gateway.web.v1.SpendForecastMeasures.serializeBinaryToWriter
|
|
22191
|
+
);
|
|
22192
|
+
}
|
|
22193
|
+
};
|
|
22194
|
+
|
|
22195
|
+
|
|
22196
|
+
/**
|
|
22197
|
+
* optional DailyActivityPrincipal principal = 1;
|
|
22198
|
+
* @return {?proto.gateway.web.v1.DailyActivityPrincipal}
|
|
22199
|
+
*/
|
|
22200
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.getPrincipal = function() {
|
|
22201
|
+
return /** @type{?proto.gateway.web.v1.DailyActivityPrincipal} */ (
|
|
22202
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.DailyActivityPrincipal, 1));
|
|
22203
|
+
};
|
|
22204
|
+
|
|
22205
|
+
|
|
22206
|
+
/**
|
|
22207
|
+
* @param {?proto.gateway.web.v1.DailyActivityPrincipal|undefined} value
|
|
22208
|
+
* @return {!proto.gateway.web.v1.SpendForecastPrincipal} returns this
|
|
22209
|
+
*/
|
|
22210
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.setPrincipal = function(value) {
|
|
22211
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
22212
|
+
};
|
|
22213
|
+
|
|
22214
|
+
|
|
22215
|
+
/**
|
|
22216
|
+
* Clears the message field making it undefined.
|
|
22217
|
+
* @return {!proto.gateway.web.v1.SpendForecastPrincipal} returns this
|
|
22218
|
+
*/
|
|
22219
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.clearPrincipal = function() {
|
|
22220
|
+
return this.setPrincipal(undefined);
|
|
22221
|
+
};
|
|
22222
|
+
|
|
22223
|
+
|
|
22224
|
+
/**
|
|
22225
|
+
* Returns whether this field is set.
|
|
22226
|
+
* @return {boolean}
|
|
22227
|
+
*/
|
|
22228
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.hasPrincipal = function() {
|
|
22229
|
+
return jspb.Message.getField(this, 1) != null;
|
|
22230
|
+
};
|
|
22231
|
+
|
|
22232
|
+
|
|
22233
|
+
/**
|
|
22234
|
+
* optional SpendForecastMeasures measures = 2;
|
|
22235
|
+
* @return {?proto.gateway.web.v1.SpendForecastMeasures}
|
|
22236
|
+
*/
|
|
22237
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.getMeasures = function() {
|
|
22238
|
+
return /** @type{?proto.gateway.web.v1.SpendForecastMeasures} */ (
|
|
22239
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.SpendForecastMeasures, 2));
|
|
22240
|
+
};
|
|
22241
|
+
|
|
22242
|
+
|
|
22243
|
+
/**
|
|
22244
|
+
* @param {?proto.gateway.web.v1.SpendForecastMeasures|undefined} value
|
|
22245
|
+
* @return {!proto.gateway.web.v1.SpendForecastPrincipal} returns this
|
|
22246
|
+
*/
|
|
22247
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.setMeasures = function(value) {
|
|
22248
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
22249
|
+
};
|
|
22250
|
+
|
|
22251
|
+
|
|
22252
|
+
/**
|
|
22253
|
+
* Clears the message field making it undefined.
|
|
22254
|
+
* @return {!proto.gateway.web.v1.SpendForecastPrincipal} returns this
|
|
22255
|
+
*/
|
|
22256
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.clearMeasures = function() {
|
|
22257
|
+
return this.setMeasures(undefined);
|
|
22258
|
+
};
|
|
22259
|
+
|
|
22260
|
+
|
|
22261
|
+
/**
|
|
22262
|
+
* Returns whether this field is set.
|
|
22263
|
+
* @return {boolean}
|
|
22264
|
+
*/
|
|
22265
|
+
proto.gateway.web.v1.SpendForecastPrincipal.prototype.hasMeasures = function() {
|
|
22266
|
+
return jspb.Message.getField(this, 2) != null;
|
|
22267
|
+
};
|
|
22268
|
+
|
|
22269
|
+
|
|
22270
|
+
|
|
22271
|
+
|
|
22272
|
+
|
|
21894
22273
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21895
22274
|
/**
|
|
21896
22275
|
* Creates an object representation of this proto.
|
|
@@ -40975,9 +41354,7 @@ proto.gateway.web.v1.AISpendForecastDimension = {
|
|
|
40975
41354
|
AI_SPEND_FORECAST_DIMENSION_UNSPECIFIED: 0,
|
|
40976
41355
|
AI_SPEND_FORECAST_DIMENSION_MODEL: 1,
|
|
40977
41356
|
AI_SPEND_FORECAST_DIMENSION_PROVIDER: 2,
|
|
40978
|
-
AI_SPEND_FORECAST_DIMENSION_SOURCE_SYSTEM: 3
|
|
40979
|
-
AI_SPEND_FORECAST_DIMENSION_USER: 4,
|
|
40980
|
-
AI_SPEND_FORECAST_DIMENSION_API_KEY: 5
|
|
41357
|
+
AI_SPEND_FORECAST_DIMENSION_SOURCE_SYSTEM: 3
|
|
40981
41358
|
};
|
|
40982
41359
|
|
|
40983
41360
|
/**
|