GeezerVison is showing github.com — The second concept of the DNS batch by mderka · Pull Request #777 · googleapis/google-cloud-java
Conversation
I added a concept based on our discussion this morning. This is to solicit some feedback.
So far, I created the BatchResult interface in a separate package in DNS, but we said that we would make it part of the core. I will make this happen for the actual PR. I also did not implement all the test, just the integration one to demonstrate the functionality:
DnsBatch batch = DNS.batch();
BatchResult<Page<Zone>, DnsException> batchResult = batch.listZones();
batch.submit();
assertTrue(batchResult.submitted());
Iterator<Zone> iteratorBatch = batchResult.get().iterateAll();
Lastly, the BatchResult interface does not have the notify() method as I am not entirely clear on its meaning. I will add it after some clarifications.
Please, let me know if you like this better and we want to move forward with this concept.
/cc @ajkannan @aozarov @mziccard
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage decreased (-0.9%) to 83.615% when pulling a57e043 on mderka:dns-alpha-result into 17442b0 on GoogleCloudPlatform:dns-alpha-batch.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
/**
|
|
|
* This class holds a single result of a batch call to the Cloud DNS.
|
|
|
*/
|
|
|
public class BatchResultImpl<T> implements BatchResult<T, DnsException> {
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
meltsufin
pushed a commit
that referenced
this pull request
Dec 22, 2025
enforce w3c trace context value validation (#777) (0150655)
java: add -ntp flag to native image testing command (#1299) (#780) (3f70b62)
Rename LogDestinationName.getId() to LogDestinationName.getDestinationId() (#797) (62e7838)
Rename staleness.critical config parameter to staleness.extraold (#781) (3083bca)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
api: dns
Issues related to the Cloud DNS API.
cla: yes
This human has signed the Contributor License Agreement.
do not merge
Indicates a pull request not ready for merge, due to either quality or timing.
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.
|