Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ignore added interface methods for generated code (#101)
Adds generic ignore rules for added methods to interfaces in the generated code. Fixes #99
- Loading branch information
Showing
3 changed files
with
16 additions
and
39 deletions.
There are no files selected for viewing
30 changes: 3 additions & 27 deletions
30
proto-google-cloud-spanner-admin-database-v1/clirr-ignored-differences.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html --> | ||
<differences> | ||
<!-- Ignore all new methods in interfaces in the generated code. --> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className> | ||
<method>* getCreateTime()</method> | ||
</difference> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className> | ||
<method>* getCreateTimeOrBuilder()</method> | ||
</difference> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className> | ||
<method>* getRestoreInfo()</method> | ||
</difference> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className> | ||
<method>* getRestoreInfoOrBuilder()</method> | ||
</difference> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className> | ||
<method>* hasCreateTime()</method> | ||
</difference> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/admin/database/v1/DatabaseOrBuilder</className> | ||
<method>* hasRestoreInfo()</method> | ||
<className>com/google/spanner/admin/database/v1/*</className> | ||
<method>*</method> | ||
</difference> | ||
</differences> |
10 changes: 10 additions & 0 deletions
10
proto-google-cloud-spanner-admin-instance-v1/clirr-ignored-differences.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html --> | ||
<differences> | ||
<!-- Ignore all new methods in interfaces in the generated code. --> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/admin/instance/v1/*</className> | ||
<method>*</method> | ||
</difference> | ||
</differences> |
15 changes: 3 additions & 12 deletions
15
proto-google-cloud-spanner-v1/clirr-ignored-differences.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html --> | ||
<differences> | ||
<!-- Ignore all new methods in interfaces in the generated code. --> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/v1/ExecuteSqlRequestOrBuilder</className> | ||
<method>* getQueryOptions()</method> | ||
</difference> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/v1/ExecuteSqlRequestOrBuilder</className> | ||
<method>* getQueryOptionsOrBuilder()</method> | ||
</difference> | ||
<difference> | ||
<differenceType>7012</differenceType> | ||
<className>com/google/spanner/v1/ExecuteSqlRequestOrBuilder</className> | ||
<method>* hasQueryOptions()</method> | ||
<className>com/google/spanner/v1/*</className> | ||
<method>*</method> | ||
</difference> | ||
</differences> |