diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 1df56503..a4ab2a81 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dataproc.git", - "sha": "0af4d77339debe9b304e57b61a51d2c52ee4663e" + "sha": "46028fe9ceebafb3036b79f8c12b92abf460616d" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0199c79b8324fba66476300824aa931788c47e2d" + "sha": "2e7bd5cc66a3f0b90ce1c150eb35c89eeb9872d6" } } ] diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 7c8816a7..9b4fd4d8 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -16,8 +16,8 @@ jobs: return; } - // only approve PRs like "chore(master): release " - if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) { + // only approve PRs like "chore: release " + if ( !context.payload.pull_request.title.startsWith("chore: release") ) { return; } diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg index 5bbfb5de..5e9f8e43 100644 --- a/.kokoro/release/publish_javadoc.cfg +++ b/.kokoro/release/publish_javadoc.cfg @@ -7,12 +7,6 @@ env_vars: { value: "docs-staging" } -# cloud-rad staging -env_vars: { - key: "STAGING_BUCKET_V2" - value: "docs-staging-v2-staging" -} - env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-dataproc/.kokoro/release/publish_javadoc.sh" @@ -26,4 +20,4 @@ before_action { keyname: "docuploader_service_account" } } -} \ No newline at end of file +} diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh index 354f5453..3fbacdaa 100755 --- a/.kokoro/release/publish_javadoc.sh +++ b/.kokoro/release/publish_javadoc.sh @@ -56,22 +56,3 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET} - -popd - -# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates. - -mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" - -pushd target/devsite/reference - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --language java - -# upload docs to staging bucket -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET_V2} diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh index 2764468c..4436f0be 100755 --- a/.kokoro/release/publish_javadoc11.sh +++ b/.kokoro/release/publish_javadoc11.sh @@ -40,6 +40,9 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # generate yml mvn clean site -B -q -P docFX +# copy README to docfx-yml dir and rename index.md +cp README.md target/docfx-yml/index.md + pushd target/docfx-yml # create metadata @@ -52,4 +55,4 @@ python3 -m docuploader create-metadata \ python3 -m docuploader upload . \ --credentials ${CREDENTIALS} \ --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx- + --destination-prefix docfx diff --git a/CHANGELOG.md b/CHANGELOG.md index 934fb289..5031fe51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [1.3.0](https://www.github.com/googleapis/java-dataproc/compare/v1.2.1...v1.3.0) (2021-03-11) + + +### Features + +* **generator:** update protoc to v3.15.3 ([#462](https://www.github.com/googleapis/java-dataproc/issues/462)) ([ef5f0bc](https://www.github.com/googleapis/java-dataproc/commit/ef5f0bcf9981a1f61ed460f798b932b1d74291c0)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#475](https://www.github.com/googleapis/java-dataproc/issues/475)) ([42f464a](https://www.github.com/googleapis/java-dataproc/commit/42f464a672c0b6a2595a847de689b0e4171ee7f9)) +* update dependency com.google.cloud:google-cloud-storage to v1.113.13 ([#465](https://www.github.com/googleapis/java-dataproc/issues/465)) ([096f64a](https://www.github.com/googleapis/java-dataproc/commit/096f64a1773f2bc20c348a7e28e225439b56faca)) + ### [1.2.1](https://www.github.com/googleapis/java-dataproc/compare/v1.2.0...v1.2.1) (2021-02-26) diff --git a/README.md b/README.md index add2943c..986d0179 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 18.0.0 + 19.0.0 pom import @@ -39,25 +39,25 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-dataproc - 1.2.0 + 1.2.1 ``` If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:18.0.0') +implementation platform('com.google.cloud:libraries-bom:19.0.0') compile 'com.google.cloud:google-cloud-dataproc' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-dataproc:1.2.0' +compile 'com.google.cloud:google-cloud-dataproc:1.2.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "1.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "1.2.1" ``` ## Authentication diff --git a/google-cloud-dataproc-bom/pom.xml b/google-cloud-dataproc-bom/pom.xml index f546f2b6..28daba60 100644 --- a/google-cloud-dataproc-bom/pom.xml +++ b/google-cloud-dataproc-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-dataproc-bom - 1.2.1 + 1.3.0 pom com.google.cloud @@ -64,27 +64,27 @@ com.google.cloud google-cloud-dataproc - 1.2.1 + 1.3.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.90.1 + 0.91.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 1.2.1 + 1.3.0 com.google.api.grpc proto-google-cloud-dataproc-v1 - 1.2.1 + 1.3.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.90.1 + 0.91.0 diff --git a/google-cloud-dataproc/pom.xml b/google-cloud-dataproc/pom.xml index 73caff82..d7bba074 100644 --- a/google-cloud-dataproc/pom.xml +++ b/google-cloud-dataproc/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-dataproc - 1.2.1 + 1.3.0 jar Google Cloud Dataproc https://github.com/googleapis/java-dataproc @@ -11,7 +11,7 @@ com.google.cloud google-cloud-dataproc-parent - 1.2.1 + 1.3.0 google-cloud-dataproc diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceClient.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceClient.java index 9247e11f..f7bbadd5 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceClient.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceSettings.java index 1ca5daa8..aba49662 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java index 2b2443c1..e07fbb63 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerSettings.java index b8b22b72..e4d40160 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerClient.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerClient.java index 2ca6e8af..fdf358c0 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerClient.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerSettings.java index 546f5cf7..c16d3caa 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/JobControllerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java index b334fec5..ba8bbeb1 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceSettings.java index 03d89c31..a964f1e5 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/package-info.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/package-info.java index b152ad3c..246d9b5f 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/package-info.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/AutoscalingPolicyServiceStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/AutoscalingPolicyServiceStub.java index 4d3137a7..a4cb2d3b 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/AutoscalingPolicyServiceStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/AutoscalingPolicyServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/AutoscalingPolicyServiceStubSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/AutoscalingPolicyServiceStubSettings.java index 2ef752ad..50647e7e 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/AutoscalingPolicyServiceStubSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/AutoscalingPolicyServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStub.java index c8a161b4..f75e4fbd 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStubSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStubSettings.java index d2c3ce62..ee7a93e4 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStubSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/ClusterControllerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcAutoscalingPolicyServiceCallableFactory.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcAutoscalingPolicyServiceCallableFactory.java index 6fc11a53..8bb76da3 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcAutoscalingPolicyServiceCallableFactory.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcAutoscalingPolicyServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcAutoscalingPolicyServiceStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcAutoscalingPolicyServiceStub.java index 55f11d0d..99be2b1b 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcAutoscalingPolicyServiceStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcAutoscalingPolicyServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerCallableFactory.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerCallableFactory.java index 63442c5c..7e08bdaf 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerCallableFactory.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerStub.java index 694cae3b..687b1896 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcClusterControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerCallableFactory.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerCallableFactory.java index 86be4daa..6c20d95a 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerCallableFactory.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerStub.java index e22f7c9b..e21d889f 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcJobControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceCallableFactory.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceCallableFactory.java index 2b8ccb12..5899556e 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceCallableFactory.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceStub.java index f5f13b6a..8f3d88ec 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/GrpcWorkflowTemplateServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStub.java index fccb5d88..d3613add 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStubSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStubSettings.java index 6f4fb9c2..de11fe5c 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStubSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/JobControllerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStub.java index 42792163..ea75946b 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStubSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStubSettings.java index 00bcf4bc..e4deecf0 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStubSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/WorkflowTemplateServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceClient.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceClient.java index dedaf8ce..f62f81d7 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceClient.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceSettings.java index aeda5508..9f5756f5 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java index e22a9611..a7b58cde 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSettings.java index 3825a940..eafa8bc3 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerClient.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerClient.java index 0ffd23e4..384e17c9 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerClient.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerSettings.java index 28d2e477..f700dd21 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java index 99f89e98..5463128d 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceSettings.java index 469ddf36..fbf23573 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/package-info.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/package-info.java index 726b57a2..bfcbb6a1 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/package-info.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/AutoscalingPolicyServiceStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/AutoscalingPolicyServiceStub.java index 2592bd13..c51aa7c7 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/AutoscalingPolicyServiceStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/AutoscalingPolicyServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/AutoscalingPolicyServiceStubSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/AutoscalingPolicyServiceStubSettings.java index fd716b84..b8367707 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/AutoscalingPolicyServiceStubSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/AutoscalingPolicyServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStub.java index 7da04316..8e879b50 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStubSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStubSettings.java index 7857251c..e4e208a1 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStubSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/ClusterControllerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcAutoscalingPolicyServiceCallableFactory.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcAutoscalingPolicyServiceCallableFactory.java index b47b3603..489b9010 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcAutoscalingPolicyServiceCallableFactory.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcAutoscalingPolicyServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcAutoscalingPolicyServiceStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcAutoscalingPolicyServiceStub.java index de3954cb..c784c73a 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcAutoscalingPolicyServiceStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcAutoscalingPolicyServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerCallableFactory.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerCallableFactory.java index 6fe8a4dd..4f28cfab 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerCallableFactory.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerStub.java index 39f0ad27..770ac946 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcClusterControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerCallableFactory.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerCallableFactory.java index 572294a2..16ed3d2d 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerCallableFactory.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerStub.java index 68446e56..2b9469e5 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcJobControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceCallableFactory.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceCallableFactory.java index 6fd2cb9c..36506b4a 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceCallableFactory.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceStub.java index 0abe58a9..2e95fc12 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/GrpcWorkflowTemplateServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStub.java index 33542906..58a13533 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStubSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStubSettings.java index e6b58847..f8f73f2e 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStubSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/JobControllerStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStub.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStub.java index b117802a..bb8047dd 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStub.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStubSettings.java b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStubSettings.java index 0912dd69..fb5f930e 100644 --- a/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStubSettings.java +++ b/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1beta2/stub/WorkflowTemplateServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceClientTest.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceClientTest.java index f6e981c4..437c8c00 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceClientTest.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerClientTest.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerClientTest.java index 40d059f8..b43be30a 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerClientTest.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/ClusterControllerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/JobControllerClientTest.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/JobControllerClientTest.java index 6cf661b9..5c6f6d2c 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/JobControllerClientTest.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/JobControllerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockAutoscalingPolicyService.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockAutoscalingPolicyService.java index a15d9f48..fbceec8b 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockAutoscalingPolicyService.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockAutoscalingPolicyService.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockAutoscalingPolicyServiceImpl.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockAutoscalingPolicyServiceImpl.java index c97ce130..5528721e 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockAutoscalingPolicyServiceImpl.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockAutoscalingPolicyServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterController.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterController.java index 57479579..757fb4cf 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterController.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterController.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterControllerImpl.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterControllerImpl.java index 5380d36e..e3168799 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterControllerImpl.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockClusterControllerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobController.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobController.java index da1f93da..f585b65e 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobController.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobController.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobControllerImpl.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobControllerImpl.java index facfa484..2571d765 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobControllerImpl.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockJobControllerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateService.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateService.java index d42a4daf..f4881cc5 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateService.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateService.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateServiceImpl.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateServiceImpl.java index fe566591..88e8e17f 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateServiceImpl.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/MockWorkflowTemplateServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClientTest.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClientTest.java index 051b20e0..ec172781 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClientTest.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceClientTest.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceClientTest.java index bdfab55a..6014512e 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceClientTest.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClientTest.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClientTest.java index 95520651..b2dbac3d 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClientTest.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/ClusterControllerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/JobControllerClientTest.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/JobControllerClientTest.java index 736499f5..3314216c 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/JobControllerClientTest.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/JobControllerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockAutoscalingPolicyService.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockAutoscalingPolicyService.java index 067e045d..ef5d92e4 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockAutoscalingPolicyService.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockAutoscalingPolicyService.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockAutoscalingPolicyServiceImpl.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockAutoscalingPolicyServiceImpl.java index 7ea9b907..af9c4d69 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockAutoscalingPolicyServiceImpl.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockAutoscalingPolicyServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterController.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterController.java index 296e5a3d..da78be2e 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterController.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterController.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterControllerImpl.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterControllerImpl.java index 13d5aa0b..5df752ef 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterControllerImpl.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockClusterControllerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobController.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobController.java index b970524d..e3272336 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobController.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobController.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobControllerImpl.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobControllerImpl.java index 4293a3d6..49791494 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobControllerImpl.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockJobControllerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateService.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateService.java index 295398c7..dfb8a3b0 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateService.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateService.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateServiceImpl.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateServiceImpl.java index 694f7d00..3b2a87bf 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateServiceImpl.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/MockWorkflowTemplateServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClientTest.java b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClientTest.java index 1594a95d..86ec5be0 100644 --- a/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClientTest.java +++ b/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc-google-cloud-dataproc-v1/pom.xml b/grpc-google-cloud-dataproc-v1/pom.xml index 1174c43c..eda62448 100644 --- a/grpc-google-cloud-dataproc-v1/pom.xml +++ b/grpc-google-cloud-dataproc-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 1.2.1 + 1.3.0 grpc-google-cloud-dataproc-v1 GRPC library for grpc-google-cloud-dataproc-v1 com.google.cloud google-cloud-dataproc-parent - 1.2.1 + 1.3.0 diff --git a/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceGrpc.java b/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceGrpc.java index 80062108..7b8b76cb 100644 --- a/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceGrpc.java +++ b/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyServiceGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.dataproc.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -359,7 +354,8 @@ public void createAutoscalingPolicy( com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateAutoscalingPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAutoscalingPolicyMethod(), responseObserver); } /** @@ -375,7 +371,8 @@ public void updateAutoscalingPolicy( com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateAutoscalingPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAutoscalingPolicyMethod(), responseObserver); } /** @@ -389,7 +386,8 @@ public void getAutoscalingPolicy( com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetAutoscalingPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAutoscalingPolicyMethod(), responseObserver); } /** @@ -403,7 +401,8 @@ public void listAutoscalingPolicies( com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListAutoscalingPoliciesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAutoscalingPoliciesMethod(), responseObserver); } /** @@ -417,7 +416,8 @@ public void listAutoscalingPolicies( public void deleteAutoscalingPolicy( com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteAutoscalingPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAutoscalingPolicyMethod(), responseObserver); } @java.lang.Override @@ -425,35 +425,35 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateAutoscalingPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest, com.google.cloud.dataproc.v1.AutoscalingPolicy>( this, METHODID_CREATE_AUTOSCALING_POLICY))) .addMethod( getUpdateAutoscalingPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest, com.google.cloud.dataproc.v1.AutoscalingPolicy>( this, METHODID_UPDATE_AUTOSCALING_POLICY))) .addMethod( getGetAutoscalingPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest, com.google.cloud.dataproc.v1.AutoscalingPolicy>( this, METHODID_GET_AUTOSCALING_POLICY))) .addMethod( getListAutoscalingPoliciesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest, com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse>( this, METHODID_LIST_AUTOSCALING_POLICIES))) .addMethod( getDeleteAutoscalingPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_AUTOSCALING_POLICY))) @@ -492,7 +492,7 @@ public void createAutoscalingPolicy( com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateAutoscalingPolicyMethod(), getCallOptions()), request, responseObserver); @@ -511,7 +511,7 @@ public void updateAutoscalingPolicy( com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateAutoscalingPolicyMethod(), getCallOptions()), request, responseObserver); @@ -528,7 +528,7 @@ public void getAutoscalingPolicy( com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetAutoscalingPolicyMethod(), getCallOptions()), request, responseObserver); @@ -545,7 +545,7 @@ public void listAutoscalingPolicies( com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListAutoscalingPoliciesMethod(), getCallOptions()), request, responseObserver); @@ -562,7 +562,7 @@ public void listAutoscalingPolicies( public void deleteAutoscalingPolicy( com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteAutoscalingPolicyMethod(), getCallOptions()), request, responseObserver); @@ -599,7 +599,7 @@ protected AutoscalingPolicyServiceBlockingStub build( */ public com.google.cloud.dataproc.v1.AutoscalingPolicy createAutoscalingPolicy( com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateAutoscalingPolicyMethod(), getCallOptions(), request); } @@ -614,7 +614,7 @@ public com.google.cloud.dataproc.v1.AutoscalingPolicy createAutoscalingPolicy( */ public com.google.cloud.dataproc.v1.AutoscalingPolicy updateAutoscalingPolicy( com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAutoscalingPolicyMethod(), getCallOptions(), request); } @@ -627,7 +627,7 @@ public com.google.cloud.dataproc.v1.AutoscalingPolicy updateAutoscalingPolicy( */ public com.google.cloud.dataproc.v1.AutoscalingPolicy getAutoscalingPolicy( com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAutoscalingPolicyMethod(), getCallOptions(), request); } @@ -640,7 +640,7 @@ public com.google.cloud.dataproc.v1.AutoscalingPolicy getAutoscalingPolicy( */ public com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse listAutoscalingPolicies( com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAutoscalingPoliciesMethod(), getCallOptions(), request); } @@ -654,7 +654,7 @@ public com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse listAutoscal */ public com.google.protobuf.Empty deleteAutoscalingPolicy( com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteAutoscalingPolicyMethod(), getCallOptions(), request); } } @@ -691,7 +691,7 @@ protected AutoscalingPolicyServiceFutureStub build( com.google.cloud.dataproc.v1.AutoscalingPolicy> createAutoscalingPolicy( com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateAutoscalingPolicyMethod(), getCallOptions()), request); } @@ -708,7 +708,7 @@ protected AutoscalingPolicyServiceFutureStub build( com.google.cloud.dataproc.v1.AutoscalingPolicy> updateAutoscalingPolicy( com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAutoscalingPolicyMethod(), getCallOptions()), request); } @@ -722,7 +722,7 @@ protected AutoscalingPolicyServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1.AutoscalingPolicy> getAutoscalingPolicy(com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAutoscalingPolicyMethod(), getCallOptions()), request); } @@ -737,7 +737,7 @@ protected AutoscalingPolicyServiceFutureStub build( com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse> listAutoscalingPolicies( com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAutoscalingPoliciesMethod(), getCallOptions()), request); } @@ -752,7 +752,7 @@ protected AutoscalingPolicyServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture deleteAutoscalingPolicy( com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteAutoscalingPolicyMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerGrpc.java b/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerGrpc.java index 7a2eb402..5da6ef58 100644 --- a/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerGrpc.java +++ b/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterControllerGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.dataproc.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -364,7 +359,8 @@ public abstract static class ClusterControllerImplBase implements io.grpc.Bindab public void createCluster( com.google.cloud.dataproc.v1.CreateClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClusterMethod(), responseObserver); } /** @@ -379,7 +375,8 @@ public void createCluster( public void updateCluster( com.google.cloud.dataproc.v1.UpdateClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateClusterMethod(), responseObserver); } /** @@ -394,7 +391,8 @@ public void updateCluster( public void deleteCluster( com.google.cloud.dataproc.v1.DeleteClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteClusterMethod(), responseObserver); } /** @@ -407,7 +405,7 @@ public void deleteCluster( public void getCluster( com.google.cloud.dataproc.v1.GetClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); } /** @@ -421,7 +419,8 @@ public void listClusters( com.google.cloud.dataproc.v1.ListClustersRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListClustersMethod(), responseObserver); } /** @@ -440,7 +439,8 @@ public void listClusters( public void diagnoseCluster( com.google.cloud.dataproc.v1.DiagnoseClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDiagnoseClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDiagnoseClusterMethod(), responseObserver); } @java.lang.Override @@ -448,38 +448,38 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.CreateClusterRequest, com.google.longrunning.Operation>(this, METHODID_CREATE_CLUSTER))) .addMethod( getUpdateClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.UpdateClusterRequest, com.google.longrunning.Operation>(this, METHODID_UPDATE_CLUSTER))) .addMethod( getDeleteClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.DeleteClusterRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_CLUSTER))) .addMethod( getGetClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.GetClusterRequest, com.google.cloud.dataproc.v1.Cluster>(this, METHODID_GET_CLUSTER))) .addMethod( getListClustersMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.ListClustersRequest, com.google.cloud.dataproc.v1.ListClustersResponse>( this, METHODID_LIST_CLUSTERS))) .addMethod( getDiagnoseClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.DiagnoseClusterRequest, com.google.longrunning.Operation>(this, METHODID_DIAGNOSE_CLUSTER))) @@ -519,7 +519,7 @@ protected ClusterControllerStub build( public void createCluster( com.google.cloud.dataproc.v1.CreateClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); @@ -537,7 +537,7 @@ public void createCluster( public void updateCluster( com.google.cloud.dataproc.v1.UpdateClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); @@ -555,7 +555,7 @@ public void updateCluster( public void deleteCluster( com.google.cloud.dataproc.v1.DeleteClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); @@ -571,7 +571,7 @@ public void deleteCluster( public void getCluster( com.google.cloud.dataproc.v1.GetClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); } @@ -586,7 +586,7 @@ public void listClusters( com.google.cloud.dataproc.v1.ListClustersRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); @@ -608,7 +608,7 @@ public void listClusters( public void diagnoseCluster( com.google.cloud.dataproc.v1.DiagnoseClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDiagnoseClusterMethod(), getCallOptions()), request, responseObserver); @@ -647,7 +647,8 @@ protected ClusterControllerBlockingStub build( */ public com.google.longrunning.Operation createCluster( com.google.cloud.dataproc.v1.CreateClusterRequest request) { - return blockingUnaryCall(getChannel(), getCreateClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); } /** @@ -661,7 +662,8 @@ public com.google.longrunning.Operation createCluster( */ public com.google.longrunning.Operation updateCluster( com.google.cloud.dataproc.v1.UpdateClusterRequest request) { - return blockingUnaryCall(getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); } /** @@ -675,7 +677,8 @@ public com.google.longrunning.Operation updateCluster( */ public com.google.longrunning.Operation deleteCluster( com.google.cloud.dataproc.v1.DeleteClusterRequest request) { - return blockingUnaryCall(getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); } /** @@ -687,7 +690,8 @@ public com.google.longrunning.Operation deleteCluster( */ public com.google.cloud.dataproc.v1.Cluster getCluster( com.google.cloud.dataproc.v1.GetClusterRequest request) { - return blockingUnaryCall(getChannel(), getGetClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); } /** @@ -699,7 +703,8 @@ public com.google.cloud.dataproc.v1.Cluster getCluster( */ public com.google.cloud.dataproc.v1.ListClustersResponse listClusters( com.google.cloud.dataproc.v1.ListClustersRequest request) { - return blockingUnaryCall(getChannel(), getListClustersMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); } /** @@ -717,7 +722,8 @@ public com.google.cloud.dataproc.v1.ListClustersResponse listClusters( */ public com.google.longrunning.Operation diagnoseCluster( com.google.cloud.dataproc.v1.DiagnoseClusterRequest request) { - return blockingUnaryCall(getChannel(), getDiagnoseClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDiagnoseClusterMethod(), getCallOptions(), request); } } @@ -752,7 +758,7 @@ protected ClusterControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture createCluster(com.google.cloud.dataproc.v1.CreateClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); } @@ -767,7 +773,7 @@ protected ClusterControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture updateCluster(com.google.cloud.dataproc.v1.UpdateClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); } @@ -782,7 +788,7 @@ protected ClusterControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteCluster(com.google.cloud.dataproc.v1.DeleteClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); } @@ -795,7 +801,7 @@ protected ClusterControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture getCluster(com.google.cloud.dataproc.v1.GetClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); } @@ -809,7 +815,7 @@ protected ClusterControllerFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1.ListClustersResponse> listClusters(com.google.cloud.dataproc.v1.ListClustersRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListClustersMethod(), getCallOptions()), request); } @@ -828,7 +834,7 @@ protected ClusterControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture diagnoseCluster(com.google.cloud.dataproc.v1.DiagnoseClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDiagnoseClusterMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobControllerGrpc.java b/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobControllerGrpc.java index 749d4504..34acc0ca 100644 --- a/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobControllerGrpc.java +++ b/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/JobControllerGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.dataproc.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -391,7 +386,7 @@ public abstract static class JobControllerImplBase implements io.grpc.BindableSe public void submitJob( com.google.cloud.dataproc.v1.SubmitJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSubmitJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubmitJobMethod(), responseObserver); } /** @@ -404,7 +399,8 @@ public void submitJob( public void submitJobAsOperation( com.google.cloud.dataproc.v1.SubmitJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSubmitJobAsOperationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSubmitJobAsOperationMethod(), responseObserver); } /** @@ -417,7 +413,7 @@ public void submitJobAsOperation( public void getJob( com.google.cloud.dataproc.v1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** @@ -431,7 +427,7 @@ public void listJobs( com.google.cloud.dataproc.v1.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** @@ -444,7 +440,7 @@ public void listJobs( public void updateJob( com.google.cloud.dataproc.v1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** @@ -461,7 +457,7 @@ public void updateJob( public void cancelJob( com.google.cloud.dataproc.v1.CancelJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCancelJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelJobMethod(), responseObserver); } /** @@ -475,7 +471,7 @@ public void cancelJob( public void deleteJob( com.google.cloud.dataproc.v1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } @java.lang.Override @@ -483,43 +479,43 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getSubmitJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.SubmitJobRequest, com.google.cloud.dataproc.v1.Job>(this, METHODID_SUBMIT_JOB))) .addMethod( getSubmitJobAsOperationMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.SubmitJobRequest, com.google.longrunning.Operation>(this, METHODID_SUBMIT_JOB_AS_OPERATION))) .addMethod( getGetJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.GetJobRequest, com.google.cloud.dataproc.v1.Job>( this, METHODID_GET_JOB))) .addMethod( getListJobsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.ListJobsRequest, com.google.cloud.dataproc.v1.ListJobsResponse>(this, METHODID_LIST_JOBS))) .addMethod( getUpdateJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.UpdateJobRequest, com.google.cloud.dataproc.v1.Job>(this, METHODID_UPDATE_JOB))) .addMethod( getCancelJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.CancelJobRequest, com.google.cloud.dataproc.v1.Job>(this, METHODID_CANCEL_JOB))) .addMethod( getDeleteJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.DeleteJobRequest, com.google.protobuf.Empty>( this, METHODID_DELETE_JOB))) @@ -555,7 +551,7 @@ protected JobControllerStub build(io.grpc.Channel channel, io.grpc.CallOptions c public void submitJob( com.google.cloud.dataproc.v1.SubmitJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSubmitJobMethod(), getCallOptions()), request, responseObserver); } @@ -569,7 +565,7 @@ public void submitJob( public void submitJobAsOperation( com.google.cloud.dataproc.v1.SubmitJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSubmitJobAsOperationMethod(), getCallOptions()), request, responseObserver); @@ -585,7 +581,7 @@ public void submitJobAsOperation( public void getJob( com.google.cloud.dataproc.v1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } @@ -600,7 +596,7 @@ public void listJobs( com.google.cloud.dataproc.v1.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } @@ -614,7 +610,7 @@ public void listJobs( public void updateJob( com.google.cloud.dataproc.v1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } @@ -632,7 +628,7 @@ public void updateJob( public void cancelJob( com.google.cloud.dataproc.v1.CancelJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCancelJobMethod(), getCallOptions()), request, responseObserver); } @@ -647,7 +643,7 @@ public void cancelJob( public void deleteJob( com.google.cloud.dataproc.v1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } } @@ -680,7 +676,8 @@ protected JobControllerBlockingStub build( */ public com.google.cloud.dataproc.v1.Job submitJob( com.google.cloud.dataproc.v1.SubmitJobRequest request) { - return blockingUnaryCall(getChannel(), getSubmitJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSubmitJobMethod(), getCallOptions(), request); } /** @@ -692,7 +689,7 @@ public com.google.cloud.dataproc.v1.Job submitJob( */ public com.google.longrunning.Operation submitJobAsOperation( com.google.cloud.dataproc.v1.SubmitJobRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSubmitJobAsOperationMethod(), getCallOptions(), request); } @@ -705,7 +702,8 @@ public com.google.longrunning.Operation submitJobAsOperation( */ public com.google.cloud.dataproc.v1.Job getJob( com.google.cloud.dataproc.v1.GetJobRequest request) { - return blockingUnaryCall(getChannel(), getGetJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); } /** @@ -717,7 +715,8 @@ public com.google.cloud.dataproc.v1.Job getJob( */ public com.google.cloud.dataproc.v1.ListJobsResponse listJobs( com.google.cloud.dataproc.v1.ListJobsRequest request) { - return blockingUnaryCall(getChannel(), getListJobsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); } /** @@ -729,7 +728,8 @@ public com.google.cloud.dataproc.v1.ListJobsResponse listJobs( */ public com.google.cloud.dataproc.v1.Job updateJob( com.google.cloud.dataproc.v1.UpdateJobRequest request) { - return blockingUnaryCall(getChannel(), getUpdateJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** @@ -745,7 +745,8 @@ public com.google.cloud.dataproc.v1.Job updateJob( */ public com.google.cloud.dataproc.v1.Job cancelJob( com.google.cloud.dataproc.v1.CancelJobRequest request) { - return blockingUnaryCall(getChannel(), getCancelJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelJobMethod(), getCallOptions(), request); } /** @@ -758,7 +759,8 @@ public com.google.cloud.dataproc.v1.Job cancelJob( */ public com.google.protobuf.Empty deleteJob( com.google.cloud.dataproc.v1.DeleteJobRequest request) { - return blockingUnaryCall(getChannel(), getDeleteJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobMethod(), getCallOptions(), request); } } @@ -790,7 +792,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture submitJob(com.google.cloud.dataproc.v1.SubmitJobRequest request) { - return futureUnaryCall(getChannel().newCall(getSubmitJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSubmitJobMethod(), getCallOptions()), request); } /** @@ -802,7 +805,7 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture submitJobAsOperation(com.google.cloud.dataproc.v1.SubmitJobRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSubmitJobAsOperationMethod(), getCallOptions()), request); } @@ -815,7 +818,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture getJob(com.google.cloud.dataproc.v1.GetJobRequest request) { - return futureUnaryCall(getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** @@ -828,7 +832,8 @@ protected JobControllerFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1.ListJobsResponse> listJobs(com.google.cloud.dataproc.v1.ListJobsRequest request) { - return futureUnaryCall(getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** @@ -840,7 +845,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture updateJob(com.google.cloud.dataproc.v1.UpdateJobRequest request) { - return futureUnaryCall(getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); } /** @@ -856,7 +862,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture cancelJob(com.google.cloud.dataproc.v1.CancelJobRequest request) { - return futureUnaryCall(getChannel().newCall(getCancelJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelJobMethod(), getCallOptions()), request); } /** @@ -869,7 +876,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteJob( com.google.cloud.dataproc.v1.DeleteJobRequest request) { - return futureUnaryCall(getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceGrpc.java b/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceGrpc.java index 72723623..665b780e 100644 --- a/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceGrpc.java +++ b/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.dataproc.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -463,7 +458,8 @@ public void createWorkflowTemplate( com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWorkflowTemplateMethod(), responseObserver); } /** @@ -479,7 +475,8 @@ public void getWorkflowTemplate( com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWorkflowTemplateMethod(), responseObserver); } /** @@ -507,7 +504,8 @@ public void getWorkflowTemplate( public void instantiateWorkflowTemplate( com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getInstantiateWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInstantiateWorkflowTemplateMethod(), responseObserver); } /** @@ -538,7 +536,8 @@ public void instantiateWorkflowTemplate( public void instantiateInlineWorkflowTemplate( com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getInstantiateInlineWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInstantiateInlineWorkflowTemplateMethod(), responseObserver); } /** @@ -553,7 +552,8 @@ public void updateWorkflowTemplate( com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateWorkflowTemplateMethod(), responseObserver); } /** @@ -567,7 +567,8 @@ public void listWorkflowTemplates( com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListWorkflowTemplatesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListWorkflowTemplatesMethod(), responseObserver); } /** @@ -580,7 +581,8 @@ public void listWorkflowTemplates( public void deleteWorkflowTemplate( com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteWorkflowTemplateMethod(), responseObserver); } @java.lang.Override @@ -588,49 +590,49 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest, com.google.cloud.dataproc.v1.WorkflowTemplate>( this, METHODID_CREATE_WORKFLOW_TEMPLATE))) .addMethod( getGetWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest, com.google.cloud.dataproc.v1.WorkflowTemplate>( this, METHODID_GET_WORKFLOW_TEMPLATE))) .addMethod( getInstantiateWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest, com.google.longrunning.Operation>( this, METHODID_INSTANTIATE_WORKFLOW_TEMPLATE))) .addMethod( getInstantiateInlineWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest, com.google.longrunning.Operation>( this, METHODID_INSTANTIATE_INLINE_WORKFLOW_TEMPLATE))) .addMethod( getUpdateWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest, com.google.cloud.dataproc.v1.WorkflowTemplate>( this, METHODID_UPDATE_WORKFLOW_TEMPLATE))) .addMethod( getListWorkflowTemplatesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest, com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse>( this, METHODID_LIST_WORKFLOW_TEMPLATES))) .addMethod( getDeleteWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_WORKFLOW_TEMPLATE))) @@ -669,7 +671,7 @@ public void createWorkflowTemplate( com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -688,7 +690,7 @@ public void getWorkflowTemplate( com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -719,7 +721,7 @@ public void getWorkflowTemplate( public void instantiateWorkflowTemplate( com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getInstantiateWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -753,7 +755,7 @@ public void instantiateWorkflowTemplate( public void instantiateInlineWorkflowTemplate( com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getInstantiateInlineWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -771,7 +773,7 @@ public void updateWorkflowTemplate( com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -788,7 +790,7 @@ public void listWorkflowTemplates( com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListWorkflowTemplatesMethod(), getCallOptions()), request, responseObserver); @@ -804,7 +806,7 @@ public void listWorkflowTemplates( public void deleteWorkflowTemplate( com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -841,7 +843,7 @@ protected WorkflowTemplateServiceBlockingStub build( */ public com.google.cloud.dataproc.v1.WorkflowTemplate createWorkflowTemplate( com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateWorkflowTemplateMethod(), getCallOptions(), request); } @@ -856,7 +858,7 @@ public com.google.cloud.dataproc.v1.WorkflowTemplate createWorkflowTemplate( */ public com.google.cloud.dataproc.v1.WorkflowTemplate getWorkflowTemplate( com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetWorkflowTemplateMethod(), getCallOptions(), request); } @@ -884,7 +886,7 @@ public com.google.cloud.dataproc.v1.WorkflowTemplate getWorkflowTemplate( */ public com.google.longrunning.Operation instantiateWorkflowTemplate( com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInstantiateWorkflowTemplateMethod(), getCallOptions(), request); } @@ -915,7 +917,7 @@ public com.google.longrunning.Operation instantiateWorkflowTemplate( */ public com.google.longrunning.Operation instantiateInlineWorkflowTemplate( com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInstantiateInlineWorkflowTemplateMethod(), getCallOptions(), request); } @@ -929,7 +931,7 @@ public com.google.longrunning.Operation instantiateInlineWorkflowTemplate( */ public com.google.cloud.dataproc.v1.WorkflowTemplate updateWorkflowTemplate( com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateWorkflowTemplateMethod(), getCallOptions(), request); } @@ -942,7 +944,7 @@ public com.google.cloud.dataproc.v1.WorkflowTemplate updateWorkflowTemplate( */ public com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse listWorkflowTemplates( com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListWorkflowTemplatesMethod(), getCallOptions(), request); } @@ -955,7 +957,7 @@ public com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse listWorkflowTe */ public com.google.protobuf.Empty deleteWorkflowTemplate( com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteWorkflowTemplateMethod(), getCallOptions(), request); } } @@ -991,7 +993,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1.WorkflowTemplate> createWorkflowTemplate(com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1007,7 +1009,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1.WorkflowTemplate> getWorkflowTemplate(com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1036,7 +1038,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture instantiateWorkflowTemplate( com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInstantiateWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1068,7 +1070,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture instantiateInlineWorkflowTemplate( com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInstantiateInlineWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1084,7 +1086,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1.WorkflowTemplate> updateWorkflowTemplate(com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1098,7 +1100,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse> listWorkflowTemplates(com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListWorkflowTemplatesMethod(), getCallOptions()), request); } @@ -1111,7 +1113,7 @@ protected WorkflowTemplateServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteWorkflowTemplate(com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteWorkflowTemplateMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-dataproc-v1beta2/pom.xml b/grpc-google-cloud-dataproc-v1beta2/pom.xml index c4a9945c..052a661b 100644 --- a/grpc-google-cloud-dataproc-v1beta2/pom.xml +++ b/grpc-google-cloud-dataproc-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.90.1 + 0.91.0 grpc-google-cloud-dataproc-v1beta2 GRPC library for grpc-google-cloud-dataproc-v1beta2 com.google.cloud google-cloud-dataproc-parent - 1.2.1 + 1.3.0 diff --git a/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceGrpc.java b/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceGrpc.java index 7bf1eba5..e9d5038f 100644 --- a/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceGrpc.java +++ b/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyServiceGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.dataproc.v1beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -366,7 +361,8 @@ public void createAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateAutoscalingPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAutoscalingPolicyMethod(), responseObserver); } /** @@ -382,7 +378,8 @@ public void updateAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateAutoscalingPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAutoscalingPolicyMethod(), responseObserver); } /** @@ -396,7 +393,8 @@ public void getAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetAutoscalingPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAutoscalingPolicyMethod(), responseObserver); } /** @@ -411,7 +409,8 @@ public void listAutoscalingPolicies( io.grpc.stub.StreamObserver< com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListAutoscalingPoliciesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAutoscalingPoliciesMethod(), responseObserver); } /** @@ -425,7 +424,8 @@ public void listAutoscalingPolicies( public void deleteAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.DeleteAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteAutoscalingPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAutoscalingPolicyMethod(), responseObserver); } @java.lang.Override @@ -433,35 +433,35 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateAutoscalingPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest, com.google.cloud.dataproc.v1beta2.AutoscalingPolicy>( this, METHODID_CREATE_AUTOSCALING_POLICY))) .addMethod( getUpdateAutoscalingPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest, com.google.cloud.dataproc.v1beta2.AutoscalingPolicy>( this, METHODID_UPDATE_AUTOSCALING_POLICY))) .addMethod( getGetAutoscalingPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest, com.google.cloud.dataproc.v1beta2.AutoscalingPolicy>( this, METHODID_GET_AUTOSCALING_POLICY))) .addMethod( getListAutoscalingPoliciesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest, com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse>( this, METHODID_LIST_AUTOSCALING_POLICIES))) .addMethod( getDeleteAutoscalingPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.DeleteAutoscalingPolicyRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_AUTOSCALING_POLICY))) @@ -500,7 +500,7 @@ public void createAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateAutoscalingPolicyMethod(), getCallOptions()), request, responseObserver); @@ -519,7 +519,7 @@ public void updateAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateAutoscalingPolicyMethod(), getCallOptions()), request, responseObserver); @@ -536,7 +536,7 @@ public void getAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetAutoscalingPolicyMethod(), getCallOptions()), request, responseObserver); @@ -554,7 +554,7 @@ public void listAutoscalingPolicies( io.grpc.stub.StreamObserver< com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListAutoscalingPoliciesMethod(), getCallOptions()), request, responseObserver); @@ -571,7 +571,7 @@ public void listAutoscalingPolicies( public void deleteAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.DeleteAutoscalingPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteAutoscalingPolicyMethod(), getCallOptions()), request, responseObserver); @@ -608,7 +608,7 @@ protected AutoscalingPolicyServiceBlockingStub build( */ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy createAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateAutoscalingPolicyMethod(), getCallOptions(), request); } @@ -623,7 +623,7 @@ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy createAutoscalingPoli */ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy updateAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAutoscalingPolicyMethod(), getCallOptions(), request); } @@ -636,7 +636,7 @@ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy updateAutoscalingPoli */ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy getAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAutoscalingPolicyMethod(), getCallOptions(), request); } @@ -650,7 +650,7 @@ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy getAutoscalingPolicy( public com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse listAutoscalingPolicies( com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAutoscalingPoliciesMethod(), getCallOptions(), request); } @@ -664,7 +664,7 @@ public com.google.cloud.dataproc.v1beta2.AutoscalingPolicy getAutoscalingPolicy( */ public com.google.protobuf.Empty deleteAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.DeleteAutoscalingPolicyRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteAutoscalingPolicyMethod(), getCallOptions(), request); } } @@ -701,7 +701,7 @@ protected AutoscalingPolicyServiceFutureStub build( com.google.cloud.dataproc.v1beta2.AutoscalingPolicy> createAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.CreateAutoscalingPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateAutoscalingPolicyMethod(), getCallOptions()), request); } @@ -718,7 +718,7 @@ protected AutoscalingPolicyServiceFutureStub build( com.google.cloud.dataproc.v1beta2.AutoscalingPolicy> updateAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.UpdateAutoscalingPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAutoscalingPolicyMethod(), getCallOptions()), request); } @@ -733,7 +733,7 @@ protected AutoscalingPolicyServiceFutureStub build( com.google.cloud.dataproc.v1beta2.AutoscalingPolicy> getAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.GetAutoscalingPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAutoscalingPolicyMethod(), getCallOptions()), request); } @@ -748,7 +748,7 @@ protected AutoscalingPolicyServiceFutureStub build( com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesResponse> listAutoscalingPolicies( com.google.cloud.dataproc.v1beta2.ListAutoscalingPoliciesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAutoscalingPoliciesMethod(), getCallOptions()), request); } @@ -763,7 +763,7 @@ protected AutoscalingPolicyServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture deleteAutoscalingPolicy( com.google.cloud.dataproc.v1beta2.DeleteAutoscalingPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteAutoscalingPolicyMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerGrpc.java b/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerGrpc.java index 7acc1f4a..c8e559a1 100644 --- a/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerGrpc.java +++ b/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterControllerGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.dataproc.v1beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -374,7 +369,8 @@ public abstract static class ClusterControllerImplBase implements io.grpc.Bindab public void createCluster( com.google.cloud.dataproc.v1beta2.CreateClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClusterMethod(), responseObserver); } /** @@ -389,7 +385,8 @@ public void createCluster( public void updateCluster( com.google.cloud.dataproc.v1beta2.UpdateClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateClusterMethod(), responseObserver); } /** @@ -404,7 +401,8 @@ public void updateCluster( public void deleteCluster( com.google.cloud.dataproc.v1beta2.DeleteClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteClusterMethod(), responseObserver); } /** @@ -417,7 +415,7 @@ public void deleteCluster( public void getCluster( com.google.cloud.dataproc.v1beta2.GetClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); } /** @@ -431,7 +429,8 @@ public void listClusters( com.google.cloud.dataproc.v1beta2.ListClustersRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListClustersMethod(), responseObserver); } /** @@ -450,7 +449,8 @@ public void listClusters( public void diagnoseCluster( com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDiagnoseClusterMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDiagnoseClusterMethod(), responseObserver); } @java.lang.Override @@ -458,38 +458,38 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.CreateClusterRequest, com.google.longrunning.Operation>(this, METHODID_CREATE_CLUSTER))) .addMethod( getUpdateClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.UpdateClusterRequest, com.google.longrunning.Operation>(this, METHODID_UPDATE_CLUSTER))) .addMethod( getDeleteClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.DeleteClusterRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_CLUSTER))) .addMethod( getGetClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.GetClusterRequest, com.google.cloud.dataproc.v1beta2.Cluster>(this, METHODID_GET_CLUSTER))) .addMethod( getListClustersMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.ListClustersRequest, com.google.cloud.dataproc.v1beta2.ListClustersResponse>( this, METHODID_LIST_CLUSTERS))) .addMethod( getDiagnoseClusterMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest, com.google.longrunning.Operation>(this, METHODID_DIAGNOSE_CLUSTER))) @@ -529,7 +529,7 @@ protected ClusterControllerStub build( public void createCluster( com.google.cloud.dataproc.v1beta2.CreateClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); @@ -547,7 +547,7 @@ public void createCluster( public void updateCluster( com.google.cloud.dataproc.v1beta2.UpdateClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); @@ -565,7 +565,7 @@ public void updateCluster( public void deleteCluster( com.google.cloud.dataproc.v1beta2.DeleteClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); @@ -581,7 +581,7 @@ public void deleteCluster( public void getCluster( com.google.cloud.dataproc.v1beta2.GetClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); } @@ -596,7 +596,7 @@ public void listClusters( com.google.cloud.dataproc.v1beta2.ListClustersRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); @@ -618,7 +618,7 @@ public void listClusters( public void diagnoseCluster( com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDiagnoseClusterMethod(), getCallOptions()), request, responseObserver); @@ -657,7 +657,8 @@ protected ClusterControllerBlockingStub build( */ public com.google.longrunning.Operation createCluster( com.google.cloud.dataproc.v1beta2.CreateClusterRequest request) { - return blockingUnaryCall(getChannel(), getCreateClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); } /** @@ -671,7 +672,8 @@ public com.google.longrunning.Operation createCluster( */ public com.google.longrunning.Operation updateCluster( com.google.cloud.dataproc.v1beta2.UpdateClusterRequest request) { - return blockingUnaryCall(getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); } /** @@ -685,7 +687,8 @@ public com.google.longrunning.Operation updateCluster( */ public com.google.longrunning.Operation deleteCluster( com.google.cloud.dataproc.v1beta2.DeleteClusterRequest request) { - return blockingUnaryCall(getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); } /** @@ -697,7 +700,8 @@ public com.google.longrunning.Operation deleteCluster( */ public com.google.cloud.dataproc.v1beta2.Cluster getCluster( com.google.cloud.dataproc.v1beta2.GetClusterRequest request) { - return blockingUnaryCall(getChannel(), getGetClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); } /** @@ -709,7 +713,8 @@ public com.google.cloud.dataproc.v1beta2.Cluster getCluster( */ public com.google.cloud.dataproc.v1beta2.ListClustersResponse listClusters( com.google.cloud.dataproc.v1beta2.ListClustersRequest request) { - return blockingUnaryCall(getChannel(), getListClustersMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); } /** @@ -727,7 +732,8 @@ public com.google.cloud.dataproc.v1beta2.ListClustersResponse listClusters( */ public com.google.longrunning.Operation diagnoseCluster( com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest request) { - return blockingUnaryCall(getChannel(), getDiagnoseClusterMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDiagnoseClusterMethod(), getCallOptions(), request); } } @@ -762,7 +768,7 @@ protected ClusterControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture createCluster(com.google.cloud.dataproc.v1beta2.CreateClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); } @@ -777,7 +783,7 @@ protected ClusterControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture updateCluster(com.google.cloud.dataproc.v1beta2.UpdateClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); } @@ -792,7 +798,7 @@ protected ClusterControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteCluster(com.google.cloud.dataproc.v1beta2.DeleteClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); } @@ -806,7 +812,7 @@ protected ClusterControllerFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1beta2.Cluster> getCluster(com.google.cloud.dataproc.v1beta2.GetClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); } @@ -820,7 +826,7 @@ protected ClusterControllerFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1beta2.ListClustersResponse> listClusters(com.google.cloud.dataproc.v1beta2.ListClustersRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListClustersMethod(), getCallOptions()), request); } @@ -839,7 +845,7 @@ protected ClusterControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture diagnoseCluster(com.google.cloud.dataproc.v1beta2.DiagnoseClusterRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDiagnoseClusterMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerGrpc.java b/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerGrpc.java index b0fdbc1f..e252d9de 100644 --- a/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerGrpc.java +++ b/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/JobControllerGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.dataproc.v1beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -402,7 +397,7 @@ public abstract static class JobControllerImplBase implements io.grpc.BindableSe public void submitJob( com.google.cloud.dataproc.v1beta2.SubmitJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSubmitJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSubmitJobMethod(), responseObserver); } /** @@ -415,7 +410,8 @@ public void submitJob( public void submitJobAsOperation( com.google.cloud.dataproc.v1beta2.SubmitJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSubmitJobAsOperationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSubmitJobAsOperationMethod(), responseObserver); } /** @@ -428,7 +424,7 @@ public void submitJobAsOperation( public void getJob( com.google.cloud.dataproc.v1beta2.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** @@ -442,7 +438,7 @@ public void listJobs( com.google.cloud.dataproc.v1beta2.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** @@ -455,7 +451,7 @@ public void listJobs( public void updateJob( com.google.cloud.dataproc.v1beta2.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** @@ -472,7 +468,7 @@ public void updateJob( public void cancelJob( com.google.cloud.dataproc.v1beta2.CancelJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCancelJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelJobMethod(), responseObserver); } /** @@ -486,7 +482,7 @@ public void cancelJob( public void deleteJob( com.google.cloud.dataproc.v1beta2.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } @java.lang.Override @@ -494,44 +490,44 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getSubmitJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.SubmitJobRequest, com.google.cloud.dataproc.v1beta2.Job>(this, METHODID_SUBMIT_JOB))) .addMethod( getSubmitJobAsOperationMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.SubmitJobRequest, com.google.longrunning.Operation>(this, METHODID_SUBMIT_JOB_AS_OPERATION))) .addMethod( getGetJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.GetJobRequest, com.google.cloud.dataproc.v1beta2.Job>(this, METHODID_GET_JOB))) .addMethod( getListJobsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.ListJobsRequest, com.google.cloud.dataproc.v1beta2.ListJobsResponse>( this, METHODID_LIST_JOBS))) .addMethod( getUpdateJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.UpdateJobRequest, com.google.cloud.dataproc.v1beta2.Job>(this, METHODID_UPDATE_JOB))) .addMethod( getCancelJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.CancelJobRequest, com.google.cloud.dataproc.v1beta2.Job>(this, METHODID_CANCEL_JOB))) .addMethod( getDeleteJobMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.DeleteJobRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_JOB))) @@ -567,7 +563,7 @@ protected JobControllerStub build(io.grpc.Channel channel, io.grpc.CallOptions c public void submitJob( com.google.cloud.dataproc.v1beta2.SubmitJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSubmitJobMethod(), getCallOptions()), request, responseObserver); } @@ -581,7 +577,7 @@ public void submitJob( public void submitJobAsOperation( com.google.cloud.dataproc.v1beta2.SubmitJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSubmitJobAsOperationMethod(), getCallOptions()), request, responseObserver); @@ -597,7 +593,7 @@ public void submitJobAsOperation( public void getJob( com.google.cloud.dataproc.v1beta2.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } @@ -612,7 +608,7 @@ public void listJobs( com.google.cloud.dataproc.v1beta2.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } @@ -626,7 +622,7 @@ public void listJobs( public void updateJob( com.google.cloud.dataproc.v1beta2.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } @@ -644,7 +640,7 @@ public void updateJob( public void cancelJob( com.google.cloud.dataproc.v1beta2.CancelJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCancelJobMethod(), getCallOptions()), request, responseObserver); } @@ -659,7 +655,7 @@ public void cancelJob( public void deleteJob( com.google.cloud.dataproc.v1beta2.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } } @@ -692,7 +688,8 @@ protected JobControllerBlockingStub build( */ public com.google.cloud.dataproc.v1beta2.Job submitJob( com.google.cloud.dataproc.v1beta2.SubmitJobRequest request) { - return blockingUnaryCall(getChannel(), getSubmitJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSubmitJobMethod(), getCallOptions(), request); } /** @@ -704,7 +701,7 @@ public com.google.cloud.dataproc.v1beta2.Job submitJob( */ public com.google.longrunning.Operation submitJobAsOperation( com.google.cloud.dataproc.v1beta2.SubmitJobRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSubmitJobAsOperationMethod(), getCallOptions(), request); } @@ -717,7 +714,8 @@ public com.google.longrunning.Operation submitJobAsOperation( */ public com.google.cloud.dataproc.v1beta2.Job getJob( com.google.cloud.dataproc.v1beta2.GetJobRequest request) { - return blockingUnaryCall(getChannel(), getGetJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); } /** @@ -729,7 +727,8 @@ public com.google.cloud.dataproc.v1beta2.Job getJob( */ public com.google.cloud.dataproc.v1beta2.ListJobsResponse listJobs( com.google.cloud.dataproc.v1beta2.ListJobsRequest request) { - return blockingUnaryCall(getChannel(), getListJobsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); } /** @@ -741,7 +740,8 @@ public com.google.cloud.dataproc.v1beta2.ListJobsResponse listJobs( */ public com.google.cloud.dataproc.v1beta2.Job updateJob( com.google.cloud.dataproc.v1beta2.UpdateJobRequest request) { - return blockingUnaryCall(getChannel(), getUpdateJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** @@ -757,7 +757,8 @@ public com.google.cloud.dataproc.v1beta2.Job updateJob( */ public com.google.cloud.dataproc.v1beta2.Job cancelJob( com.google.cloud.dataproc.v1beta2.CancelJobRequest request) { - return blockingUnaryCall(getChannel(), getCancelJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelJobMethod(), getCallOptions(), request); } /** @@ -770,7 +771,8 @@ public com.google.cloud.dataproc.v1beta2.Job cancelJob( */ public com.google.protobuf.Empty deleteJob( com.google.cloud.dataproc.v1beta2.DeleteJobRequest request) { - return blockingUnaryCall(getChannel(), getDeleteJobMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobMethod(), getCallOptions(), request); } } @@ -802,7 +804,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture submitJob(com.google.cloud.dataproc.v1beta2.SubmitJobRequest request) { - return futureUnaryCall(getChannel().newCall(getSubmitJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSubmitJobMethod(), getCallOptions()), request); } /** @@ -814,7 +817,7 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture submitJobAsOperation(com.google.cloud.dataproc.v1beta2.SubmitJobRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSubmitJobAsOperationMethod(), getCallOptions()), request); } @@ -827,7 +830,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture getJob(com.google.cloud.dataproc.v1beta2.GetJobRequest request) { - return futureUnaryCall(getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** @@ -840,7 +844,8 @@ protected JobControllerFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1beta2.ListJobsResponse> listJobs(com.google.cloud.dataproc.v1beta2.ListJobsRequest request) { - return futureUnaryCall(getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** @@ -852,7 +857,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture updateJob(com.google.cloud.dataproc.v1beta2.UpdateJobRequest request) { - return futureUnaryCall(getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); } /** @@ -868,7 +874,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture cancelJob(com.google.cloud.dataproc.v1beta2.CancelJobRequest request) { - return futureUnaryCall(getChannel().newCall(getCancelJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelJobMethod(), getCallOptions()), request); } /** @@ -881,7 +888,8 @@ protected JobControllerFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteJob( com.google.cloud.dataproc.v1beta2.DeleteJobRequest request) { - return futureUnaryCall(getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceGrpc.java b/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceGrpc.java index 0909a3e9..a1ec46d1 100644 --- a/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceGrpc.java +++ b/grpc-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateServiceGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.dataproc.v1beta2; import static io.grpc.MethodDescriptor.generateFullMethodName; -import static io.grpc.stub.ClientCalls.asyncUnaryCall; -import static io.grpc.stub.ClientCalls.blockingUnaryCall; -import static io.grpc.stub.ClientCalls.futureUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnaryCall; -import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; /** * @@ -470,7 +465,8 @@ public void createWorkflowTemplate( com.google.cloud.dataproc.v1beta2.CreateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWorkflowTemplateMethod(), responseObserver); } /** @@ -486,7 +482,8 @@ public void getWorkflowTemplate( com.google.cloud.dataproc.v1beta2.GetWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWorkflowTemplateMethod(), responseObserver); } /** @@ -514,7 +511,8 @@ public void getWorkflowTemplate( public void instantiateWorkflowTemplate( com.google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getInstantiateWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInstantiateWorkflowTemplateMethod(), responseObserver); } /** @@ -546,7 +544,8 @@ public void instantiateWorkflowTemplate( public void instantiateInlineWorkflowTemplate( com.google.cloud.dataproc.v1beta2.InstantiateInlineWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getInstantiateInlineWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInstantiateInlineWorkflowTemplateMethod(), responseObserver); } /** @@ -561,7 +560,8 @@ public void updateWorkflowTemplate( com.google.cloud.dataproc.v1beta2.UpdateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateWorkflowTemplateMethod(), responseObserver); } /** @@ -575,7 +575,8 @@ public void listWorkflowTemplates( com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListWorkflowTemplatesMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListWorkflowTemplatesMethod(), responseObserver); } /** @@ -588,7 +589,8 @@ public void listWorkflowTemplates( public void deleteWorkflowTemplate( com.google.cloud.dataproc.v1beta2.DeleteWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteWorkflowTemplateMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteWorkflowTemplateMethod(), responseObserver); } @java.lang.Override @@ -596,49 +598,49 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.CreateWorkflowTemplateRequest, com.google.cloud.dataproc.v1beta2.WorkflowTemplate>( this, METHODID_CREATE_WORKFLOW_TEMPLATE))) .addMethod( getGetWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.GetWorkflowTemplateRequest, com.google.cloud.dataproc.v1beta2.WorkflowTemplate>( this, METHODID_GET_WORKFLOW_TEMPLATE))) .addMethod( getInstantiateWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest, com.google.longrunning.Operation>( this, METHODID_INSTANTIATE_WORKFLOW_TEMPLATE))) .addMethod( getInstantiateInlineWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.InstantiateInlineWorkflowTemplateRequest, com.google.longrunning.Operation>( this, METHODID_INSTANTIATE_INLINE_WORKFLOW_TEMPLATE))) .addMethod( getUpdateWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.UpdateWorkflowTemplateRequest, com.google.cloud.dataproc.v1beta2.WorkflowTemplate>( this, METHODID_UPDATE_WORKFLOW_TEMPLATE))) .addMethod( getListWorkflowTemplatesMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesRequest, com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse>( this, METHODID_LIST_WORKFLOW_TEMPLATES))) .addMethod( getDeleteWorkflowTemplateMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.dataproc.v1beta2.DeleteWorkflowTemplateRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_WORKFLOW_TEMPLATE))) @@ -677,7 +679,7 @@ public void createWorkflowTemplate( com.google.cloud.dataproc.v1beta2.CreateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -696,7 +698,7 @@ public void getWorkflowTemplate( com.google.cloud.dataproc.v1beta2.GetWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -727,7 +729,7 @@ public void getWorkflowTemplate( public void instantiateWorkflowTemplate( com.google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getInstantiateWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -762,7 +764,7 @@ public void instantiateWorkflowTemplate( public void instantiateInlineWorkflowTemplate( com.google.cloud.dataproc.v1beta2.InstantiateInlineWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getInstantiateInlineWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -780,7 +782,7 @@ public void updateWorkflowTemplate( com.google.cloud.dataproc.v1beta2.UpdateWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -797,7 +799,7 @@ public void listWorkflowTemplates( com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListWorkflowTemplatesMethod(), getCallOptions()), request, responseObserver); @@ -813,7 +815,7 @@ public void listWorkflowTemplates( public void deleteWorkflowTemplate( com.google.cloud.dataproc.v1beta2.DeleteWorkflowTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteWorkflowTemplateMethod(), getCallOptions()), request, responseObserver); @@ -850,7 +852,7 @@ protected WorkflowTemplateServiceBlockingStub build( */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate createWorkflowTemplate( com.google.cloud.dataproc.v1beta2.CreateWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateWorkflowTemplateMethod(), getCallOptions(), request); } @@ -865,7 +867,7 @@ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate createWorkflowTemplate */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate getWorkflowTemplate( com.google.cloud.dataproc.v1beta2.GetWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetWorkflowTemplateMethod(), getCallOptions(), request); } @@ -893,7 +895,7 @@ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate getWorkflowTemplate( */ public com.google.longrunning.Operation instantiateWorkflowTemplate( com.google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInstantiateWorkflowTemplateMethod(), getCallOptions(), request); } @@ -925,7 +927,7 @@ public com.google.longrunning.Operation instantiateWorkflowTemplate( */ public com.google.longrunning.Operation instantiateInlineWorkflowTemplate( com.google.cloud.dataproc.v1beta2.InstantiateInlineWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInstantiateInlineWorkflowTemplateMethod(), getCallOptions(), request); } @@ -939,7 +941,7 @@ public com.google.longrunning.Operation instantiateInlineWorkflowTemplate( */ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate updateWorkflowTemplate( com.google.cloud.dataproc.v1beta2.UpdateWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateWorkflowTemplateMethod(), getCallOptions(), request); } @@ -952,7 +954,7 @@ public com.google.cloud.dataproc.v1beta2.WorkflowTemplate updateWorkflowTemplate */ public com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse listWorkflowTemplates( com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListWorkflowTemplatesMethod(), getCallOptions(), request); } @@ -965,7 +967,7 @@ public com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse listWorkf */ public com.google.protobuf.Empty deleteWorkflowTemplate( com.google.cloud.dataproc.v1beta2.DeleteWorkflowTemplateRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteWorkflowTemplateMethod(), getCallOptions(), request); } } @@ -1002,7 +1004,7 @@ protected WorkflowTemplateServiceFutureStub build( com.google.cloud.dataproc.v1beta2.WorkflowTemplate> createWorkflowTemplate( com.google.cloud.dataproc.v1beta2.CreateWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1018,7 +1020,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.dataproc.v1beta2.WorkflowTemplate> getWorkflowTemplate(com.google.cloud.dataproc.v1beta2.GetWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1047,7 +1049,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture instantiateWorkflowTemplate( com.google.cloud.dataproc.v1beta2.InstantiateWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInstantiateWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1080,7 +1082,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture instantiateInlineWorkflowTemplate( com.google.cloud.dataproc.v1beta2.InstantiateInlineWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInstantiateInlineWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1097,7 +1099,7 @@ protected WorkflowTemplateServiceFutureStub build( com.google.cloud.dataproc.v1beta2.WorkflowTemplate> updateWorkflowTemplate( com.google.cloud.dataproc.v1beta2.UpdateWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateWorkflowTemplateMethod(), getCallOptions()), request); } @@ -1112,7 +1114,7 @@ protected WorkflowTemplateServiceFutureStub build( com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse> listWorkflowTemplates( com.google.cloud.dataproc.v1beta2.ListWorkflowTemplatesRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListWorkflowTemplatesMethod(), getCallOptions()), request); } @@ -1126,7 +1128,7 @@ protected WorkflowTemplateServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture deleteWorkflowTemplate( com.google.cloud.dataproc.v1beta2.DeleteWorkflowTemplateRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteWorkflowTemplateMethod(), getCallOptions()), request); } } diff --git a/pom.xml b/pom.xml index c661f647..c5056927 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dataproc-parent pom - 1.2.1 + 1.3.0 Google Cloud Dataproc Parent https://github.com/googleapis/java-dataproc @@ -70,33 +70,33 @@ com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.90.1 + 0.91.0 com.google.api.grpc proto-google-cloud-dataproc-v1 - 1.2.1 + 1.3.0 com.google.api.grpc grpc-google-cloud-dataproc-v1 - 1.2.1 + 1.3.0 com.google.api.grpc grpc-google-cloud-dataproc-v1beta2 - 0.90.1 + 0.91.0 com.google.cloud google-cloud-dataproc - 1.2.1 + 1.3.0 com.google.cloud google-cloud-shared-dependencies - 0.20.0 + 0.20.1 pom import diff --git a/proto-google-cloud-dataproc-v1/pom.xml b/proto-google-cloud-dataproc-v1/pom.xml index b44c5887..f24b0a94 100644 --- a/proto-google-cloud-dataproc-v1/pom.xml +++ b/proto-google-cloud-dataproc-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dataproc-v1 - 1.2.1 + 1.3.0 proto-google-cloud-dataproc-v1 PROTO library for proto-google-cloud-dataproc-v1 com.google.cloud google-cloud-dataproc-parent - 1.2.1 + 1.3.0 diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyName.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyName.java index 7266069a..bc836f51 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyName.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AutoscalingPolicyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java index 50beb76f..6a5663db 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJob.java @@ -268,6 +268,24 @@ public DriverCase getDriverCase() { } public static final int MAIN_JAR_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the jar file containing the main class.
+   * Examples:
+   *     'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
+   *     'hdfs:/tmp/test-samples/custom-wordcount.jar'
+   *     'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
+   * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + public boolean hasMainJarFileUri() { + return driverCase_ == 1; + } /** * * @@ -332,6 +350,21 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { } public static final int MAIN_CLASS_FIELD_NUMBER = 2; + /** + * + * + *
+   * The name of the driver's main class. The jar file containing the class
+   * must be in the default CLASSPATH or specified in `jar_file_uris`.
+   * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + public boolean hasMainClass() { + return driverCase_ == 2; + } /** * * @@ -1419,6 +1452,25 @@ public Builder clearDriver() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the jar file containing the main class.
+     * Examples:
+     *     'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
+     *     'hdfs:/tmp/test-samples/custom-wordcount.jar'
+     *     'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
+     * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + @java.lang.Override + public boolean hasMainJarFileUri() { + return driverCase_ == 1; + } /** * * @@ -1558,6 +1610,22 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The name of the driver's main class. The jar file containing the class
+     * must be in the default CLASSPATH or specified in `jar_file_uris`.
+     * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + @java.lang.Override + public boolean hasMainClass() { + return driverCase_ == 2; + } /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJobOrBuilder.java index c46c2deb..2ac0697f 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HadoopJobOrBuilder.java @@ -23,6 +23,22 @@ public interface HadoopJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.HadoopJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the jar file containing the main class.
+   * Examples:
+   *     'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
+   *     'hdfs:/tmp/test-samples/custom-wordcount.jar'
+   *     'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
+   * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + boolean hasMainJarFileUri(); /** * * @@ -56,6 +72,19 @@ public interface HadoopJobOrBuilder */ com.google.protobuf.ByteString getMainJarFileUriBytes(); + /** + * + * + *
+   * The name of the driver's main class. The jar file containing the class
+   * must be in the default CLASSPATH or specified in `jar_file_uris`.
+   * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + boolean hasMainClass(); /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java index 19080e17..f93e4aca 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJob.java @@ -240,6 +240,20 @@ public QueriesCase getQueriesCase() { } public static final int QUERY_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the script that contains Hive queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * @@ -1156,6 +1170,21 @@ public Builder clearQueries() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the script that contains Hive queries.
+     * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + @java.lang.Override + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJobOrBuilder.java index 1132b56e..56fbdebf 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/HiveJobOrBuilder.java @@ -23,6 +23,18 @@ public interface HiveJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.HiveJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the script that contains Hive queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + boolean hasQueryFileUri(); /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LocationName.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LocationName.java index 94a1ecfb..5f2c086f 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LocationName.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java index 0f835a9a..6eed2768 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJob.java @@ -256,6 +256,20 @@ public QueriesCase getQueriesCase() { } public static final int QUERY_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the script that contains the Pig queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * @@ -1250,6 +1264,21 @@ public Builder clearQueries() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the script that contains the Pig queries.
+     * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + @java.lang.Override + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJobOrBuilder.java index 0a51b64c..63d44fe8 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PigJobOrBuilder.java @@ -23,6 +23,18 @@ public interface PigJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.PigJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the script that contains the Pig queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + boolean hasQueryFileUri(); /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJob.java index 3fb20f5d..6a7cd0d9 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJob.java @@ -248,6 +248,20 @@ public QueriesCase getQueriesCase() { } public static final int QUERY_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the script that contains SQL queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * @@ -1172,6 +1186,21 @@ public Builder clearQueries() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the script that contains SQL queries.
+     * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + @java.lang.Override + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJobOrBuilder.java index c5c3173a..acd54f71 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/PrestoJobOrBuilder.java @@ -23,6 +23,18 @@ public interface PrestoJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.PrestoJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the script that contains SQL queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + boolean hasQueryFileUri(); /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegionName.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegionName.java index 46a8e3cd..eed9dfd4 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegionName.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/RegionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java index 27fad2e2..eec98138 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJob.java @@ -265,6 +265,20 @@ public DriverCase getDriverCase() { } public static final int MAIN_JAR_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the jar file that contains the main class.
+   * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + public boolean hasMainJarFileUri() { + return driverCase_ == 1; + } /** * * @@ -321,6 +335,21 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { } public static final int MAIN_CLASS_FIELD_NUMBER = 2; + /** + * + * + *
+   * The name of the driver's main class. The jar file that contains the class
+   * must be in the default CLASSPATH or specified in `jar_file_uris`.
+   * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + public boolean hasMainClass() { + return driverCase_ == 2; + } /** * * @@ -1396,6 +1425,21 @@ public Builder clearDriver() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the jar file that contains the main class.
+     * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + @java.lang.Override + public boolean hasMainJarFileUri() { + return driverCase_ == 1; + } /** * * @@ -1515,6 +1559,22 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The name of the driver's main class. The jar file that contains the class
+     * must be in the default CLASSPATH or specified in `jar_file_uris`.
+     * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + @java.lang.Override + public boolean hasMainClass() { + return driverCase_ == 2; + } /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJobOrBuilder.java index d7bee0cc..4505f598 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkJobOrBuilder.java @@ -23,6 +23,18 @@ public interface SparkJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.SparkJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the jar file that contains the main class.
+   * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + boolean hasMainJarFileUri(); /** * * @@ -48,6 +60,19 @@ public interface SparkJobOrBuilder */ com.google.protobuf.ByteString getMainJarFileUriBytes(); + /** + * + * + *
+   * The name of the driver's main class. The jar file that contains the class
+   * must be in the default CLASSPATH or specified in `jar_file_uris`.
+   * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + boolean hasMainClass(); /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java index 4fe814cf..1a337c17 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJob.java @@ -251,6 +251,20 @@ public QueriesCase getQueriesCase() { } public static final int QUERY_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the script that contains SQL queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * @@ -1204,6 +1218,21 @@ public Builder clearQueries() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the script that contains SQL queries.
+     * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + @java.lang.Override + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJobOrBuilder.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJobOrBuilder.java index feebc697..3ba69d14 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/SparkSqlJobOrBuilder.java @@ -23,6 +23,18 @@ public interface SparkSqlJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.SparkSqlJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the script that contains SQL queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + boolean hasQueryFileUri(); /** * * diff --git a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateName.java b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateName.java index b471a5b9..96e8c16d 100644 --- a/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateName.java +++ b/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateName.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-dataproc-v1beta2/pom.xml b/proto-google-cloud-dataproc-v1beta2/pom.xml index 127e1e78..f63d0939 100644 --- a/proto-google-cloud-dataproc-v1beta2/pom.xml +++ b/proto-google-cloud-dataproc-v1beta2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-dataproc-v1beta2 - 0.90.1 + 0.91.0 proto-google-cloud-dataproc-v1beta2 PROTO library for proto-google-cloud-dataproc-v1beta2 com.google.cloud google-cloud-dataproc-parent - 1.2.1 + 1.3.0 diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyName.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyName.java index a04de167..55a5265e 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyName.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/AutoscalingPolicyName.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterName.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterName.java index 244cc71b..88016ac9 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterName.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/ClusterName.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJob.java index a35bef61..268c5a3e 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJob.java @@ -268,6 +268,24 @@ public DriverCase getDriverCase() { } public static final int MAIN_JAR_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the jar file containing the main class.
+   * Examples:
+   *     'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
+   *     'hdfs:/tmp/test-samples/custom-wordcount.jar'
+   *     'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
+   * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + public boolean hasMainJarFileUri() { + return driverCase_ == 1; + } /** * * @@ -332,6 +350,21 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { } public static final int MAIN_CLASS_FIELD_NUMBER = 2; + /** + * + * + *
+   * The name of the driver's main class. The jar file containing the class
+   * must be in the default CLASSPATH or specified in `jar_file_uris`.
+   * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + public boolean hasMainClass() { + return driverCase_ == 2; + } /** * * @@ -1420,6 +1453,25 @@ public Builder clearDriver() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the jar file containing the main class.
+     * Examples:
+     *     'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
+     *     'hdfs:/tmp/test-samples/custom-wordcount.jar'
+     *     'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
+     * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + @java.lang.Override + public boolean hasMainJarFileUri() { + return driverCase_ == 1; + } /** * * @@ -1559,6 +1611,22 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The name of the driver's main class. The jar file containing the class
+     * must be in the default CLASSPATH or specified in `jar_file_uris`.
+     * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + @java.lang.Override + public boolean hasMainClass() { + return driverCase_ == 2; + } /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJobOrBuilder.java index 2c018b8a..d22ea544 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HadoopJobOrBuilder.java @@ -23,6 +23,22 @@ public interface HadoopJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1beta2.HadoopJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the jar file containing the main class.
+   * Examples:
+   *     'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar'
+   *     'hdfs:/tmp/test-samples/custom-wordcount.jar'
+   *     'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'
+   * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + boolean hasMainJarFileUri(); /** * * @@ -56,6 +72,19 @@ public interface HadoopJobOrBuilder */ com.google.protobuf.ByteString getMainJarFileUriBytes(); + /** + * + * + *
+   * The name of the driver's main class. The jar file containing the class
+   * must be in the default CLASSPATH or specified in `jar_file_uris`.
+   * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + boolean hasMainClass(); /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJob.java index 789ac87a..51d57127 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJob.java @@ -240,6 +240,20 @@ public QueriesCase getQueriesCase() { } public static final int QUERY_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the script that contains Hive queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * @@ -1159,6 +1173,21 @@ public Builder clearQueries() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the script that contains Hive queries.
+     * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + @java.lang.Override + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJobOrBuilder.java index 29ed744c..31690abb 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/HiveJobOrBuilder.java @@ -23,6 +23,18 @@ public interface HiveJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1beta2.HiveJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the script that contains Hive queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + boolean hasQueryFileUri(); /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LocationName.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LocationName.java index 59696061..5f3f1944 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LocationName.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/LocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJob.java index daa251e0..5099c20a 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJob.java @@ -256,6 +256,20 @@ public QueriesCase getQueriesCase() { } public static final int QUERY_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the script that contains the Pig queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * @@ -1252,6 +1266,21 @@ public Builder clearQueries() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the script that contains the Pig queries.
+     * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + @java.lang.Override + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJobOrBuilder.java index 620719a0..43638323 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PigJobOrBuilder.java @@ -23,6 +23,18 @@ public interface PigJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1beta2.PigJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the script that contains the Pig queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + boolean hasQueryFileUri(); /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PrestoJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PrestoJob.java index 014d0f89..5177b78b 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PrestoJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PrestoJob.java @@ -248,6 +248,20 @@ public QueriesCase getQueriesCase() { } public static final int QUERY_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the script that contains SQL queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * @@ -1173,6 +1187,21 @@ public Builder clearQueries() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the script that contains SQL queries.
+     * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + @java.lang.Override + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PrestoJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PrestoJobOrBuilder.java index 371c7b70..629e2308 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PrestoJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/PrestoJobOrBuilder.java @@ -23,6 +23,18 @@ public interface PrestoJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1beta2.PrestoJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the script that contains SQL queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + boolean hasQueryFileUri(); /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegionName.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegionName.java index 3cd8a0cf..93f6954d 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegionName.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/RegionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJob.java index 98672cc5..61953199 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJob.java @@ -270,6 +270,20 @@ public DriverCase getDriverCase() { } public static final int MAIN_JAR_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the jar file that contains the main class.
+   * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + public boolean hasMainJarFileUri() { + return driverCase_ == 1; + } /** * * @@ -326,6 +340,21 @@ public com.google.protobuf.ByteString getMainJarFileUriBytes() { } public static final int MAIN_CLASS_FIELD_NUMBER = 2; + /** + * + * + *
+   * The name of the driver's main class. The jar file that contains the class
+   * must be in the default CLASSPATH or specified in `jar_file_uris`.
+   * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + public boolean hasMainClass() { + return driverCase_ == 2; + } /** * * @@ -1408,6 +1437,21 @@ public Builder clearDriver() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the jar file that contains the main class.
+     * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + @java.lang.Override + public boolean hasMainJarFileUri() { + return driverCase_ == 1; + } /** * * @@ -1527,6 +1571,22 @@ public Builder setMainJarFileUriBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The name of the driver's main class. The jar file that contains the class
+     * must be in the default CLASSPATH or specified in `jar_file_uris`.
+     * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + @java.lang.Override + public boolean hasMainClass() { + return driverCase_ == 2; + } /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJobOrBuilder.java index 198adb65..a2803a3b 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkJobOrBuilder.java @@ -23,6 +23,18 @@ public interface SparkJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1beta2.SparkJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the jar file that contains the main class.
+   * 
+ * + * string main_jar_file_uri = 1; + * + * @return Whether the mainJarFileUri field is set. + */ + boolean hasMainJarFileUri(); /** * * @@ -48,6 +60,19 @@ public interface SparkJobOrBuilder */ com.google.protobuf.ByteString getMainJarFileUriBytes(); + /** + * + * + *
+   * The name of the driver's main class. The jar file that contains the class
+   * must be in the default CLASSPATH or specified in `jar_file_uris`.
+   * 
+ * + * string main_class = 2; + * + * @return Whether the mainClass field is set. + */ + boolean hasMainClass(); /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJob.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJob.java index 31140d3c..8de6cf6c 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJob.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJob.java @@ -251,6 +251,20 @@ public QueriesCase getQueriesCase() { } public static final int QUERY_FILE_URI_FIELD_NUMBER = 1; + /** + * + * + *
+   * The HCFS URI of the script that contains SQL queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * @@ -1205,6 +1219,21 @@ public Builder clearQueries() { private int bitField0_; + /** + * + * + *
+     * The HCFS URI of the script that contains SQL queries.
+     * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + @java.lang.Override + public boolean hasQueryFileUri() { + return queriesCase_ == 1; + } /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJobOrBuilder.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJobOrBuilder.java index c28466db..cecb1f2d 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJobOrBuilder.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/SparkSqlJobOrBuilder.java @@ -23,6 +23,18 @@ public interface SparkSqlJobOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1beta2.SparkSqlJob) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * The HCFS URI of the script that contains SQL queries.
+   * 
+ * + * string query_file_uri = 1; + * + * @return Whether the queryFileUri field is set. + */ + boolean hasQueryFileUri(); /** * * diff --git a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateName.java b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateName.java index 172c2420..16ed07be 100644 --- a/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateName.java +++ b/proto-google-cloud-dataproc-v1beta2/src/main/java/com/google/cloud/dataproc/v1beta2/WorkflowTemplateName.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Google LLC + * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index af5a5614..3c4d7254 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,13 +29,13 @@ com.google.cloud google-cloud-dataproc - 1.2.0 + 1.2.1 com.google.cloud google-cloud-storage - 1.113.11 + 1.113.13 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 75df6320..1915f673 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,13 +28,13 @@ com.google.cloud google-cloud-dataproc - 1.2.1 + 1.3.0 com.google.cloud google-cloud-storage - 1.113.11 + 1.113.13 junit diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 9ca9bec8..ff168ab8 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 18.0.0 + 19.0.0 pom import diff --git a/synth.metadata b/synth.metadata index 5aa27473..521a7f95 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,30 +4,30 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-dataproc.git", - "sha": "db549f9a231eca393c0c1bfda8f004be8e0f7cd9" + "sha": "42f464a672c0b6a2595a847de689b0e4171ee7f9" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89", + "internalRef": "361377784" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89", + "internalRef": "361377784" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2" + "sha": "0b064d767537e0675fc053e53fca473c5c701fb8" } } ], diff --git a/versions.txt b/versions.txt index 43297c3e..d35f644a 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -proto-google-cloud-dataproc-v1beta2:0.90.1:0.90.1 -proto-google-cloud-dataproc-v1:1.2.1:1.2.1 -grpc-google-cloud-dataproc-v1:1.2.1:1.2.1 -grpc-google-cloud-dataproc-v1beta2:0.90.1:0.90.1 -google-cloud-dataproc:1.2.1:1.2.1 +proto-google-cloud-dataproc-v1beta2:0.91.0:0.91.0 +proto-google-cloud-dataproc-v1:1.3.0:1.3.0 +grpc-google-cloud-dataproc-v1:1.3.0:1.3.0 +grpc-google-cloud-dataproc-v1beta2:0.91.0:0.91.0 +google-cloud-dataproc:1.3.0:1.3.0