@@ -6,7 +6,7 @@ import "google/protobuf/timestamp.proto";
66// EntityWithCompositeId
77message EntityWithCompositeId {
88 string id_first_part = 1 ; // part of composite primary key
9- string id_second_part = 2 ; // part of composite primary key
9+ uint32 id_second_part = 2 ; // part of composite primary key
1010 google.protobuf.Timestamp id_third_part = 3 ; // part of composite primary key
1111
1212 string name = 4 ;
@@ -16,7 +16,7 @@ message EntityWithCompositeId {
1616// EntityCompositeId - container for composite primary key
1717message EntityCompositeId {
1818 string id_first_part = 1 ;
19- string id_second_part = 2 ;
19+ uint32 id_second_part = 2 ;
2020 google.protobuf.Timestamp id_third_part = 3 ;
2121}
2222
@@ -28,7 +28,7 @@ message EntityWithCompositeIdList {
2828// CreateEntityWithCompositeId
2929message CreateEntityWithCompositeId {
3030 string id_first_part = 1 ;
31- string id_second_part = 2 ;
31+ uint32 id_second_part = 2 ;
3232 google.protobuf.Timestamp id_third_part = 3 ;
3333 string name = 4 ;
3434 int32 value = 5 ;
@@ -37,7 +37,7 @@ message CreateEntityWithCompositeId {
3737// UpdateEntityWithCompositeId
3838message UpdateEntityWithCompositeId {
3939 string id_first_part = 1 ;
40- string id_second_part = 2 ;
40+ uint32 id_second_part = 2 ;
4141 google.protobuf.Timestamp id_third_part = 3 ;
4242 string name = 4 ;
4343 int32 value = 5 ;
0 commit comments