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 — Cloud Client Vision How-to snippets by gguuss · Pull Request #485 · GoogleCloudPlatform/java-docs-samples

Conversation

@gguuss

@gguuss gguuss commented Jan 12, 2017

Copy link
Copy Markdown
Contributor

This contains the snippets demonstrating basic usage of the Cloud client library for vision.

Sorry, something went wrong.

Uh oh!

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

All reactions
gguuss added 4 commits January 10, 2017 12:53
@gguuss
Adds note regarding AE standard
84953d8
@gguuss
Fixes bad copy/paste.
39eaaf2
@gguuss
Initial commit, still needs cloud storage
f381e73
@gguuss
Fixes tests
8e46dd7
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 12, 2017
@gguuss
Removes unwanted deltas from separate branch
9bffb0e
@gguuss gguuss assigned gguuss and jerjou and unassigned gguuss Jan 12, 2017
@codecov-io

codecov-io commented Jan 12, 2017 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Current coverage is 50.96% (diff: 100%)

Merging #485 into master will not change coverage

@@             master       #485   diff @@
==========================================
  Files            87         87          
  Lines          2786       2786          
  Methods           0          0          
  Messages          0          0          
  Branches        209        209          
==========================================
  Hits           1420       1420          
  Misses         1316       1316          
  Partials         50         50          

Powered by Codecov. Last update 32c0f6f...d7e09ae

All reactions

Sorry, something went wrong.

Uh oh!

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

