GeezerVison is showing github.com — Add InstanceInfo, related classes and tests by mziccard · Pull Request #955 · googleapis/google-cloud-java
Conversation
This PR adds the InstanceInfo class along with inner classes (Metadata, Tags, ServiceAccount and SchedulingOptions). This also adds unit tests.
/cc @jgeewax
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
*
|
|
|
* @see <a href="https://cloud.google.com/compute/docs/instances/">Virtual Machine Instances</a>
|
|
|
*/
|
|
|
public class InstanceInfo implements Serializable {
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage increased (+0.4%) to 84.067% when pulling d0c3e68 on mziccard:compute-instance into 312cff9 on GoogleCloudPlatform:compute-alpha.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
}
|
|
|
builder.values(metadataValues);
|
|
|
}
|
|
|
return builder.fingerprint(metadataPb.getFingerprint()).build();
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Do all the sub-classes (ie, ServiceAccount) need to be nested in InstanceInfo? This LGTM but the one class is definitely really long :P
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage increased (+0.4%) to 84.067% when pulling f7b7430 on mziccard:compute-instance into 312cff9 on GoogleCloudPlatform:compute-alpha.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
mziccard
added a commit
to mziccard/gcloud-java
that referenced
this pull request
Apr 29, 2016
* Add InstanceInfo, related classes and tests
* Move InstanceInfo inner classes outside
suztomo
pushed a commit
that referenced
this pull request
Feb 1, 2023
… to v2.17.0 (#955)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://togithub.com/google/error-prone)) | `2.16` -> `2.17.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>google/error-prone</summary>
### [`v2.17.0`](https://togithub.com/google/error-prone/releases/tag/v2.17.0): Error Prone 2.17.0
[Compare Source](https://togithub.com/google/error-prone/compare/v2.16...v2.17.0)
New Checkers:
- [`AvoidObjectArrays`](https://errorprone.info/bugpattern/AvoidObjectArrays)
- [`Finalize`](https://errorprone.info/bugpattern/Finalize)
- [`IgnoredPureGetter`](https://errorprone.info/bugpattern/IgnoredPureGetter)
- [`ImpossibleNullComparison`](https://errorprone.info/bugpattern/ProtoFieldNullComparison)
- [`MathAbsoluteNegative`](https://errorprone.info/bugpattern/MathAbsoluteNegative)
- [`NewFileSystem`](https://errorprone.info/bugpattern/NewFileSystem)
- [`StatementSwitchToExpressionSwitch`](https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch)
- [`UnqualifiedYield`](https://errorprone.info/bugpattern/UnqualifiedYield)
Fixed issues: [#​2321](https://togithub.com/google/error-prone/issues/2321), [#​3144](https://togithub.com/google/error-prone/issues/3144), [#​3297](https://togithub.com/google/error-prone/issues/3297), [#​3428](https://togithub.com/google/error-prone/issues/3428), [#​3437](https://togithub.com/google/error-prone/issues/3437), [#​3462](https://togithub.com/google/error-prone/issues/3462), [#​3482](https://togithub.com/google/error-prone/issues/3482), [#​3494](https://togithub.com/google/error-prone/issues/3494)
**Full Changelog**: https://togithub.com/google/error-prone/compare/v2.16...v2.17.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-shared-dependencies).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yNC4wIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
api: compute
Issues related to the Compute Engine API.
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|