Given the following proto spec:
message A {
B b = 1;
}
message B {
string s = 1;
}
and an object a
of type A
, how do I check to see if a.b.s
is set? More specifically, how do I create the FieldDescriptor
to be passed into Message.Has()
?