Skip to content

chore: googleapis updates #1290

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

Merged
merged 6 commits into from
Jun 29, 2022
Merged

chore: googleapis updates #1290

merged 6 commits into from
Jun 29, 2022

Conversation

gcf-owl-bot[bot]
Copy link
Contributor

@gcf-owl-bot gcf-owl-bot bot commented Jun 29, 2022

BEGIN_COMMIT_OVERRIDE
feat(generated): Cloud Bigtable Undelete Table service and message proto files
feat(generated): Add storage_utilization_gib_per_node to Autoscaling target
END_COMMIT_OVERRIDE

  • Regenerate this pull request now.

PiperOrigin-RevId: 458022604

Source-Link: googleapis/googleapis@e5507fc

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2c26a744087ad06367adb44649c93b772f97cc24
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmMyNmE3NDQwODdhZDA2MzY3YWRiNDQ2NDljOTNiNzcyZjk3Y2MyNCJ9

PiperOrigin-RevId: 458022604

Source-Link: googleapis/googleapis@e5507fc

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2c26a744087ad06367adb44649c93b772f97cc24
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmMyNmE3NDQwODdhZDA2MzY3YWRiNDQ2NDljOTNiNzcyZjk3Y2MyNCJ9
@gcf-owl-bot gcf-owl-bot bot requested review from a team as code owners June 29, 2022 20:00
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jun 29, 2022
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: bigtable Issues related to the googleapis/java-bigtable API. labels Jun 29, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 29, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 29, 2022
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jun 29, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 29, 2022
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 29, 2022
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jun 29, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 29, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 29, 2022
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jun 29, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 29, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 29, 2022
@kolea2 kolea2 changed the title fix: Revert Enable REST transport for Cloud Bigtable chore: googleapis updates Jun 29, 2022
Comment on lines 161 to 176
int nonStaticFields = 0;
List<String> nonStaticFields = new ArrayList<>();
for (Field field : BigtableTableAdminStubSettings.class.getDeclaredFields()) {
if (!Modifier.isStatic(field.getModifiers())) {
nonStaticFields++;
nonStaticFields.add(field.getName());
}
}
// failure will signal about adding a new settings property
assertThat(SETTINGS_LIST.length).isEqualTo(nonStaticFields);
List<String> sortedSettingsList = Arrays.stream(SETTINGS_LIST).sorted().collect(Collectors.toList());
List<String> sortedNonStaticFields = nonStaticFields.stream().sorted().collect(Collectors.toList());
assertThat(sortedSettingsList).isEqualTo(sortedNonStaticFields);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this would be cleaner

List<String> declaredFieldNames = Arrays.stream(BigtableTableAdminStubSettings.class.getDeclaredFields())
        .filter(f -> Modifier.isStatic(f.getModifiers()))
        .map(Field::toString)
        .collect(Collectors.toList());

    assertThat(declaredFieldNames).containsExactlyElementsIn(SETTINGS_LIST);

@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jun 29, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 29, 2022
@kolea2 kolea2 added the automerge Merge the pull request once unit tests and other checks pass. label Jun 29, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 29, 2022
@gcf-merge-on-green gcf-merge-on-green bot merged commit a4c6621 into main Jun 29, 2022
@gcf-merge-on-green gcf-merge-on-green bot deleted the owl-bot-copy branch June 29, 2022 20:56
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 29, 2022
mpeddada1 pushed a commit that referenced this pull request Jul 18, 2022
BEGIN_COMMIT_OVERRIDE
feat(generated): Cloud Bigtable Undelete Table service and message proto files
feat(generated): Add storage_utilization_gib_per_node to Autoscaling target
END_COMMIT_OVERRIDE

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 458022604

Source-Link: googleapis/googleapis@e5507fc

Source-Link: googleapis/googleapis-gen@2c26a74
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmMyNmE3NDQwODdhZDA2MzY3YWRiNDQ2NDljOTNiNzcyZjk3Y2MyNCJ9
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. owl-bot-copy size: xl Pull request size is extra large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants