Searched refs:has_presence (Results 1 – 8 of 8) sorted by relevance
223 EXPECT_FALSE(f->has_presence()) << f->full_name(); in TEST()227 EXPECT_TRUE(f->has_presence()) << f->full_name(); in TEST()480 EXPECT_FALSE(d->FindFieldByName("optional_int32")->has_presence()); in TEST()481 EXPECT_TRUE(d->FindFieldByName("oneof_nested_message")->has_presence()); in TEST()
714 bool has_presence() const;2201 inline bool FieldDescriptor::has_presence() const { in has_presence() function
98 (!descriptor->is_repeated() && !descriptor->has_presence()); in SetCommonFieldVariables()258 return descriptor_->has_presence() && !descriptor_->real_containing_oneof(); in WantsHasProperty()
252 return field->has_presence();255 // return field->has_presence && !field->real_containing_oneof()313 1. Add a `FieldDescriptor::has_presence()` method returning `bool`323 `has_presence()` function instead.326 Message fields will always return `true` for `has_presence()`, so this method
27 return field->has_presence() && !field->real_containing_oneof() && in HasHasbit()
632 field->has_presence() ? "null" : DefaultForField(field); in GenerateField()668 } else if (field->has_presence()) { in GenerateFieldAccessor()
1430 if (!field_descriptor->has_presence()) { in CheckHasPresence()
1423 return field->has_presence(); in HasFieldPresence()