Searched refs:has_optional_keyword (Results 1 – 11 of 11) sorted by relevance
367 (descriptor->message_type() || descriptor->has_optional_keyword() || in SupportFieldPresence()381 (descriptor->has_optional_keyword() || IsProto2(descriptor->file())); in HasHasbit()
178 return IsProto2(descriptor->file()) || descriptor->has_optional_keyword(); in SupportsPresenceApi()
222 EXPECT_FALSE(f->has_optional_keyword()) << f->full_name(); in TEST()226 EXPECT_TRUE(f->has_optional_keyword()) << f->full_name(); in TEST()
705 bool has_optional_keyword() const;2189 inline bool FieldDescriptor::has_optional_keyword() const { in has_optional_keyword() function
119 return (field->has_optional_keyword() || field->is_required()) && in HasHasbit()
2707 (is_optional() && !has_optional_keyword())) { in DebugString()
80 if (field->has_optional_keyword() && in LabelForField()
443 return (field->has_optional_keyword() || field->is_required()) && in HasHasbit()
246 field->has_optional_keyword(); in HasHasMethod()
324 3. You may also wish to add a `FieldDescriptor::has_optional_keyword()` method
811 if (desc->field(i)->has_optional_keyword()) { in ContainsProto3Optional()