Home
last modified time | relevance | path

Searched refs:has_optional_keyword (Results 1 – 11 of 11) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.h367 (descriptor->message_type() || descriptor->has_optional_keyword() || in SupportFieldPresence()
381 (descriptor->has_optional_keyword() || IsProto2(descriptor->file())); in HasHasbit()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.h178 return IsProto2(descriptor->file()) || descriptor->has_optional_keyword(); in SupportsPresenceApi()
/third_party/protobuf/src/google/protobuf/
Dproto3_arena_unittest.cc222 EXPECT_FALSE(f->has_optional_keyword()) << f->full_name(); in TEST()
226 EXPECT_TRUE(f->has_optional_keyword()) << f->full_name(); in TEST()
Ddescriptor.h705 bool has_optional_keyword() const;
2189 inline bool FieldDescriptor::has_optional_keyword() const { in has_optional_keyword() function
Ddynamic_message.cc119 return (field->has_optional_keyword() || field->is_required()) && in HasHasbit()
Ddescriptor.cc2707 (is_optional() && !has_optional_keyword())) { in DebugString()
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc80 if (field->has_optional_keyword() && in LabelForField()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h443 return (field->has_optional_keyword() || field->is_required()) && in HasHasbit()
Dcpp_message.cc246 field->has_optional_keyword(); in HasHasMethod()
/third_party/protobuf/docs/
Dimplementing_proto3_presence.md324 3. You may also wish to add a `FieldDescriptor::has_optional_keyword()` method
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc811 if (desc->field(i)->has_optional_keyword()) { in ContainsProto3Optional()