@aldiokta/protocgen 1.1.61 → 1.1.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/budget/budget_pb.js +211 -1
- package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +33 -0
- package/prisca/v1/budget_planning/budget_planning_pb.js +1199 -152
- package/prisca/v1/core/auth/auth_grpc_pb.js +1 -0
- package/prisca/v1/core/auth/auth_pb.js +115 -2
- package/prisca/v1/core/employee/employee_grpc_pb.js +22 -0
- package/prisca/v1/core/employee/employee_pb.js +214 -2
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +519 -10
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +22 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +303 -1
- package/prisca/v1/core/material/material_grpc_pb.js +33 -0
- package/prisca/v1/core/material/material_pb.js +787 -1
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/users/users_pb.js +31 -1
- package/prisca/v1/down_payment/down_payment_grpc_pb.js +201 -0
- package/prisca/v1/down_payment/down_payment_pb.js +3357 -0
- package/prisca/v1/general_configuration/general_configuration_grpc_pb.js +212 -0
- package/prisca/v1/general_configuration/general_configuration_pb.js +2886 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +33 -0
- package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +574 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +77 -0
- package/prisca/v1/invoice/invoice_pb.js +2657 -434
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +34 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +2542 -57
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +22 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +743 -53
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +72 -12
- package/prisca/v1/webhook_builder/webhook_builder_grpc_pb.js +245 -0
- package/prisca/v1/webhook_builder/webhook_builder_pb.js +5084 -0
- package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_grpc_pb.js +245 -0
- package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_pb.js +3499 -0
- package/prisca/v1/webhook_integration/webhook_integration_grpc_pb.js +212 -0
- package/prisca/v1/webhook_integration/webhook_integration_pb.js +2976 -0
|
@@ -30,6 +30,7 @@ goog.object.extend(proto, prisca_v1_general_ledger_account_general_ledger_accoun
|
|
|
30
30
|
var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
|
|
31
31
|
goog.object.extend(proto, prisca_v1_core_item_transaction_item_transaction_pb);
|
|
32
32
|
goog.exportSymbol('proto.BudgetPlanning', null, global);
|
|
33
|
+
goog.exportSymbol('proto.BudgetPlanningAmount', null, global);
|
|
33
34
|
goog.exportSymbol('proto.BudgetPlanningGetByIdRequest', null, global);
|
|
34
35
|
goog.exportSymbol('proto.BudgetPlanningGetByIdResponse', null, global);
|
|
35
36
|
goog.exportSymbol('proto.ChainTransactionBudgetCode', null, global);
|
|
@@ -55,6 +56,8 @@ goog.exportSymbol('proto.ReportBudgetTransaction', null, global);
|
|
|
55
56
|
goog.exportSymbol('proto.ReportBudgetTransactionMonth', null, global);
|
|
56
57
|
goog.exportSymbol('proto.ResponseValidateBudget', null, global);
|
|
57
58
|
goog.exportSymbol('proto.TransactionBudget', null, global);
|
|
59
|
+
goog.exportSymbol('proto.UpdateBudgetPlanningAmount', null, global);
|
|
60
|
+
goog.exportSymbol('proto.UpdateBudgetPlanningAmountRes', null, global);
|
|
58
61
|
goog.exportSymbol('proto.UpdateBudgetPlanningRequest', null, global);
|
|
59
62
|
goog.exportSymbol('proto.UpdateBudgetPlanningResponse', null, global);
|
|
60
63
|
/**
|
|
@@ -68,7 +71,7 @@ goog.exportSymbol('proto.UpdateBudgetPlanningResponse', null, global);
|
|
|
68
71
|
* @constructor
|
|
69
72
|
*/
|
|
70
73
|
proto.BudgetPlanning = function(opt_data) {
|
|
71
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
74
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.BudgetPlanning.repeatedFields_, null);
|
|
72
75
|
};
|
|
73
76
|
goog.inherits(proto.BudgetPlanning, jspb.Message);
|
|
74
77
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -120,6 +123,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
120
123
|
*/
|
|
121
124
|
proto.ResponseValidateBudget.displayName = 'proto.ResponseValidateBudget';
|
|
122
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* Generated by JsPbCodeGenerator.
|
|
128
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
129
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
130
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
131
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
132
|
+
* valid.
|
|
133
|
+
* @extends {jspb.Message}
|
|
134
|
+
* @constructor
|
|
135
|
+
*/
|
|
136
|
+
proto.UpdateBudgetPlanningAmount = function(opt_data) {
|
|
137
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdateBudgetPlanningAmount.repeatedFields_, null);
|
|
138
|
+
};
|
|
139
|
+
goog.inherits(proto.UpdateBudgetPlanningAmount, jspb.Message);
|
|
140
|
+
if (goog.DEBUG && !COMPILED) {
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
* @override
|
|
144
|
+
*/
|
|
145
|
+
proto.UpdateBudgetPlanningAmount.displayName = 'proto.UpdateBudgetPlanningAmount';
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Generated by JsPbCodeGenerator.
|
|
149
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
150
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
151
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
152
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
153
|
+
* valid.
|
|
154
|
+
* @extends {jspb.Message}
|
|
155
|
+
* @constructor
|
|
156
|
+
*/
|
|
157
|
+
proto.UpdateBudgetPlanningAmountRes = function(opt_data) {
|
|
158
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdateBudgetPlanningAmountRes.repeatedFields_, null);
|
|
159
|
+
};
|
|
160
|
+
goog.inherits(proto.UpdateBudgetPlanningAmountRes, jspb.Message);
|
|
161
|
+
if (goog.DEBUG && !COMPILED) {
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* @override
|
|
165
|
+
*/
|
|
166
|
+
proto.UpdateBudgetPlanningAmountRes.displayName = 'proto.UpdateBudgetPlanningAmountRes';
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Generated by JsPbCodeGenerator.
|
|
170
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
171
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
172
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
173
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
174
|
+
* valid.
|
|
175
|
+
* @extends {jspb.Message}
|
|
176
|
+
* @constructor
|
|
177
|
+
*/
|
|
178
|
+
proto.BudgetPlanningAmount = function(opt_data) {
|
|
179
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
180
|
+
};
|
|
181
|
+
goog.inherits(proto.BudgetPlanningAmount, jspb.Message);
|
|
182
|
+
if (goog.DEBUG && !COMPILED) {
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
* @override
|
|
186
|
+
*/
|
|
187
|
+
proto.BudgetPlanningAmount.displayName = 'proto.BudgetPlanningAmount';
|
|
188
|
+
}
|
|
123
189
|
/**
|
|
124
190
|
* Generated by JsPbCodeGenerator.
|
|
125
191
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -646,6 +712,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
646
712
|
proto.GetYearReportResponse.displayName = 'proto.GetYearReportResponse';
|
|
647
713
|
}
|
|
648
714
|
|
|
715
|
+
/**
|
|
716
|
+
* List of repeated fields within this message type.
|
|
717
|
+
* @private {!Array<number>}
|
|
718
|
+
* @const
|
|
719
|
+
*/
|
|
720
|
+
proto.BudgetPlanning.repeatedFields_ = [36];
|
|
721
|
+
|
|
649
722
|
|
|
650
723
|
|
|
651
724
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -710,7 +783,9 @@ createdBy: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
|
710
783
|
updatedBy: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
711
784
|
deletedAt: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
712
785
|
budgetCategories: (f = msg.getBudgetCategories()) && prisca_v1_budget_categories_budget_categories_pb.BudgetCategories.toObject(includeInstance, f),
|
|
713
|
-
budgetActivity: (f = msg.getBudgetActivity()) && prisca_v1_budget_activity_budget_activity_pb.BudgetActivity.toObject(includeInstance, f)
|
|
786
|
+
budgetActivity: (f = msg.getBudgetActivity()) && prisca_v1_budget_activity_budget_activity_pb.BudgetActivity.toObject(includeInstance, f),
|
|
787
|
+
budgetPlanningAmountList: jspb.Message.toObjectList(msg.getBudgetPlanningAmountList(),
|
|
788
|
+
proto.BudgetPlanningAmount.toObject, includeInstance)
|
|
714
789
|
};
|
|
715
790
|
|
|
716
791
|
if (includeInstance) {
|
|
@@ -886,6 +961,11 @@ proto.BudgetPlanning.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
886
961
|
reader.readMessage(value,prisca_v1_budget_activity_budget_activity_pb.BudgetActivity.deserializeBinaryFromReader);
|
|
887
962
|
msg.setBudgetActivity(value);
|
|
888
963
|
break;
|
|
964
|
+
case 36:
|
|
965
|
+
var value = new proto.BudgetPlanningAmount;
|
|
966
|
+
reader.readMessage(value,proto.BudgetPlanningAmount.deserializeBinaryFromReader);
|
|
967
|
+
msg.addBudgetPlanningAmount(value);
|
|
968
|
+
break;
|
|
889
969
|
default:
|
|
890
970
|
reader.skipField();
|
|
891
971
|
break;
|
|
@@ -1156,6 +1236,14 @@ proto.BudgetPlanning.serializeBinaryToWriter = function(message, writer) {
|
|
|
1156
1236
|
prisca_v1_budget_activity_budget_activity_pb.BudgetActivity.serializeBinaryToWriter
|
|
1157
1237
|
);
|
|
1158
1238
|
}
|
|
1239
|
+
f = message.getBudgetPlanningAmountList();
|
|
1240
|
+
if (f.length > 0) {
|
|
1241
|
+
writer.writeRepeatedMessage(
|
|
1242
|
+
36,
|
|
1243
|
+
f,
|
|
1244
|
+
proto.BudgetPlanningAmount.serializeBinaryToWriter
|
|
1245
|
+
);
|
|
1246
|
+
}
|
|
1159
1247
|
};
|
|
1160
1248
|
|
|
1161
1249
|
|
|
@@ -1828,6 +1916,44 @@ proto.BudgetPlanning.prototype.hasBudgetActivity = function() {
|
|
|
1828
1916
|
};
|
|
1829
1917
|
|
|
1830
1918
|
|
|
1919
|
+
/**
|
|
1920
|
+
* repeated BudgetPlanningAmount budget_planning_amount = 36;
|
|
1921
|
+
* @return {!Array<!proto.BudgetPlanningAmount>}
|
|
1922
|
+
*/
|
|
1923
|
+
proto.BudgetPlanning.prototype.getBudgetPlanningAmountList = function() {
|
|
1924
|
+
return /** @type{!Array<!proto.BudgetPlanningAmount>} */ (
|
|
1925
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BudgetPlanningAmount, 36));
|
|
1926
|
+
};
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
* @param {!Array<!proto.BudgetPlanningAmount>} value
|
|
1931
|
+
* @return {!proto.BudgetPlanning} returns this
|
|
1932
|
+
*/
|
|
1933
|
+
proto.BudgetPlanning.prototype.setBudgetPlanningAmountList = function(value) {
|
|
1934
|
+
return jspb.Message.setRepeatedWrapperField(this, 36, value);
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
|
|
1938
|
+
/**
|
|
1939
|
+
* @param {!proto.BudgetPlanningAmount=} opt_value
|
|
1940
|
+
* @param {number=} opt_index
|
|
1941
|
+
* @return {!proto.BudgetPlanningAmount}
|
|
1942
|
+
*/
|
|
1943
|
+
proto.BudgetPlanning.prototype.addBudgetPlanningAmount = function(opt_value, opt_index) {
|
|
1944
|
+
return jspb.Message.addToRepeatedWrapperField(this, 36, opt_value, proto.BudgetPlanningAmount, opt_index);
|
|
1945
|
+
};
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Clears the list making it empty but non-null.
|
|
1950
|
+
* @return {!proto.BudgetPlanning} returns this
|
|
1951
|
+
*/
|
|
1952
|
+
proto.BudgetPlanning.prototype.clearBudgetPlanningAmountList = function() {
|
|
1953
|
+
return this.setBudgetPlanningAmountList([]);
|
|
1954
|
+
};
|
|
1955
|
+
|
|
1956
|
+
|
|
1831
1957
|
|
|
1832
1958
|
|
|
1833
1959
|
|
|
@@ -2034,228 +2160,1059 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2034
2160
|
* http://goto/soy-param-migration
|
|
2035
2161
|
* @return {!Object}
|
|
2036
2162
|
*/
|
|
2037
|
-
proto.ResponseValidateBudget.prototype.toObject = function(opt_includeInstance) {
|
|
2038
|
-
return proto.ResponseValidateBudget.toObject(opt_includeInstance, this);
|
|
2163
|
+
proto.ResponseValidateBudget.prototype.toObject = function(opt_includeInstance) {
|
|
2164
|
+
return proto.ResponseValidateBudget.toObject(opt_includeInstance, this);
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2167
|
+
|
|
2168
|
+
/**
|
|
2169
|
+
* Static version of the {@see toObject} method.
|
|
2170
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2171
|
+
* the JSPB instance for transitional soy proto support:
|
|
2172
|
+
* http://goto/soy-param-migration
|
|
2173
|
+
* @param {!proto.ResponseValidateBudget} msg The msg instance to transform.
|
|
2174
|
+
* @return {!Object}
|
|
2175
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2176
|
+
*/
|
|
2177
|
+
proto.ResponseValidateBudget.toObject = function(includeInstance, msg) {
|
|
2178
|
+
var f, obj = {
|
|
2179
|
+
year: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2180
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2181
|
+
remaining: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2182
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2183
|
+
};
|
|
2184
|
+
|
|
2185
|
+
if (includeInstance) {
|
|
2186
|
+
obj.$jspbMessageInstance = msg;
|
|
2187
|
+
}
|
|
2188
|
+
return obj;
|
|
2189
|
+
};
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
/**
|
|
2194
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2195
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2196
|
+
* @return {!proto.ResponseValidateBudget}
|
|
2197
|
+
*/
|
|
2198
|
+
proto.ResponseValidateBudget.deserializeBinary = function(bytes) {
|
|
2199
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2200
|
+
var msg = new proto.ResponseValidateBudget;
|
|
2201
|
+
return proto.ResponseValidateBudget.deserializeBinaryFromReader(msg, reader);
|
|
2202
|
+
};
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2207
|
+
* given reader into the given message object.
|
|
2208
|
+
* @param {!proto.ResponseValidateBudget} msg The message object to deserialize into.
|
|
2209
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2210
|
+
* @return {!proto.ResponseValidateBudget}
|
|
2211
|
+
*/
|
|
2212
|
+
proto.ResponseValidateBudget.deserializeBinaryFromReader = function(msg, reader) {
|
|
2213
|
+
while (reader.nextField()) {
|
|
2214
|
+
if (reader.isEndGroup()) {
|
|
2215
|
+
break;
|
|
2216
|
+
}
|
|
2217
|
+
var field = reader.getFieldNumber();
|
|
2218
|
+
switch (field) {
|
|
2219
|
+
case 1:
|
|
2220
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2221
|
+
msg.setYear(value);
|
|
2222
|
+
break;
|
|
2223
|
+
case 2:
|
|
2224
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2225
|
+
msg.setCode(value);
|
|
2226
|
+
break;
|
|
2227
|
+
case 3:
|
|
2228
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2229
|
+
msg.setRemaining(value);
|
|
2230
|
+
break;
|
|
2231
|
+
case 4:
|
|
2232
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2233
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2234
|
+
msg.setMeta(value);
|
|
2235
|
+
break;
|
|
2236
|
+
default:
|
|
2237
|
+
reader.skipField();
|
|
2238
|
+
break;
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
return msg;
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2247
|
+
* @return {!Uint8Array}
|
|
2248
|
+
*/
|
|
2249
|
+
proto.ResponseValidateBudget.prototype.serializeBinary = function() {
|
|
2250
|
+
var writer = new jspb.BinaryWriter();
|
|
2251
|
+
proto.ResponseValidateBudget.serializeBinaryToWriter(this, writer);
|
|
2252
|
+
return writer.getResultBuffer();
|
|
2253
|
+
};
|
|
2254
|
+
|
|
2255
|
+
|
|
2256
|
+
/**
|
|
2257
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2258
|
+
* format), writing to the given BinaryWriter.
|
|
2259
|
+
* @param {!proto.ResponseValidateBudget} message
|
|
2260
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2261
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2262
|
+
*/
|
|
2263
|
+
proto.ResponseValidateBudget.serializeBinaryToWriter = function(message, writer) {
|
|
2264
|
+
var f = undefined;
|
|
2265
|
+
f = message.getYear();
|
|
2266
|
+
if (f.length > 0) {
|
|
2267
|
+
writer.writeString(
|
|
2268
|
+
1,
|
|
2269
|
+
f
|
|
2270
|
+
);
|
|
2271
|
+
}
|
|
2272
|
+
f = message.getCode();
|
|
2273
|
+
if (f.length > 0) {
|
|
2274
|
+
writer.writeString(
|
|
2275
|
+
2,
|
|
2276
|
+
f
|
|
2277
|
+
);
|
|
2278
|
+
}
|
|
2279
|
+
f = message.getRemaining();
|
|
2280
|
+
if (f.length > 0) {
|
|
2281
|
+
writer.writeString(
|
|
2282
|
+
3,
|
|
2283
|
+
f
|
|
2284
|
+
);
|
|
2285
|
+
}
|
|
2286
|
+
f = message.getMeta();
|
|
2287
|
+
if (f != null) {
|
|
2288
|
+
writer.writeMessage(
|
|
2289
|
+
4,
|
|
2290
|
+
f,
|
|
2291
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2292
|
+
);
|
|
2293
|
+
}
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
|
|
2297
|
+
/**
|
|
2298
|
+
* optional string year = 1;
|
|
2299
|
+
* @return {string}
|
|
2300
|
+
*/
|
|
2301
|
+
proto.ResponseValidateBudget.prototype.getYear = function() {
|
|
2302
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2303
|
+
};
|
|
2304
|
+
|
|
2305
|
+
|
|
2306
|
+
/**
|
|
2307
|
+
* @param {string} value
|
|
2308
|
+
* @return {!proto.ResponseValidateBudget} returns this
|
|
2309
|
+
*/
|
|
2310
|
+
proto.ResponseValidateBudget.prototype.setYear = function(value) {
|
|
2311
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2312
|
+
};
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
/**
|
|
2316
|
+
* optional string code = 2;
|
|
2317
|
+
* @return {string}
|
|
2318
|
+
*/
|
|
2319
|
+
proto.ResponseValidateBudget.prototype.getCode = function() {
|
|
2320
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2321
|
+
};
|
|
2322
|
+
|
|
2323
|
+
|
|
2324
|
+
/**
|
|
2325
|
+
* @param {string} value
|
|
2326
|
+
* @return {!proto.ResponseValidateBudget} returns this
|
|
2327
|
+
*/
|
|
2328
|
+
proto.ResponseValidateBudget.prototype.setCode = function(value) {
|
|
2329
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2330
|
+
};
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
/**
|
|
2334
|
+
* optional string remaining = 3;
|
|
2335
|
+
* @return {string}
|
|
2336
|
+
*/
|
|
2337
|
+
proto.ResponseValidateBudget.prototype.getRemaining = function() {
|
|
2338
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2339
|
+
};
|
|
2340
|
+
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* @param {string} value
|
|
2344
|
+
* @return {!proto.ResponseValidateBudget} returns this
|
|
2345
|
+
*/
|
|
2346
|
+
proto.ResponseValidateBudget.prototype.setRemaining = function(value) {
|
|
2347
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* optional prisca.v1.global.meta.Meta meta = 4;
|
|
2353
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2354
|
+
*/
|
|
2355
|
+
proto.ResponseValidateBudget.prototype.getMeta = function() {
|
|
2356
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2357
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 4));
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2363
|
+
* @return {!proto.ResponseValidateBudget} returns this
|
|
2364
|
+
*/
|
|
2365
|
+
proto.ResponseValidateBudget.prototype.setMeta = function(value) {
|
|
2366
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2367
|
+
};
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* Clears the message field making it undefined.
|
|
2372
|
+
* @return {!proto.ResponseValidateBudget} returns this
|
|
2373
|
+
*/
|
|
2374
|
+
proto.ResponseValidateBudget.prototype.clearMeta = function() {
|
|
2375
|
+
return this.setMeta(undefined);
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* Returns whether this field is set.
|
|
2381
|
+
* @return {boolean}
|
|
2382
|
+
*/
|
|
2383
|
+
proto.ResponseValidateBudget.prototype.hasMeta = function() {
|
|
2384
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2385
|
+
};
|
|
2386
|
+
|
|
2387
|
+
|
|
2388
|
+
|
|
2389
|
+
/**
|
|
2390
|
+
* List of repeated fields within this message type.
|
|
2391
|
+
* @private {!Array<number>}
|
|
2392
|
+
* @const
|
|
2393
|
+
*/
|
|
2394
|
+
proto.UpdateBudgetPlanningAmount.repeatedFields_ = [2];
|
|
2395
|
+
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2399
|
+
/**
|
|
2400
|
+
* Creates an object representation of this proto.
|
|
2401
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2402
|
+
* Optional fields that are not set will be set to undefined.
|
|
2403
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2404
|
+
* For the list of reserved names please see:
|
|
2405
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2406
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2407
|
+
* JSPB instance for transitional soy proto support:
|
|
2408
|
+
* http://goto/soy-param-migration
|
|
2409
|
+
* @return {!Object}
|
|
2410
|
+
*/
|
|
2411
|
+
proto.UpdateBudgetPlanningAmount.prototype.toObject = function(opt_includeInstance) {
|
|
2412
|
+
return proto.UpdateBudgetPlanningAmount.toObject(opt_includeInstance, this);
|
|
2413
|
+
};
|
|
2414
|
+
|
|
2415
|
+
|
|
2416
|
+
/**
|
|
2417
|
+
* Static version of the {@see toObject} method.
|
|
2418
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2419
|
+
* the JSPB instance for transitional soy proto support:
|
|
2420
|
+
* http://goto/soy-param-migration
|
|
2421
|
+
* @param {!proto.UpdateBudgetPlanningAmount} msg The msg instance to transform.
|
|
2422
|
+
* @return {!Object}
|
|
2423
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2424
|
+
*/
|
|
2425
|
+
proto.UpdateBudgetPlanningAmount.toObject = function(includeInstance, msg) {
|
|
2426
|
+
var f, obj = {
|
|
2427
|
+
budgetPlanningReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2428
|
+
budgetPlanningAmountList: jspb.Message.toObjectList(msg.getBudgetPlanningAmountList(),
|
|
2429
|
+
proto.BudgetPlanningAmount.toObject, includeInstance)
|
|
2430
|
+
};
|
|
2431
|
+
|
|
2432
|
+
if (includeInstance) {
|
|
2433
|
+
obj.$jspbMessageInstance = msg;
|
|
2434
|
+
}
|
|
2435
|
+
return obj;
|
|
2436
|
+
};
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2442
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2443
|
+
* @return {!proto.UpdateBudgetPlanningAmount}
|
|
2444
|
+
*/
|
|
2445
|
+
proto.UpdateBudgetPlanningAmount.deserializeBinary = function(bytes) {
|
|
2446
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2447
|
+
var msg = new proto.UpdateBudgetPlanningAmount;
|
|
2448
|
+
return proto.UpdateBudgetPlanningAmount.deserializeBinaryFromReader(msg, reader);
|
|
2449
|
+
};
|
|
2450
|
+
|
|
2451
|
+
|
|
2452
|
+
/**
|
|
2453
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2454
|
+
* given reader into the given message object.
|
|
2455
|
+
* @param {!proto.UpdateBudgetPlanningAmount} msg The message object to deserialize into.
|
|
2456
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2457
|
+
* @return {!proto.UpdateBudgetPlanningAmount}
|
|
2458
|
+
*/
|
|
2459
|
+
proto.UpdateBudgetPlanningAmount.deserializeBinaryFromReader = function(msg, reader) {
|
|
2460
|
+
while (reader.nextField()) {
|
|
2461
|
+
if (reader.isEndGroup()) {
|
|
2462
|
+
break;
|
|
2463
|
+
}
|
|
2464
|
+
var field = reader.getFieldNumber();
|
|
2465
|
+
switch (field) {
|
|
2466
|
+
case 1:
|
|
2467
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2468
|
+
msg.setBudgetPlanningReferencesId(value);
|
|
2469
|
+
break;
|
|
2470
|
+
case 2:
|
|
2471
|
+
var value = new proto.BudgetPlanningAmount;
|
|
2472
|
+
reader.readMessage(value,proto.BudgetPlanningAmount.deserializeBinaryFromReader);
|
|
2473
|
+
msg.addBudgetPlanningAmount(value);
|
|
2474
|
+
break;
|
|
2475
|
+
default:
|
|
2476
|
+
reader.skipField();
|
|
2477
|
+
break;
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
return msg;
|
|
2481
|
+
};
|
|
2482
|
+
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2486
|
+
* @return {!Uint8Array}
|
|
2487
|
+
*/
|
|
2488
|
+
proto.UpdateBudgetPlanningAmount.prototype.serializeBinary = function() {
|
|
2489
|
+
var writer = new jspb.BinaryWriter();
|
|
2490
|
+
proto.UpdateBudgetPlanningAmount.serializeBinaryToWriter(this, writer);
|
|
2491
|
+
return writer.getResultBuffer();
|
|
2492
|
+
};
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
/**
|
|
2496
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2497
|
+
* format), writing to the given BinaryWriter.
|
|
2498
|
+
* @param {!proto.UpdateBudgetPlanningAmount} message
|
|
2499
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2500
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2501
|
+
*/
|
|
2502
|
+
proto.UpdateBudgetPlanningAmount.serializeBinaryToWriter = function(message, writer) {
|
|
2503
|
+
var f = undefined;
|
|
2504
|
+
f = message.getBudgetPlanningReferencesId();
|
|
2505
|
+
if (f.length > 0) {
|
|
2506
|
+
writer.writeString(
|
|
2507
|
+
1,
|
|
2508
|
+
f
|
|
2509
|
+
);
|
|
2510
|
+
}
|
|
2511
|
+
f = message.getBudgetPlanningAmountList();
|
|
2512
|
+
if (f.length > 0) {
|
|
2513
|
+
writer.writeRepeatedMessage(
|
|
2514
|
+
2,
|
|
2515
|
+
f,
|
|
2516
|
+
proto.BudgetPlanningAmount.serializeBinaryToWriter
|
|
2517
|
+
);
|
|
2518
|
+
}
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* optional string budget_planning_references_id = 1;
|
|
2524
|
+
* @return {string}
|
|
2525
|
+
*/
|
|
2526
|
+
proto.UpdateBudgetPlanningAmount.prototype.getBudgetPlanningReferencesId = function() {
|
|
2527
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2528
|
+
};
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
/**
|
|
2532
|
+
* @param {string} value
|
|
2533
|
+
* @return {!proto.UpdateBudgetPlanningAmount} returns this
|
|
2534
|
+
*/
|
|
2535
|
+
proto.UpdateBudgetPlanningAmount.prototype.setBudgetPlanningReferencesId = function(value) {
|
|
2536
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2537
|
+
};
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* repeated BudgetPlanningAmount budget_planning_amount = 2;
|
|
2542
|
+
* @return {!Array<!proto.BudgetPlanningAmount>}
|
|
2543
|
+
*/
|
|
2544
|
+
proto.UpdateBudgetPlanningAmount.prototype.getBudgetPlanningAmountList = function() {
|
|
2545
|
+
return /** @type{!Array<!proto.BudgetPlanningAmount>} */ (
|
|
2546
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BudgetPlanningAmount, 2));
|
|
2547
|
+
};
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
/**
|
|
2551
|
+
* @param {!Array<!proto.BudgetPlanningAmount>} value
|
|
2552
|
+
* @return {!proto.UpdateBudgetPlanningAmount} returns this
|
|
2553
|
+
*/
|
|
2554
|
+
proto.UpdateBudgetPlanningAmount.prototype.setBudgetPlanningAmountList = function(value) {
|
|
2555
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
2556
|
+
};
|
|
2557
|
+
|
|
2558
|
+
|
|
2559
|
+
/**
|
|
2560
|
+
* @param {!proto.BudgetPlanningAmount=} opt_value
|
|
2561
|
+
* @param {number=} opt_index
|
|
2562
|
+
* @return {!proto.BudgetPlanningAmount}
|
|
2563
|
+
*/
|
|
2564
|
+
proto.UpdateBudgetPlanningAmount.prototype.addBudgetPlanningAmount = function(opt_value, opt_index) {
|
|
2565
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.BudgetPlanningAmount, opt_index);
|
|
2566
|
+
};
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
/**
|
|
2570
|
+
* Clears the list making it empty but non-null.
|
|
2571
|
+
* @return {!proto.UpdateBudgetPlanningAmount} returns this
|
|
2572
|
+
*/
|
|
2573
|
+
proto.UpdateBudgetPlanningAmount.prototype.clearBudgetPlanningAmountList = function() {
|
|
2574
|
+
return this.setBudgetPlanningAmountList([]);
|
|
2575
|
+
};
|
|
2576
|
+
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* List of repeated fields within this message type.
|
|
2581
|
+
* @private {!Array<number>}
|
|
2582
|
+
* @const
|
|
2583
|
+
*/
|
|
2584
|
+
proto.UpdateBudgetPlanningAmountRes.repeatedFields_ = [1];
|
|
2585
|
+
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2589
|
+
/**
|
|
2590
|
+
* Creates an object representation of this proto.
|
|
2591
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2592
|
+
* Optional fields that are not set will be set to undefined.
|
|
2593
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2594
|
+
* For the list of reserved names please see:
|
|
2595
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2596
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2597
|
+
* JSPB instance for transitional soy proto support:
|
|
2598
|
+
* http://goto/soy-param-migration
|
|
2599
|
+
* @return {!Object}
|
|
2600
|
+
*/
|
|
2601
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.toObject = function(opt_includeInstance) {
|
|
2602
|
+
return proto.UpdateBudgetPlanningAmountRes.toObject(opt_includeInstance, this);
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* Static version of the {@see toObject} method.
|
|
2608
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2609
|
+
* the JSPB instance for transitional soy proto support:
|
|
2610
|
+
* http://goto/soy-param-migration
|
|
2611
|
+
* @param {!proto.UpdateBudgetPlanningAmountRes} msg The msg instance to transform.
|
|
2612
|
+
* @return {!Object}
|
|
2613
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2614
|
+
*/
|
|
2615
|
+
proto.UpdateBudgetPlanningAmountRes.toObject = function(includeInstance, msg) {
|
|
2616
|
+
var f, obj = {
|
|
2617
|
+
budgetPlanningAmountList: jspb.Message.toObjectList(msg.getBudgetPlanningAmountList(),
|
|
2618
|
+
proto.BudgetPlanningAmount.toObject, includeInstance),
|
|
2619
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2620
|
+
};
|
|
2621
|
+
|
|
2622
|
+
if (includeInstance) {
|
|
2623
|
+
obj.$jspbMessageInstance = msg;
|
|
2624
|
+
}
|
|
2625
|
+
return obj;
|
|
2626
|
+
};
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2632
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2633
|
+
* @return {!proto.UpdateBudgetPlanningAmountRes}
|
|
2634
|
+
*/
|
|
2635
|
+
proto.UpdateBudgetPlanningAmountRes.deserializeBinary = function(bytes) {
|
|
2636
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2637
|
+
var msg = new proto.UpdateBudgetPlanningAmountRes;
|
|
2638
|
+
return proto.UpdateBudgetPlanningAmountRes.deserializeBinaryFromReader(msg, reader);
|
|
2639
|
+
};
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
/**
|
|
2643
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2644
|
+
* given reader into the given message object.
|
|
2645
|
+
* @param {!proto.UpdateBudgetPlanningAmountRes} msg The message object to deserialize into.
|
|
2646
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2647
|
+
* @return {!proto.UpdateBudgetPlanningAmountRes}
|
|
2648
|
+
*/
|
|
2649
|
+
proto.UpdateBudgetPlanningAmountRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
2650
|
+
while (reader.nextField()) {
|
|
2651
|
+
if (reader.isEndGroup()) {
|
|
2652
|
+
break;
|
|
2653
|
+
}
|
|
2654
|
+
var field = reader.getFieldNumber();
|
|
2655
|
+
switch (field) {
|
|
2656
|
+
case 1:
|
|
2657
|
+
var value = new proto.BudgetPlanningAmount;
|
|
2658
|
+
reader.readMessage(value,proto.BudgetPlanningAmount.deserializeBinaryFromReader);
|
|
2659
|
+
msg.addBudgetPlanningAmount(value);
|
|
2660
|
+
break;
|
|
2661
|
+
case 2:
|
|
2662
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2663
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2664
|
+
msg.setMeta(value);
|
|
2665
|
+
break;
|
|
2666
|
+
default:
|
|
2667
|
+
reader.skipField();
|
|
2668
|
+
break;
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
return msg;
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
|
|
2675
|
+
/**
|
|
2676
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2677
|
+
* @return {!Uint8Array}
|
|
2678
|
+
*/
|
|
2679
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.serializeBinary = function() {
|
|
2680
|
+
var writer = new jspb.BinaryWriter();
|
|
2681
|
+
proto.UpdateBudgetPlanningAmountRes.serializeBinaryToWriter(this, writer);
|
|
2682
|
+
return writer.getResultBuffer();
|
|
2683
|
+
};
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
/**
|
|
2687
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2688
|
+
* format), writing to the given BinaryWriter.
|
|
2689
|
+
* @param {!proto.UpdateBudgetPlanningAmountRes} message
|
|
2690
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2691
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2692
|
+
*/
|
|
2693
|
+
proto.UpdateBudgetPlanningAmountRes.serializeBinaryToWriter = function(message, writer) {
|
|
2694
|
+
var f = undefined;
|
|
2695
|
+
f = message.getBudgetPlanningAmountList();
|
|
2696
|
+
if (f.length > 0) {
|
|
2697
|
+
writer.writeRepeatedMessage(
|
|
2698
|
+
1,
|
|
2699
|
+
f,
|
|
2700
|
+
proto.BudgetPlanningAmount.serializeBinaryToWriter
|
|
2701
|
+
);
|
|
2702
|
+
}
|
|
2703
|
+
f = message.getMeta();
|
|
2704
|
+
if (f != null) {
|
|
2705
|
+
writer.writeMessage(
|
|
2706
|
+
2,
|
|
2707
|
+
f,
|
|
2708
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2709
|
+
);
|
|
2710
|
+
}
|
|
2711
|
+
};
|
|
2712
|
+
|
|
2713
|
+
|
|
2714
|
+
/**
|
|
2715
|
+
* repeated BudgetPlanningAmount budget_planning_amount = 1;
|
|
2716
|
+
* @return {!Array<!proto.BudgetPlanningAmount>}
|
|
2717
|
+
*/
|
|
2718
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.getBudgetPlanningAmountList = function() {
|
|
2719
|
+
return /** @type{!Array<!proto.BudgetPlanningAmount>} */ (
|
|
2720
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BudgetPlanningAmount, 1));
|
|
2721
|
+
};
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
/**
|
|
2725
|
+
* @param {!Array<!proto.BudgetPlanningAmount>} value
|
|
2726
|
+
* @return {!proto.UpdateBudgetPlanningAmountRes} returns this
|
|
2727
|
+
*/
|
|
2728
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.setBudgetPlanningAmountList = function(value) {
|
|
2729
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2730
|
+
};
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
* @param {!proto.BudgetPlanningAmount=} opt_value
|
|
2735
|
+
* @param {number=} opt_index
|
|
2736
|
+
* @return {!proto.BudgetPlanningAmount}
|
|
2737
|
+
*/
|
|
2738
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.addBudgetPlanningAmount = function(opt_value, opt_index) {
|
|
2739
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.BudgetPlanningAmount, opt_index);
|
|
2740
|
+
};
|
|
2741
|
+
|
|
2742
|
+
|
|
2743
|
+
/**
|
|
2744
|
+
* Clears the list making it empty but non-null.
|
|
2745
|
+
* @return {!proto.UpdateBudgetPlanningAmountRes} returns this
|
|
2746
|
+
*/
|
|
2747
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.clearBudgetPlanningAmountList = function() {
|
|
2748
|
+
return this.setBudgetPlanningAmountList([]);
|
|
2749
|
+
};
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
/**
|
|
2753
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2754
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2755
|
+
*/
|
|
2756
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.getMeta = function() {
|
|
2757
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2758
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2759
|
+
};
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
/**
|
|
2763
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2764
|
+
* @return {!proto.UpdateBudgetPlanningAmountRes} returns this
|
|
2765
|
+
*/
|
|
2766
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.setMeta = function(value) {
|
|
2767
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2768
|
+
};
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* Clears the message field making it undefined.
|
|
2773
|
+
* @return {!proto.UpdateBudgetPlanningAmountRes} returns this
|
|
2774
|
+
*/
|
|
2775
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.clearMeta = function() {
|
|
2776
|
+
return this.setMeta(undefined);
|
|
2777
|
+
};
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
/**
|
|
2781
|
+
* Returns whether this field is set.
|
|
2782
|
+
* @return {boolean}
|
|
2783
|
+
*/
|
|
2784
|
+
proto.UpdateBudgetPlanningAmountRes.prototype.hasMeta = function() {
|
|
2785
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2786
|
+
};
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2793
|
+
/**
|
|
2794
|
+
* Creates an object representation of this proto.
|
|
2795
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2796
|
+
* Optional fields that are not set will be set to undefined.
|
|
2797
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2798
|
+
* For the list of reserved names please see:
|
|
2799
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2800
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2801
|
+
* JSPB instance for transitional soy proto support:
|
|
2802
|
+
* http://goto/soy-param-migration
|
|
2803
|
+
* @return {!Object}
|
|
2804
|
+
*/
|
|
2805
|
+
proto.BudgetPlanningAmount.prototype.toObject = function(opt_includeInstance) {
|
|
2806
|
+
return proto.BudgetPlanningAmount.toObject(opt_includeInstance, this);
|
|
2807
|
+
};
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
/**
|
|
2811
|
+
* Static version of the {@see toObject} method.
|
|
2812
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2813
|
+
* the JSPB instance for transitional soy proto support:
|
|
2814
|
+
* http://goto/soy-param-migration
|
|
2815
|
+
* @param {!proto.BudgetPlanningAmount} msg The msg instance to transform.
|
|
2816
|
+
* @return {!Object}
|
|
2817
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2818
|
+
*/
|
|
2819
|
+
proto.BudgetPlanningAmount.toObject = function(includeInstance, msg) {
|
|
2820
|
+
var f, obj = {
|
|
2821
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2822
|
+
budgetPlanningReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2823
|
+
year: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2824
|
+
month: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2825
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
2826
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2827
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
2828
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
2829
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
2830
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
2831
|
+
deletedAt: jspb.Message.getFieldWithDefault(msg, 33, "")
|
|
2832
|
+
};
|
|
2833
|
+
|
|
2834
|
+
if (includeInstance) {
|
|
2835
|
+
obj.$jspbMessageInstance = msg;
|
|
2836
|
+
}
|
|
2837
|
+
return obj;
|
|
2838
|
+
};
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
/**
|
|
2843
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2844
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2845
|
+
* @return {!proto.BudgetPlanningAmount}
|
|
2846
|
+
*/
|
|
2847
|
+
proto.BudgetPlanningAmount.deserializeBinary = function(bytes) {
|
|
2848
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2849
|
+
var msg = new proto.BudgetPlanningAmount;
|
|
2850
|
+
return proto.BudgetPlanningAmount.deserializeBinaryFromReader(msg, reader);
|
|
2851
|
+
};
|
|
2852
|
+
|
|
2853
|
+
|
|
2854
|
+
/**
|
|
2855
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2856
|
+
* given reader into the given message object.
|
|
2857
|
+
* @param {!proto.BudgetPlanningAmount} msg The message object to deserialize into.
|
|
2858
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2859
|
+
* @return {!proto.BudgetPlanningAmount}
|
|
2860
|
+
*/
|
|
2861
|
+
proto.BudgetPlanningAmount.deserializeBinaryFromReader = function(msg, reader) {
|
|
2862
|
+
while (reader.nextField()) {
|
|
2863
|
+
if (reader.isEndGroup()) {
|
|
2864
|
+
break;
|
|
2865
|
+
}
|
|
2866
|
+
var field = reader.getFieldNumber();
|
|
2867
|
+
switch (field) {
|
|
2868
|
+
case 1:
|
|
2869
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2870
|
+
msg.setCompaniesReferencesId(value);
|
|
2871
|
+
break;
|
|
2872
|
+
case 2:
|
|
2873
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2874
|
+
msg.setBudgetPlanningReferencesId(value);
|
|
2875
|
+
break;
|
|
2876
|
+
case 3:
|
|
2877
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2878
|
+
msg.setYear(value);
|
|
2879
|
+
break;
|
|
2880
|
+
case 4:
|
|
2881
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2882
|
+
msg.setMonth(value);
|
|
2883
|
+
break;
|
|
2884
|
+
case 5:
|
|
2885
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
2886
|
+
msg.setAmount(value);
|
|
2887
|
+
break;
|
|
2888
|
+
case 6:
|
|
2889
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2890
|
+
msg.setReferencesId(value);
|
|
2891
|
+
break;
|
|
2892
|
+
case 29:
|
|
2893
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2894
|
+
msg.setCreatedAt(value);
|
|
2895
|
+
break;
|
|
2896
|
+
case 30:
|
|
2897
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2898
|
+
msg.setUpdatedAt(value);
|
|
2899
|
+
break;
|
|
2900
|
+
case 31:
|
|
2901
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2902
|
+
msg.setCreatedBy(value);
|
|
2903
|
+
break;
|
|
2904
|
+
case 32:
|
|
2905
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2906
|
+
msg.setUpdatedBy(value);
|
|
2907
|
+
break;
|
|
2908
|
+
case 33:
|
|
2909
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2910
|
+
msg.setDeletedAt(value);
|
|
2911
|
+
break;
|
|
2912
|
+
default:
|
|
2913
|
+
reader.skipField();
|
|
2914
|
+
break;
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
return msg;
|
|
2918
|
+
};
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2923
|
+
* @return {!Uint8Array}
|
|
2924
|
+
*/
|
|
2925
|
+
proto.BudgetPlanningAmount.prototype.serializeBinary = function() {
|
|
2926
|
+
var writer = new jspb.BinaryWriter();
|
|
2927
|
+
proto.BudgetPlanningAmount.serializeBinaryToWriter(this, writer);
|
|
2928
|
+
return writer.getResultBuffer();
|
|
2929
|
+
};
|
|
2930
|
+
|
|
2931
|
+
|
|
2932
|
+
/**
|
|
2933
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2934
|
+
* format), writing to the given BinaryWriter.
|
|
2935
|
+
* @param {!proto.BudgetPlanningAmount} message
|
|
2936
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2937
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2938
|
+
*/
|
|
2939
|
+
proto.BudgetPlanningAmount.serializeBinaryToWriter = function(message, writer) {
|
|
2940
|
+
var f = undefined;
|
|
2941
|
+
f = message.getCompaniesReferencesId();
|
|
2942
|
+
if (f.length > 0) {
|
|
2943
|
+
writer.writeString(
|
|
2944
|
+
1,
|
|
2945
|
+
f
|
|
2946
|
+
);
|
|
2947
|
+
}
|
|
2948
|
+
f = message.getBudgetPlanningReferencesId();
|
|
2949
|
+
if (f.length > 0) {
|
|
2950
|
+
writer.writeString(
|
|
2951
|
+
2,
|
|
2952
|
+
f
|
|
2953
|
+
);
|
|
2954
|
+
}
|
|
2955
|
+
f = message.getYear();
|
|
2956
|
+
if (f !== 0) {
|
|
2957
|
+
writer.writeInt32(
|
|
2958
|
+
3,
|
|
2959
|
+
f
|
|
2960
|
+
);
|
|
2961
|
+
}
|
|
2962
|
+
f = message.getMonth();
|
|
2963
|
+
if (f !== 0) {
|
|
2964
|
+
writer.writeInt32(
|
|
2965
|
+
4,
|
|
2966
|
+
f
|
|
2967
|
+
);
|
|
2968
|
+
}
|
|
2969
|
+
f = message.getAmount();
|
|
2970
|
+
if (f !== 0.0) {
|
|
2971
|
+
writer.writeDouble(
|
|
2972
|
+
5,
|
|
2973
|
+
f
|
|
2974
|
+
);
|
|
2975
|
+
}
|
|
2976
|
+
f = message.getReferencesId();
|
|
2977
|
+
if (f.length > 0) {
|
|
2978
|
+
writer.writeString(
|
|
2979
|
+
6,
|
|
2980
|
+
f
|
|
2981
|
+
);
|
|
2982
|
+
}
|
|
2983
|
+
f = message.getCreatedAt();
|
|
2984
|
+
if (f.length > 0) {
|
|
2985
|
+
writer.writeString(
|
|
2986
|
+
29,
|
|
2987
|
+
f
|
|
2988
|
+
);
|
|
2989
|
+
}
|
|
2990
|
+
f = message.getUpdatedAt();
|
|
2991
|
+
if (f.length > 0) {
|
|
2992
|
+
writer.writeString(
|
|
2993
|
+
30,
|
|
2994
|
+
f
|
|
2995
|
+
);
|
|
2996
|
+
}
|
|
2997
|
+
f = message.getCreatedBy();
|
|
2998
|
+
if (f.length > 0) {
|
|
2999
|
+
writer.writeString(
|
|
3000
|
+
31,
|
|
3001
|
+
f
|
|
3002
|
+
);
|
|
3003
|
+
}
|
|
3004
|
+
f = message.getUpdatedBy();
|
|
3005
|
+
if (f.length > 0) {
|
|
3006
|
+
writer.writeString(
|
|
3007
|
+
32,
|
|
3008
|
+
f
|
|
3009
|
+
);
|
|
3010
|
+
}
|
|
3011
|
+
f = message.getDeletedAt();
|
|
3012
|
+
if (f.length > 0) {
|
|
3013
|
+
writer.writeString(
|
|
3014
|
+
33,
|
|
3015
|
+
f
|
|
3016
|
+
);
|
|
3017
|
+
}
|
|
3018
|
+
};
|
|
3019
|
+
|
|
3020
|
+
|
|
3021
|
+
/**
|
|
3022
|
+
* optional string companies_references_id = 1;
|
|
3023
|
+
* @return {string}
|
|
3024
|
+
*/
|
|
3025
|
+
proto.BudgetPlanningAmount.prototype.getCompaniesReferencesId = function() {
|
|
3026
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3027
|
+
};
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
/**
|
|
3031
|
+
* @param {string} value
|
|
3032
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
3033
|
+
*/
|
|
3034
|
+
proto.BudgetPlanningAmount.prototype.setCompaniesReferencesId = function(value) {
|
|
3035
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3036
|
+
};
|
|
3037
|
+
|
|
3038
|
+
|
|
3039
|
+
/**
|
|
3040
|
+
* optional string budget_planning_references_id = 2;
|
|
3041
|
+
* @return {string}
|
|
3042
|
+
*/
|
|
3043
|
+
proto.BudgetPlanningAmount.prototype.getBudgetPlanningReferencesId = function() {
|
|
3044
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3045
|
+
};
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* @param {string} value
|
|
3050
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
3051
|
+
*/
|
|
3052
|
+
proto.BudgetPlanningAmount.prototype.setBudgetPlanningReferencesId = function(value) {
|
|
3053
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3054
|
+
};
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
/**
|
|
3058
|
+
* optional int32 year = 3;
|
|
3059
|
+
* @return {number}
|
|
3060
|
+
*/
|
|
3061
|
+
proto.BudgetPlanningAmount.prototype.getYear = function() {
|
|
3062
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
2039
3063
|
};
|
|
2040
3064
|
|
|
2041
3065
|
|
|
2042
3066
|
/**
|
|
2043
|
-
*
|
|
2044
|
-
* @
|
|
2045
|
-
* the JSPB instance for transitional soy proto support:
|
|
2046
|
-
* http://goto/soy-param-migration
|
|
2047
|
-
* @param {!proto.ResponseValidateBudget} msg The msg instance to transform.
|
|
2048
|
-
* @return {!Object}
|
|
2049
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3067
|
+
* @param {number} value
|
|
3068
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
2050
3069
|
*/
|
|
2051
|
-
proto.
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
code: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2055
|
-
remaining: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2056
|
-
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2057
|
-
};
|
|
3070
|
+
proto.BudgetPlanningAmount.prototype.setYear = function(value) {
|
|
3071
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
3072
|
+
};
|
|
2058
3073
|
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
3074
|
+
|
|
3075
|
+
/**
|
|
3076
|
+
* optional int32 month = 4;
|
|
3077
|
+
* @return {number}
|
|
3078
|
+
*/
|
|
3079
|
+
proto.BudgetPlanningAmount.prototype.getMonth = function() {
|
|
3080
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2063
3081
|
};
|
|
2064
|
-
}
|
|
2065
3082
|
|
|
2066
3083
|
|
|
2067
3084
|
/**
|
|
2068
|
-
*
|
|
2069
|
-
* @
|
|
2070
|
-
* @return {!proto.ResponseValidateBudget}
|
|
3085
|
+
* @param {number} value
|
|
3086
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
2071
3087
|
*/
|
|
2072
|
-
proto.
|
|
2073
|
-
|
|
2074
|
-
var msg = new proto.ResponseValidateBudget;
|
|
2075
|
-
return proto.ResponseValidateBudget.deserializeBinaryFromReader(msg, reader);
|
|
3088
|
+
proto.BudgetPlanningAmount.prototype.setMonth = function(value) {
|
|
3089
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
2076
3090
|
};
|
|
2077
3091
|
|
|
2078
3092
|
|
|
2079
3093
|
/**
|
|
2080
|
-
*
|
|
2081
|
-
*
|
|
2082
|
-
* @param {!proto.ResponseValidateBudget} msg The message object to deserialize into.
|
|
2083
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2084
|
-
* @return {!proto.ResponseValidateBudget}
|
|
3094
|
+
* optional double amount = 5;
|
|
3095
|
+
* @return {number}
|
|
2085
3096
|
*/
|
|
2086
|
-
proto.
|
|
2087
|
-
|
|
2088
|
-
if (reader.isEndGroup()) {
|
|
2089
|
-
break;
|
|
2090
|
-
}
|
|
2091
|
-
var field = reader.getFieldNumber();
|
|
2092
|
-
switch (field) {
|
|
2093
|
-
case 1:
|
|
2094
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2095
|
-
msg.setYear(value);
|
|
2096
|
-
break;
|
|
2097
|
-
case 2:
|
|
2098
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2099
|
-
msg.setCode(value);
|
|
2100
|
-
break;
|
|
2101
|
-
case 3:
|
|
2102
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2103
|
-
msg.setRemaining(value);
|
|
2104
|
-
break;
|
|
2105
|
-
case 4:
|
|
2106
|
-
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2107
|
-
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2108
|
-
msg.setMeta(value);
|
|
2109
|
-
break;
|
|
2110
|
-
default:
|
|
2111
|
-
reader.skipField();
|
|
2112
|
-
break;
|
|
2113
|
-
}
|
|
2114
|
-
}
|
|
2115
|
-
return msg;
|
|
3097
|
+
proto.BudgetPlanningAmount.prototype.getAmount = function() {
|
|
3098
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
2116
3099
|
};
|
|
2117
3100
|
|
|
2118
3101
|
|
|
2119
3102
|
/**
|
|
2120
|
-
*
|
|
2121
|
-
* @return {!
|
|
3103
|
+
* @param {number} value
|
|
3104
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
2122
3105
|
*/
|
|
2123
|
-
proto.
|
|
2124
|
-
|
|
2125
|
-
proto.ResponseValidateBudget.serializeBinaryToWriter(this, writer);
|
|
2126
|
-
return writer.getResultBuffer();
|
|
3106
|
+
proto.BudgetPlanningAmount.prototype.setAmount = function(value) {
|
|
3107
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
2127
3108
|
};
|
|
2128
3109
|
|
|
2129
3110
|
|
|
2130
3111
|
/**
|
|
2131
|
-
*
|
|
2132
|
-
*
|
|
2133
|
-
* @param {!proto.ResponseValidateBudget} message
|
|
2134
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2135
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3112
|
+
* optional string references_id = 6;
|
|
3113
|
+
* @return {string}
|
|
2136
3114
|
*/
|
|
2137
|
-
proto.
|
|
2138
|
-
|
|
2139
|
-
f = message.getYear();
|
|
2140
|
-
if (f.length > 0) {
|
|
2141
|
-
writer.writeString(
|
|
2142
|
-
1,
|
|
2143
|
-
f
|
|
2144
|
-
);
|
|
2145
|
-
}
|
|
2146
|
-
f = message.getCode();
|
|
2147
|
-
if (f.length > 0) {
|
|
2148
|
-
writer.writeString(
|
|
2149
|
-
2,
|
|
2150
|
-
f
|
|
2151
|
-
);
|
|
2152
|
-
}
|
|
2153
|
-
f = message.getRemaining();
|
|
2154
|
-
if (f.length > 0) {
|
|
2155
|
-
writer.writeString(
|
|
2156
|
-
3,
|
|
2157
|
-
f
|
|
2158
|
-
);
|
|
2159
|
-
}
|
|
2160
|
-
f = message.getMeta();
|
|
2161
|
-
if (f != null) {
|
|
2162
|
-
writer.writeMessage(
|
|
2163
|
-
4,
|
|
2164
|
-
f,
|
|
2165
|
-
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2166
|
-
);
|
|
2167
|
-
}
|
|
3115
|
+
proto.BudgetPlanningAmount.prototype.getReferencesId = function() {
|
|
3116
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2168
3117
|
};
|
|
2169
3118
|
|
|
2170
3119
|
|
|
2171
3120
|
/**
|
|
2172
|
-
*
|
|
3121
|
+
* @param {string} value
|
|
3122
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
3123
|
+
*/
|
|
3124
|
+
proto.BudgetPlanningAmount.prototype.setReferencesId = function(value) {
|
|
3125
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3126
|
+
};
|
|
3127
|
+
|
|
3128
|
+
|
|
3129
|
+
/**
|
|
3130
|
+
* optional string created_at = 29;
|
|
2173
3131
|
* @return {string}
|
|
2174
3132
|
*/
|
|
2175
|
-
proto.
|
|
2176
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
3133
|
+
proto.BudgetPlanningAmount.prototype.getCreatedAt = function() {
|
|
3134
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
|
|
2177
3135
|
};
|
|
2178
3136
|
|
|
2179
3137
|
|
|
2180
3138
|
/**
|
|
2181
3139
|
* @param {string} value
|
|
2182
|
-
* @return {!proto.
|
|
3140
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
2183
3141
|
*/
|
|
2184
|
-
proto.
|
|
2185
|
-
return jspb.Message.setProto3StringField(this,
|
|
3142
|
+
proto.BudgetPlanningAmount.prototype.setCreatedAt = function(value) {
|
|
3143
|
+
return jspb.Message.setProto3StringField(this, 29, value);
|
|
2186
3144
|
};
|
|
2187
3145
|
|
|
2188
3146
|
|
|
2189
3147
|
/**
|
|
2190
|
-
* optional string
|
|
3148
|
+
* optional string updated_at = 30;
|
|
2191
3149
|
* @return {string}
|
|
2192
3150
|
*/
|
|
2193
|
-
proto.
|
|
2194
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
3151
|
+
proto.BudgetPlanningAmount.prototype.getUpdatedAt = function() {
|
|
3152
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
|
|
2195
3153
|
};
|
|
2196
3154
|
|
|
2197
3155
|
|
|
2198
3156
|
/**
|
|
2199
3157
|
* @param {string} value
|
|
2200
|
-
* @return {!proto.
|
|
3158
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
2201
3159
|
*/
|
|
2202
|
-
proto.
|
|
2203
|
-
return jspb.Message.setProto3StringField(this,
|
|
3160
|
+
proto.BudgetPlanningAmount.prototype.setUpdatedAt = function(value) {
|
|
3161
|
+
return jspb.Message.setProto3StringField(this, 30, value);
|
|
2204
3162
|
};
|
|
2205
3163
|
|
|
2206
3164
|
|
|
2207
3165
|
/**
|
|
2208
|
-
* optional string
|
|
3166
|
+
* optional string created_by = 31;
|
|
2209
3167
|
* @return {string}
|
|
2210
3168
|
*/
|
|
2211
|
-
proto.
|
|
2212
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
3169
|
+
proto.BudgetPlanningAmount.prototype.getCreatedBy = function() {
|
|
3170
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
|
|
2213
3171
|
};
|
|
2214
3172
|
|
|
2215
3173
|
|
|
2216
3174
|
/**
|
|
2217
3175
|
* @param {string} value
|
|
2218
|
-
* @return {!proto.
|
|
3176
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
2219
3177
|
*/
|
|
2220
|
-
proto.
|
|
2221
|
-
return jspb.Message.setProto3StringField(this,
|
|
3178
|
+
proto.BudgetPlanningAmount.prototype.setCreatedBy = function(value) {
|
|
3179
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
2222
3180
|
};
|
|
2223
3181
|
|
|
2224
3182
|
|
|
2225
3183
|
/**
|
|
2226
|
-
* optional
|
|
2227
|
-
* @return {
|
|
3184
|
+
* optional string updated_by = 32;
|
|
3185
|
+
* @return {string}
|
|
2228
3186
|
*/
|
|
2229
|
-
proto.
|
|
2230
|
-
return /** @type{
|
|
2231
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 4));
|
|
3187
|
+
proto.BudgetPlanningAmount.prototype.getUpdatedBy = function() {
|
|
3188
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
|
|
2232
3189
|
};
|
|
2233
3190
|
|
|
2234
3191
|
|
|
2235
3192
|
/**
|
|
2236
|
-
* @param {
|
|
2237
|
-
* @return {!proto.
|
|
2238
|
-
*/
|
|
2239
|
-
proto.
|
|
2240
|
-
return jspb.Message.
|
|
3193
|
+
* @param {string} value
|
|
3194
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
3195
|
+
*/
|
|
3196
|
+
proto.BudgetPlanningAmount.prototype.setUpdatedBy = function(value) {
|
|
3197
|
+
return jspb.Message.setProto3StringField(this, 32, value);
|
|
2241
3198
|
};
|
|
2242
3199
|
|
|
2243
3200
|
|
|
2244
3201
|
/**
|
|
2245
|
-
*
|
|
2246
|
-
* @return {
|
|
3202
|
+
* optional string deleted_at = 33;
|
|
3203
|
+
* @return {string}
|
|
2247
3204
|
*/
|
|
2248
|
-
proto.
|
|
2249
|
-
return
|
|
3205
|
+
proto.BudgetPlanningAmount.prototype.getDeletedAt = function() {
|
|
3206
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
|
|
2250
3207
|
};
|
|
2251
3208
|
|
|
2252
3209
|
|
|
2253
3210
|
/**
|
|
2254
|
-
*
|
|
2255
|
-
* @return {
|
|
3211
|
+
* @param {string} value
|
|
3212
|
+
* @return {!proto.BudgetPlanningAmount} returns this
|
|
2256
3213
|
*/
|
|
2257
|
-
proto.
|
|
2258
|
-
return jspb.Message.
|
|
3214
|
+
proto.BudgetPlanningAmount.prototype.setDeletedAt = function(value) {
|
|
3215
|
+
return jspb.Message.setProto3StringField(this, 33, value);
|
|
2259
3216
|
};
|
|
2260
3217
|
|
|
2261
3218
|
|
|
@@ -4468,7 +5425,7 @@ proto.GetReportBudgetRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
4468
5425
|
proto.GetReportBudgetRequest.toObject = function(includeInstance, msg) {
|
|
4469
5426
|
var f, obj = {
|
|
4470
5427
|
year: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4471
|
-
|
|
5428
|
+
budgetReferencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4472
5429
|
};
|
|
4473
5430
|
|
|
4474
5431
|
if (includeInstance) {
|
|
@@ -4511,7 +5468,7 @@ proto.GetReportBudgetRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
4511
5468
|
break;
|
|
4512
5469
|
case 2:
|
|
4513
5470
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
4514
|
-
msg.
|
|
5471
|
+
msg.setBudgetReferencesId(value);
|
|
4515
5472
|
break;
|
|
4516
5473
|
default:
|
|
4517
5474
|
reader.skipField();
|
|
@@ -4549,7 +5506,7 @@ proto.GetReportBudgetRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
4549
5506
|
f
|
|
4550
5507
|
);
|
|
4551
5508
|
}
|
|
4552
|
-
f = message.
|
|
5509
|
+
f = message.getBudgetReferencesId();
|
|
4553
5510
|
if (f.length > 0) {
|
|
4554
5511
|
writer.writeString(
|
|
4555
5512
|
2,
|
|
@@ -4578,10 +5535,10 @@ proto.GetReportBudgetRequest.prototype.setYear = function(value) {
|
|
|
4578
5535
|
|
|
4579
5536
|
|
|
4580
5537
|
/**
|
|
4581
|
-
* optional string
|
|
5538
|
+
* optional string budget_references_id = 2;
|
|
4582
5539
|
* @return {string}
|
|
4583
5540
|
*/
|
|
4584
|
-
proto.GetReportBudgetRequest.prototype.
|
|
5541
|
+
proto.GetReportBudgetRequest.prototype.getBudgetReferencesId = function() {
|
|
4585
5542
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4586
5543
|
};
|
|
4587
5544
|
|
|
@@ -4590,7 +5547,7 @@ proto.GetReportBudgetRequest.prototype.getDepartmentReferences = function() {
|
|
|
4590
5547
|
* @param {string} value
|
|
4591
5548
|
* @return {!proto.GetReportBudgetRequest} returns this
|
|
4592
5549
|
*/
|
|
4593
|
-
proto.GetReportBudgetRequest.prototype.
|
|
5550
|
+
proto.GetReportBudgetRequest.prototype.setBudgetReferencesId = function(value) {
|
|
4594
5551
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4595
5552
|
};
|
|
4596
5553
|
|
|
@@ -6138,7 +7095,8 @@ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
|
6138
7095
|
budgetCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
6139
7096
|
actual: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
6140
7097
|
commitment: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
6141
|
-
budget: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
|
|
7098
|
+
budget: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
7099
|
+
date: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
6142
7100
|
};
|
|
6143
7101
|
|
|
6144
7102
|
if (includeInstance) {
|
|
@@ -6204,6 +7162,10 @@ proto.GroupTransactionBudget.deserializeBinaryFromReader = function(msg, reader)
|
|
|
6204
7162
|
var value = /** @type {number} */ (reader.readDouble());
|
|
6205
7163
|
msg.setBudget(value);
|
|
6206
7164
|
break;
|
|
7165
|
+
case 8:
|
|
7166
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7167
|
+
msg.setDate(value);
|
|
7168
|
+
break;
|
|
6207
7169
|
default:
|
|
6208
7170
|
reader.skipField();
|
|
6209
7171
|
break;
|
|
@@ -6283,6 +7245,13 @@ proto.GroupTransactionBudget.serializeBinaryToWriter = function(message, writer)
|
|
|
6283
7245
|
f
|
|
6284
7246
|
);
|
|
6285
7247
|
}
|
|
7248
|
+
f = message.getDate();
|
|
7249
|
+
if (f.length > 0) {
|
|
7250
|
+
writer.writeString(
|
|
7251
|
+
8,
|
|
7252
|
+
f
|
|
7253
|
+
);
|
|
7254
|
+
}
|
|
6286
7255
|
};
|
|
6287
7256
|
|
|
6288
7257
|
|
|
@@ -6432,6 +7401,24 @@ proto.GroupTransactionBudget.prototype.setBudget = function(value) {
|
|
|
6432
7401
|
};
|
|
6433
7402
|
|
|
6434
7403
|
|
|
7404
|
+
/**
|
|
7405
|
+
* optional string date = 8;
|
|
7406
|
+
* @return {string}
|
|
7407
|
+
*/
|
|
7408
|
+
proto.GroupTransactionBudget.prototype.getDate = function() {
|
|
7409
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
7410
|
+
};
|
|
7411
|
+
|
|
7412
|
+
|
|
7413
|
+
/**
|
|
7414
|
+
* @param {string} value
|
|
7415
|
+
* @return {!proto.GroupTransactionBudget} returns this
|
|
7416
|
+
*/
|
|
7417
|
+
proto.GroupTransactionBudget.prototype.setDate = function(value) {
|
|
7418
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
7419
|
+
};
|
|
7420
|
+
|
|
7421
|
+
|
|
6435
7422
|
|
|
6436
7423
|
|
|
6437
7424
|
|
|
@@ -6692,7 +7679,8 @@ budget: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
|
6692
7679
|
description: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6693
7680
|
month: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
6694
7681
|
actual: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
6695
|
-
commitment: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0)
|
|
7682
|
+
commitment: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
7683
|
+
date: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
6696
7684
|
};
|
|
6697
7685
|
|
|
6698
7686
|
if (includeInstance) {
|
|
@@ -6773,6 +7761,10 @@ proto.GroupTransactionCode.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6773
7761
|
var value = /** @type {number} */ (reader.readDouble());
|
|
6774
7762
|
msg.setCommitment(value);
|
|
6775
7763
|
break;
|
|
7764
|
+
case 11:
|
|
7765
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
7766
|
+
msg.setDate(value);
|
|
7767
|
+
break;
|
|
6776
7768
|
default:
|
|
6777
7769
|
reader.skipField();
|
|
6778
7770
|
break;
|
|
@@ -6876,6 +7868,13 @@ proto.GroupTransactionCode.serializeBinaryToWriter = function(message, writer) {
|
|
|
6876
7868
|
f
|
|
6877
7869
|
);
|
|
6878
7870
|
}
|
|
7871
|
+
f = message.getDate();
|
|
7872
|
+
if (f.length > 0) {
|
|
7873
|
+
writer.writeString(
|
|
7874
|
+
11,
|
|
7875
|
+
f
|
|
7876
|
+
);
|
|
7877
|
+
}
|
|
6879
7878
|
};
|
|
6880
7879
|
|
|
6881
7880
|
|
|
@@ -7136,6 +8135,24 @@ proto.GroupTransactionCode.prototype.setCommitment = function(value) {
|
|
|
7136
8135
|
};
|
|
7137
8136
|
|
|
7138
8137
|
|
|
8138
|
+
/**
|
|
8139
|
+
* optional string date = 11;
|
|
8140
|
+
* @return {string}
|
|
8141
|
+
*/
|
|
8142
|
+
proto.GroupTransactionCode.prototype.getDate = function() {
|
|
8143
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
8144
|
+
};
|
|
8145
|
+
|
|
8146
|
+
|
|
8147
|
+
/**
|
|
8148
|
+
* @param {string} value
|
|
8149
|
+
* @return {!proto.GroupTransactionCode} returns this
|
|
8150
|
+
*/
|
|
8151
|
+
proto.GroupTransactionCode.prototype.setDate = function(value) {
|
|
8152
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
8153
|
+
};
|
|
8154
|
+
|
|
8155
|
+
|
|
7139
8156
|
|
|
7140
8157
|
|
|
7141
8158
|
|
|
@@ -7423,7 +8440,8 @@ generalLedger: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
7423
8440
|
childrenList: jspb.Message.toObjectList(msg.getChildrenList(),
|
|
7424
8441
|
proto.DetailTransactionBudget.toObject, includeInstance),
|
|
7425
8442
|
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
7426
|
-
price: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0)
|
|
8443
|
+
price: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
8444
|
+
date: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
7427
8445
|
};
|
|
7428
8446
|
|
|
7429
8447
|
if (includeInstance) {
|
|
@@ -7501,6 +8519,10 @@ proto.DetailTransactionBudget.deserializeBinaryFromReader = function(msg, reader
|
|
|
7501
8519
|
var value = /** @type {number} */ (reader.readDouble());
|
|
7502
8520
|
msg.setPrice(value);
|
|
7503
8521
|
break;
|
|
8522
|
+
case 11:
|
|
8523
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
8524
|
+
msg.setDate(value);
|
|
8525
|
+
break;
|
|
7504
8526
|
default:
|
|
7505
8527
|
reader.skipField();
|
|
7506
8528
|
break;
|
|
@@ -7601,6 +8623,13 @@ proto.DetailTransactionBudget.serializeBinaryToWriter = function(message, writer
|
|
|
7601
8623
|
f
|
|
7602
8624
|
);
|
|
7603
8625
|
}
|
|
8626
|
+
f = message.getDate();
|
|
8627
|
+
if (f.length > 0) {
|
|
8628
|
+
writer.writeString(
|
|
8629
|
+
11,
|
|
8630
|
+
f
|
|
8631
|
+
);
|
|
8632
|
+
}
|
|
7604
8633
|
};
|
|
7605
8634
|
|
|
7606
8635
|
|
|
@@ -7822,6 +8851,24 @@ proto.DetailTransactionBudget.prototype.setPrice = function(value) {
|
|
|
7822
8851
|
};
|
|
7823
8852
|
|
|
7824
8853
|
|
|
8854
|
+
/**
|
|
8855
|
+
* optional string date = 11;
|
|
8856
|
+
* @return {string}
|
|
8857
|
+
*/
|
|
8858
|
+
proto.DetailTransactionBudget.prototype.getDate = function() {
|
|
8859
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
8860
|
+
};
|
|
8861
|
+
|
|
8862
|
+
|
|
8863
|
+
/**
|
|
8864
|
+
* @param {string} value
|
|
8865
|
+
* @return {!proto.DetailTransactionBudget} returns this
|
|
8866
|
+
*/
|
|
8867
|
+
proto.DetailTransactionBudget.prototype.setDate = function(value) {
|
|
8868
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
8869
|
+
};
|
|
8870
|
+
|
|
8871
|
+
|
|
7825
8872
|
|
|
7826
8873
|
/**
|
|
7827
8874
|
* List of repeated fields within this message type.
|