GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Implement ack and nack methods, add javadoc and tests by mziccard · Pull Request #1027 · googleapis/google-cloud-java

Conversation

@mziccard

@mziccard mziccard commented May 26, 2016

Copy link
Copy Markdown
Contributor

This PR implements ack and nack methods, adds javadoc and unit tests. System tests will come as soon as pull methods are implemented.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mziccard
Implement ack and nack methods, add javadoc and tests
264755c
@mziccard mziccard added the api: pubsub Issues related to the Pub/Sub API. label May 26, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 26, 2016
@coveralls

coveralls commented May 26, 2016

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.08%) to 84.374% when pulling 264755c on mziccard:pubsub-ack-nack into b872399 on GoogleCloudPlatform:pubsub-alpha.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lesv
lesv reviewed May 27, 2016
View reviewed changes
Comment thread gcloud-java-pubsub/src/main/java/com/google/cloud/pubsub/PubSub.java
* acknowledge, as returned in {@link ReceivedMessage#ackId()} by {@link #pull(String, int)} and
* {@link #pullAsync(String, int)}.
*
* @param subscription the subscription whose messages must be acknowledged

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lesv

lesv commented May 27, 2016

Copy link
Copy Markdown
Contributor

Once I understand (or get feedback from JJ or Arie) the javadoc story for the repo, I expect to give quite a bit of feedback.

The code and the testing look ok, but I want to spend a few minutes at an earlier time of day re-reviewing to make sure that I believe your tests actually cover things and are helpful.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aozarov

aozarov commented May 27, 2016

Copy link
Copy Markdown
Contributor

I think so far we were careful to follow the correct Javadoc guidlines for structure (spaces, tag ordering) and rules (punctuation, case,..). As for the descriptions, I think the focus was on clarity which in some
cases made it less concise. You can find in both the JDK and Guava examples to match either style.
I don't have strong opinion about it, however if you think clarity is not effected or even improved by making it shorter than I think you should go for it.

BTW, Looking at the generated Javadoc it looks like @param descriptions are not enabled.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mziccard

mziccard commented May 27, 2016

Copy link
Copy Markdown
Contributor Author

BTW, Looking at the generated Javadoc it looks like @PARAM descriptions are not enabled.

Arie, what do you mean with this?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aozarov

aozarov commented May 27, 2016

Copy link
Copy Markdown
Contributor

Arie, what do you mean with this?

I was wrong. I sampled few places (just to see how things look like per earlier discussion) and unfortunately each of these did not specify @param...
E.g. this and this and this and more...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lesv

lesv commented May 28, 2016

Copy link
Copy Markdown
Contributor

Our internal guidelines specify that it should be a fragment, not a sentence and that it's ok to not use @param if you mention the value in the paragraph. It also specifies fewer words (ie. fragments) are better as long as it's clear.

So, I'm going to suggest a few re-wordings to be simpler - we won't go through and change existing stuff, but I think being concise is better for our users.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mziccard

mziccard commented May 28, 2016

Copy link
Copy Markdown
Contributor Author

Not to be picky but let me clarify. Fragments are sequences of words that look like a sentence but are not. The difference from a sentence is that fragments are allowed to contain no independent clauses. An independent clause is a sequence of words that contains a subject and a verb and makes sense by itself (extrapolated from the context).

Acknowledges the given messages for the provided subscription. is already a fragment (it's missing the subject). @lesv suggestion (Acknowledges given messages for provided subscription.) simply removes the articles but does not affect its fragment nature.

For what concerns @param descriptions, according to Oracle's guide, they should start with a noun (hence the suggested @param subscription whose messages are being acknowledged is wrong), possibly preceded by an article.

I don't mind applying changes (even project-wide) if that improve docs readability I just doubt that removing some articles or conjunctions would help users.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@lesv

lesv commented May 31, 2016

Copy link
Copy Markdown
Contributor

Yep - I agree - It's what I've been pondering. I do dislike several mentions of the same thing for the future. LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mziccard

mziccard commented Jun 1, 2016

Copy link
Copy Markdown
Contributor Author

Thanks for the pass @lesv

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mziccard
mziccard merged commit 6df07ba into googleapis:pubsub-alpha Jun 1, 2016
mziccard added a commit to mziccard/gcloud-java that referenced this pull request Jun 27, 2016
@mziccard
Implement ack and nack methods, add javadoc and tests (googleapis#1027)
47046e6
github-actions Bot pushed a commit that referenced this pull request Sep 30, 2022
@diegomarquezp
Revert "chore: pin versions of dependencies for compatibility with Py…
da77564
…thon 3.6 (#1588)" (#1027)

Reverts googleapis/java-video-intelligence#1000
github-actions Bot pushed a commit that referenced this pull request Oct 4, 2022
@renovate-bot
deps: update dependency com.google.cloud:google-cloud-core to v2.8.18 (…
d3f4be6
…#1027)
github-actions Bot pushed a commit that referenced this pull request Oct 5, 2022
@release-please
chore(main): release 3.1.3-SNAPSHOT (#1027)
d5881f1
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
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 that referenced this pull request Oct 5, 2022
@release-please
chore(main): release 4.9.0 (#1033)
6eedde9
🤖 I have created a release *beep* *boop*
---


## [4.9.0](https://togithub.com/googleapis/java-dialogflow/compare/v4.8.7...v4.9.0) (2022-10-05)


### Features

* Add Agent Assist Summarization API (https://cloud.google.com/agent-assist/docs/summarization) ([#1026](https://togithub.com/googleapis/java-dialogflow/issues/1026)) ([adbb984](https://togithub.com/googleapis/java-dialogflow/commit/adbb9848a476b55765c03972321203b9e7c92d84))


### Dependencies

* Update dependency com.google.cloud:google-cloud-core to v2.8.18 ([#1027](https://togithub.com/googleapis/java-dialogflow/issues/1027)) ([d3f4be6](https://togithub.com/googleapis/java-dialogflow/commit/d3f4be67ff462faadffe1a8acc550e75f0261019))
* Update dependency com.google.cloud:google-cloud-core to v2.8.19 ([#1029](https://togithub.com/googleapis/java-dialogflow/issues/1029)) ([b3f8f43](https://togithub.com/googleapis/java-dialogflow/commit/b3f8f43d46763906006958836da6f50637285b17))
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#1031](https://togithub.com/googleapis/java-dialogflow/issues/1031)) ([0db0fc8](https://togithub.com/googleapis/java-dialogflow/commit/0db0fc8f9f8dd9a8cb47dac78ebf9878e7f5afcd))

---
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 5, 2022
@release-please
chore(main): release 3.7.6-SNAPSHOT (googleapis#1027)
0c70c98
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
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 yoshi-code-bot/google-cloud-java that referenced this pull request Nov 8, 2022
@gcf-owl-bot @chingor13
chore(java): add a note in README for migrated split repos (googleapi…
2bbd253
…s#1687) (googleapis#1027)

* chore(java): add a note in README for migrated split repos

Disable renovate bot and flaky bot for split repositories
that have moved to the Java monorepo.
The Java monorepo will pass the "monorepo=True" parameter
to java.common_templates method in its owlbot.py files so that
the migration note will not appear in the README in the monorepo.

Co-authored-by: Jeff Ching <[email protected]>
Source-Link: https://togithub.com/googleapis/synthtool/commit/d4b291604f148cde065838c498bc8aa79b8dc10e
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:edae91ccdd2dded2f572ec341a768ad180305a3e8fbfd93064b28e237d35920a
suztomo pushed a commit that referenced this pull request Feb 1, 2023
@gcf-owl-bot
chore: use gcp-docuploader 0.6.3 (#1708) (#1027)
468f7a9
Source-Link: googleapis/synthtool@fbc8bfe
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@cloud-java-bot cloud-java-bot mentioned this pull request May 9, 2025
chore: Update generation configuration at Wed May 14 02:31:18 UTC 2025 #11568
Merged
This was referenced May 12, 2025
chore(main): release 1.57.0 #11577
Closed
chore(main): release 1.57.0 #11589
Merged
meltsufin pushed a commit that referenced this pull request Dec 22, 2025
@bpcreech Ben Creech
feat: Add support for JSON logging to stderr (#1027)
b202f5c
Co-authored-by: Ben Creech <[email protected]>
chingor13 pushed a commit that referenced this pull request Jan 6, 2026
@renovate-bot @gcf-owl-bot
chore(deps): update dependency com.google.cloud:google-cloud-logging-…
3c27c06
…logback to v0.130.6-alpha (#1027)

* chore(deps): update dependency com.google.cloud:google-cloud-logging-logback to v0.130.6-alpha

* 🦉 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>
chingor13 pushed a commit that referenced this pull request Jan 22, 2026
@renovate-bot @gcf-owl-bot
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
bc4b767
…e to v2.14.1 (#1027)

* chore(deps): update dependency com.google.cloud:google-cloud-datastore to v2.14.1

* 🦉 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>
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 11, 2026
@bpcreech Ben Creech
feat: Add support for JSON logging to stderr (googleapis#1027)
9da8aa7
Co-authored-by: Ben Creech <[email protected]>
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 23, 2026
@release-please
chore(main): release 2.7.12 (googleapis#1027)
a985d09
🤖 I have created a release *beep* *boop*
---


## [2.7.12](https://togithub.com/googleapis/java-spanner-jdbc/compare/v2.7.11...v2.7.12) (2022-10-27)


### Bug Fixes

* **java:** Initialize classes at build-time to address native image 22.2.0 issues ([googleapis#1026](https://togithub.com/googleapis/java-spanner-jdbc/issues/1026)) ([d5e4cb6](https://togithub.com/googleapis/java-spanner-jdbc/commit/d5e4cb6c2feea59cbc568e67193eb31b17e98873))

---
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 Mar 30, 2026
@release-please
chore(main): release 0.124.18-SNAPSHOT (#1027)
7c58759
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
lqiu96 pushed a commit that referenced this pull request Apr 1, 2026
@release-please
chore(main): release 0.124.18-SNAPSHOT (#1027)
1233ee5
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
benjaminp pushed a commit to benjaminp/google-cloud-java that referenced this pull request Jul 13, 2026
@Neenu1995
chore: change branch master to main in github configurations (googlea…
cce0f00
…pis#1027)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

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.

5 participants

@mziccard @coveralls @lesv @aozarov @googlebot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.