-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add AsyncPage implementation and docs. Add related tests #974
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
googlebot
added
the
cla: yes
This human has signed the Contributor License Agreement.
label
May 2, 2016
mziccard
force-pushed
the
pubsub-async-page
branch
from
May 3, 2016 19:36
3bc602b
to
35272b9
Compare
* for (T value : page.values()) { | ||
* // do something with value | ||
* } | ||
* page = page.nextPage().get(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
mziccard
added a commit
to mziccard/gcloud-java
that referenced
this pull request
Jun 27, 2016
github-actions bot
pushed a commit
that referenced
this pull request
Jul 14, 2022
* Added Featurestore Samples * feat(samples): add remaining featurestore api samples (#945) * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat(samples): update all featurestore samples * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Alice <65933803+alicejli@users.noreply.github.com>
github-actions bot
pushed a commit
that referenced
this pull request
Jul 14, 2022
🤖 I have created a release *beep* *boop* --- ## [3.1.0](googleapis/java-aiplatform@v3.0.0...v3.1.0) (2022-07-13) ### Features * **samples:** add remaining featurestore api samples ([#974](googleapis/java-aiplatform#974)) ([99ea51d](googleapis/java-aiplatform@99ea51d)) * **samples:** added all entity type samples ([#976](googleapis/java-aiplatform#976)) ([f496d8a](googleapis/java-aiplatform@f496d8a)) ### Bug Fixes * enable longpaths support for windows test ([#1485](https://github.com/googleapis/java-aiplatform/issues/1485)) ([#991](googleapis/java-aiplatform#991)) ([c41d394](googleapis/java-aiplatform@c41d394)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
that referenced
this pull request
Aug 9, 2022
🤖 I have created a release *beep* *boop* --- ## [4.7.5](googleapis/java-dialogflow@v4.7.4...v4.7.5) (2022-08-03) ### Dependencies * update dependency com.google.cloud:google-cloud-core to v2.8.5 ([#972](googleapis/java-dialogflow#972)) ([640883a](googleapis/java-dialogflow@640883a)) * update dependency com.google.cloud:google-cloud-core to v2.8.7 ([#975](googleapis/java-dialogflow#975)) ([c035726](googleapis/java-dialogflow@c035726)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v3 ([#969](googleapis/java-dialogflow#969)) ([45de673](googleapis/java-dialogflow@45de673)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
that referenced
this pull request
Aug 25, 2022
…0.13 (#974) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://togithub.com/googleapis/java-pubsub) | `1.120.12` -> `1.120.13` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.120.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.120.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.120.13/compatibility-slim/1.120.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.120.13/confidence-slim/1.120.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-pubsub</summary> ### [`v1.120.13`](https://togithub.com/googleapis/java-pubsub/blob/HEAD/CHANGELOG.md#​112013-httpsgithubcomgoogleapisjava-pubsubcomparev112012v112013-2022-08-24) [Compare Source](https://togithub.com/googleapis/java-pubsub/compare/v1.120.12...v1.120.13) ##### Dependencies - update dependency com.google.cloud:google-cloud-bigquery to v2.14.7 ([#​1254](https://togithub.com/googleapis/java-pubsub/issues/1254)) ([775c993](https://togithub.com/googleapis/java-pubsub/commit/775c99353d96bcbc0704626999a7af79cf0e557f)) </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, click this checkbox. --- 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-dlp). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNzQuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE3NC4wIn0=-->
This was referenced Aug 25, 2022
Closed
github-actions bot
pushed a commit
that referenced
this pull request
Sep 15, 2022
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.springframework.boot:spring-boot-maven-plugin](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.7.2` -> `2.7.3` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-maven-plugin/2.7.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-maven-plugin/2.7.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-maven-plugin/2.7.3/compatibility-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-maven-plugin/2.7.3/confidence-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | | [org.springframework.boot:spring-boot-starter-thymeleaf](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.7.2` -> `2.7.3` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-thymeleaf/2.7.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-thymeleaf/2.7.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-thymeleaf/2.7.3/compatibility-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-thymeleaf/2.7.3/confidence-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | | [org.springframework.boot:spring-boot-starter-web](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.7.2` -> `2.7.3` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.3/compatibility-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.3/confidence-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### 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**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- 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-vision). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE2My4wIn0=-->
github-actions bot
pushed a commit
that referenced
this pull request
Sep 15, 2022
🤖 I have created a release *beep* *boop* --- ## [2.2.5](googleapis/java-video-intelligence@v2.2.4...v2.2.5) (2022-09-10) ### Dependencies * Update dependency com.google.cloud:google-cloud-core to v2.8.11 ([#973](googleapis/java-video-intelligence#973)) ([7a9b3a2](googleapis/java-video-intelligence@7a9b3a2)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#972](googleapis/java-video-intelligence#972)) ([5d8211c](googleapis/java-video-intelligence@5d8211c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
that referenced
this pull request
Sep 19, 2022
🤖 I have created a release *beep* *boop* --- ## [3.7.0](googleapis/java-dlp@v3.6.7...v3.7.0) (2022-09-15) ### Features * Add Deidentify action ([#977](googleapis/java-dlp#977)) ([4f43cd5](googleapis/java-dlp@4f43cd5)) ### Bug Fixes * Update DeIdentificationTest ([#976](googleapis/java-dlp#976)) ([661f316](googleapis/java-dlp@661f316)) ### Dependencies * Update dependency com.google.cloud:google-cloud-pubsub to v1.120.11 ([#960](googleapis/java-dlp#960)) ([c66384d](googleapis/java-dlp@c66384d)) * Update dependency com.google.cloud:google-cloud-pubsub to v1.120.12 ([#969](googleapis/java-dlp#969)) ([586795f](googleapis/java-dlp@586795f)) * Update dependency com.google.cloud:google-cloud-pubsub to v1.120.13 ([#974](googleapis/java-dlp#974)) ([b37407b](googleapis/java-dlp@b37407b)) * Update dependency com.google.cloud:google-cloud-pubsub to v1.120.14 ([#982](googleapis/java-dlp#982)) ([8ac525a](googleapis/java-dlp@8ac525a)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#980](googleapis/java-dlp#980)) ([885dc15](googleapis/java-dlp@885dc15)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#984](googleapis/java-dlp#984)) ([8cd0a40](googleapis/java-dlp@8cd0a40)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
that referenced
this pull request
Sep 19, 2022
🤖 I have created a release *beep* *boop* --- ## [3.1.1](googleapis/java-vision@v3.1.0...v3.1.1) (2022-09-16) ### Bug Fixes * Update IT Test Case Results ([#976](googleapis/java-vision#976)) ([eb7372d](googleapis/java-vision@eb7372d)) ### Dependencies * Update dependency com.google.cloud:google-cloud-core to v2.8.10 ([#977](googleapis/java-vision#977)) ([fe3cb82](googleapis/java-vision@fe3cb82)) * Update dependency com.google.cloud:google-cloud-core to v2.8.11 ([#980](googleapis/java-vision#980)) ([915af18](googleapis/java-vision@915af18)) * Update dependency com.google.cloud:google-cloud-core to v2.8.9 ([#973](googleapis/java-vision#973)) ([9b857a6](googleapis/java-vision@9b857a6)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.2 ([#981](googleapis/java-vision#981)) ([8dd78c8](googleapis/java-vision@8dd78c8)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.3 ([#985](googleapis/java-vision#985)) ([7873226](googleapis/java-vision@7873226)) * Update dependency com.google.cloud:google-cloud-storage to v2.11.3 ([#964](googleapis/java-vision#964)) ([726c31e](googleapis/java-vision@726c31e)) * Update spring.version to v2.7.3 ([#974](googleapis/java-vision#974)) ([d3aac93](googleapis/java-vision@d3aac93)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
to renovate-bot/google-cloud-java
that referenced
this pull request
Oct 8, 2022
🤖 I have created a release *beep* *boop* --- ## [2.4.10](https://togithub.com/googleapis/java-containeranalysis/compare/v2.4.9...v2.4.10) (2022-10-07) ### Dependencies * Update dependency io.grafeas:grafeas to v2.4.7 ([googleapis#970](https://togithub.com/googleapis/java-containeranalysis/issues/970)) ([9829f81](https://togithub.com/googleapis/java-containeranalysis/commit/9829f81b7ca083a63cfa8bbb0e91140976071234)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
to renovate-bot/google-cloud-java
that referenced
this pull request
Oct 8, 2022
🤖 I have created a release *beep* *boop* --- ## [2.6.1](https://togithub.com/googleapis/java-speech/compare/v2.6.0...v2.6.1) (2022-10-07) ### Dependencies * Update dependency com.google.cloud:google-cloud-storage to v2.13.0 ([googleapis#971](https://togithub.com/googleapis/java-speech/issues/971)) ([aafa31b](https://togithub.com/googleapis/java-speech/commit/aafa31b4bb198515b86219f706a846faa1804b94)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
suztomo
pushed a commit
that referenced
this pull request
Feb 1, 2023
….6.3 (#974) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-iam-v1](https://togithub.com/googleapis/java-iam/proto-google-iam-v1) ([source](https://togithub.com/googleapis/java-iam)) | `1.6.2` -> `1.6.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/compatibility-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.api.grpc:proto-google-iam-v1/1.6.3/confidence-slim/1.6.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>googleapis/java-iam</summary> ### [`v1.6.3`](https://togithub.com/googleapis/java-iam/blob/HEAD/CHANGELOG.md#​163-httpsgithubcomgoogleapisjava-iamcomparev162v163-2022-10-07) [Compare Source](https://togithub.com/googleapis/java-iam/compare/v1.6.2...v1.6.3) ##### Dependencies - Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#​468](https://togithub.com/googleapis/java-iam/issues/468)) ([f6be604](https://togithub.com/googleapis/java-iam/commit/f6be6047506561a7b6f1dc5b5ea925207075d3ac)) - Update dependency com.google.cloud:google-iam-policy to v1.6.2 ([#​467](https://togithub.com/googleapis/java-iam/issues/467)) ([0af193b](https://togithub.com/googleapis/java-iam/commit/0af193bbcedcfa7e7e9b53eaeb509fba5df974b3)) </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, click this checkbox. --- 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-core). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMjIuMyIsInVwZGF0ZWRJblZlciI6IjMyLjIyNi4xIn0=-->
suztomo
pushed a commit
that referenced
this pull request
Feb 1, 2023
🤖 I have created a release *beep* *boop* --- ## [2.8.21](https://togithub.com/googleapis/java-core/compare/v2.8.20...v2.8.21) (2022-10-10) ### Dependencies * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.2 ([#971](https://togithub.com/googleapis/java-core/issues/971)) ([7e8c58c](https://togithub.com/googleapis/java-core/commit/7e8c58c90a42ca771a6a4fe06f3f6324152093b3)) * Update dependency com.google.api.grpc:proto-google-iam-v1 to v1.6.3 ([#974](https://togithub.com/googleapis/java-core/issues/974)) ([b900909](https://togithub.com/googleapis/java-core/commit/b900909d2c8c92d0b8bb31ea7aa6b83a174020ba)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
suztomo
pushed a commit
that referenced
this pull request
Feb 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api: pubsub
Issues related to the Pub/Sub API.
cla: yes
This human has signed the Contributor License Agreement.
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.
This PR adds docs to the
AsyncPage
interface, adds theAsyncPageImpl
implementation and related tests. This adds support for asynchronously fetching paginated results.