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
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