Skip to content
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

Can't run app when add Cloud vision to gradle #552

Closed
suntzu93 opened this issue Mar 7, 2017 · 11 comments
Closed

Can't run app when add Cloud vision to gradle #552

suntzu93 opened this issue Mar 7, 2017 · 11 comments
Assignees
Labels
type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@suntzu93
Copy link

suntzu93 commented Mar 7, 2017

Hi all,
I have issus with google Cloud vision API , when i add to gradle then can't run app.
My gradle:
dependencies {
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.android.support:recyclerview-v7:25.0.1'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.android.support:design:25.0.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.android.support:cardview-v7:25.0.1'
compile('com.google.cloud:google-cloud-translate:0.9.3-alpha') {
exclude group: 'io.grpc', module: 'grpc-all'
exclude group: 'com.google.protobuf', module: 'protobuf-java'
exclude group: 'com.google.api-client', module: 'google-api-client-appengine'
}
compile('com.google.apis:google-api-services-translate:v2-rev47-1.22.0') {
exclude group: 'com.google.guava'
}
compile 'com.google.api-client:google-api-client-android:1.20.0' exclude module: 'httpclient'
compile group: 'com.google.cloud', name: 'google-cloud-vision', version: '0.9.3-alpha'
}

and I got a message :

Error:trouble processing "javax/transaction/HeuristicCommitException.class":
Error:Ill-advised or mistaken usage of a core class (java.* or javax.*)
Error:when not building a core library.
Error:This is often due to inadvertently including a core library file
Error:in your application's project, when using an IDE (such as
Error:Eclipse). If you are sure you're not intentionally defining a
Error:core class, then this is the most likely explanation of what's
Error:going on.
Error:However, you might actually be trying to define a class in a core
Error:namespace, the source of which you may have taken, for example,
Error:from a non-Android virtual machine project. This will most
Error:assuredly not work. At a minimum, it jeopardizes the
Error:compatibility of your app with future versions of the platform.
Error:It is also often of questionable legality.
Error:If you really intend to build a core library -- which is only
Error:appropriate as part of creating a full virtual machine
Error:distribution, as opposed to compiling an application -- then use
Error:the "--core-library" option to suppress this error message.
Error:If you go ahead and use "--core-library" but are in fact
Error:building an application, then be forewarned that your application
Error:will still fail to build or run, at some point. Please be
Error:prepared for angry customers who find, for example, that your
Error:application ceases to function once they upgrade their operating
Error:system. You will be to blame for this problem.
Error:If you are legitimately using some code that happens to be in a
Error:core package, then the easiest safe alternative you have is to
Error:repackage that code. That is, move the classes in question into
Error:your own package namespace. This means that they will never be in
Error:conflict with core system classes. JarJar is a tool that may help
Error:you in this endeavor. If you find that you cannot do this, then
Error:that is an indication that the path you are on will ultimately
Error:lead to pain, suffering, grief, and lamentation.
Error:1 error; aborting
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.

com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: Unable to pre-dex '/Users/thanhlv10/.gradle/caches/modules-2/files-2.1/javax.transaction/transaction-api/1.1/2ca09f0b36ca7d71b762e14ea2ff09d5eac57558/transaction-api-1.1.jar' to '/Users/thanhlv10/Documents/Android/workspace/LeanVocabularyEnglish/app/build/intermediates/transforms/dex/debug/folders/1000/10/transaction-api-1.1_08247d5a5ad76d54ec97f25b2765cc9d2ddbcc67'

Plz tell me know if you have any solution.
Thanks

@suntzu93 suntzu93 changed the title Can't run app when app Cloud vision to gradle Can't run app when add Cloud vision to gradle Mar 7, 2017
@lesv lesv added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. Vision labels Mar 8, 2017
@gguuss
Copy link
Contributor

gguuss commented Mar 13, 2017

Are you trying to use Vision from Android?

You might want to try starting from the Cloud vision Android sample as opposed to the Cloud client library sample referenced here.

