Lines Matching refs:proto2
4 proto3. Proto3 optional fields track presence like in proto2. For background
37 Presence in proto3 uses exactly the same syntax and semantics as in proto2.
38 Proto3 Fields marked `optional` will track presence like proto2, while fields
41 proto2.
44 3.11.4) it is not possible to use the same representation as proto2. Proto3
99 supports proto2, a proto3 `optional` field should use exactly the same API
100 and internal implementation as proto2 `optional`.
213 If your code generator does not currently support proto2, you will need to
223 If your code generator already supports proto2, then most of your work is
225 exactly the same API and behave in exactly the same way as proto2 optional
317 fields in a oneof, proto2 scalar fields, and proto3 `optional` fields.
319 thinking about the difference between proto2 and proto3.
322 users implement any proto2/proto3-specific logic. Users should use the