Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

chore: Update disco-to-proto3-converter with 2^29 as maximum field number #31

Merged
merged 1 commit into from May 3, 2021

Conversation

vam-google
Copy link
Contributor

This is a rollback of googleapis/disco-to-proto3-converter#16, which became possible after protobuf fixed the original issue protocolbuffers/protobuf#8114

…mber.

This is a rollback of googleapis/disco-to-proto3-converter#16, which became possible after protobuf fixed the original issue protocolbuffers/protobuf#8114
@vam-google vam-google requested a review from a team as a code owner May 3, 2021 08:14
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label May 3, 2021
@vam-google vam-google merged commit f9ff15d into googleapis:master May 3, 2021
vam-google added a commit to vam-google/java-compute that referenced this pull request May 10, 2021
…elist

This is totally expected, since it is an alpha client and both of those errors (`6003` - public constant value change, and `7012` - addition of a method to an interface) are expected given the underlying change. Specifially the `optional` keyword was added to `compute.proto`, which caused addition of `has<FieldName>()` methods to proto stubs and respective builders (error 7012). The field numbers change (error `6003`) was caused by the rollback of the previous hack (googleapis/googleapis-discovery#31) which, in its turn, was caused by a bug in protobuf.
vam-google added a commit to googleapis/java-compute that referenced this pull request May 10, 2021
…port (#401)

Also add 7012 and 6003 backward compatibility check errors to ignorelist

This is totally expected, since it is an alpha client and both of those errors (`6003` - public constant value change, and `7012` - addition of a method to an interface) are expected given the underlying change. Specifially the `optional` keyword was added to `compute.proto`, which caused addition of `has<FieldName>()` methods to proto stubs and respective builders (error 7012). The field numbers change (error `6003`) was caused by the rollback of the previous hack (googleapis/googleapis-discovery#31) which, in its turn, was caused by a bug in protobuf.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants