-
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
Implement ack and nack methods, add javadoc and tests #1027
Conversation
* 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.
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.
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. |
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 BTW, Looking at the generated Javadoc it looks like |
Arie, what do you mean with this? |
Our internal guidelines specify that it should be a fragment, not a sentence and that it's ok to not use 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. |
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).
For what concerns 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. |
Yep - I agree - It's what I've been pondering. I do dislike several mentions of the same thing for the future. LGTM |
Thanks for the pass @lesv |
🤖 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).
🤖 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).
🤖 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).
…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
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>
This PR implements
ack
andnack
methods, adds javadoc and unit tests. System tests will come as soon aspull
methods are implemented.