Skip to content

Commit

Permalink
bigquery: allow users to construct TableDefinition (googleapis#2814)
Browse files Browse the repository at this point in the history
Fixes googleapis#2769 by making Builder methods public. This is OK since
TableDefinition and subclasses are all value classes anyway.

Also convert the classes to AutoValue.
We previously thought this was not possible, due to subclassing Builders.
Turns out it is, we just need to redeclare methods in subclasses.
  • Loading branch information
pongad committed Jan 31, 2018
1 parent cf4f4c1 commit 7ea0351
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 512 deletions.
Loading

0 comments on commit 7ea0351

Please sign in to comment.