GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat: adding utility to transform protobuf into model object by rahulKQL · Pull Request #299 · googleapis/java-bigtable
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Conversation
Contributor
Fixes #297 With this commit, the User shall be able to transform protobuf object to bigtable client's specific model objects. Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsWith this commit, User shall be able to transform protobuf object to bigtable client's specific model objects.
|
There was an error while loading. Please reload this page.
Codecov Report
@@ Coverage Diff @@ ## master #299 +/- ## ============================================ + Coverage 79.51% 79.98% +0.47% - Complexity 991 998 +7 ============================================ Files 99 99 Lines 6444 6466 +22 Branches 318 340 +22 ============================================ + Hits 5124 5172 +48 + Misses 1119 1115 -4 + Partials 201 179 -22
Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
- updated the JavaDoc - marked the utility as `@BetaApi`
| * BigtableDataClient. The mutation must always be idempotent because it would be retried. | ||
| */ | ||
| @BetaApi | ||
| public static ConditionalRowMutation fromProtobuf(@Nonnull CheckAndMutateRowRequest request) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here and everywhere else, please stay consistent with existing fromProto methods
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
- Rephrased Javadoc to include more explanation - change `Mutation#fromProto` visibility to package only
There was an error while loading. Please reload this page.
As Mutation#fromProto is being used by RowMutation#fromProto, So removed `@VisibleForTesting` annotation
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but please extend the tests to make sure that project & instance get overwritten by the request context
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Create fromProtobuf utility method in existing models
There was an error while loading. Please reload this page.