How can I add the properties of a proto message to get for example a total amount of summed up properties.
message Affordability {
decimal salary = 1;
decimal accomodation = 2;
decimal phone_bill = 3;
decimal utilities = 4;
}
Would like to calculate the TotalExpenses by adding all expenses and the substracting the value with the salary so as to derive the AmountLeft