Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

chore: googleapis updates - #1290

Merged
gcf-merge-on-green[bot] merged 6 commits into
mainfrom
owl-bot-copy
Jun 29, 2022
Merged

chore: googleapis updates#1290
gcf-merge-on-green[bot] merged 6 commits into
mainfrom
owl-bot-copy

Conversation

@gcf-owl-bot

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

Copy link
Copy Markdown
Contributor

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 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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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