Skip to content

feat: introduce Bigtable Admin V2 clients for Selective GAPIC#2889

Open
jinseopkim0 wants to merge 3 commits intorefactor-consistency-requestfrom
refactor-consistency-request-2
Open

feat: introduce Bigtable Admin V2 clients for Selective GAPIC#2889
jinseopkim0 wants to merge 3 commits intorefactor-consistency-requestfrom
refactor-consistency-request-2

Conversation

@jinseopkim0
Copy link
Copy Markdown
Contributor

This commit adds BigtableTableAdminClientV2 and BigtableInstanceAdminClientV2, which extend the autogenerated base clients. These classes serve as the new, independent entry points for the Selective GAPIC hierarchy.

For BigtableTableAdminClientV2, the manual wrappers for Critical User Journeys (CUJs) like awaitOptimizeRestoredTable and waitForConsistency have been relocated from the legacy client. It utilizes the new context-free ConsistencyRequest factories introduced in the previous refactoring step.

For BigtableInstanceAdminClientV2, the class acts as a standardized entry point, as no manual overrides were required from the legacy client.

b/502616786

@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigtable Issues related to the googleapis/java-bigtable API. labels Apr 15, 2026
@jinseopkim0 jinseopkim0 force-pushed the refactor-consistency-request-2 branch 2 times, most recently from 979d668 to eabb07a Compare April 15, 2026 20:03
This commit adds `BigtableTableAdminClientV2` and `BigtableInstanceAdminClientV2`,
which extend the autogenerated base clients. These classes serve as the new,
independent entry points for the Selective GAPIC hierarchy.

For `BigtableTableAdminClientV2`, the manual wrappers for Critical User
Journeys (CUJs) like `awaitOptimizeRestoredTable` and `waitForConsistency`
have been relocated from the legacy client. It utilizes the new context-free
ConsistencyRequest factories introduced in the previous refactoring step.

For `BigtableInstanceAdminClientV2`, the class acts as a standardized entry
point, as no manual overrides were required from the legacy client.

b/502616786
@jinseopkim0 jinseopkim0 force-pushed the refactor-consistency-request-2 branch from 849de6d to 00db638 Compare April 15, 2026 20:12
@jinseopkim0 jinseopkim0 marked this pull request as ready for review April 16, 2026 00:35
@jinseopkim0 jinseopkim0 requested review from a team as code owners April 16, 2026 00:35
@jinseopkim0 jinseopkim0 requested a review from lqiu96 April 16, 2026 00:36
}

/** Constructs an instance of BigtableTableAdminClientV2 with the given settings. */
public static final BigtableTableAdminClientV2 createClient(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets keep this consistent with the create factory methods on BaseBigtableTableAdminClient

ie s/createClient/create

public static final BigtableTableAdminClientV2 createClient(
BaseBigtableTableAdminSettings settings) throws IOException {
// Explicitly create the enhanced stub
EnhancedBigtableTableAdminStub stub =
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this referencing the EnhancedStub? The V2 stack should be independent of the old manual wrappers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants