Lines Matching defs:option
1868 // Qux should still have the uninterpreted option attached.
1870 const UninterpretedOption& option =
1872 ASSERT_EQ(1, option.name_size());
1873 EXPECT_EQ("grault", option.name(0).name_part());
1900 // Test that we can use a custom option without having parsed
1971 EXPECT_EQ(42, // Check that we get the default for an option we don't set.
2083 // Test that to use a custom option, we only need to import the file
2084 // defining the option; we do not also have to import descriptor.proto.
2107 // Test a non-extension option too. (At one point this failed due to a
2140 // bug occurred when you defined a custom option with message type and then
2141 // set three fields of that option on a single definition (see the example
2159 // option (complex_opt1).foo = 1234;
2160 // option (complex_opt1).foo2 = 1234;
2161 // option (complex_opt1).foo3 = 1234;
3081 "enum-valued option \"google.protobuf.FieldOptions.ctype\".\n");
3099 "foo.proto: TestMessage.foo: OPTION_NAME: Option \"ctype\" is an "
3119 "foo.proto: TestMessage.foo: OPTION_NAME: Option \"ctype\" was "
3138 "foo.proto: TestMessage.foo: OPTION_NAME: Option must not use "
3154 "foo.proto: foo.proto: OPTION_NAME: Option field \"(foo)\" is repeated. "
3187 "for int32 option \"foo\".\n");
3204 "for int32 option \"foo\".\n");
3220 "for int32 option \"foo\".\n");
3237 "for int64 option \"foo\".\n");
3253 "for int64 option \"foo\".\n");
3269 "for uint32 option \"foo\".\n");
3285 "for uint32 option \"foo\".\n");
3301 "for uint64 option \"foo\".\n");
3317 "for float option \"foo\".\n");
3333 "for double option \"foo\".\n");
3349 "for boolean option \"foo\".\n");
3368 "enum-valued option \"foo\".\n");
3387 "named \"QUUX\" for option \"foo\".\n");
3408 "named \"QUUX\" for option \"foo\". This appears to be a value from a "
3425 "string option \"foo\".\n");
3445 "foo.proto: foo.proto: OPTION_NAME: Option field \"(bar)\" cannot be of "
3459 "LITE_RUNTIME cannot import files which do use this option. This file "