File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
content/programming-guides Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ the protocol buffer type definitions.
4646
4747## Message and Field Names {#message-field-names}
4848
49- Use CamelCase (with an initial capital) for message names – for example,
50- ` SongServerRequest ` . Use underscore_separated_names for field names (including
49+ Use PascalCase (with an initial capital) for message names – for example,
50+ ` SongServerRequest ` . Use lower_snake_case for field names (including
5151oneof field and extension names) – for example, ` song_name ` .
5252
5353``` proto
@@ -89,7 +89,7 @@ repeated string keys = 1;
8989
9090## Enums {#enums}
9191
92- Use CamelCase (with an initial capital) for enum type names and
92+ Use PascalCase (with an initial capital) for enum type names and
9393CAPITALS_WITH_UNDERSCORES for value names:
9494
9595``` proto
@@ -109,7 +109,7 @@ first enum value.
109109
110110## Services {#services}
111111
112- If your ` .proto ` defines an RPC service, you should use CamelCase (with an
112+ If your ` .proto ` defines an RPC service, you should use PascalCase (with an
113113initial capital) for both the service name and any RPC method names:
114114
115115``` proto
You can’t perform that action at this time.
0 commit comments