Searched refs:proto3 (Results 1 – 25 of 160) sorted by relevance
1234567
52 using proto3::BAR;53 using proto3::FOO;54 using proto3::TestAny;55 using proto3::TestEnumValue;56 using proto3::TestMap;57 using proto3::TestMessage;58 using proto3::TestOneof;200 orig.set_enum_value(proto3::BAR); in TEST_F()201 orig.add_repeated_enum_value(proto3::FOO); in TEST_F()202 orig.add_repeated_enum_value(proto3::BAR); in TEST_F()[all …]
4 proto3. Proto3 optional fields track presence like in proto2. For background11 generators. All code generators will need to be updated to support proto329 Presence tracking was added to proto3 in response to user feedback, both from31 users](https://github.com/protocolbuffers/protobuf/issues/1606). The [proto334 were previously the only supported presence mechanism for proto3. Users have37 Presence in proto3 uses exactly the same syntax and semantics as in proto2.45 descriptors already use `LABEL_OPTIONAL` for proto3 singular fields, which do46 not track presence. There is a lot of existing code that reflects over proto347 protos and assumes that `LABEL_OPTIONAL` in proto3 means "no presence." Changing48 the semantics now would be risky, since old software would likely drop proto3[all …]
3 … enable experimental support for explicit presence tracking for singular proto3 fields with basic …9 …as mostly followed _explicit presence_, while proto3 exposes only _no presence_ semantics. Singula…85 ### Presence in proto3 APIs87 This table outlines whether presence is tracked for fields in proto3 APIs (both for generated APIs …103 …proto3 does not track presence explicitly for repeated fields. Without the `optional` label, proto…107 …elds under _no presence_ is the corresponding 0-valued enumerator. Under proto3 syntax rules, all …148 syntax = "proto3";157 syntax = "proto3";199 ## How to enable _explicit presence_ in proto3201 These are the general steps to use the experimental field tracking support for proto3:[all …]
37 private final boolean proto3; field in UnknownFieldSetSchema39 public UnknownFieldSetSchema(boolean proto3) { in UnknownFieldSetSchema() argument40 this.proto3 = proto3; in UnknownFieldSetSchema()
15 syntax = "proto3";23 // Having a distinct default/unknown enum with a zero value is a proto3 thing.44 // Having a distinct default/unknown enum with a zero value is a proto3 thing.64 // Having a distinct default/unknown enum with a zero value is a proto3 thing.
30 syntax = "proto3";57 // No 'group' in proto3.76 // No 'group' in proto3.96 // No 'group' in proto3.146 // No 'group' in proto3.
33 // uses proto3 messages. This makes it suitable for testing34 // implementations which only support proto3.36 // required fields in proto3.37 syntax = "proto3";
31 // Benchmark messages for proto3.33 syntax = "proto3";35 package benchmarks.proto3;
30 * Fixed a bug where setting optional proto3 enums with setFooValue() would77 * [experimental] Singular, non-message typed fields in proto3 now support82 proto3 presence, see docs/implementing_proto3_presence.md for instructions.88 * [experimental] Added proto3 presence support.89 * New descriptor APIs to support proto3 presence.116 * [experimental] Added proto3 presence support.133 * [experimental] Added proto3 presence support.155 * [experimental] Implemented proto3 presence for Ruby. (#7406)164 * [experimental] Add support for proto3 presence fields in C# (#7382)183 * Howto doc for implementing proto3 presence in a code generator. (#7407)[all …]
1 …clude proto2 support. This does not break existing proto3 support and users may continue to use pr…8 … with the syntax declaration `syntax = "proto2";`. However, please note, proto3 is still the recom…14 Messages in proto2 files are very similar to their proto3 counterparts. They expose the usual prope…163 … * Returns whether a field's value is set. For proto3 fields, throws an InvalidOperationException.
31 // Test schema for proto3 messages. This test schema is used by:38 syntax = "proto3";40 package protobuf_test_messages.proto3;42 option java_package = "com.google.protobuf_test_messages.proto3";
31 syntax = "proto3";74 // Groups are not allowed in proto3.117 // Groups are not allowed in proto3.
31 syntax = "proto3";75 // Groups are not allowed in proto3.118 // Groups are not allowed in proto3.
31 syntax = "proto3";69 // https://developers.google.com/protocol-buffers/docs/proto3#json_options93 // protobuf_test_messages.proto3.TestAllTypes proto (as defined in111 // protobuf_test_messages.proto3.TestAllTypesProto3 or
31 // Proto to test proto3 oneofs.32 syntax = "proto3";
1 syntax = "proto3";