Method
QualifyIfPresent
(vars Activation, obj any, presenceOnly bool)
Source from the content-addressed store, hash-verified
| 1510 | } |
| 1511 | |
| 1512 | func (q *nestedMsgQualifier) QualifyIfPresent(vars Activation, obj any, presenceOnly bool) (any, bool, error) { |
| 1513 | pb := obj.(*proto3pb.TestAllTypes_NestedMessage) |
| 1514 | if pb.GetBb() == 0 { |
| 1515 | return nil, false, nil |
| 1516 | } |
| 1517 | return pb.GetBb(), true, nil |
| 1518 | } |
| 1519 | |
| 1520 | func addQualifier(t testing.TB, attr Attribute, qual Qualifier) Attribute { |
| 1521 | t.Helper() |
Callers
nothing calls this directly
Tested by
no test coverage detected