@suntzu93
Copy link
Author

Yes, I tried Cloud vision Android sample and it's working but when I generate a APK , I got a message .

Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/common/annotations/Beta.class

I'm thinking "Cloud vision Android sample" and " com.google.cloud:google-cloud-translate:0.9.3-alpha " is Conflicts .

My gradle :
dependencies {
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:appcompat-v7:25.0.1'
compile 'com.android.support:recyclerview-v7:25.0.1'
compile 'com.android.support:design:25.0.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile('com.google.cloud:google-cloud-translate:0.9.3-alpha') {
exclude group: 'io.grpc', module: 'grpc-all'
exclude group: 'com.google.protobuf', module: 'protobuf-java'
exclude group: 'com.google.api-client', module: 'google-api-client-appengine'
}
compile('com.google.apis:google-api-services-translate:v2-rev47-1.22.0') {
exclude group: 'com.google.guava'
}
compile 'com.google.http-client:google-http-client-gson:1.22.0' exclude module: 'httpclient'
compile 'com.google.apis:google-api-services-vision:v1-rev22-1.22.0'
compile 'com.google.android.gms:play-services-ads:10.0.1'
compile 'com.android.volley:volley:1.0.0'

}

@MuhammadMuzammilQadri
Copy link

Why is it not working with Cloud client library but with the android sample? All the documentation on Vision is about the client library.. I'm facing below error when adding
dependency {
compile "com.google.cloud:google-cloud-vision:0.9.4-beta"
}
in the project:

Error:trouble processing "javax/transaction/HeuristicCommitException.class":
Error:Ill-advised or mistaken usage of a core class (java.* or javax.*)
Error:when not building a core library.
Error:This is often due to inadvertently including a core library file
Error:in your application's project, when using an IDE (such as
Error:Eclipse). If you are sure you're not intentionally defining a
Error:core class, then this is the most likely explanation of what's
Error:going on.
Error:However, you might actually be trying to define a class in a core
Error:namespace, the source of which you may have taken, for example,
Error:from a non-Android virtual machine project. This will most
Error:assuredly not work. At a minimum, it jeopardizes the
Error:compatibility of your app with future versions of the platform.
Error:It is also often of questionable legality.
Error:If you really intend to build a core library -- which is only
Error:appropriate as part of creating a full virtual machine
Error:distribution, as opposed to compiling an application -- then use
Error:the "--core-library" option to suppress this error message.
Error:If you go ahead and use "--core-library" but are in fact
Error:building an application, then be forewarned that your application
Error:will still fail to build or run, at some point. Please be
Error:prepared for angry customers who find, for example, that your
Error:application ceases to function once they upgrade their operating
Error:system. You will be to blame for this problem.
Error:If you are legitimately using some code that happens to be in a
Error:core package, then the easiest safe alternative you have is to
Error:repackage that code. That is, move the classes in question into
Error:your own package namespace. This means that they will never be in
Error:conflict with core system classes. JarJar is a tool that may help
Error:you in this endeavor. If you find that you cannot do this, then
Error:that is an indication that the path you are on will ultimately
Error:lead to pain, suffering, grief, and lamentation.
Error:1 error; aborting
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.

com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException

@gguuss
Copy link
Contributor

gguuss commented Mar 15, 2017

I'm currently not testing the Cloud Client library approach with Android. I'll see if I can come up with a working solution for you.

@gguuss
Copy link
Contributor

gguuss commented Mar 16, 2017

You may want to try to get the project to build using a gradle wrapper for JarJar as described in the error.

@suntzu93
Copy link
Author

@gguuss Could you explain my error ?

@gguuss
Copy link
Contributor

gguuss commented Mar 16, 2017

Your error is occurring because the Cloud library has dependencies that conflict with core Android services.

Even if you ignore the error by passing the flag in your Application gradle file, e.g.:

    dexOptions {
        preDexLibraries = false
        additionalParameters=['--core-library']
    }

