Searched refs:is_required (Results 1 – 10 of 10) sorted by relevance
147 if (descriptor->field(i)->is_required()) { in IsInitialized()233 if (descriptor->field(i)->is_required()) { in FindInitializationErrors()
446 bool is_required() const; // shorthand for label() == LABEL_REQUIRED1577 inline bool FieldDescriptor::is_required() const { in is_required() function
600 EXPECT_TRUE (foo_->is_required()); in TEST_F()604 EXPECT_FALSE(bar_->is_required()); in TEST_F()608 EXPECT_FALSE(baz_->is_required()); in TEST_F()
119 if (field->is_required()) { in HasRequiredFields()415 if (field->is_required()) { in GenerateIsInitialized()
179 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()199 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
389 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()416 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
28 is_required=False, display_name=None): argument39 SimpleField('IsRequired', str(self.is_required).lower()),
706 if (field->is_required()) { in HasRequiredFields()
1229 if (field->is_required()) { in GenerateIsInitialized()
130 if (field->is_required()) { in HasRequiredFields()2582 if (field->is_required()) { in GenerateIsInitialized()