pb: add "categories" field to Product (#60)

This field can be used as the context keys to look up relevant ads in the ad
service.

/cc @rghetia 

I also ran the genproto.sh scripts for the Java and Go services and included those changes in the second commit.  I encountered an issue when I ran genproto.sh for the recommendation service, and I'm still looking into it.
This commit is contained in:
sebright 2018-10-01 21:33:25 -07:00 committed by Ahmet Alp Balkan
parent 34f8fb18aa
commit 86c8c06cc1
4 changed files with 745 additions and 588 deletions

View file

@ -64,6 +64,10 @@ message Product {
string description = 3;
string picture = 4;
Money price_usd = 5;
// Categories such as "vintage" or "gardening" that can be used to look up
// other related products.
repeated string categories = 6;
}
message ListProductsResponse {