which seems like a bad idea, you will need to figure out a way to authorize the library by building a custom credential object because the Cloud library is tightly coupled to default application credentials. It would probably be easier if you built a microservice or other backend for accessing the Cloud Vision API.

The Cloud client libraries aren't tailored to Android, which is why there is a separate vision library for Android. If you use the Android library, there are benefits such as an offline vision model.

@suntzu93
Copy link
Author

suntzu93 commented Mar 17, 2017

Thank you for your answer , so i understood that now we have no Cloud client for Android and waiting until Google provide a version for android ?

@gguuss
Copy link
Contributor

gguuss commented Mar 17, 2017

@thanhlv93 Correct, the Cloud client library does not explicitly support Android but it does work from Gradle. If I come up with a solution to authenticating the client library on Android, I'll be sure to share it. If you can get it to work, please let us know!

@suntzu93
Copy link
Author

@gguuss ok , I got it. Thanks

@nnegrey
Copy link
Contributor

nnegrey commented Dec 5, 2018

This appears to have been resolved. Please feel free to reopen if this is not true. :)

@nnegrey nnegrey closed this as completed Dec 5, 2018
averikitsch pushed a commit that referenced this issue Oct 27, 2022
…552)

[![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://github.com/GoogleCloudPlatform/cloud-opensource-java) | `23.1.0` -> `24.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/compatibility-slim/23.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/confidence-slim/23.1.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, click this checkbox.

---

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-tasks).
averikitsch pushed a commit that referenced this issue Nov 1, 2022
…552)

