Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bigquery: allow users to construct TableDefinition #2814

Merged
merged 1 commit into from
Jan 31, 2018
Merged

bigquery: allow users to construct TableDefinition #2814

merged 1 commit into from
Jan 31, 2018

Conversation

pongad
Copy link
Contributor

@pongad pongad commented Jan 29, 2018

Fixes #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.

Fixes #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.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 29, 2018
@pongad pongad merged commit 7ea0351 into googleapis:master Jan 31, 2018
@pongad pongad deleted the bq-auto branch January 31, 2018 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants