Hi
I want to set numeric_range on protobuf field and read the defined numeric_range in runtime. I use the file descriptor and field descriptor for this goal.
But i have a problem. I don't want to hard code the name of class variable.
I express one example about this. I define a day field in proto file and set numeric_range on it as following.
message Person{
int32 day = 1; [range_min = 5; range_max = 10]
}
now, I want to read the defined numeric_range in runtime.
for this goal, i must determine the variable name as hard code.
is there any way for determining the variable as string?
thank you