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

bigquery/datatransfer/cloud-client libraries-bom update to 5.4.0 missing protos #2948

Closed
lesv opened this issue May 20, 2020 · 1 comment
Closed
Assignees
Labels
api: bigquerydatatransfer Issues related to the BigQuery Data Transfer Service API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@lesv
Copy link
Contributor

lesv commented May 20, 2020

Found in #2937
https://source.cloud.google.com/results/invocations/a77cb9c7-f9c6-493d-aa59-405a0c0f775a/targets/cloud-devrel%2Fjava%2Fjava-docs-samples%2Fjava11%2Fpresubmit/log

------------------------------------------------------------
- testing bigquery/datatransfer/cloud-client
------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[22,49] cannot find symbol
  symbol:   class DataSource
  location: package com.google.cloud.bigquery.datatransfer.v1
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[25,49] cannot find symbol
  symbol:   class ListDataSourcesRequest
  location: package com.google.cloud.bigquery.datatransfer.v1
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[39,70] cannot access com.google.api.gax.core.BackgroundResource
  class file for com.google.api.gax.core.BackgroundResource not found
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[39,36] incompatible types: try-with-resources not applicable to variable type
    (com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient cannot be converted to java.lang.AutoCloseable)
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[42,7] cannot find symbol
  symbol:   class ListDataSourcesRequest
  location: class com.example.bigquerydatatransfer.QuickstartSample
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[43,11] cannot find symbol
  symbol:   variable ListDataSourcesRequest
  location: class com.example.bigquerydatatransfer.QuickstartSample
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[46,53] cannot access com.google.cloud.bigquery.datatransfer.v1.LocationName
  class file for com.google.cloud.bigquery.datatransfer.v1.LocationName not found
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[50,44] cannot access com.google.api.gax.paging.AbstractPagedListResponse
  class file for com.google.api.gax.paging.AbstractPagedListResponse not found
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[50,12] cannot find symbol
  symbol:   class DataSource
  location: class com.example.bigquerydatatransfer.QuickstartSample
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project bigquery-datatransfer-google-cloud-samples: Compilation failure: Compilation failure:
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[22,49] cannot find symbol
[ERROR]   symbol:   class DataSource
[ERROR]   location: package com.google.cloud.bigquery.datatransfer.v1
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[25,49] cannot find symbol
[ERROR]   symbol:   class ListDataSourcesRequest
[ERROR]   location: package com.google.cloud.bigquery.datatransfer.v1
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[39,70] cannot access com.google.api.gax.core.BackgroundResource
[ERROR]   class file for com.google.api.gax.core.BackgroundResource not found
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[39,36] incompatible types: try-with-resources not applicable to variable type
[ERROR]     (com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClient cannot be converted to java.lang.AutoCloseable)
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[42,7] cannot find symbol
[ERROR]   symbol:   class ListDataSourcesRequest
[ERROR]   location: class com.example.bigquerydatatransfer.QuickstartSample
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[43,11] cannot find symbol
[ERROR]   symbol:   variable ListDataSourcesRequest
[ERROR]   location: class com.example.bigquerydatatransfer.QuickstartSample
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[46,53] cannot access com.google.cloud.bigquery.datatransfer.v1.LocationName
[ERROR]   class file for com.google.cloud.bigquery.datatransfer.v1.LocationName not found
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[50,44] cannot access com.google.api.gax.paging.AbstractPagedListResponse
[ERROR]   class file for com.google.api.gax.paging.AbstractPagedListResponse not found
[ERROR] /tmpfs/src/github/java-docs-samples/bigquery/datatransfer/cloud-client/src/main/java/com/example/bigquerydatatransfer/QuickstartSample.java:[50,12] cannot find symbol
[ERROR]   symbol:   class DataSource
[ERROR]   location: class com.example.bigquerydatatransfer.QuickstartSample
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 Testing failed: Maven returned a non-zero exit code.
@lesv lesv added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. api: bigquerydatatransfer Issues related to the BigQuery Data Transfer Service API. labels May 20, 2020
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels May 25, 2020
@stephaniewang526
Copy link
Contributor

Migrating bigquerydatatransfer samples into its client which has libraries-bom v 5.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerydatatransfer Issues related to the BigQuery Data Transfer Service API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. 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

3 participants