jmdobry and others added 2 commits January 12, 2017 16:39
@jmdobry
Add Vision API quickstart. (#486)
c7fc8bf
@jmdobry
Add some comments.
e60d1fb
@googlebot

googlebot commented Jan 13, 2017

Copy link
Copy Markdown

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

All reactions

Sorry, something went wrong.

Uh oh!

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

@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Jan 13, 2017
jerjou
jerjou suggested changes Jan 13, 2017
View reviewed changes
Comment thread vision/cloud-client/README.md Outdated

Build your project with:

mvn clean compile assembly:single

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need some more spaces here for github to make it a code block.

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed everything to use more verbose tags

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/README.md Outdated

You can then run a given `ClassName` via:

mvn exec:java -Dexec.mainClass=com.example.vision.ClassName \

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/src/main/java/com/example/vision/Detect.java Outdated
* @return Byte array for the input stream contents.
* @throws IOException
*/
static public byte[] toByteArray(InputStream is) throws IOException {

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you run mvn checkstyle:checkstyle in this subproject? I'm pretty sure this should be public static byte[] ...

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Fixed style everywhere, thanks for the pointer.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/pom.xml
@@ -0,0 +1,98 @@
<!--

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add this project to the parent pom.xml?

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/src/main/java/com/example/vision/Detect.java Outdated
List<AnnotateImageRequest> requests = new ArrayList<>();

FileInputStream file = new FileInputStream(filePath);
ByteString imgBytes = ByteString.copyFrom(toByteArray(file));

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't you use ByteString.readFrom(file) directly?

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Let me know if you prefer to put the construction of the FileInputStream in a separate statement.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/src/main/java/com/example/vision/Detect.java Outdated
Map<FieldDescriptor, Object> fields = annotation.getAllFields();
Iterator<Entry<FieldDescriptor, Object>> iter = fields.entrySet().iterator();
while (iter.hasNext()) {
Entry<FieldDescriptor, Object> entry = iter.next();

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A foreach loop could save you some verbosity here.

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/src/main/java/com/example/vision/Detect.java
for (AnnotateImageResponse res : responses) {
if (res.hasError()) out.printf("Error: %s\n", res.getError().getMessage());

DominantColorsAnnotation colors = res.getImagePropertiesAnnotation().getDominantColors();

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A comment alluding to the presence of other possible annotations, with a shortlink to the doc (http://g.co/cloud/... could come in handy there) might be helpful here.

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs are missing for the relevant GRPC objects and the existing reference is in the wrong format. Linking to top level vision docs for now.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/src/main/java/com/example/vision/Detect.java Outdated
out.printf("fraction: %f\nr: %f, g: %f, b: %f\n",
color.getPixelFraction(),
color.getColor().getRed(),
color.getColor().getRed(),

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to get more than Red :-)

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shame cube Done.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/src/main/java/com/example/vision/Detect.java
if (res.hasError()) out.printf("Error: %s\n", res.getError().getMessage());

for (EntityAnnotation annotation : res.getTextAnnotationsList()) {
out.printf("Text: %s\n", annotation.getDescription());

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the api returns coordinates as well - might be useful to highlight that (eg "Text ({x}, {y}): %s\n"), since it's a fairly useful feature and not necessarily obvious that it's there.

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It returns a bounding poly, added here and to face detection.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/src/main/java/com/example/vision/QuickstartSample.java Outdated
List<AnnotateImageResponse> responses = response.getResponsesList();

for (AnnotateImageResponse res : responses) {
if (res.hasError()) System.out.printf("Error: %s\n", res.getError().getMessage());

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to throw or return on error, since getLabelAnnotationsList() might NPE..

Sorry, something went wrong.

Uh oh!

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

All reactions

@gguuss gguuss Jan 13, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Sorry, something went wrong.

Uh oh!

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

All reactions
gguuss added 3 commits January 13, 2017 13:48
@gguuss
Feedback from review and jdobry's commit on my branch
1535920
@gguuss
fixes copy/paste error in README
3120339
@gguuss
Adds links to docs where subset of annotations are used.
21d0d4d
jerjou
jerjou approved these changes Jan 13, 2017
View reviewed changes

@jerjou jerjou left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
@lesv FYI

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread vision/cloud-client/src/main/java/com/example/vision/Detect.java Outdated
import java.util.ArrayList;
import java.util.List;

public class Detect{

@jerjou jerjou Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space after Detect?

Sorry, something went wrong.

Uh oh!

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

All reactions

@lesv lesv Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised I'm not seeing a comment from travis on this.

Sorry, something went wrong.

Uh oh!

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

All reactions
lesv
lesv reviewed Jan 13, 2017
View reviewed changes
Comment thread vision/cloud-client/pom.xml Outdated
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>

@lesv lesv Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in the parent pom

Sorry, something went wrong.

Uh oh!

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

All reactions
lesv
lesv reviewed Jan 13, 2017
View reviewed changes
Comment thread vision/cloud-client/pom.xml Outdated
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>

@lesv lesv Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not required, just set <maven.compiler.target>1.8</maven.compiler.target> & <maven.compiler.source>1.8</maven.compiler.source> properties.

Sorry, something went wrong.

Uh oh!

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

All reactions
@lesv

lesv commented Jan 13, 2017

Copy link
Copy Markdown
Contributor

mvn verify should run the style checker.

All reactions

Sorry, something went wrong.

Uh oh!

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

@lesv
Merge branch 'master' into vision-client
f3ca508
lesv
lesv reviewed Jan 13, 2017
View reviewed changes
Comment thread vision/cloud-client/src/main/java/com/example/vision/Detect.java
detectSafeSearch("resources/wakeupcat.jpg", System.out);
} else if (command.equals("faces")) {
if (path.startsWith("gs://")) {
// TODO: See https://goo.gl/uWgYhQ

@lesv lesv Jan 13, 2017

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice way to do this.

Sorry, something went wrong.

Uh oh!

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

All reactions
lesv
lesv approved these changes Jan 13, 2017
View reviewed changes

@lesv lesv left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming Travis like this, I'm Ok, though I'd rather you addressed my comments.

Sorry, something went wrong.

Uh oh!

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

All reactions
@lesv lesv added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Jan 13, 2017
@lesv lesv assigned dpebot Jan 13, 2017
@gguuss
Removes extraneous plugins from pom.xml and fixes issues in argument …
d47f85c
…helper.
@gguuss
Merge branch 'vision-client' of https://github.com/GoogleCloudPlatfor…
d7e09ae
…m/java-docs-samples into vision-client
@googlebot googlebot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Jan 14, 2017
@jmdobry

jmdobry commented Jan 17, 2017

Copy link
Copy Markdown
Member

I confirm

All reactions

Sorry, something went wrong.

Uh oh!

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

@jmdobry
jmdobry merged commit df6ea40 into master Jan 17, 2017
@gguuss
gguuss deleted the vision-client branch January 18, 2017 18:49
Shabirmean pushed a commit that referenced this pull request Nov 10, 2022
@renovate-bot @gcf-owl-bot
chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#…
01cd2a0
…485)

* chore(deps): update dependency com.google.cloud:libraries-bom to v26

* 🦉 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>
@Shabirmean Shabirmean mentioned this pull request Nov 10, 2022
samples: migrate code from googleapis/java-retail #7403
Merged
9 tasks
@charlieyu1996 charlieyu1996 mentioned this pull request Nov 11, 2022
migrate code from googleapis/java-datacatalog #7412
Merged
9 tasks
charlieyu1996 pushed a commit that referenced this pull request Nov 11, 2022
@renovate-bot
chore(deps): update dependency com.google.cloud:libraries-bom to v20 (#…
14815c0
…485)

[![WhiteSource 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:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.2.1` -> `20.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/compatibility-slim/19.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/confidence-slim/19.2.1)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-datacatalog).
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@renovate-bot @gcf-owl-bot @Shabirmean
chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#…
2407b0a
…485)

* chore(deps): update dependency com.google.cloud:libraries-bom to v26

* 🦉 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>
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@renovate-bot
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
41660f3
…4.0 (#485)

[![WhiteSource 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:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.3.0` -> `20.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/compatibility-slim/20.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/confidence-slim/20.3.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: 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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai).
@Shabirmean Shabirmean mentioned this pull request Nov 15, 2022
samples: migrate code from googleapis/java-document-ai #7427
Merged
9 tasks
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@gguuss @chingor13
samples: Cloud Client Vision How-to snippets (#485)
8ade000
* Add initial cloud client Vision API snippets.

* Add Vision API quickstart. (#486)
@Shabirmean Shabirmean mentioned this pull request Nov 15, 2022
samples: migrate code from googleapis/java-vision #7428
Merged
9 tasks
Shabirmean pushed a commit that referenced this pull request Nov 15, 2022
@renovate-bot @Shabirmean
chore(deps): update dependency com.google.cloud:libraries-bom to v20.…
a5cc73c
…4.0 (#485)

[![WhiteSource 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:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.3.0` -> `20.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/compatibility-slim/20.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.4.0/confidence-slim/20.3.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: 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 [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai).
gcf-merge-on-green Bot pushed a commit that referenced this pull request Nov 18, 2022
@Shabirmean
samples: migrate code from googleapis/java-vision (#7428)
bc0bd72
### Migrating samples from [googleapis/java-vision](https://togithub.com/googleapis/java-vision/tree/main/samples) into [java-docs-samples/vision](https://togithub.com/GoogleCloudPlatform/java-docs-samples)
---

- samples: Vision v1p1beta1 samples (#951)
- samples: IoT MQTT Tests (#966)
- samples: Generalized testDetextWebEntitiesIncludeGeoResults. (#976)
- samples: Update of Flexible folder and the top-level parent pom.  (#1004)
- samples: Fix tests due to backend changes (#1081)
- samples: Add vision ocr for pdf/tiff (#1078)
- samples: Update vision dependency version and fix test. (#1099)
- samples: Vision beta samples (#1154)
- samples: Vision region tag update (#1182)
- samples: Udpate Beta Vision samples to use beta tags (#1184)
- samples: Remove unused Vision samples and region tags (#1208)
- samples: Beta feature : Vision : PDF/TIFF/GIF document feature detection (#1349)
- samples: vision: address flakes due to collisions. (#1458)
- samples: Fix failing beta tets (#1592)
- feat: make repo releasable, add parent/bom (#1)
- chore: update common templates, regenerate tests (#20)
- chore(regen): update license year for generated files (#48)
- samples: fix generated samples directory (#70)
- samples: add scaffold (#84)
- chore(deps): update dependency com.google.cloud:libraries-bom to v4.3.0 (#88)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.13 (#92)
- samples: docs: update tests that are failing or not cleaning up resources
- samples: update shared config (#2443)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.14 (#96)
- chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.0 (#97)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#100)
- chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.1 (#101)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5 (#110)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.16 (#115)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.17 (#121)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.2.0 (#125)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#129)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.4.0 (#139)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.6.0 (#149)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.18 (#155)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.7.0 (#157)
- chore(deps): update dependency com.google.cloud:libraries-bom to v6 (#162)
- chore(deps): update dependency com.google.cloud:libraries-bom to v7 (#168)
- chore(deps): update dependency com.google.cloud:libraries-bom to v7.0.1 (#176)
- chore(deps): update dependency com.google.cloud:libraries-bom to v7.0.2 (#178)
- chore(deps): update dependency com.google.cloud:libraries-bom to v8 (#179)
- chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#188)
- samples: Cloud Client Vision How-to snippets (#485)
- samples: Adds GCS snippets, was blocked by https://goo.gl/uWgYhQ
- samples: Fixes checkstyle, 3P libs before java libs
- samples: Updates vision to the latest library (#548)
- samples: Updates snippets so the API client is created in examples (#572)
- samples: Infer project from env
- samples: Vision speech upgrade (#641)
- samples: Changes http test to point to better hosting.
- samples: Use Cloud Storage bucket for web URI test
- samples: Style nit
- samples: Change test to public GCS bucket.
- samples: Change test to environment variable.
- samples: updating to latest google-cloud-* dependencies (#723)
- samples: Closes image annotator client.
- samples: Uses try with resource to ensure client gets closed.
- samples: upgrade Guava (#802)
- samples: Don't check for location (#809)
- samples: Vision v1p1beta1 samples (#951)
- samples: Update vision folder. (#999)
- samples: Update vision/beta web detection samples to v1 (#1016)
- samples: Fix tests for backend changes (#1082)
- samples: Update vision dependency version and fix test. (#1099)
- samples: Update OCR sample from beta to ga (#1123)
- samples: Vision region tag update (#1182)
- samples: Vision GA - library update (#1213)
- samples: vision: address changes in vision annotations. (#1326)
- samples: vision: address flakes due to collisions. (#1458)
- samples: Fix failing tests (#1591)
- samples: Add vision ocr set endpoint snippets (#1748)
- samples: vision: change flaky tests to mocks (#2254)
- samples: vision: move samples out of branch (#2298)
- samples: vision: move samples out of branch and add clarifying comments (#2297)
- samples: fix: region tag (#2312)
- samples: vision: makes tests more generic (#2475)
- samples: update shared config (#2443)
- samples: chore: added comment on try/catch block (#2980)
- samples: chore: splitting sample into single files (#3083)
- samples: fix test dependencies
- samples: fix resources
- samples: Vision Product Search (#1161)
- samples: Vision region tag update (#1182)
- samples: Adding the Product Search tests. (#1195)
- samples: Added the Product Search tests and the src file updates (#1196)
- samples: Vision Product Search - GA (#1257)
- samples: Pdt search updates (#1473)
- samples: Purge Products (#1569)
- samples: vision: update product search tests (#2378)
- samples: vision: use uuid for product search tests
- samples: Update ImportProductSetsIT.java
- samples: bump timeouts
- samples: update shared config (#2443)
- samples: fix resources and dependencies
- samples: fix resources
- chore(deps): update dependency com.google.cloud:libraries-bom to v9 (#207)
- chore(deps): update dependency com.google.cloud:libraries-bom to v9.1.0
- chore(deps): update dependency com.google.cloud:libraries-bom to v10
- chore(deps): update dependency com.google.cloud:libraries-bom to v11
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.21 (#244)
- chore(deps): update dependency com.google.cloud:libraries-bom to v12 (#249)
- test(deps): update dependency junit:junit to v4.13.1
- chore(deps): update dependency com.google.cloud:libraries-bom to v12.1.0 (#262)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13 (#272)
- test(deps): update dependency com.google.truth:truth to v1.1 (#274)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.2.0 (#284)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.3.0 (#287)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.4.0 (#297)
- chore: moving the rest of the vision samples (#291)
- samples(deps): update spring.version to v2.3.5.release (#305)
- chore(deps): update dependency com.google.cloud:libraries-bom to v14 (#307)
- chore(deps): update dependency com.google.cloud:libraries-bom to v15 (#310)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16 (#326)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.2.0 (#357)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.2.1 (#362)
- samples(deps): update dependency org.springframework.cloud:spring-cloud-gcp-dependencies to v1.2.6.release (#313)
- samples(deps): update spring.version to v2.4.1 (#320)
- samples(deps): update spring.version to v2.4.2 (#374)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.4.0 (#373)
- test(deps): update dependency junit:junit to v4.13.2 (#397)
- test(samples): prevent failure in nightly run by adding retry (#392)
- chore(deps): update dependency com.google.cloud:libraries-bom to v17 (#411)
- samples(deps): update dependency com.google.cloud:google-cloud-core to v1.94.1 (#405)
- samples(deps): update spring.version to v2.4.3 (#402)
- samples(deps): update dependency org.springframework.cloud:spring-cloud-gcp-dependencies to v1.2.7.release (#395)
- chore(deps): update dependency com.google.cloud:libraries-bom to v18 (#414)
- deps: update dependency com.google.cloud:google-cloud-core to v1.94.2 (#423)
- chore(deps): update dependency com.google.cloud:libraries-bom to v18.1.0 (#427)
- chore(deps): update dependency com.google.cloud:libraries-bom to v19 (#431)
- deps: update dependency com.google.cloud:google-cloud-core to v1.94.3 (#428)
- chore(deps): update dependency com.google.cloud:libraries-bom to v19.1.0 (#445)
- chore(deps): update dependency com.google.cloud:libraries-bom to v19.2.1 (#447)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.22 (#454)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20 (#463)
- deps: update dependency net.sourceforge.argparse4j:argparse4j to v0.9.0 (#455)
- deps: update dependency com.google.cloud:google-cloud-core to v1.94.7 (#441)
- deps: update spring.version to v2.4.4 (#448)
- deps: update spring.version to v2.4.5 (#474)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.1.0 (#475)
- chore: service throttles on public URLs & its known issue. (#477)
- deps: update dependency com.google.cloud:google-cloud-core to v1.94.8 (#482)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.2.0 (#487)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.3.0 (#500)
- test(deps): update dependency com.google.truth:truth to v1.1.2 (#498)
- deps: update dependency org.springframework.cloud:spring-cloud-gcp-dependencies to v1.2.8.release (#497)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.4.0 (#509)
- test(deps): update dependency com.google.truth:truth to v1.1.3 (#520)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.5.0 (#519)
- deps: update spring.version to v2.5.0 (#516)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.6.0 (#537)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.23 (#536)
- deps: update dependency com.google.cloud:google-cloud-core to v1.95.1 (#533)
- deps: update dependency com.google.cloud:google-cloud-core to v1.95.2 (#542)
- deps: update spring.version to v2.5.1 (#544)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.7.0 (#564)
- deps: update spring.version to v2.5.2 (#566)
- deps: update dependency com.google.cloud:google-cloud-core to v1.95.4 (#563)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.8.0 (#575)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.9.0 (#586)
- deps: update dependency com.google.cloud:google-cloud-core to v2 (#599)
- deps: update dependency org.apache.commons:commons-csv to v1.9.0 (#598)
- deps: update dependency com.google.cloud:google-cloud-core to v2.0.3 (#611)
- deps: update dependency com.google.cloud:google-cloud-core to v2.0.5 (#614)
- deps: update spring.version to v2.5.4 (#581)
- chore(deps): update dependency com.google.cloud:libraries-bom to v21 (#619)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.0 (#634)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.1 (#641)
- chore(deps): update dependency com.google.cloud:libraries-bom to v22 (#650)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.2 (#652)
- chore(deps): update dependency com.google.cloud:libraries-bom to v23 (#668)
- chore: migrate to owlbot (#663)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.3 (#674)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.4 (#685)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.6 (#692)
- deps: update spring.version to v2.5.5 (#703)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.7 (#702)
- chore(deps): update dependency com.google.cloud:libraries-bom to v23.1.0 (#715)
- deps: update dependency com.google.cloud:google-cloud-core to v2.2.0 (#720)
- deps: update spring.version to v2.5.6 (#729)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#733)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.0 (#744)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.1 (#746)
- deps: update spring.version to v2.6.0 (#749)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.2 (#756)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.3 (#758)
- deps: update dependency org.springframework.boot:spring-boot-starter-web to v2.6.1 (#751)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.2.0 (#755)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.0 (#767)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.1 (#769)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.4 (#772)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.2 (#773)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.5 (#779)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.2.0 (#788)
- deps: update spring.version to v2.6.3 (#768)
- deps: update dependency com.google.cloud:google-cloud-core to v2.4.0 (#797)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.3.0 (#809)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.0 (#804)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.1 (#811)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.3 (#812)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.4 (#816)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.5 (#825)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.6 (#828)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.4.0 (#830)
- deps: update dependency org.springframework.boot:spring-boot-maven-plugin to v2.6.4 (#822)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.8 (#840)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.9 (#844)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25 (#850)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.10 (#849)
- deps: update spring.version to v2.6.5 (#855)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.11 (#860)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.1.0 (#866)
- build(deps): bump spring-boot-starter-web in /samples/spring-framework (#867)
- deps: update dependency com.google.cloud:google-cloud-core to v2.6.1 (#878)
- deps: update spring.version to v2.6.7 (#888)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.2.0 (#891)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.3.0 (#905)
- deps: update spring.version to v2.7.0 (#908)
- deps: update dependency com.google.cloud:google-cloud-core to v2.7.1 (#906)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.4.0 (#917)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.0 (#920)
- deps: update spring.version to v2.7.1 (#925)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.1 (#931)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#945)
- deps: update spring.version to v2.7.2 (#951)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.6 (#955)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.7 (#958)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.8 (#960)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.0 (#970)
- deps: update spring.version to v2.7.3 (#974)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.9 (#973)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.10 (#977)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.1 (#978)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.11 (#980)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.12 (#984)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.2 (#990)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.13 (#992)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.14 (#993)
- deps: update spring.version to v2.7.4 (#994)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.18 (#995)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.19 (#1023)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.20 (#1025)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.3 (#1031)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.21 (#1034)

Fixes #issue

> It's a good idea to open an issue first for discussion.

- [ ] I have followed [Sample Format Guide](https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md)
- [ ] `pom.xml` parent set to latest `shared-configuration`
- [ ] Appropriate changes to README are included in PR
- [ ] API's need to be enabled to test (tell us)
- [ ] Environment Variables need to be set (ask us to set them)
- [ ] **Tests** pass:   `mvn clean verify` **required**
- [ ] **Lint**  passes: `mvn -P lint checkstyle:check` **required**
- [ ] **Static Analysis**:  `mvn -P lint clean compile pmd:cpd-check spotbugs:check` **advisory only**
- [ ] Please **merge** this PR for me once it is approved.
anguillanneuf pushed a commit that referenced this pull request Dec 5, 2022
@Shabirmean @anguillanneuf
samples: migrate code from googleapis/java-vision (#7428)
29117e9
### Migrating samples from [googleapis/java-vision](https://togithub.com/googleapis/java-vision/tree/main/samples) into [java-docs-samples/vision](https://togithub.com/GoogleCloudPlatform/java-docs-samples)
---

- samples: Vision v1p1beta1 samples (#951)
- samples: IoT MQTT Tests (#966)
- samples: Generalized testDetextWebEntitiesIncludeGeoResults. (#976)
- samples: Update of Flexible folder and the top-level parent pom.  (#1004)
- samples: Fix tests due to backend changes (#1081)
- samples: Add vision ocr for pdf/tiff (#1078)
- samples: Update vision dependency version and fix test. (#1099)
- samples: Vision beta samples (#1154)
- samples: Vision region tag update (#1182)
- samples: Udpate Beta Vision samples to use beta tags (#1184)
- samples: Remove unused Vision samples and region tags (#1208)
- samples: Beta feature : Vision : PDF/TIFF/GIF document feature detection (#1349)
- samples: vision: address flakes due to collisions. (#1458)
- samples: Fix failing beta tets (#1592)
- feat: make repo releasable, add parent/bom (#1)
- chore: update common templates, regenerate tests (#20)
- chore(regen): update license year for generated files (#48)
- samples: fix generated samples directory (#70)
- samples: add scaffold (#84)
- chore(deps): update dependency com.google.cloud:libraries-bom to v4.3.0 (#88)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.13 (#92)
- samples: docs: update tests that are failing or not cleaning up resources
- samples: update shared config (#2443)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.14 (#96)
- chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.0 (#97)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#100)
- chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.1 (#101)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5 (#110)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.16 (#115)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.17 (#121)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.2.0 (#125)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#129)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.4.0 (#139)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.6.0 (#149)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.18 (#155)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.7.0 (#157)
- chore(deps): update dependency com.google.cloud:libraries-bom to v6 (#162)
- chore(deps): update dependency com.google.cloud:libraries-bom to v7 (#168)
- chore(deps): update dependency com.google.cloud:libraries-bom to v7.0.1 (#176)
- chore(deps): update dependency com.google.cloud:libraries-bom to v7.0.2 (#178)
- chore(deps): update dependency com.google.cloud:libraries-bom to v8 (#179)
- chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#188)
- samples: Cloud Client Vision How-to snippets (#485)
- samples: Adds GCS snippets, was blocked by https://goo.gl/uWgYhQ
- samples: Fixes checkstyle, 3P libs before java libs
- samples: Updates vision to the latest library (#548)
- samples: Updates snippets so the API client is created in examples (#572)
- samples: Infer project from env
- samples: Vision speech upgrade (#641)
- samples: Changes http test to point to better hosting.
- samples: Use Cloud Storage bucket for web URI test
- samples: Style nit
- samples: Change test to public GCS bucket.
- samples: Change test to environment variable.
- samples: updating to latest google-cloud-* dependencies (#723)
- samples: Closes image annotator client.
- samples: Uses try with resource to ensure client gets closed.
- samples: upgrade Guava (#802)
- samples: Don't check for location (#809)
- samples: Vision v1p1beta1 samples (#951)
- samples: Update vision folder. (#999)
- samples: Update vision/beta web detection samples to v1 (#1016)
- samples: Fix tests for backend changes (#1082)
- samples: Update vision dependency version and fix test. (#1099)
- samples: Update OCR sample from beta to ga (#1123)
- samples: Vision region tag update (#1182)
- samples: Vision GA - library update (#1213)
- samples: vision: address changes in vision annotations. (#1326)
- samples: vision: address flakes due to collisions. (#1458)
- samples: Fix failing tests (#1591)
- samples: Add vision ocr set endpoint snippets (#1748)
- samples: vision: change flaky tests to mocks (#2254)
- samples: vision: move samples out of branch (#2298)
- samples: vision: move samples out of branch and add clarifying comments (#2297)
- samples: fix: region tag (#2312)
- samples: vision: makes tests more generic (#2475)
- samples: update shared config (#2443)
- samples: chore: added comment on try/catch block (#2980)
- samples: chore: splitting sample into single files (#3083)
- samples: fix test dependencies
- samples: fix resources
- samples: Vision Product Search (#1161)
- samples: Vision region tag update (#1182)
- samples: Adding the Product Search tests. (#1195)
- samples: Added the Product Search tests and the src file updates (#1196)
- samples: Vision Product Search - GA (#1257)
- samples: Pdt search updates (#1473)
- samples: Purge Products (#1569)
- samples: vision: update product search tests (#2378)
- samples: vision: use uuid for product search tests
- samples: Update ImportProductSetsIT.java
- samples: bump timeouts
- samples: update shared config (#2443)
- samples: fix resources and dependencies
- samples: fix resources
- chore(deps): update dependency com.google.cloud:libraries-bom to v9 (#207)
- chore(deps): update dependency com.google.cloud:libraries-bom to v9.1.0
- chore(deps): update dependency com.google.cloud:libraries-bom to v10
- chore(deps): update dependency com.google.cloud:libraries-bom to v11
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.21 (#244)
- chore(deps): update dependency com.google.cloud:libraries-bom to v12 (#249)
- test(deps): update dependency junit:junit to v4.13.1
- chore(deps): update dependency com.google.cloud:libraries-bom to v12.1.0 (#262)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13 (#272)
- test(deps): update dependency com.google.truth:truth to v1.1 (#274)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.2.0 (#284)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.3.0 (#287)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.4.0 (#297)
- chore: moving the rest of the vision samples (#291)
- samples(deps): update spring.version to v2.3.5.release (#305)
- chore(deps): update dependency com.google.cloud:libraries-bom to v14 (#307)
- chore(deps): update dependency com.google.cloud:libraries-bom to v15 (#310)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16 (#326)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.2.0 (#357)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.2.1 (#362)
- samples(deps): update dependency org.springframework.cloud:spring-cloud-gcp-dependencies to v1.2.6.release (#313)
- samples(deps): update spring.version to v2.4.1 (#320)
- samples(deps): update spring.version to v2.4.2 (#374)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.4.0 (#373)
- test(deps): update dependency junit:junit to v4.13.2 (#397)
- test(samples): prevent failure in nightly run by adding retry (#392)
- chore(deps): update dependency com.google.cloud:libraries-bom to v17 (#411)
- samples(deps): update dependency com.google.cloud:google-cloud-core to v1.94.1 (#405)
- samples(deps): update spring.version to v2.4.3 (#402)
- samples(deps): update dependency org.springframework.cloud:spring-cloud-gcp-dependencies to v1.2.7.release (#395)
- chore(deps): update dependency com.google.cloud:libraries-bom to v18 (#414)
- deps: update dependency com.google.cloud:google-cloud-core to v1.94.2 (#423)
- chore(deps): update dependency com.google.cloud:libraries-bom to v18.1.0 (#427)
- chore(deps): update dependency com.google.cloud:libraries-bom to v19 (#431)
- deps: update dependency com.google.cloud:google-cloud-core to v1.94.3 (#428)
- chore(deps): update dependency com.google.cloud:libraries-bom to v19.1.0 (#445)
- chore(deps): update dependency com.google.cloud:libraries-bom to v19.2.1 (#447)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.22 (#454)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20 (#463)
- deps: update dependency net.sourceforge.argparse4j:argparse4j to v0.9.0 (#455)
- deps: update dependency com.google.cloud:google-cloud-core to v1.94.7 (#441)
- deps: update spring.version to v2.4.4 (#448)
- deps: update spring.version to v2.4.5 (#474)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.1.0 (#475)
- chore: service throttles on public URLs & its known issue. (#477)
- deps: update dependency com.google.cloud:google-cloud-core to v1.94.8 (#482)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.2.0 (#487)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.3.0 (#500)
- test(deps): update dependency com.google.truth:truth to v1.1.2 (#498)
- deps: update dependency org.springframework.cloud:spring-cloud-gcp-dependencies to v1.2.8.release (#497)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.4.0 (#509)
- test(deps): update dependency com.google.truth:truth to v1.1.3 (#520)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.5.0 (#519)
- deps: update spring.version to v2.5.0 (#516)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.6.0 (#537)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.23 (#536)
- deps: update dependency com.google.cloud:google-cloud-core to v1.95.1 (#533)
- deps: update dependency com.google.cloud:google-cloud-core to v1.95.2 (#542)
- deps: update spring.version to v2.5.1 (#544)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.7.0 (#564)
- deps: update spring.version to v2.5.2 (#566)
- deps: update dependency com.google.cloud:google-cloud-core to v1.95.4 (#563)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.8.0 (#575)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.9.0 (#586)
- deps: update dependency com.google.cloud:google-cloud-core to v2 (#599)
- deps: update dependency org.apache.commons:commons-csv to v1.9.0 (#598)
- deps: update dependency com.google.cloud:google-cloud-core to v2.0.3 (#611)
- deps: update dependency com.google.cloud:google-cloud-core to v2.0.5 (#614)
- deps: update spring.version to v2.5.4 (#581)
- chore(deps): update dependency com.google.cloud:libraries-bom to v21 (#619)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.0 (#634)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.1 (#641)
- chore(deps): update dependency com.google.cloud:libraries-bom to v22 (#650)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.2 (#652)
- chore(deps): update dependency com.google.cloud:libraries-bom to v23 (#668)
- chore: migrate to owlbot (#663)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.3 (#674)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.4 (#685)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.6 (#692)
- deps: update spring.version to v2.5.5 (#703)
- deps: update dependency com.google.cloud:google-cloud-core to v2.1.7 (#702)
- chore(deps): update dependency com.google.cloud:libraries-bom to v23.1.0 (#715)
- deps: update dependency com.google.cloud:google-cloud-core to v2.2.0 (#720)
- deps: update spring.version to v2.5.6 (#729)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#733)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.0 (#744)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.1 (#746)
- deps: update spring.version to v2.6.0 (#749)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.2 (#756)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.3 (#758)
- deps: update dependency org.springframework.boot:spring-boot-starter-web to v2.6.1 (#751)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.2.0 (#755)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.0 (#767)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.1 (#769)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.4 (#772)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.2 (#773)
- deps: update dependency com.google.cloud:google-cloud-core to v2.3.5 (#779)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.2.0 (#788)
- deps: update spring.version to v2.6.3 (#768)
- deps: update dependency com.google.cloud:google-cloud-core to v2.4.0 (#797)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.3.0 (#809)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.0 (#804)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.1 (#811)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.3 (#812)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.4 (#816)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.5 (#825)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.6 (#828)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.4.0 (#830)
- deps: update dependency org.springframework.boot:spring-boot-maven-plugin to v2.6.4 (#822)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.8 (#840)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.9 (#844)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25 (#850)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.10 (#849)
- deps: update spring.version to v2.6.5 (#855)
- deps: update dependency com.google.cloud:google-cloud-core to v2.5.11 (#860)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.1.0 (#866)
- build(deps): bump spring-boot-starter-web in /samples/spring-framework (#867)
- deps: update dependency com.google.cloud:google-cloud-core to v2.6.1 (#878)
- deps: update spring.version to v2.6.7 (#888)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.2.0 (#891)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.3.0 (#905)
- deps: update spring.version to v2.7.0 (#908)
- deps: update dependency com.google.cloud:google-cloud-core to v2.7.1 (#906)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.4.0 (#917)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.0 (#920)
- deps: update spring.version to v2.7.1 (#925)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.1 (#931)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#945)
- deps: update spring.version to v2.7.2 (#951)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.6 (#955)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.7 (#958)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.8 (#960)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.0 (#970)
- deps: update spring.version to v2.7.3 (#974)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.9 (#973)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.10 (#977)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.1 (#978)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.11 (#980)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.12 (#984)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.2 (#990)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.13 (#992)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.14 (#993)
- deps: update spring.version to v2.7.4 (#994)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.18 (#995)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.19 (#1023)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.20 (#1025)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.3 (#1031)
- deps: update dependency com.google.cloud:google-cloud-core to v2.8.21 (#1034)

Fixes #issue

> It's a good idea to open an issue first for discussion.

- [ ] I have followed [Sample Format Guide](https://togithub.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md)
- [ ] `pom.xml` parent set to latest `shared-configuration`
- [ ] Appropriate changes to README are included in PR
- [ ] API's need to be enabled to test (tell us)
- [ ] Environment Variables need to be set (ask us to set them)
- [ ] **Tests** pass:   `mvn clean verify` **required**
- [ ] **Lint**  passes: `mvn -P lint checkstyle:check` **required**
- [ ] **Static Analysis**:  `mvn -P lint clean compile pmd:cpd-check spotbugs:check` **advisory only**
- [ ] Please **merge** this PR for me once it is approved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@jerjou jerjou jerjou approved these changes
@lesv lesv lesv approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

@jerjou jerjou

@dpebot dpebot

Labels

cla: no This human has *not* 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.

7 participants

@gguuss @codecov-io @googlebot @lesv @jmdobry @jerjou @dpebot
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.