Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Commit f18e067

Browse files
author
Grant Griffiths
committed
Use reserved extension numbers from protobuf
protocolbuffers/protobuf#8553 Signed-off-by: Grant Griffiths <[email protected]>
1 parent e703fa9 commit f18e067

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

Diff for: cosi.pb.go

+28-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: cosi.proto

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,46 +10,46 @@ extend google.protobuf.EnumOptions {
1010
// Indicates that this enum is OPTIONAL and part of an experimental
1111
// API that may be deprecated and eventually removed between minor
1212
// releases.
13-
bool alpha_enum = 1060;
13+
bool alpha_enum = 1116;
1414
}
1515

1616
extend google.protobuf.EnumValueOptions {
1717
// Indicates that this enum value is OPTIONAL and part of an
1818
// experimental API that may be deprecated and eventually removed
1919
// between minor releases.
20-
bool alpha_enum_value = 1060;
20+
bool alpha_enum_value = 1116;
2121
}
2222

2323
extend google.protobuf.FieldOptions {
2424
// Indicates that a field MAY contain information that is sensitive
2525
// and MUST be treated as such (e.g. not logged).
26-
bool cosi_secret = 1059;
26+
bool cosi_secret = 1115;
2727

2828
// Indicates that this field is OPTIONAL and part of an experimental
2929
// API that may be deprecated and eventually removed between minor
3030
// releases.
31-
bool alpha_field = 1060;
31+
bool alpha_field = 1116;
3232
}
3333

3434
extend google.protobuf.MessageOptions {
3535
// Indicates that this message is OPTIONAL and part of an experimental
3636
// API that may be deprecated and eventually removed between minor
3737
// releases.
38-
bool alpha_message = 1060;
38+
bool alpha_message = 1116;
3939
}
4040

4141
extend google.protobuf.MethodOptions {
4242
// Indicates that this method is OPTIONAL and part of an experimental
4343
// API that may be deprecated and eventually removed between minor
4444
// releases.
45-
bool alpha_method = 1060;
45+
bool alpha_method = 1116;
4646
}
4747

4848
extend google.protobuf.ServiceOptions {
4949
// Indicates that this service is OPTIONAL and part of an experimental
5050
// API that may be deprecated and eventually removed between minor
5151
// releases.
52-
bool alpha_service = 1060;
52+
bool alpha_service = 1116;
5353
}
5454

5555
service Identity {

Diff for: spec.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -137,46 +137,46 @@ extend google.protobuf.EnumOptions {
137137
// Indicates that this enum is OPTIONAL and part of an experimental
138138
// API that may be deprecated and eventually removed between minor
139139
// releases.
140-
bool alpha_enum = 1060;
140+
bool alpha_enum = 1116;
141141
}
142142
143143
extend google.protobuf.EnumValueOptions {
144144
// Indicates that this enum value is OPTIONAL and part of an
145145
// experimental API that may be deprecated and eventually removed
146146
// between minor releases.
147-
bool alpha_enum_value = 1060;
147+
bool alpha_enum_value = 1116;
148148
}
149149
150150
extend google.protobuf.FieldOptions {
151151
// Indicates that a field MAY contain information that is sensitive
152152
// and MUST be treated as such (e.g. not logged).
153-
bool cosi_secret = 1059;
153+
bool cosi_secret = 1115;
154154
155155
// Indicates that this field is OPTIONAL and part of an experimental
156156
// API that may be deprecated and eventually removed between minor
157157
// releases.
158-
bool alpha_field = 1060;
158+
bool alpha_field = 1116;
159159
}
160160
161161
extend google.protobuf.MessageOptions {
162162
// Indicates that this message is OPTIONAL and part of an experimental
163163
// API that may be deprecated and eventually removed between minor
164164
// releases.
165-
bool alpha_message = 1060;
165+
bool alpha_message = 1116;
166166
}
167167
168168
extend google.protobuf.MethodOptions {
169169
// Indicates that this method is OPTIONAL and part of an experimental
170170
// API that may be deprecated and eventually removed between minor
171171
// releases.
172-
bool alpha_method = 1060;
172+
bool alpha_method = 1116;
173173
}
174174
175175
extend google.protobuf.ServiceOptions {
176176
// Indicates that this service is OPTIONAL and part of an experimental
177177
// API that may be deprecated and eventually removed between minor
178178
// releases.
179-
bool alpha_service = 1060;
179+
bool alpha_service = 1116;
180180
}
181181
182182
service Identity {

0 commit comments

Comments
 (0)