Searched refs:enum_field (Results 1 – 9 of 9) sorted by relevance
751 enum_field = nested_type.field.add()752 enum_field.number = 2753 enum_field.name = 'bar_field'754 enum_field.label = descriptor.FieldDescriptor.LABEL_REQUIRED755 enum_field.type = descriptor.FieldDescriptor.TYPE_ENUM756 enum_field.type_name = 'Foo2.Sub.FOO'785 enum_field = message_type.field.add()786 enum_field.number = 2787 enum_field.name = 'bar_field'788 enum_field.label = descriptor.FieldDescriptor.LABEL_REQUIRED[all …]
46 optional FileScopeEnum enum_field = 1; field54 optional MessageScopeEnum enum_field = 1; field
704 EXPECT_EQ(v1_message.enum_field(), protobuf_unittest::V1_FIRST); in main()713 EXPECT_EQ(v2_message.enum_field(), same_v2_message.enum_field()); in main()
401 optional V1EnumLite enum_field = 2 [ default = V1_FIRST ]; field406 optional V2EnumLite enum_field = 2 [ default = V2_FIRST ]; field
2243 FieldDescriptorProto* enum_field = in TEST_F() local2245 enum_field->set_type_name("DummyEnum"); in TEST_F()2246 enum_field->set_default_value("B"); in TEST_F()
131 repeated TestEnum enum_field = 2; field
143 optional Enum enum_field = 4 [default=E1]; field
54 optional AnEnum enum_field = 12; field
413 optional OneBasedEnum enum_field = 1; field