[![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://github.com/GoogleCloudPlatform/cloud-opensource-java) | `23.1.0` -> `24.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/compatibility-slim/23.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/24.0.0/confidence-slim/23.1.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, click this checkbox.

---

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-tasks).
Sita04 pushed a commit that referenced this issue Nov 11, 2022
…1.0 (#552)

[![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://github.com/GoogleCloudPlatform/cloud-opensource-java) | `23.0.0` -> `23.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/compatibility-slim/23.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/23.1.0/confidence-slim/23.0.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**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **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-webrisk).
Shabirmean pushed a commit that referenced this issue Nov 16, 2022
…ow-cx to v0.14.6 (#552)

[![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-dialogflow-cx](https://github.com/googleapis/java-dialogflow-cx) | `0.14.5` -> `0.14.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dialogflow-cx/0.14.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dialogflow-cx/0.14.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dialogflow-cx/0.14.6/compatibility-slim/0.14.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dialogflow-cx/0.14.6/confidence-slim/0.14.5)](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-dialogflow-cx).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTguMSIsInVwZGF0ZWRJblZlciI6IjMyLjE5OC4xIn0=-->
Shabirmean pushed a commit that referenced this issue Nov 17, 2022
…6.0 (#552)

[![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://github.com/GoogleCloudPlatform/cloud-opensource-java) | `20.5.0` -> `20.6.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.6.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.6.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.6.0/compatibility-slim/20.5.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.6.0/confidence-slim/20.5.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-speech).
Shabirmean pushed a commit that referenced this issue Nov 17, 2022
…ow-cx to v0.14.6 (#552)

[![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-dialogflow-cx](https://github.com/googleapis/java-dialogflow-cx) | `0.14.5` -> `0.14.6` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dialogflow-cx/0.14.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dialogflow-cx/0.14.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dialogflow-cx/0.14.6/compatibility-slim/0.14.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-dialogflow-cx/0.14.6/confidence-slim/0.14.5)](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-dialogflow-cx).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTguMSIsInVwZGF0ZWRJblZlciI6IjMyLjE5OC4xIn0=-->
gcf-merge-on-green bot pushed a commit that referenced this issue Nov 17, 2022
### Migrating samples from [googleapis/java-speech](https://github.com/googleapis/java-speech/tree/main/samples) into [java-docs-samples/speech](https://github.com/GoogleCloudPlatform/java-docs-samples)
---

- samples: Speech GA - library update (#1212)
- samples: Due to API backend changes, update the samples to match (#1595)
-  fix: update retry configs, adds generated samples (#26)
- build: move clirr to separate check (#30)
- feat: add speaker_tag to WordInfo (#40)
- chore: update common templates, regenerate tests
- samples: Fix flaky speech test for speaker diarization (#1829)
- chore(regen): update license year for generated files (#82)
- chore(regen): regenerate with updated year
- samples: move generated samples to generated directory (#105)
- chore: update common templates
- samples: fix: flaky tests in speech (#2286)
- samples: speech: move samples out of branch (#2324)
- samples: scaffold pom.xml files (#118)
- chore(deps): update dependency com.google.cloud:libraries-bom to v4.3.0 (#122)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.13 (#126)
- samples: update shared config (#2443)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.14 (#130)
- chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.0 (#131)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#133)
- chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.1 (#134)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5 (#144)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.16 (#149)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.17 (#153)
- chore: fix samples snippets and update name in repo-metadata (#155)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.2.0 (#160)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#167)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.5.0 (#177)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.18 (#200)
- chore(deps): update dependency com.google.cloud:libraries-bom to v5.7.0 (#199)
- chore(deps): update dependency com.google.cloud:libraries-bom to v6 (#210)
- chore(deps): update dependency com.google.cloud:libraries-bom to v7 (#214)
- chore(deps): update dependency com.google.cloud:libraries-bom to v7.0.1 (#222)
- chore(deps): update dependency com.google.cloud:libraries-bom to v8 (#227)
- chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#237)
- samples: Add Speech API quickstart sample. (#497)
- samples: Adds sync / async examples for local and remote files
- samples: Fixes whitespace around while blocks
- samples: Adds some basic javadocs and comments
- samples: Infer project from env
- samples: Updates to use v1 release.
- samples: Fixes checkstyle issues.
- samples: Adds streaming example and tests.
- samples: Nits found in self-review.
- samples: Removes commented out code snippet and adds note on async local file limit.
- samples: Speech async examples (#612)
- samples: Vision speech upgrade (#641)
- samples: updating to latest google-cloud-* dependencies (#723)
- samples: Upgrades client and addresses changes to long running operations
- samples: Adds support for word time offset
- samples: Minimizes cloud maven dependencies and fixes lint warnings
- samples: Fixes seconds reported in word time offsets and enables maven checks
- samples: Updates to highlight word time offsets (#787)
- samples: Use only first alternative. Comments for clarity (#837)
- samples: Auto-update dependencies. (#853)
- samples: Auto-update dependencies. (#912)
- samples: Updated mlengine, monitoring, pubsub, spanner, and speech. (#993)
- samples: Speech samples (#1036)
- samples: Add model selection to streaming sample (#1073)
- samples: Model selection (#1074)
- samples: Add Auto-Punctuation samples to speech (#1079)
- samples: Add samples for enhanced models and metadata (#1093)
- samples: Add speech beta samples (#1151)
- samples: [DO_NOT_MERGE] Microphone streaming with a 1 minute duration. (#1185)
- samples: Speech region tag update (#1188)
- samples: updates word time offsets region tag (#1191)
- samples: Speech GA - library update (#1212)
- samples: Bump QuickStartSample to v1 (#1285)
- samples: Infinite Stream recognition (#1297)
- samples: Speech multi-channel GA (#1341)
- samples: Data logging opt-in is no longer required for enhanced models (#1360)
- samples: Updated Infinite streaming sample (#1422)
- samples: Revert Tests, product team rolled back changes, Auto Punctuation behavior is back to the expected output (#1428)
- samples: Increase timeout to 5 mins (#1453)
- samples: Update Recognize.java (#1460)
- samples: Add back missing break statement (#1512)
- samples: Added command line option class + option to pass different lang code as argument (#1504)
- samples: Update a default value to parameter (#1522)
- samples: Add samples for speech diarization ga (auto-punctuation samples alrea… (#1744)
- samples: speech: add ga samples and fix some flaky tests (#2049)
- samples: update shared config (#2443)
- samples: speech: make flaky tests generic (#2825)
- samples: fix test dependencies
- chore(deps): update dependency com.google.cloud:libraries-bom to v9 (#263)
- chore(deps): update dependency com.google.cloud:libraries-bom to v10 (#271)
- 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 (#294)
- chore(deps): update dependency com.google.cloud:libraries-bom to v12 (#298)
- test(deps): update dependency junit:junit to v4.13.1
- chore(deps): update dependency com.google.cloud:libraries-bom to v12.1.0 (#310)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13 (#321)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.1.0 (#326)
- test(deps): update dependency com.google.truth:truth to v1.1 (#322)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.2.0 (#332)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.3.0 (#334)
- chore(deps): update dependency com.google.cloud:libraries-bom to v13.4.0 (#338)
- chore(deps): update dependency com.google.cloud:libraries-bom to v14 (#347)
- chore(deps): update dependency com.google.cloud:libraries-bom to v15 (#350)
- chore(deps): update dependency com.google.cloud:libraries-bom to v15.1.0 (#357)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16 (#364)
- samples: add recognize sample with profanity filter (#376)
- samples: refactor quickstart to use a gcs file (#378)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.2.0 (#389)
- samples: add multi region transcribe sample (#394)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.2.1 (#398)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.3.0 (#405)
- test(deps): update dependency com.google.truth:truth to v1.1.2 (#407)
- chore(deps): update dependency com.google.cloud:libraries-bom to v16.4.0 (#423)
- test(deps): update dependency junit:junit to v4.13.2 (#428)
- chore(deps): update dependency com.google.cloud:libraries-bom to v17 (#441)
- chore(deps): update dependency com.google.cloud:libraries-bom to v18 (#445)
- chore(deps): update dependency com.google.cloud:libraries-bom to v18.1.0 (#456)
- chore(deps): update dependency com.google.cloud:libraries-bom to v19 (#459)
- chore(samples): adds model adaptation sample (#468)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.22 (#482)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20 (#486)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.1.0 (#493)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.2.0 (#505)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.3.0 (#514)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.4.0 (#523)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.5.0 (#535)
- test(deps): update dependency com.google.truth:truth to v1.1.3 (#537)
- chore: change region (#538)
- samples: adds export to GCS sample (#544)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.6.0 (#552)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.23 (#551)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.7.0 (#568)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.8.0 (#578)
- chore(deps): update dependency com.google.cloud:libraries-bom to v20.9.0 (#589)
- chore(deps): update dependency com.google.cloud:libraries-bom to v21 (#625)
- chore(deps): update dependency com.google.cloud:libraries-bom to v22 (#650)
- chore(deps): update dependency com.google.cloud:libraries-bom to v23 (#663)
- chore: migrate to owlbot (#660)
- chore(deps): update dependency com.google.cloud:libraries-bom to v23.1.0 (#702)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#719)
- deps: update dependency commons-cli:commons-cli to v1.5.0 (#720)
- sample: Configure polling algorithm in long recognition sample (#464)
- chore: cleanup cloud RAD generation (#1269) (#725)
- docs(samples): refactors the export-to-gcs sample (#737)
- deps: update dependency org.json:json to v20211205 (#745)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.24 (#742)
- chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.2.0 (#753)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.0 (#758)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.1 (#759)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.2 (#764)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.2.0 (#775)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.3.0 (#794)
- chore(deps): update dependency com.google.cloud:libraries-bom to v24.4.0 (#823)
- deps: update dependency org.json:json to v20220320 (#835)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25 (#834)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.1.0 (#849)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.2.0 (#876)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.3.0 (#883)
- chore(deps): update dependency com.google.cloud:libraries-bom to v25.4.0 (#892)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#918)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.0 (#938)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.1 (#941)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.2 (#957)
- deps: update dependency org.json:json to v20220924 (#961)
- chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.3 (#975)

Fixes #issue

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

- [ ] I have followed [Sample Format Guide](https://github.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
Labels
type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

5 participants