You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Corrects the capitalization of StudentId in the `1-1-1.md` topic
* Adds `features.(pb.java).large_enum` to the `features.md` topic
* Removes internal-only content from the Prototiller description in `overview.md`
* Updated the wording of the December 4, 2024 news article to make it clear that it applies only to C++
* Adds a news article from January 23, 2025, about some new poison Java code
* Fixes a link in the `overview.md` topic
* Makes significant updates to the style guide
* Corrects a code samples in the `message_differencer.h` API docs
* Updates a code samples in `deserialize-debug.md` based on changes in protobuf
* Adds intro material to the Python generate code topic to make it more clear that there are different types of repeated fields, each with its own section
PiperOrigin-RevId: 720926803
Change-Id: I5049546f225a4add4bdbb47092f83f8c187411ab
When defining `.proto` files, you can specify that a field is either `optional`
234
234
or `repeated` (proto2 and proto3) or leave it set to the default, implicit
235
235
presence, in proto3. (The option to set a field to `required` is absent in
236
-
proto3 and strongly discouraged in proto2. For more on this, see "Required is
237
-
Forever" in
238
-
[Specifying Field Rules](/programming-guides/proto3#specifying-field-rules).)
236
+
proto3 and strongly discouraged in proto2. For more on this, see [Required Fields Considered Harmful](/programming-guides/required-considered-harmful.md).)
239
237
240
238
After setting the optionality/repeatability of a field, you specify the data
241
239
type. Protocol buffers support the usual primitive data types, such as integers,
0 commit comments