Searched refs:enum_field (Results 1 – 10 of 10) sorted by relevance
750 enum_field = nested_type.field.add()751 enum_field.number = 2752 enum_field.name = 'bar_field'753 enum_field.label = descriptor.FieldDescriptor.LABEL_REQUIRED754 enum_field.type = descriptor.FieldDescriptor.TYPE_ENUM755 enum_field.type_name = 'Foo2.Sub.FOO'784 enum_field = message_type.field.add()785 enum_field.number = 2786 enum_field.name = 'bar_field'787 enum_field.label = descriptor.FieldDescriptor.LABEL_REQUIRED[all …]
23 {%- for enum_field in enum.fields|groupby('numeric_value') %}24 case {{enum_field[0]}}:
24 {%- for enum_field in enum.fields|groupby('numeric_value') %}25 case {{enum_field[0]}}:
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
2244 FieldDescriptorProto* enum_field = in TEST_F() local2246 enum_field->set_type_name("DummyEnum"); in TEST_F()2247 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
412 optional OneBasedEnum enum_field = 1; field