change Product.id to string

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-20 12:20:39 -07:00
parent cc8ef35006
commit 2316e25504
4 changed files with 188 additions and 188 deletions

View file

@ -59,7 +59,7 @@ service ProductCatalogService {
}
message Product {
int32 id = 1;
string id = 1;
string name = 2;
string description = 3;
string picture = 4;
@ -71,7 +71,7 @@ message ListProductsResponse {
}
message GetProductRequest {
int32 id = 1;
string id = 1;
}
message SearchProductsRequest {