e.g.message
Example {
string name = 1;
int32 color = 2;
int32 icon = 3;
}
If equals()
and hashCode()
in java depend only on name field and not on all the fields.
How to implement this in protoc generated java classes when using protocol Buffer in java?
1