Searched refs:mutable_field (Results 1 – 9 of 9) sorted by relevance
55 for (int i = new_message->mutable_field()->size() - 1; i >= 0; i--) { in StripMessage()58 new_message->mutable_field()->DeleteSubrange(i, 1); in StripMessage()178 for (int i = 0; i < message_type->mutable_field()->size(); i++) { in ScrubMessage()179 message_type->mutable_field(i)->clear_default_value(); in ScrubMessage()180 if (ShouldClearLabel(message_type->mutable_field(i))) { in ScrubMessage()181 message_type->mutable_field(i)->clear_label(); in ScrubMessage()
2676 RepeatedField<T>* const mutable_field)2677 : field_(mutable_field) {}2697 RepeatedPtrFieldBackInsertIterator(RepeatedPtrField<T>* const mutable_field)2698 : field_(mutable_field) {}2729 RepeatedPtrField<T>* const mutable_field)2730 : field_(mutable_field) {}2753 RepeatedPtrField<T>* const mutable_field)2754 : field_(mutable_field) {}2781 RepeatedField<T>* const mutable_field) {2782 return internal::RepeatedFieldBackInsertIterator<T>(mutable_field);[all …]
135 inline UnknownField* mutable_field(int index);328 inline UnknownField* UnknownFieldSet::mutable_field(int index) { in mutable_field() function
1085 oneof_message->mutable_field(1)->set_oneof_index(0); in SetUp()1088 oneof_message->mutable_field(2)->set_oneof_index(0); in SetUp()1089 oneof_message->mutable_field(2)->set_type_name("TestOneof"); in SetUp()1093 oneof_message->mutable_field(3)->set_oneof_index(1); in SetUp()5993 file_proto.mutable_message_type(0)->mutable_field(0)->set_type_name( in TEST_F()6001 file_proto.mutable_message_type(0)->mutable_field(0)->set_label( in TEST_F()6020 file_proto.mutable_message_type(0)->mutable_nested_type(0)->mutable_field( in TEST_F()6030 file_proto.mutable_message_type(0)->mutable_nested_type(0)->mutable_field( in TEST_F()6040 file_proto.mutable_message_type(0)->mutable_nested_type(0)->mutable_field( in TEST_F()6050 file_proto.mutable_message_type(0)->mutable_nested_type(0)->mutable_field( in TEST_F()[all …]
1368 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index);1370 mutable_field();7647 inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_field(int index) { in mutable_field() function7652 DescriptorProto::mutable_field() { in mutable_field() function
2130 field(i)->CopyJsonNameTo(proto->mutable_field(i)); in CopyJsonNameTo()
784 unknown1->mutable_field(2)->mutable_group()->AddFixed32(248, 2); in TEST()789 unknown2->mutable_field(2)->mutable_group()->AddFixed32(248, 2); in TEST()3168 unknown1_->mutable_field(3)->mutable_group()->AddFixed32(248, 2); in TEST_F()
2188 proto->mutable_field(i)->mutable_type_name()->assign( in StripFieldTypeName()
785 for (auto& field : *message->mutable_field()) { in ParseMessageDefinition()