diff --git a/.github/snippet-bot.yml b/.github/snippet-bot.yml
index 045191b04a..c7ee6ca54b 100644
--- a/.github/snippet-bot.yml
+++ b/.github/snippet-bot.yml
@@ -3,3 +3,4 @@ alwaysCreateStatusCheck: false
ignoreFiles:
- src/test/**
- test/**
+ - showcase/**
diff --git a/.github/workflows/ci-maven.yaml b/.github/workflows/ci-maven.yaml
index 095586df2f..31b7722570 100644
--- a/.github/workflows/ci-maven.yaml
+++ b/.github/workflows/ci-maven.yaml
@@ -3,7 +3,12 @@ on:
branches:
- main
pull_request:
+
name: ci-maven
+
+env:
+ SHOWCASE_VERSION: 0.25.0
+
jobs:
build:
runs-on: ubuntu-latest
@@ -32,3 +37,54 @@ jobs:
- name: Java Linter
run: mvn fmt:check
+
+ showcase:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: [ 8, 11 ]
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v3
+ with:
+ java-version: ${{ matrix.java }}
+ distribution: temurin
+ - run: java -version
+
+ - name: Bazel File Cache Setup
+ id: cache-bazel
+ uses: actions/cache@v3
+ with:
+ path: ~/.cache/bazel
+ key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}
+ - name: Bazel Cache Not Found
+ if: steps.cache-bazel.outputs.cache-hit != 'true'
+ run: |
+ echo "No cache found."
+ - name: Bazel Cache Found
+ if: steps.cache-bazel.outputs.cache-hit == 'true'
+ run: |
+ echo -n "Cache found. Cache size: "
+ du -sh ~/.cache/bazel
+ echo "If the cache seems broken, update the CACHE_VERSION secret in"
+ echo "https://github.com/googleapis/googleapis-discovery/settings/secrets/actions"
+ echo "(use any random string, any GUID will work)"
+ echo "and it will start over with a clean cache."
+ echo "The old one will disappear after 7 days."
+
+ - name: Install system dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y curl unzip
+ - name: Install showcase server
+ run: |
+ sudo mkdir -p /usr/src/showcase
+ sudo chown -R ${USER} /usr/src/
+ curl --location https://github.com/googleapis/gapic-showcase/releases/download/v${SHOWCASE_VERSION}/gapic-showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz --output /usr/src/showcase/showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz
+ cd /usr/src/showcase/
+ tar -xf showcase-*
+ ./gapic-showcase run &
+ cd -
+
+ - name: Showcase integration tests
+ run: mvn verify -P showcase
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 14724cebea..ff32b61a7c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -19,9 +19,8 @@ jobs:
go-version: '^1.13.1'
- name: License Header Check
run: |
- go install github.com/google/addlicense@latest
- addlicense -c "Google LLC" -l apache -check $(find $PWD -type f -name '*.java' ! -iname '*PlaceholderFile.java')
-
+ go install github.com/google/addlicense@latest
+ addlicense -c "Google LLC" -l apache -ignore showcase/** -check $(find $PWD -type f -name '*.java' ! -iname '*PlaceholderFile.java')
build:
needs: license-header
runs-on: ubuntu-latest
@@ -107,62 +106,3 @@ jobs:
- name: Generate Code Coverage Report
# Run only test targets, and not golden_update targets.
run: bazel coverage //:units --combined_report=lcov
-
- showcase:
- # needs: build
- runs-on: ubuntu-latest
- # services:
- # showcase-server:
- # image: gcr.io/gapic-images/gapic-showcase:0.25.0
- # ports:
- # - "7469:7469"
- strategy:
- matrix:
- java: [ 8, 11 ]
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v3
- with:
- java-version: ${{ matrix.java }}
- distribution: temurin
- - run: java -version
-
- - name: Bazel File Cache Setup
- id: cache-bazel
- uses: actions/cache@v3
- with:
- path: ~/.cache/bazel
- key: ${{ runner.os }}-${{ secrets.CACHE_VERSION }}
-
- - name: Bazel Cache Not Found
- if: steps.cache-bazel.outputs.cache-hit != 'true'
- run: |
- echo "No cache found."
- - name: Bazel Cache Found
- if: steps.cache-bazel.outputs.cache-hit == 'true'
- run: |
- echo -n "Cache found. Cache size: "
- du -sh ~/.cache/bazel
- echo "If the cache seems broken, update the CACHE_VERSION secret in"
- echo "https://github.com/googleapis/googleapis-discovery/settings/secrets/actions"
- echo "(use any random string, any GUID will work)"
- echo "and it will start over with a clean cache."
- echo "The old one will disappear after 7 days."
-
- - name: Install system dependencies.
- run: |
- sudo apt-get update
- sudo apt-get install -y curl unzip
-
- - name: Install showcase
- run: |
- sudo mkdir -p /usr/src/showcase
- sudo chown -R ${USER} /usr/src/
- curl --location https://github.com/googleapis/gapic-showcase/releases/download/v${SHOWCASE_VERSION}/gapic-showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz --output /usr/src/showcase/showcase-${SHOWCASE_VERSION}-linux-amd64.tar.gz
- cd /usr/src/showcase/
- tar -xf showcase-*
- ./gapic-showcase run &
- cd -
-
- - name: Showcase Integration Testing
- run: bazel --batch test //test/showcase/...
diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml
index e14ba32fa2..2825ff486c 100644
--- a/.github/workflows/sonar.yaml
+++ b/.github/workflows/sonar.yaml
@@ -1,10 +1,12 @@
name: SonarCloud Build
+
on:
push:
branches:
- main
pull_request:
types: [ opened, synchronize, reopened ]
+
jobs:
build:
name: Build
@@ -13,25 +15,37 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
+
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
+ - run: java -version
+ - run: mvn -version
+
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
+
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
+
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=googleapis_gapic-generator-java -Dsonar.organization=googleapis -Dsonar.host.url=https://sonarcloud.io
+ run: |
+ mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
+ -B \
+ -Dsonar.verbose=true \
+ -Dsonar.projectKey=googleapis_gapic-generator-java \
+ -Dsonar.organization=googleapis \
+ -Dsonar.host.url=https://sonarcloud.io
diff --git a/.gitignore b/.gitignore
index 913a2a8e6e..447d437087 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,12 @@
bazel-*
.gradle/
target/
+.flattened-pom.xml
# IDE
.idea
.ijwb
+*.iml
# Vim.
*.sw*
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5c3772c261..5a951b4113 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,19 @@
# Changelog
+## [2.11.0](https://github.com/googleapis/gapic-generator-java/compare/v2.10.3...v2.11.0) (2022-11-30)
+
+
+### Features
+
+* **ast:** Array expressions ([#1080](https://github.com/googleapis/gapic-generator-java/issues/1080)) ([bd9532c](https://github.com/googleapis/gapic-generator-java/commit/bd9532c6663f2e8f9d9978cd0a3cffde821960ec))
+
+
+### Bug Fixes
+
+* **ast:** Add import generation for annotations on VariableExpr ([#1076](https://github.com/googleapis/gapic-generator-java/issues/1076)) ([f5d5524](https://github.com/googleapis/gapic-generator-java/commit/f5d5524e626f26ef53d4ae6c02118ef70ace205a))
+* **deps:** Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.6 ([#1088](https://github.com/googleapis/gapic-generator-java/issues/1088)) ([0e75338](https://github.com/googleapis/gapic-generator-java/commit/0e75338dcb083c4cccd35d8682ba9cbe4e314ef8))
+* Support testing nested argument method signatures and 'double' field assertions ([#1094](https://github.com/googleapis/gapic-generator-java/issues/1094)) ([4bf419f](https://github.com/googleapis/gapic-generator-java/commit/4bf419f764e2ecfdac9caf03968f40a8cd564655))
+
## [2.10.3](https://github.com/googleapis/gapic-generator-java/compare/v2.10.2...v2.10.3) (2022-11-01)
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
index e6ac7c4ecb..bbcbca71a6 100644
--- a/DEVELOPMENT.md
+++ b/DEVELOPMENT.md
@@ -99,6 +99,23 @@
bazel run //test/integration:update_redis
```
+### Golden Showcase Testing
+
+- Regenerate the showcase client into the `./showcase` projects.
+
+ ```shell
+ mvn compile -P update-showcase
+ # or, for backward compatibility with previous workflows:
+ mvn compile -D updateUnitGoldens
+ ```
+
+- Run a test to verify a newly generated showcase client is identical to the golden files
+ in `./showcase`.
+
+ ```shell
+ mvn verify -P showcase-golden
+ ```
+
## Showcase Integration Testing
[GAPIC Showcase](https://github.com/googleapis/gapic-showcase) is an API that demonstrates Generated
@@ -159,10 +176,10 @@ $ gapic-showcase run
### Running the Integration Tests
-Open a new terminal window and run all tests in the `/test/showcase` directory.
+Open a new terminal window in the root project directory.
```shell
-$ bazel test //test/showcase/...
+$ mvn verify -P showcase
```
## Running the Plugin
diff --git a/WORKSPACE b/WORKSPACE
index e73de98dff..de55cfc78c 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -125,8 +125,11 @@ http_archive(
# Showcase
_showcase_commit = "90d73532a0cab753a85f45c158394f24fc21d91a"
+_showcase_sha256 = "0f582541a379be0746e6b8bc5af3df511581d4b1f18f7dfb9ce203be1a64cef1"
+
http_archive(
name = "com_google_gapic_showcase",
+ sha256 = _showcase_sha256,
strip_prefix = "gapic-showcase-%s" % _showcase_commit,
urls = [
# "https://github.com/googleapis/gapic-showcase/archive/refs/tags/v%s.zip" % _showcase_version,
diff --git a/coverage/pom.xml b/coverage/pom.xml
new file mode 100644
index 0000000000..231da7a5b4
--- /dev/null
+++ b/coverage/pom.xml
@@ -0,0 +1,43 @@
+
+
+ 4.0.0
+ com.google.api
+ gapic-generator-java-coverage-aggregate
+ 0.0.1-SNAPSHOT
+ pom
+ Aggregate Coverage Report
+
+
+
+ com.google.api
+ gapic-generator-java
+ 0.0.1-SNAPSHOT
+
+
+ com.google.cloud
+ gapic-showcase
+ 0.0.1-SNAPSHOT
+
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.8
+
+
+ report-aggregate
+ verify
+
+ report-aggregate
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gapic-generator-java/pom.xml b/gapic-generator-java/pom.xml
new file mode 100644
index 0000000000..9cee0d5c03
--- /dev/null
+++ b/gapic-generator-java/pom.xml
@@ -0,0 +1,391 @@
+
+ 4.0.0
+ com.google.api
+ gapic-generator-java
+ 0.0.1-SNAPSHOT
+
+
+ UTF-8
+
+ 44d6bef0ca6db8bba3fb324c8186e694bcc4829c
+ ..
+ ../src/main/java,pom.xml
+ ../target/sonar
+
+
+
+
+
+ com.google.cloud
+ google-cloud-shared-dependencies
+ 3.0.6
+ pom
+ import
+
+
+
+
+
+ ../src/main/java
+
+
+ ../src/
+
+
+ ../src/test/java
+ ../target
+
+
+
+ kr.motd.maven
+ os-maven-plugin
+ 1.7.1
+
+
+
+
+
+ maven-compiler-plugin
+ 3.10.1
+
+ 8
+ 8
+
+
+ com.google.auto.value
+ auto-value
+ 1.10.1
+
+
+
+
+
+
+ com.coveo
+ fmt-maven-plugin
+ 2.9.1
+
+
+
+ com.googlecode.maven-download-plugin
+ download-maven-plugin
+ 1.6.8
+
+
+ download-metadata-proto
+ generate-sources
+
+ wget
+
+
+
+ https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/gapic/metadata/gapic_metadata.proto
+
+ ../target/generated-sources/proto
+
+
+
+ download-common-resources-proto
+ generate-test-sources
+
+ wget
+
+
+
+ https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/cloud/common_resources.proto
+
+ ../target/generated-test-sources/proto
+
+
+
+ download-pubsub-proto
+ generate-test-sources
+
+ wget
+
+
+
+ https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/pubsub/v1/pubsub.proto
+
+ ../target/generated-test-sources/proto
+
+
+
+ download-schema-proto
+ generate-test-sources
+
+ wget
+
+
+
+ https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/pubsub/v1/schema.proto
+
+ ../target/generated-test-sources/proto/google/pubsub/v1
+
+
+
+
+ download-logging-proto
+ generate-test-sources
+
+ wget
+
+
+
+ https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/logging/v2/logging.proto
+
+ ../target/generated-test-sources/proto
+
+
+
+ download-log-entry-proto
+ generate-test-sources
+
+ wget
+
+
+
+ https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/logging/v2/log_entry.proto
+
+ ../target/generated-test-sources/proto/google/logging/v2
+
+
+
+
+ download-logging-config-proto
+ generate-test-sources
+
+ wget
+
+
+
+ https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/logging/v2/logging_config.proto
+
+ ../target/generated-test-sources/proto/google/logging/v2
+
+
+
+
+ download-logging-metrics-proto
+ generate-test-sources
+
+ wget
+
+
+
+ https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/logging/v2/logging_metrics.proto
+
+ ../target/generated-test-sources/proto/google/logging/v2
+
+
+
+
+
+
+
+ org.xolstice.maven.plugins
+ protobuf-maven-plugin
+ 0.6.1
+
+ com.google.protobuf:protoc:3.21.7:exe:${os.detected.classifier}
+
+
+
+
+ compile-protos
+
+ compile
+
+
+ ../src/main/proto
+
+
+
+ compile-downloaded-protos
+
+ compile
+
+
+ ../target/generated-sources/proto
+ false
+
+
+
+ compile-test-protos
+
+ test-compile
+
+
+ ../src/test/proto
+ true
+ true
+ true
+ test-proto.descriptorset
+
+
+
+ compile-downloaded-test-protos
+
+ test-compile
+
+
+ ../target/generated-test-sources/proto
+ false
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 3.0.0-M7
+
+
+
+ ../target/generated-test-resources/protobuf/descriptor-sets
+
+
+ ../
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.8
+
+
+
+ prepare-agent
+
+
+
+ report
+ test
+
+ report
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+ 3.4.1
+
+
+ package
+
+ shade
+
+
+ false
+
+
+ *:*
+
+ META-INF/*.SF
+ META-INF/*.DSA
+ META-INF/*.RSA
+
+
+
+
+
+
+
+
+
+
+
+
+ com.google.guava
+ guava
+
+
+ com.google.api
+ gax
+
+
+ com.google.api
+ gax
+ testlib
+
+
+ com.google.api
+ gax-grpc
+
+
+ com.google.api
+ gax-grpc
+ testlib
+
+
+ com.google.api
+ gax-httpjson
+
+
+ com.google.api
+ gax-httpjson
+ testlib
+
+
+ com.google.auto.value
+ auto-value-annotations
+
+
+ com.google.protobuf
+ protobuf-java-util
+
+
+ io.grpc
+ grpc-stub
+
+
+ io.grpc
+ grpc-protobuf
+
+
+ org.yaml
+ snakeyaml
+ 1.33
+
+
+ com.google.googlejavaformat
+ google-java-format
+ 1.7
+
+
+ junit
+ junit
+ 4.13.2
+
+
+
+
+ javax.annotation
+ javax.annotation-api
+
+
+
+ com.google.truth
+ truth
+ 1.1.3
+ test
+
+
+ io.github.java-diff-utils
+ java-diff-utils
+ 4.12
+ test
+
+
+
diff --git a/pom.xml b/pom.xml
index f38b35a476..ef8da4393b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,391 +1,140 @@
+
4.0.0
com.google.api
- gapic-generator-java
+ gapic-generator-java-parent
0.0.1-SNAPSHOT
+ pom
+
+
+ gapic-generator-java
+
- UTF-8
-
- 44d6bef0ca6db8bba3fb324c8186e694bcc4829c
+
+ ${project.basedir}/target/site/jacoco/jacoco.xml
+
+ pom.xml
+
-
-
-
- com.google.cloud
- google-cloud-shared-dependencies
- 3.0.6
- pom
- import
-
-
-
+
+
+ update-showcase
+
+
+ updateUnitGoldens
+
+
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 3.1.0
+
+
+ update-showcase-goldens
+ generate-sources
+
+ exec
+
+
+ showcase
+ mvn
+
+ compile
+ -P update
+
+
+
+
+
+
+
+
+
+ showcase-golden
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 3.1.0
+
+
+ perform-showcase-golden-testing
+ integration-test
+
+ exec
+
+
+ showcase
+ mvn
+
+ test
+ -P enable-golden-tests
+
+
+
+
+
+
+
+
+
+ showcase
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 3.1.0
+
+
+ perform-showcase-testing
+ integration-test
+
+ exec
+
+
+ showcase
+ mvn
+
+ verify
+ -P enable-golden-tests
+ -P enable-integration-tests
+
+
+
+
+
+
+
+
+
+ update
+
+
+
-
-
- kr.motd.maven
- os-maven-plugin
- 1.7.1
-
-
-
- maven-compiler-plugin
- 3.10.1
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ 3.0.0
- 8
- 8
-
-
- com.google.auto.value
- auto-value
- 1.10.1
-
-
-
-
- com/google/showcase/**/*.java
-
+ true
-
com.coveo
fmt-maven-plugin
2.9.1
-
-
- test/showcase/src
-
-
-
-
-
- com.googlecode.maven-download-plugin
- download-maven-plugin
- 1.6.8
-
-
- download-metadata-proto
- generate-sources
-
- wget
-
-
-
- https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/gapic/metadata/gapic_metadata.proto
-
- ${project.build.directory}/generated-sources/proto/
-
-
-
- download-common-resources-proto
- generate-test-sources
-
- wget
-
-
-
- https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/cloud/common_resources.proto
-
- ${project.build.directory}/generated-test-sources/proto/
-
-
-
-
- download-pubsub-proto
- generate-test-sources
-
- wget
-
-
-
- https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/pubsub/v1/pubsub.proto
-
- ${project.build.directory}/generated-test-sources/proto/
-
-
-
-
- download-schema-proto
- generate-test-sources
-
- wget
-
-
-
- https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/pubsub/v1/schema.proto
-
-
- ${project.build.directory}/generated-test-sources/proto/google/pubsub/v1/
-
-
-
-
- download-logging-proto
- generate-test-sources
-
- wget
-
-
-
- https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/logging/v2/logging.proto
-
- ${project.build.directory}/generated-test-sources/proto/
-
-
-
-
- download-log-entry-proto
- generate-test-sources
-
- wget
-
-
-
- https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/logging/v2/log_entry.proto
-
-
- ${project.build.directory}/generated-test-sources/proto/google/logging/v2/
-
-
-
-
- download-logging-config-proto
- generate-test-sources
-
- wget
-
-
-
- https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/logging/v2/logging_config.proto
-
-
- ${project.build.directory}/generated-test-sources/proto/google/logging/v2/
-
-
-
-
- download-logging-metrics-proto
- generate-test-sources
-
- wget
-
-
-
- https://raw.githubusercontent.com/googleapis/googleapis/${googleapis.commit}/google/logging/v2/logging_metrics.proto
-
-
- ${project.build.directory}/generated-test-sources/proto/google/logging/v2/
-
-
-
-
-
-
-
- org.xolstice.maven.plugins
- protobuf-maven-plugin
- 0.6.1
-
- com.google.protobuf:protoc:3.21.7:exe:${os.detected.classifier}
-
-
-
-
- compile-protos
-
- compile
-
-
-
- compile-downloaded-protos
-
- compile
-
-
- ${project.build.directory}/generated-sources/proto/
- false
-
-
-
- compile-test-protos
-
- test-compile
-
-
- true
- true
- true
- test-proto.descriptorset
-
-
-
- compile-downloaded-test-protos
-
- test-compile
-
-
- ${project.build.directory}/generated-test-sources/proto/
-
- false
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
- 3.0.0-M7
-
-
-
- ${project.build.directory}/generated-test-resources/protobuf/descriptor-sets/
-
-
-
-
-
-
-
- org.jacoco
- jacoco-maven-plugin
- 0.8.8
-
-
-
- prepare-agent
-
-
-
- report
- test
-
- report
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-shade-plugin
- 3.4.1
-
-
- package
-
- shade
-
-
- false
-
-
- *:*
-
- META-INF/*.SF
- META-INF/*.DSA
- META-INF/*.RSA
-
-
-
-
-
-
-
-
-
- com.google.guava
- guava
-
-
- com.google.api
- gax
-
-
- com.google.api
- gax
- testlib
-
-
- com.google.api
- gax-grpc
-
-
- com.google.api
- gax-grpc
- testlib
-
-
- com.google.api
- gax-httpjson
-
-
- com.google.api
- gax-httpjson
- testlib
-
-
- com.google.auto.value
- auto-value-annotations
-
-
- com.google.protobuf
- protobuf-java-util
-
-
- io.grpc
- grpc-stub
-
-
- io.grpc
- grpc-protobuf
-
-
- org.yaml
- snakeyaml
- 1.33
-
-
- com.google.googlejavaformat
- google-java-format
- 1.7
-
-
- junit
- junit
- 4.13.2
-
-
-
-
- javax.annotation
- javax.annotation-api
-
-
-
- com.google.truth
- truth
- 1.1.3
- test
-
-
- io.github.java-diff-utils
- java-diff-utils
- 4.12
- test
-
-
-
+
\ No newline at end of file
diff --git a/rules_java_gapic/resources/gradle/gradle/wrapper/gradle-wrapper.properties b/rules_java_gapic/resources/gradle/gradle/wrapper/gradle-wrapper.properties
index ae04661ee7..070cb702f0 100644
--- a/rules_java_gapic/resources/gradle/gradle/wrapper/gradle-wrapper.properties
+++ b/rules_java_gapic/resources/gradle/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/test/showcase/BUILD.bazel b/showcase/BUILD.bazel
similarity index 55%
rename from test/showcase/BUILD.bazel
rename to showcase/BUILD.bazel
index d4563af02a..83a518aba8 100644
--- a/test/showcase/BUILD.bazel
+++ b/showcase/BUILD.bazel
@@ -57,3 +57,78 @@ java_gapic_assembly_gradle_pkg(
"@com_google_gapic_showcase//schema/google/showcase/v1beta1:showcase_proto",
],
)
+
+filegroup(
+ name = "gapic_showcase_files",
+ srcs = glob(["gapic-showcase/src/**"]),
+)
+
+filegroup(
+ name = "grpc_gapic_showcase_files",
+ srcs = glob(["grpc-gapic-showcase-v1beta1/src/**"]),
+)
+
+filegroup(
+ name = "proto_gapic_showcase_files",
+ srcs = glob(["proto-gapic-showcase-v1beta1/src/**"]),
+)
+
+GAPIC_DATA = [
+ "showcase_java_gapic_srcjar_raw.srcjar",
+ ":gapic_showcase_files",
+ "//showcase:showcase_java_gapic",
+]
+
+sh_binary(
+ name = "update_gapic",
+ srcs = ["//showcase/scripts:update.sh"],
+ args = ["gapic"],
+ data = GAPIC_DATA,
+)
+
+sh_binary(
+ name = "verify_gapic",
+ srcs = ["//showcase/scripts:verify.sh"],
+ args = ["gapic"],
+ data = GAPIC_DATA,
+)
+
+GRPC_DATA = [
+ "libshowcase_java_grpc-src.jar",
+ ":grpc_gapic_showcase_files",
+ "//showcase:showcase_java_grpc",
+]
+
+sh_binary(
+ name = "update_grpc",
+ srcs = ["//showcase/scripts:update.sh"],
+ args = ["grpc"],
+ data = GRPC_DATA,
+)
+
+sh_binary(
+ name = "verify_grpc",
+ srcs = ["//showcase/scripts:verify.sh"],
+ args = ["grpc"],
+ data = GRPC_DATA,
+)
+
+PROTO_DATA = [
+ "proto-google-cloud-showcase-v1beta1-java.tar.gz",
+ ":proto_gapic_showcase_files",
+ "//showcase:showcase_java_proto",
+]
+
+sh_binary(
+ name = "update_proto",
+ srcs = ["//showcase/scripts:update.sh"],
+ args = ["proto"],
+ data = PROTO_DATA,
+)
+
+sh_binary(
+ name = "verify_proto",
+ srcs = ["//showcase/scripts:verify.sh"],
+ args = ["proto"],
+ data = PROTO_DATA,
+)
diff --git a/showcase/gapic-showcase/pom.xml b/showcase/gapic-showcase/pom.xml
new file mode 100644
index 0000000000..aede237c30
--- /dev/null
+++ b/showcase/gapic-showcase/pom.xml
@@ -0,0 +1,202 @@
+
+
+ 4.0.0
+ com.google.cloud
+ gapic-showcase
+ 0.0.1-SHAPSHOT
+ jar
+ GAPIC Showcase Client
+
+ GAPIC Showcase is an API that demonstrates Generated API Client (GAPIC) features and common API
+ patterns used by Google.
+
+
+ com.google.cloud
+ gapic-showcase-parent
+ 0.0.1-SNAPSHOT
+
+
+
+ true
+
+
+
+
+ enable-golden-tests
+
+ true
+
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 3.1.0
+
+
+ verify-showcase
+
+ exec
+
+ test
+
+ bazel
+
+ run
+ //showcase:verify_gapic
+
+
+
+
+
+
+
+
+
+ update
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 3.1.0
+
+
+ verify-showcase
+
+ exec
+
+ generate-sources
+
+ bazel
+
+ run
+ //showcase:update_gapic
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.8
+
+
+ report
+
+ report
+
+
+
+ XML
+ HTML
+
+
+
+
+
+
+
+
+
+
+ io.grpc
+ grpc-api
+
+
+ io.grpc
+ grpc-stub
+
+
+ io.grpc
+ grpc-protobuf
+
+
+ com.google.api
+ api-common
+
+
+ com.google.protobuf
+ protobuf-java
+
+
+ com.google.api.grpc
+ proto-google-common-protos
+
+
+ com.google.api.grpc
+ proto-google-iam-v1
+
+
+ com.google.api.grpc
+ proto-gapic-showcase-v1beta1
+
+
+ com.google.guava
+ guava
+
+
+ com.google.api
+ gax
+
+
+ com.google.api
+ gax-grpc
+
+
+ com.google.api
+ gax-httpjson
+
+
+ org.threeten
+ threetenbp
+
+
+
+
+ junit
+ junit
+ test
+
+
+ com.google.cloud
+ google-cloud-core
+ test
+
+
+
+ com.google.api.grpc
+ grpc-gapic-showcase-v1beta1
+ test
+
+
+
+ com.google.api
+ gax
+ testlib
+ test
+
+
+ com.google.api
+ gax-grpc
+ testlib
+ test
+
+
+ com.google.api
+ gax-httpjson
+ testlib
+ test
+
+
+
\ No newline at end of file
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/BlurbName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/BlurbName.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/BlurbName.java
rename to showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/BlurbName.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ProfileName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/ProfileName.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ProfileName.java
rename to showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/ProfileName.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/RoomName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/RoomName.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/RoomName.java
rename to showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/RoomName.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceName.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceName.java
rename to showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceName.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceReportName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceReportName.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceReportName.java
rename to showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SequenceReportName.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SessionName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SessionName.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SessionName.java
rename to showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/SessionName.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/TestName.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestName.java
rename to showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/TestName.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/UserName.java b/showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/UserName.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/UserName.java
rename to showcase/gapic-showcase/proto/src/main/java/com/google/showcase/v1beta1/UserName.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider1.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetCredentialsProvider1.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetEndpoint.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/create/SyncCreateSetEndpoint.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/getenum/AsyncGetEnum.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/AsyncGetEnum.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/getenum/AsyncGetEnum.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/AsyncGetEnum.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/getenum/SyncGetEnum.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/SyncGetEnum.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/getenum/SyncGetEnum.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/getenum/SyncGetEnum.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/AsyncRepeatDataBody.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/AsyncRepeatDataBody.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/AsyncRepeatDataBody.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/AsyncRepeatDataBody.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/SyncRepeatDataBody.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/SyncRepeatDataBody.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/SyncRepeatDataBody.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabody/SyncRepeatDataBody.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/AsyncRepeatDataBodyInfo.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/AsyncRepeatDataBodyInfo.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/AsyncRepeatDataBodyInfo.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/AsyncRepeatDataBodyInfo.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/SyncRepeatDataBodyInfo.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/SyncRepeatDataBodyInfo.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/SyncRepeatDataBodyInfo.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyinfo/SyncRepeatDataBodyInfo.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/AsyncRepeatDataBodyPatch.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/AsyncRepeatDataBodyPatch.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/AsyncRepeatDataBodyPatch.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/AsyncRepeatDataBodyPatch.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/SyncRepeatDataBodyPatch.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/SyncRepeatDataBodyPatch.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/SyncRepeatDataBodyPatch.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodypatch/SyncRepeatDataBodyPatch.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/AsyncRepeatDataBodyPut.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/AsyncRepeatDataBodyPut.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/AsyncRepeatDataBodyPut.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/AsyncRepeatDataBodyPut.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/SyncRepeatDataBodyPut.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/SyncRepeatDataBodyPut.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/SyncRepeatDataBodyPut.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatabodyput/SyncRepeatDataBodyPut.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/AsyncRepeatDataPathResource.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/AsyncRepeatDataPathResource.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/AsyncRepeatDataPathResource.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/AsyncRepeatDataPathResource.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/SyncRepeatDataPathResource.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/SyncRepeatDataPathResource.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/SyncRepeatDataPathResource.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathresource/SyncRepeatDataPathResource.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/AsyncRepeatDataPathTrailingResource.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/AsyncRepeatDataPathTrailingResource.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/AsyncRepeatDataPathTrailingResource.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/AsyncRepeatDataPathTrailingResource.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/SyncRepeatDataPathTrailingResource.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/SyncRepeatDataPathTrailingResource.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/SyncRepeatDataPathTrailingResource.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatapathtrailingresource/SyncRepeatDataPathTrailingResource.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/AsyncRepeatDataQuery.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/AsyncRepeatDataQuery.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/AsyncRepeatDataQuery.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/AsyncRepeatDataQuery.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/SyncRepeatDataQuery.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/SyncRepeatDataQuery.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/SyncRepeatDataQuery.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdataquery/SyncRepeatDataQuery.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/AsyncRepeatDataSimplePath.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/AsyncRepeatDataSimplePath.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/AsyncRepeatDataSimplePath.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/AsyncRepeatDataSimplePath.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/SyncRepeatDataSimplePath.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/SyncRepeatDataSimplePath.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/SyncRepeatDataSimplePath.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/repeatdatasimplepath/SyncRepeatDataSimplePath.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/verifyenum/AsyncVerifyEnum.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/AsyncVerifyEnum.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/verifyenum/AsyncVerifyEnum.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/AsyncVerifyEnum.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/verifyenum/SyncVerifyEnum.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/SyncVerifyEnum.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliance/verifyenum/SyncVerifyEnum.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliance/verifyenum/SyncVerifyEnum.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliancesettings/repeatdatabody/SyncRepeatDataBody.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliancesettings/repeatdatabody/SyncRepeatDataBody.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/compliancesettings/repeatdatabody/SyncRepeatDataBody.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/compliancesettings/repeatdatabody/SyncRepeatDataBody.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/block/AsyncBlock.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/AsyncBlock.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/block/AsyncBlock.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/AsyncBlock.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/block/SyncBlock.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/SyncBlock.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/block/SyncBlock.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/block/SyncBlock.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/chat/AsyncChat.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/chat/AsyncChat.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/chat/AsyncChat.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/chat/AsyncChat.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/collect/AsyncCollect.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/collect/AsyncCollect.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/collect/AsyncCollect.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/collect/AsyncCollect.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider1.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetCredentialsProvider1.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetEndpoint.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/create/SyncCreateSetEndpoint.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/echo/AsyncEcho.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/AsyncEcho.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/echo/AsyncEcho.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/AsyncEcho.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/echo/SyncEcho.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/SyncEcho.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/echo/SyncEcho.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/echo/SyncEcho.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/expand/AsyncExpand.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/expand/AsyncExpand.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/expand/AsyncExpand.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/expand/AsyncExpand.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpand.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpand.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpand.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpand.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpandPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpandPaged.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpandPaged.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/AsyncPagedExpandPaged.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpand/SyncPagedExpand.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/SyncPagedExpand.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpand/SyncPagedExpand.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpand/SyncPagedExpand.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/AsyncPagedExpandLegacy.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/AsyncPagedExpandLegacy.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/AsyncPagedExpandLegacy.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/AsyncPagedExpandLegacy.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/SyncPagedExpandLegacy.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/SyncPagedExpandLegacy.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/SyncPagedExpandLegacy.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacy/SyncPagedExpandLegacy.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMapped.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMapped.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMapped.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMapped.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMappedPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMappedPaged.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMappedPaged.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/AsyncPagedExpandLegacyMappedPaged.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/SyncPagedExpandLegacyMapped.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/SyncPagedExpandLegacyMapped.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/SyncPagedExpandLegacyMapped.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/pagedexpandlegacymapped/SyncPagedExpandLegacyMapped.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWait.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWait.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWait.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWait.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWaitLRO.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWaitLRO.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWaitLRO.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/AsyncWaitLRO.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/wait/SyncWait.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/SyncWait.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echo/wait/SyncWait.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echo/wait/SyncWait.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echosettings/echo/SyncEcho.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echosettings/echo/SyncEcho.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/echosettings/echo/SyncEcho.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/echosettings/echo/SyncEcho.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider1.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetCredentialsProvider1.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetEndpoint.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/create/SyncCreateSetEndpoint.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/createuser/AsyncCreateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/AsyncCreateUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/createuser/AsyncCreateUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/AsyncCreateUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringStringIntStringBooleanDouble.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringStringIntStringBooleanDouble.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringStringIntStringBooleanDouble.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/createuser/SyncCreateUserStringStringIntStringBooleanDouble.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/deleteuser/AsyncDeleteUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/AsyncDeleteUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/deleteuser/AsyncDeleteUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/AsyncDeleteUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserUsername.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserUsername.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserUsername.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/deleteuser/SyncDeleteUserUsername.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/getuser/AsyncGetUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/AsyncGetUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/getuser/AsyncGetUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/AsyncGetUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserUsername.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserUsername.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserUsername.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/getuser/SyncGetUserUsername.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsers.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsers.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsers.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsers.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsersPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsersPaged.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsersPaged.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/AsyncListUsersPaged.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/listusers/SyncListUsers.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/SyncListUsers.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/listusers/SyncListUsers.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/listusers/SyncListUsers.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/updateuser/AsyncUpdateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/AsyncUpdateUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/updateuser/AsyncUpdateUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/AsyncUpdateUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/updateuser/SyncUpdateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/SyncUpdateUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identity/updateuser/SyncUpdateUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identity/updateuser/SyncUpdateUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identitysettings/createuser/SyncCreateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identitysettings/createuser/SyncCreateUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/identitysettings/createuser/SyncCreateUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/identitysettings/createuser/SyncCreateUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/connect/AsyncConnect.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/connect/AsyncConnect.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/connect/AsyncConnect.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/connect/AsyncConnect.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider1.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetCredentialsProvider1.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetEndpoint.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/create/SyncCreateSetEndpoint.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/AsyncCreateBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/AsyncCreateBlurb.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/AsyncCreateBlurb.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/AsyncCreateBlurb.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurb.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurb.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurb.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringBytestring.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringBytestring.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringBytestring.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameStringString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameBytestring.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameBytestring.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameBytestring.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbProfilenameUsernameString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringBytestring.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringBytestring.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringBytestring.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameStringString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameBytestring.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameBytestring.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameBytestring.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbRoomnameUsernameString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringBytestring.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringBytestring.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringBytestring.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringStringString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameBytestring.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameBytestring.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameBytestring.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameBytestring.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createblurb/SyncCreateBlurbStringUsernameString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createroom/AsyncCreateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/AsyncCreateRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createroom/AsyncCreateRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/AsyncCreateRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoomStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoomStringString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoomStringString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/createroom/SyncCreateRoomStringString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/AsyncDeleteBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/AsyncDeleteBlurb.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/AsyncDeleteBlurb.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/AsyncDeleteBlurb.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurb.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurb.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurb.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbBlurbname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbBlurbname.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbBlurbname.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbBlurbname.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteblurb/SyncDeleteBlurbString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteroom/AsyncDeleteRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/AsyncDeleteRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteroom/AsyncDeleteRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/AsyncDeleteRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomRoomname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomRoomname.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomRoomname.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomRoomname.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/deleteroom/SyncDeleteRoomString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getblurb/AsyncGetBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/AsyncGetBlurb.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getblurb/AsyncGetBlurb.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/AsyncGetBlurb.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurb.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurb.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurb.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbBlurbname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbBlurbname.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbBlurbname.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbBlurbname.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getblurb/SyncGetBlurbString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getroom/AsyncGetRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/AsyncGetRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getroom/AsyncGetRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/AsyncGetRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomRoomname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomRoomname.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomRoomname.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomRoomname.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/getroom/SyncGetRoomString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbs.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbs.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbs.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbsPaged.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbsPaged.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/AsyncListBlurbsPaged.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbs.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbs.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbs.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsProfilename.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsProfilename.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsProfilename.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsProfilename.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsRoomname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsRoomname.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsRoomname.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsRoomname.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listblurbs/SyncListBlurbsString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRooms.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRooms.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRooms.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRooms.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRoomsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRoomsPaged.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRoomsPaged.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/AsyncListRoomsPaged.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listrooms/SyncListRooms.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/SyncListRooms.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/listrooms/SyncListRooms.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/listrooms/SyncListRooms.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbs.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbs.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbs.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbsLRO.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbsLRO.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbsLRO.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/AsyncSearchBlurbsLRO.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbs.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbs.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbs.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsProfilenameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsProfilenameString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsProfilenameString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsProfilenameString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsRoomnameString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsRoomnameString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsRoomnameString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsRoomnameString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsStringString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsStringString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsStringString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/searchblurbs/SyncSearchBlurbsStringString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/sendblurbs/AsyncSendBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/sendblurbs/AsyncSendBlurbs.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/sendblurbs/AsyncSendBlurbs.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/sendblurbs/AsyncSendBlurbs.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/streamblurbs/AsyncStreamBlurbs.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/streamblurbs/AsyncStreamBlurbs.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/streamblurbs/AsyncStreamBlurbs.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/streamblurbs/AsyncStreamBlurbs.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/updateblurb/AsyncUpdateBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/AsyncUpdateBlurb.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/updateblurb/AsyncUpdateBlurb.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/AsyncUpdateBlurb.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/updateblurb/SyncUpdateBlurb.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/SyncUpdateBlurb.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/updateblurb/SyncUpdateBlurb.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateblurb/SyncUpdateBlurb.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/updateroom/AsyncUpdateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/AsyncUpdateRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/updateroom/AsyncUpdateRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/AsyncUpdateRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/updateroom/SyncUpdateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/SyncUpdateRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messaging/updateroom/SyncUpdateRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messaging/updateroom/SyncUpdateRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messagingsettings/createroom/SyncCreateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messagingsettings/createroom/SyncCreateRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/messagingsettings/createroom/SyncCreateRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/messagingsettings/createroom/SyncCreateRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/AsyncAttemptSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/AsyncAttemptSequence.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/AsyncAttemptSequence.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/AsyncAttemptSequence.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequence.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequence.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequence.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceSequencename.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceSequencename.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceSequencename.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceSequencename.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/attemptsequence/SyncAttemptSequenceString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider1.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetCredentialsProvider1.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetEndpoint.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/create/SyncCreateSetEndpoint.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/AsyncCreateSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/AsyncCreateSequence.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/AsyncCreateSequence.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/AsyncCreateSequence.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequence.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequence.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequence.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequenceSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequenceSequence.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequenceSequence.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/createsequence/SyncCreateSequenceSequence.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/AsyncGetSequenceReport.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/AsyncGetSequenceReport.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/AsyncGetSequenceReport.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/AsyncGetSequenceReport.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReport.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReport.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReport.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReport.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportSequencereportname.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportSequencereportname.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportSequencereportname.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportSequencereportname.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportString.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportString.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportString.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservice/getsequencereport/SyncGetSequenceReportString.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservicesettings/createsequence/SyncCreateSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservicesettings/createsequence/SyncCreateSequence.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/sequenceservicesettings/createsequence/SyncCreateSequence.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/sequenceservicesettings/createsequence/SyncCreateSequence.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/compliancestubsettings/repeatdatabody/SyncRepeatDataBody.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/compliancestubsettings/repeatdatabody/SyncRepeatDataBody.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/compliancestubsettings/repeatdatabody/SyncRepeatDataBody.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/compliancestubsettings/repeatdatabody/SyncRepeatDataBody.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/echostubsettings/echo/SyncEcho.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/echostubsettings/echo/SyncEcho.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/echostubsettings/echo/SyncEcho.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/echostubsettings/echo/SyncEcho.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/identitystubsettings/createuser/SyncCreateUser.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/identitystubsettings/createuser/SyncCreateUser.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/identitystubsettings/createuser/SyncCreateUser.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/identitystubsettings/createuser/SyncCreateUser.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/messagingstubsettings/createroom/SyncCreateRoom.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/messagingstubsettings/createroom/SyncCreateRoom.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/messagingstubsettings/createroom/SyncCreateRoom.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/messagingstubsettings/createroom/SyncCreateRoom.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/sequenceservicestubsettings/createsequence/SyncCreateSequence.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/sequenceservicestubsettings/createsequence/SyncCreateSequence.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/sequenceservicestubsettings/createsequence/SyncCreateSequence.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/sequenceservicestubsettings/createsequence/SyncCreateSequence.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/testingstubsettings/createsession/SyncCreateSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/testingstubsettings/createsession/SyncCreateSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/stub/testingstubsettings/createsession/SyncCreateSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/stub/testingstubsettings/createsession/SyncCreateSession.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider1.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider1.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider1.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetCredentialsProvider1.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetEndpoint.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetEndpoint.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetEndpoint.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/create/SyncCreateSetEndpoint.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/createsession/AsyncCreateSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/AsyncCreateSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/createsession/AsyncCreateSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/AsyncCreateSession.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/createsession/SyncCreateSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/SyncCreateSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/createsession/SyncCreateSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/createsession/SyncCreateSession.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/deletesession/AsyncDeleteSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/AsyncDeleteSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/deletesession/AsyncDeleteSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/AsyncDeleteSession.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/deletesession/SyncDeleteSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/SyncDeleteSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/deletesession/SyncDeleteSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletesession/SyncDeleteSession.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/deletetest/AsyncDeleteTest.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/AsyncDeleteTest.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/deletetest/AsyncDeleteTest.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/AsyncDeleteTest.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/deletetest/SyncDeleteTest.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/SyncDeleteTest.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/deletetest/SyncDeleteTest.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/deletetest/SyncDeleteTest.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/getsession/AsyncGetSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/AsyncGetSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/getsession/AsyncGetSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/AsyncGetSession.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/getsession/SyncGetSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/SyncGetSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/getsession/SyncGetSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/getsession/SyncGetSession.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessions.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessions.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessions.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessions.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessionsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessionsPaged.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessionsPaged.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/AsyncListSessionsPaged.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listsessions/SyncListSessions.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/SyncListSessions.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listsessions/SyncListSessions.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listsessions/SyncListSessions.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTests.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTests.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTests.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTests.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTestsPaged.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTestsPaged.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTestsPaged.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/AsyncListTestsPaged.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listtests/SyncListTests.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/SyncListTests.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/listtests/SyncListTests.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/listtests/SyncListTests.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/reportsession/AsyncReportSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/AsyncReportSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/reportsession/AsyncReportSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/AsyncReportSession.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/reportsession/SyncReportSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/SyncReportSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/reportsession/SyncReportSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/reportsession/SyncReportSession.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/verifytest/AsyncVerifyTest.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/AsyncVerifyTest.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/verifytest/AsyncVerifyTest.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/AsyncVerifyTest.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/verifytest/SyncVerifyTest.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/SyncVerifyTest.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testing/verifytest/SyncVerifyTest.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testing/verifytest/SyncVerifyTest.java
diff --git a/test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testingsettings/createsession/SyncCreateSession.java b/showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testingsettings/createsession/SyncCreateSession.java
similarity index 100%
rename from test/integration/goldens/showcase/samples/snippets/generated/main/java/com/google/showcase/v1beta1/testingsettings/createsession/SyncCreateSession.java
rename to showcase/gapic-showcase/samples/snippets/generated/src/main/java/com/google/showcase/v1beta1/testingsettings/createsession/SyncCreateSession.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ComplianceClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceClient.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ComplianceClient.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceClient.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ComplianceSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ComplianceSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/ComplianceSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/EchoClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoClient.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/EchoClient.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoClient.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/EchoSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/EchoSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/EchoSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/IdentityClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentityClient.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/IdentityClient.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentityClient.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/IdentitySettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentitySettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/IdentitySettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/IdentitySettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MessagingClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingClient.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MessagingClient.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingClient.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MessagingSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MessagingSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/MessagingSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceServiceClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceClient.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceServiceClient.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceClient.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceServiceSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceServiceSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/SequenceServiceSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestingClient.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingClient.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestingClient.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingClient.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestingSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestingSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/TestingSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/gapic_metadata.json b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/gapic_metadata.json
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/gapic_metadata.json
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/gapic_metadata.json
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/package-info.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/package-info.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/package-info.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/package-info.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/ComplianceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/ComplianceStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/ComplianceStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStubSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/ComplianceStubSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/ComplianceStubSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/EchoStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/EchoStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/EchoStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStubSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/EchoStubSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/EchoStubSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcComplianceCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcComplianceCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcComplianceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcComplianceStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcComplianceStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcEchoCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcEchoCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcEchoStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcEchoStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcEchoStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcIdentityCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcIdentityCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcIdentityStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcIdentityStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcIdentityStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcMessagingCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcMessagingCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcMessagingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcMessagingStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcMessagingStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcSequenceServiceCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcSequenceServiceCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcSequenceServiceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcSequenceServiceStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcSequenceServiceStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcTestingCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcTestingCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcTestingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/GrpcTestingStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/GrpcTestingStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonComplianceCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonComplianceCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonComplianceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonComplianceStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonComplianceStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonEchoCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonEchoCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonEchoStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonEchoStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonEchoStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonIdentityCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonIdentityCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonIdentityStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonIdentityStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonIdentityStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonMessagingCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonMessagingCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonMessagingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonMessagingStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonMessagingStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonSequenceServiceStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonTestingCallableFactory.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingCallableFactory.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonTestingCallableFactory.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingCallableFactory.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonTestingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/HttpJsonTestingStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/HttpJsonTestingStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/IdentityStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/IdentityStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/IdentityStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStubSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/IdentityStubSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/IdentityStubSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/MessagingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/MessagingStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/MessagingStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStubSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/MessagingStubSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/MessagingStubSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/SequenceServiceStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/SequenceServiceStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/SequenceServiceStubSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/TestingStub.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStub.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/TestingStub.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStub.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/TestingStubSettings.java b/showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStubSettings.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/stub/TestingStubSettings.java
rename to showcase/gapic-showcase/src/main/java/com/google/showcase/v1beta1/stub/TestingStubSettings.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ComplianceClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientHttpJsonTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ComplianceClientHttpJsonTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientHttpJsonTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ComplianceClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/ComplianceClientTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/ComplianceClientTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/EchoClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientHttpJsonTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/EchoClientHttpJsonTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientHttpJsonTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/EchoClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/EchoClientTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/EchoClientTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/IdentityClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientHttpJsonTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/IdentityClientHttpJsonTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientHttpJsonTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/IdentityClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/IdentityClientTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/IdentityClientTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MessagingClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientHttpJsonTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MessagingClientHttpJsonTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientHttpJsonTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MessagingClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MessagingClientTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MessagingClientTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockCompliance.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockCompliance.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockCompliance.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockCompliance.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockComplianceImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockComplianceImpl.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockComplianceImpl.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockComplianceImpl.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockEcho.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEcho.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockEcho.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEcho.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockEchoImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEchoImpl.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockEchoImpl.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockEchoImpl.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockIdentity.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentity.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockIdentity.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentity.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockIdentityImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentityImpl.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockIdentityImpl.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockIdentityImpl.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockMessaging.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessaging.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockMessaging.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessaging.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockMessagingImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessagingImpl.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockMessagingImpl.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockMessagingImpl.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockSequenceService.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceService.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockSequenceService.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceService.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockSequenceServiceImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceServiceImpl.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockSequenceServiceImpl.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockSequenceServiceImpl.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockTesting.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTesting.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockTesting.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTesting.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockTestingImpl.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTestingImpl.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/MockTestingImpl.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/MockTestingImpl.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceServiceClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientHttpJsonTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceServiceClientHttpJsonTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientHttpJsonTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceServiceClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/SequenceServiceClientTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/SequenceServiceClientTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestingClientHttpJsonTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientHttpJsonTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestingClientHttpJsonTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientHttpJsonTest.java
diff --git a/test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestingClientTest.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientTest.java
similarity index 100%
rename from test/integration/goldens/showcase/src/com/google/showcase/v1beta1/TestingClientTest.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/TestingClientTest.java
diff --git a/test/showcase/src/test/com/google/showcase/v1beta1/FirstHttpIT.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITFirstHttp.java
similarity index 90%
rename from test/showcase/src/test/com/google/showcase/v1beta1/FirstHttpIT.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITFirstHttp.java
index 802ee4c80e..b73dbd49eb 100644
--- a/test/showcase/src/test/com/google/showcase/v1beta1/FirstHttpIT.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITFirstHttp.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.google.showcase.v1beta1;
+package com.google.showcase.v1beta1.it;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThrows;
@@ -22,13 +22,17 @@
import com.google.api.client.http.javanet.NetHttpTransport;
import com.google.api.gax.core.NoCredentialsProvider;
import com.google.api.gax.rpc.InvalidArgumentException;
+import com.google.showcase.v1beta1.EchoClient;
+import com.google.showcase.v1beta1.EchoRequest;
+import com.google.showcase.v1beta1.EchoResponse;
+import com.google.showcase.v1beta1.EchoSettings;
import java.io.IOException;
import java.security.GeneralSecurityException;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
-public class FirstHttpIT {
+public class ITFirstHttp {
private static EchoClient client;
diff --git a/test/showcase/src/test/com/google/showcase/v1beta1/FirstRpcIT.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITFirstRpc.java
similarity index 72%
rename from test/showcase/src/test/com/google/showcase/v1beta1/FirstRpcIT.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITFirstRpc.java
index 77dcc99939..32d941c722 100644
--- a/test/showcase/src/test/com/google/showcase/v1beta1/FirstRpcIT.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITFirstRpc.java
@@ -14,24 +14,30 @@
* limitations under the License.
*/
-package com.google.showcase.v1beta1;
+package com.google.showcase.v1beta1.it;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
import com.google.api.gax.core.NoCredentialsProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
+import com.google.showcase.v1beta1.EchoClient;
+import com.google.showcase.v1beta1.EchoRequest;
+import com.google.showcase.v1beta1.EchoResponse;
+import com.google.showcase.v1beta1.EchoSettings;
import io.grpc.ManagedChannelBuilder;
import java.io.IOException;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
+import org.junit.After;
+import org.junit.Before;
import org.junit.Test;
-public class FirstRpcIT {
+public class ITFirstRpc {
private static EchoClient client;
- @BeforeClass
- public static void createClient() throws IOException {
+ @Before
+ public void createClient() throws IOException {
EchoSettings echoSettings =
EchoSettings.newBuilder()
.setCredentialsProvider(NoCredentialsProvider.create())
@@ -44,8 +50,8 @@ public static void createClient() throws IOException {
client = EchoClient.create(echoSettings);
}
- @AfterClass
- public static void destroyClient() {
+ @After
+ public void destroyClient() {
client.close();
}
@@ -55,6 +61,13 @@ public void testEcho() {
assertEquals("grpc-echo!", echo("grpc-echo!"));
}
+ @Test
+ public void testShutdown() {
+ assertFalse(client.isShutdown());
+ client.shutdown();
+ assertTrue(client.isShutdown());
+ }
+
private String echo(String value) {
EchoResponse response = client.echo(EchoRequest.newBuilder().setContent(value).build());
return response.getContent();
diff --git a/test/showcase/src/test/com/google/showcase/v1beta1/NumericEnumsIT.java b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITNumericEnums.java
similarity index 91%
rename from test/showcase/src/test/com/google/showcase/v1beta1/NumericEnumsIT.java
rename to showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITNumericEnums.java
index e32a4eb2ad..5818010484 100644
--- a/test/showcase/src/test/com/google/showcase/v1beta1/NumericEnumsIT.java
+++ b/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITNumericEnums.java
@@ -14,20 +14,23 @@
* limitations under the License.
*/
-package com.google.showcase.v1beta1;
+package com.google.showcase.v1beta1.it;
import static org.junit.Assert.assertThrows;
import com.google.api.client.http.javanet.NetHttpTransport;
import com.google.api.gax.core.NoCredentialsProvider;
import com.google.api.gax.rpc.InvalidArgumentException;
+import com.google.showcase.v1beta1.ComplianceClient;
+import com.google.showcase.v1beta1.ComplianceSettings;
+import com.google.showcase.v1beta1.EnumRequest;
import java.io.IOException;
import java.security.GeneralSecurityException;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
-public class NumericEnumsIT {
+public class ITNumericEnums {
private ComplianceClient client;
diff --git a/showcase/google-cloud-jar-parent/pom.xml b/showcase/google-cloud-jar-parent/pom.xml
new file mode 100644
index 0000000000..fb08b7d163
--- /dev/null
+++ b/showcase/google-cloud-jar-parent/pom.xml
@@ -0,0 +1,287 @@
+
+
+ 4.0.0
+ google-cloud-jar-parent
+ com.google.cloud
+ 0.0.1-SNAPSHOT
+ pom
+ Google Cloud JAR Parent
+
+ The parent for all client library JAR modules in the repository.
+
+
+
+ com.google.cloud
+ google-cloud-pom-parent
+ 0.0.1-SNAPSHOT
+ ../google-cloud-pom-parent/pom.xml
+
+
+ true
+ true
+ true
+ true
+
+
+
+
+
+ com.google.cloud
+ google-cloud-shared-dependencies
+ 3.0.6
+ pom
+ import
+
+
+ io.perfmark
+ perfmark-api
+ 0.26.0
+
+
+ com.google.cloud
+ google-cloud-pubsub-bom
+ 1.121.1
+ pom
+ import
+
+
+ com.google.cloud
+ google-cloud-storage
+ 2.15.1
+
+
+ com.google.apis
+ google-api-services-dns
+ v1-rev20221110-2.0.0
+
+
+ com.google.apis
+ google-api-services-translate
+ v2-rev20170525-2.0.0
+
+
+ com.google.apis
+ google-api-services-cloudresourcemanager
+ v1-rev20220807-2.0.0
+
+
+ com.google.apis
+ google-api-services-storage
+ v1-rev20220705-2.0.0
+
+
+
+
+ junit
+ junit
+ 4.13.2
+ test
+
+
+ joda-time
+ joda-time
+ 2.12.1
+ test
+
+
+ com.google.truth
+ truth
+ 1.1.3
+ test
+
+
+ org.checkerframework
+ checker-qual
+
+
+
+
+ org.easymock
+ easymock
+ 5.0.1
+ test
+
+
+ com.google.api.grpc
+ grpc-google-common-protos
+ 2.10.0
+ test
+
+
+ org.mockito
+ mockito-all
+ 1.10.19
+ test
+
+
+ org.objenesis
+ objenesis
+ 3.3
+ test
+
+
+
+
+
+
+ java9
+
+ [9,)
+
+
+
+
+ javax.annotation
+ javax.annotation-api
+ provided
+
+
+
+
+ java17
+
+ [17,)
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+
+ --add-opens=java.base/java.time=ALL-UNNAMED
+ --add-opens=java.base/java.math=ALL-UNNAMED
+ --add-opens=java.base/sun.security.rsa=ALL-UNNAMED
+ --add-opens=java.base/sun.security.pkcs=ALL-UNNAMED
+ --add-opens=java.base/sun.security.x509=ALL-UNNAMED
+ --add-opens=java.base/sun.security.util=ALL-UNNAMED
+ --add-opens=java.base/java.security=ALL-UNNAMED
+ --add-opens=java.base/java.lang=ALL-UNNAMED
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ ${skipUnitTests}
+
+
+
+ org.apache.maven.plugins
+ maven-failsafe-plugin
+
+ 1C
+ true
+
+
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-project-info-reports-plugin
+ 3.4.1
+
+
+
+ index
+ dependency-info
+ team
+ ci-management
+ issue-management
+ licenses
+ scm
+ dependency-management
+ distribution-management
+ summary
+ modules
+
+
+
+
+ true
+ ${site.installationModule}
+ jar
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.4.1
+
+
+ html
+
+ aggregate
+ javadoc
+
+
+
+
+ none
+ protected
+ true
+ ${project.build.directory}/javadoc
+
+
+ Test helpers packages
+ com.google.cloud.testing
+
+
+ SPI packages
+ com.google.cloud.spi*
+
+
+
+
+ https://grpc.io/grpc-java/javadoc/
+ https://developers.google.com/protocol-buffers/docs/reference/java/
+ https://googleapis.dev/java/google-auth-library/latest/
+ https://googleapis.dev/java/gax/latest/
+
+ https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/showcase/google-cloud-pom-parent/java.header b/showcase/google-cloud-pom-parent/java.header
new file mode 100644
index 0000000000..772004189a
--- /dev/null
+++ b/showcase/google-cloud-pom-parent/java.header
@@ -0,0 +1,15 @@
+^/\*$
+^ \* Copyright \d\d\d\d,? Google (Inc\.|LLC)$
+^ \*$
+^ \* Licensed under the Apache License, Version 2\.0 \(the "License"\);$
+^ \* you may not use this file except in compliance with the License\.$
+^ \* You may obtain a copy of the License at$
+^ \*$
+^ \*[ ]+https?://www.apache.org/licenses/LICENSE-2\.0$
+^ \*$
+^ \* Unless required by applicable law or agreed to in writing, software$
+^ \* distributed under the License is distributed on an "AS IS" BASIS,$
+^ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.$
+^ \* See the License for the specific language governing permissions and$
+^ \* limitations under the License\.$
+^ \*/$
\ No newline at end of file
diff --git a/showcase/google-cloud-pom-parent/license-checks.xml b/showcase/google-cloud-pom-parent/license-checks.xml
new file mode 100644
index 0000000000..574f1d42fd
--- /dev/null
+++ b/showcase/google-cloud-pom-parent/license-checks.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/showcase/google-cloud-pom-parent/pom.xml b/showcase/google-cloud-pom-parent/pom.xml
new file mode 100644
index 0000000000..b80e337e78
--- /dev/null
+++ b/showcase/google-cloud-pom-parent/pom.xml
@@ -0,0 +1,29 @@
+
+
+ 4.0.0
+ google-cloud-pom-parent
+ com.google.cloud
+ 0.0.1-SNAPSHOT
+ pom
+ Google Cloud POM Parent
+
+ com.google.cloud
+ google-cloud-shared-config
+ 1.5.4
+
+
+
+ java.header
+
+
+ Google LLC
+
+
+
+ Apache-2.0
+ https://www.apache.org/licenses/LICENSE-2.0.txt
+
+
+
\ No newline at end of file
diff --git a/showcase/grpc-gapic-showcase-v1beta1/pom.xml b/showcase/grpc-gapic-showcase-v1beta1/pom.xml
new file mode 100644
index 0000000000..18a2c4cca4
--- /dev/null
+++ b/showcase/grpc-gapic-showcase-v1beta1/pom.xml
@@ -0,0 +1,112 @@
+
+ 4.0.0
+ com.google.api.grpc
+ grpc-gapic-showcase-v1beta1
+ 0.0.1-SNAPSHOT
+ grpc-gapic-showcase-v1beta1
+ GRPC library for grpc-google-cloud-iot-v1
+
+ com.google.cloud
+ gapic-showcase-parent
+ 0.0.1-SNAPSHOT
+
+
+
+ true
+
+
+
+
+ diff
+
+ true
+
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 3.1.0
+
+
+ verify-showcase
+
+ exec
+
+ test
+
+ bazel
+
+ run
+ //showcase:verify_grpc
+
+
+
+
+
+
+
+
+
+ update
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 3.1.0
+
+
+ verify-showcase
+
+ exec
+
+ generate-sources
+
+ bazel
+
+ run
+ //showcase:update_grpc
+
+
+
+
+
+
+
+
+
+
+
+
+ io.grpc
+ grpc-api
+
+
+ io.grpc
+ grpc-stub
+
+
+ io.grpc
+ grpc-protobuf
+
+
+ com.google.protobuf
+ protobuf-java
+
+
+ com.google.api.grpc
+ proto-gapic-showcase-v1beta1
+
+
+ com.google.api.grpc
+ proto-google-iam-v1
+
+
+ com.google.guava
+ guava
+
+
+
\ No newline at end of file
diff --git a/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java b/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java
new file mode 100644
index 0000000000..31504f489d
--- /dev/null
+++ b/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java
@@ -0,0 +1,942 @@
+package com.google.showcase.v1beta1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: schema/google/showcase/v1beta1/compliance.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class ComplianceGrpc {
+
+ private ComplianceGrpc() {}
+
+ public static final String SERVICE_NAME = "google.showcase.v1beta1.Compliance";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor getRepeatDataBodyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "RepeatDataBody",
+ requestType = com.google.showcase.v1beta1.RepeatRequest.class,
+ responseType = com.google.showcase.v1beta1.RepeatResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getRepeatDataBodyMethod() {
+ io.grpc.MethodDescriptor getRepeatDataBodyMethod;
+ if ((getRepeatDataBodyMethod = ComplianceGrpc.getRepeatDataBodyMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getRepeatDataBodyMethod = ComplianceGrpc.getRepeatDataBodyMethod) == null) {
+ ComplianceGrpc.getRepeatDataBodyMethod = getRepeatDataBodyMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RepeatDataBody"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("RepeatDataBody"))
+ .build();
+ }
+ }
+ }
+ return getRepeatDataBodyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getRepeatDataBodyInfoMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "RepeatDataBodyInfo",
+ requestType = com.google.showcase.v1beta1.RepeatRequest.class,
+ responseType = com.google.showcase.v1beta1.RepeatResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getRepeatDataBodyInfoMethod() {
+ io.grpc.MethodDescriptor getRepeatDataBodyInfoMethod;
+ if ((getRepeatDataBodyInfoMethod = ComplianceGrpc.getRepeatDataBodyInfoMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getRepeatDataBodyInfoMethod = ComplianceGrpc.getRepeatDataBodyInfoMethod) == null) {
+ ComplianceGrpc.getRepeatDataBodyInfoMethod = getRepeatDataBodyInfoMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RepeatDataBodyInfo"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("RepeatDataBodyInfo"))
+ .build();
+ }
+ }
+ }
+ return getRepeatDataBodyInfoMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getRepeatDataQueryMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "RepeatDataQuery",
+ requestType = com.google.showcase.v1beta1.RepeatRequest.class,
+ responseType = com.google.showcase.v1beta1.RepeatResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getRepeatDataQueryMethod() {
+ io.grpc.MethodDescriptor getRepeatDataQueryMethod;
+ if ((getRepeatDataQueryMethod = ComplianceGrpc.getRepeatDataQueryMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getRepeatDataQueryMethod = ComplianceGrpc.getRepeatDataQueryMethod) == null) {
+ ComplianceGrpc.getRepeatDataQueryMethod = getRepeatDataQueryMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RepeatDataQuery"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("RepeatDataQuery"))
+ .build();
+ }
+ }
+ }
+ return getRepeatDataQueryMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getRepeatDataSimplePathMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "RepeatDataSimplePath",
+ requestType = com.google.showcase.v1beta1.RepeatRequest.class,
+ responseType = com.google.showcase.v1beta1.RepeatResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getRepeatDataSimplePathMethod() {
+ io.grpc.MethodDescriptor getRepeatDataSimplePathMethod;
+ if ((getRepeatDataSimplePathMethod = ComplianceGrpc.getRepeatDataSimplePathMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getRepeatDataSimplePathMethod = ComplianceGrpc.getRepeatDataSimplePathMethod) == null) {
+ ComplianceGrpc.getRepeatDataSimplePathMethod = getRepeatDataSimplePathMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RepeatDataSimplePath"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("RepeatDataSimplePath"))
+ .build();
+ }
+ }
+ }
+ return getRepeatDataSimplePathMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getRepeatDataPathResourceMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "RepeatDataPathResource",
+ requestType = com.google.showcase.v1beta1.RepeatRequest.class,
+ responseType = com.google.showcase.v1beta1.RepeatResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getRepeatDataPathResourceMethod() {
+ io.grpc.MethodDescriptor getRepeatDataPathResourceMethod;
+ if ((getRepeatDataPathResourceMethod = ComplianceGrpc.getRepeatDataPathResourceMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getRepeatDataPathResourceMethod = ComplianceGrpc.getRepeatDataPathResourceMethod) == null) {
+ ComplianceGrpc.getRepeatDataPathResourceMethod = getRepeatDataPathResourceMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RepeatDataPathResource"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("RepeatDataPathResource"))
+ .build();
+ }
+ }
+ }
+ return getRepeatDataPathResourceMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getRepeatDataPathTrailingResourceMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "RepeatDataPathTrailingResource",
+ requestType = com.google.showcase.v1beta1.RepeatRequest.class,
+ responseType = com.google.showcase.v1beta1.RepeatResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getRepeatDataPathTrailingResourceMethod() {
+ io.grpc.MethodDescriptor getRepeatDataPathTrailingResourceMethod;
+ if ((getRepeatDataPathTrailingResourceMethod = ComplianceGrpc.getRepeatDataPathTrailingResourceMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getRepeatDataPathTrailingResourceMethod = ComplianceGrpc.getRepeatDataPathTrailingResourceMethod) == null) {
+ ComplianceGrpc.getRepeatDataPathTrailingResourceMethod = getRepeatDataPathTrailingResourceMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RepeatDataPathTrailingResource"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("RepeatDataPathTrailingResource"))
+ .build();
+ }
+ }
+ }
+ return getRepeatDataPathTrailingResourceMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getRepeatDataBodyPutMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "RepeatDataBodyPut",
+ requestType = com.google.showcase.v1beta1.RepeatRequest.class,
+ responseType = com.google.showcase.v1beta1.RepeatResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getRepeatDataBodyPutMethod() {
+ io.grpc.MethodDescriptor getRepeatDataBodyPutMethod;
+ if ((getRepeatDataBodyPutMethod = ComplianceGrpc.getRepeatDataBodyPutMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getRepeatDataBodyPutMethod = ComplianceGrpc.getRepeatDataBodyPutMethod) == null) {
+ ComplianceGrpc.getRepeatDataBodyPutMethod = getRepeatDataBodyPutMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RepeatDataBodyPut"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("RepeatDataBodyPut"))
+ .build();
+ }
+ }
+ }
+ return getRepeatDataBodyPutMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getRepeatDataBodyPatchMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "RepeatDataBodyPatch",
+ requestType = com.google.showcase.v1beta1.RepeatRequest.class,
+ responseType = com.google.showcase.v1beta1.RepeatResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getRepeatDataBodyPatchMethod() {
+ io.grpc.MethodDescriptor getRepeatDataBodyPatchMethod;
+ if ((getRepeatDataBodyPatchMethod = ComplianceGrpc.getRepeatDataBodyPatchMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getRepeatDataBodyPatchMethod = ComplianceGrpc.getRepeatDataBodyPatchMethod) == null) {
+ ComplianceGrpc.getRepeatDataBodyPatchMethod = getRepeatDataBodyPatchMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RepeatDataBodyPatch"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.RepeatResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("RepeatDataBodyPatch"))
+ .build();
+ }
+ }
+ }
+ return getRepeatDataBodyPatchMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetEnumMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetEnum",
+ requestType = com.google.showcase.v1beta1.EnumRequest.class,
+ responseType = com.google.showcase.v1beta1.EnumResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetEnumMethod() {
+ io.grpc.MethodDescriptor getGetEnumMethod;
+ if ((getGetEnumMethod = ComplianceGrpc.getGetEnumMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getGetEnumMethod = ComplianceGrpc.getGetEnumMethod) == null) {
+ ComplianceGrpc.getGetEnumMethod = getGetEnumMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnum"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EnumRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EnumResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("GetEnum"))
+ .build();
+ }
+ }
+ }
+ return getGetEnumMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getVerifyEnumMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "VerifyEnum",
+ requestType = com.google.showcase.v1beta1.EnumResponse.class,
+ responseType = com.google.showcase.v1beta1.EnumResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getVerifyEnumMethod() {
+ io.grpc.MethodDescriptor getVerifyEnumMethod;
+ if ((getVerifyEnumMethod = ComplianceGrpc.getVerifyEnumMethod) == null) {
+ synchronized (ComplianceGrpc.class) {
+ if ((getVerifyEnumMethod = ComplianceGrpc.getVerifyEnumMethod) == null) {
+ ComplianceGrpc.getVerifyEnumMethod = getVerifyEnumMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerifyEnum"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EnumResponse.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EnumResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new ComplianceMethodDescriptorSupplier("VerifyEnum"))
+ .build();
+ }
+ }
+ }
+ return getVerifyEnumMethod;
+ }
+
+ /**
+ * Creates a new async stub that supports all call types for the service
+ */
+ public static ComplianceStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public ComplianceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new ComplianceStub(channel, callOptions);
+ }
+ };
+ return ComplianceStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static ComplianceBlockingStub newBlockingStub(
+ io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public ComplianceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new ComplianceBlockingStub(channel, callOptions);
+ }
+ };
+ return ComplianceBlockingStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new ListenableFuture-style stub that supports unary calls on the service
+ */
+ public static ComplianceFutureStub newFutureStub(
+ io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public ComplianceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new ComplianceFutureStub(channel, callOptions);
+ }
+ };
+ return ComplianceFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ */
+ public static abstract class ComplianceImplBase implements io.grpc.BindableService {
+
+ /**
+ */
+ public void repeatDataBody(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRepeatDataBodyMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataBodyInfo(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRepeatDataBodyInfoMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataQuery(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRepeatDataQueryMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataSimplePath(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRepeatDataSimplePathMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataPathResource(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRepeatDataPathResourceMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataPathTrailingResource(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRepeatDataPathTrailingResourceMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataBodyPut(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRepeatDataBodyPutMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataBodyPatch(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRepeatDataBodyPatchMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void getEnum(com.google.showcase.v1beta1.EnumRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEnumMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void verifyEnum(com.google.showcase.v1beta1.EnumResponse request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getVerifyEnumMethod(), responseObserver);
+ }
+
+ @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
+ .addMethod(
+ getRepeatDataBodyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.RepeatRequest,
+ com.google.showcase.v1beta1.RepeatResponse>(
+ this, METHODID_REPEAT_DATA_BODY)))
+ .addMethod(
+ getRepeatDataBodyInfoMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.RepeatRequest,
+ com.google.showcase.v1beta1.RepeatResponse>(
+ this, METHODID_REPEAT_DATA_BODY_INFO)))
+ .addMethod(
+ getRepeatDataQueryMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.RepeatRequest,
+ com.google.showcase.v1beta1.RepeatResponse>(
+ this, METHODID_REPEAT_DATA_QUERY)))
+ .addMethod(
+ getRepeatDataSimplePathMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.RepeatRequest,
+ com.google.showcase.v1beta1.RepeatResponse>(
+ this, METHODID_REPEAT_DATA_SIMPLE_PATH)))
+ .addMethod(
+ getRepeatDataPathResourceMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.RepeatRequest,
+ com.google.showcase.v1beta1.RepeatResponse>(
+ this, METHODID_REPEAT_DATA_PATH_RESOURCE)))
+ .addMethod(
+ getRepeatDataPathTrailingResourceMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.RepeatRequest,
+ com.google.showcase.v1beta1.RepeatResponse>(
+ this, METHODID_REPEAT_DATA_PATH_TRAILING_RESOURCE)))
+ .addMethod(
+ getRepeatDataBodyPutMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.RepeatRequest,
+ com.google.showcase.v1beta1.RepeatResponse>(
+ this, METHODID_REPEAT_DATA_BODY_PUT)))
+ .addMethod(
+ getRepeatDataBodyPatchMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.RepeatRequest,
+ com.google.showcase.v1beta1.RepeatResponse>(
+ this, METHODID_REPEAT_DATA_BODY_PATCH)))
+ .addMethod(
+ getGetEnumMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.EnumRequest,
+ com.google.showcase.v1beta1.EnumResponse>(
+ this, METHODID_GET_ENUM)))
+ .addMethod(
+ getVerifyEnumMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.EnumResponse,
+ com.google.showcase.v1beta1.EnumResponse>(
+ this, METHODID_VERIFY_ENUM)))
+ .build();
+ }
+ }
+
+ /**
+ */
+ public static final class ComplianceStub extends io.grpc.stub.AbstractAsyncStub {
+ private ComplianceStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected ComplianceStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new ComplianceStub(channel, callOptions);
+ }
+
+ /**
+ */
+ public void repeatDataBody(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getRepeatDataBodyMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataBodyInfo(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getRepeatDataBodyInfoMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataQuery(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getRepeatDataQueryMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataSimplePath(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getRepeatDataSimplePathMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataPathResource(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getRepeatDataPathResourceMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataPathTrailingResource(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getRepeatDataPathTrailingResourceMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataBodyPut(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getRepeatDataBodyPutMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void repeatDataBodyPatch(com.google.showcase.v1beta1.RepeatRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getRepeatDataBodyPatchMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void getEnum(com.google.showcase.v1beta1.EnumRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetEnumMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void verifyEnum(com.google.showcase.v1beta1.EnumResponse request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getVerifyEnumMethod(), getCallOptions()), request, responseObserver);
+ }
+ }
+
+ /**
+ */
+ public static final class ComplianceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
+ private ComplianceBlockingStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected ComplianceBlockingStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new ComplianceBlockingStub(channel, callOptions);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.RepeatResponse repeatDataBody(com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getRepeatDataBodyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyInfo(com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getRepeatDataBodyInfoMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.RepeatResponse repeatDataQuery(com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getRepeatDataQueryMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.RepeatResponse repeatDataSimplePath(com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getRepeatDataSimplePathMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.RepeatResponse repeatDataPathResource(com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getRepeatDataPathResourceMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.RepeatResponse repeatDataPathTrailingResource(com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getRepeatDataPathTrailingResourceMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPut(com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getRepeatDataBodyPutMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPatch(com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getRepeatDataBodyPatchMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.EnumResponse getEnum(com.google.showcase.v1beta1.EnumRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetEnumMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.EnumResponse verifyEnum(com.google.showcase.v1beta1.EnumResponse request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getVerifyEnumMethod(), getCallOptions(), request);
+ }
+ }
+
+ /**
+ */
+ public static final class ComplianceFutureStub extends io.grpc.stub.AbstractFutureStub {
+ private ComplianceFutureStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected ComplianceFutureStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new ComplianceFutureStub(channel, callOptions);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture repeatDataBody(
+ com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getRepeatDataBodyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture repeatDataBodyInfo(
+ com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getRepeatDataBodyInfoMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture repeatDataQuery(
+ com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getRepeatDataQueryMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture repeatDataSimplePath(
+ com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getRepeatDataSimplePathMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture repeatDataPathResource(
+ com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getRepeatDataPathResourceMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture repeatDataPathTrailingResource(
+ com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getRepeatDataPathTrailingResourceMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture repeatDataBodyPut(
+ com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getRepeatDataBodyPutMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture repeatDataBodyPatch(
+ com.google.showcase.v1beta1.RepeatRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getRepeatDataBodyPatchMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture getEnum(
+ com.google.showcase.v1beta1.EnumRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetEnumMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture verifyEnum(
+ com.google.showcase.v1beta1.EnumResponse request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getVerifyEnumMethod(), getCallOptions()), request);
+ }
+ }
+
+ private static final int METHODID_REPEAT_DATA_BODY = 0;
+ private static final int METHODID_REPEAT_DATA_BODY_INFO = 1;
+ private static final int METHODID_REPEAT_DATA_QUERY = 2;
+ private static final int METHODID_REPEAT_DATA_SIMPLE_PATH = 3;
+ private static final int METHODID_REPEAT_DATA_PATH_RESOURCE = 4;
+ private static final int METHODID_REPEAT_DATA_PATH_TRAILING_RESOURCE = 5;
+ private static final int METHODID_REPEAT_DATA_BODY_PUT = 6;
+ private static final int METHODID_REPEAT_DATA_BODY_PATCH = 7;
+ private static final int METHODID_GET_ENUM = 8;
+ private static final int METHODID_VERIFY_ENUM = 9;
+
+ private static final class MethodHandlers implements
+ io.grpc.stub.ServerCalls.UnaryMethod,
+ io.grpc.stub.ServerCalls.ServerStreamingMethod,
+ io.grpc.stub.ServerCalls.ClientStreamingMethod,
+ io.grpc.stub.ServerCalls.BidiStreamingMethod {
+ private final ComplianceImplBase serviceImpl;
+ private final int methodId;
+
+ MethodHandlers(ComplianceImplBase serviceImpl, int methodId) {
+ this.serviceImpl = serviceImpl;
+ this.methodId = methodId;
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ case METHODID_REPEAT_DATA_BODY:
+ serviceImpl.repeatDataBody((com.google.showcase.v1beta1.RepeatRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_REPEAT_DATA_BODY_INFO:
+ serviceImpl.repeatDataBodyInfo((com.google.showcase.v1beta1.RepeatRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_REPEAT_DATA_QUERY:
+ serviceImpl.repeatDataQuery((com.google.showcase.v1beta1.RepeatRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_REPEAT_DATA_SIMPLE_PATH:
+ serviceImpl.repeatDataSimplePath((com.google.showcase.v1beta1.RepeatRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_REPEAT_DATA_PATH_RESOURCE:
+ serviceImpl.repeatDataPathResource((com.google.showcase.v1beta1.RepeatRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_REPEAT_DATA_PATH_TRAILING_RESOURCE:
+ serviceImpl.repeatDataPathTrailingResource((com.google.showcase.v1beta1.RepeatRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_REPEAT_DATA_BODY_PUT:
+ serviceImpl.repeatDataBodyPut((com.google.showcase.v1beta1.RepeatRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_REPEAT_DATA_BODY_PATCH:
+ serviceImpl.repeatDataBodyPatch((com.google.showcase.v1beta1.RepeatRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_ENUM:
+ serviceImpl.getEnum((com.google.showcase.v1beta1.EnumRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_VERIFY_ENUM:
+ serviceImpl.verifyEnum((com.google.showcase.v1beta1.EnumResponse) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ default:
+ throw new AssertionError();
+ }
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public io.grpc.stub.StreamObserver invoke(
+ io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ default:
+ throw new AssertionError();
+ }
+ }
+ }
+
+ private static abstract class ComplianceBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+ ComplianceBaseDescriptorSupplier() {}
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
+ return com.google.showcase.v1beta1.ComplianceOuterClass.getDescriptor();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
+ return getFileDescriptor().findServiceByName("Compliance");
+ }
+ }
+
+ private static final class ComplianceFileDescriptorSupplier
+ extends ComplianceBaseDescriptorSupplier {
+ ComplianceFileDescriptorSupplier() {}
+ }
+
+ private static final class ComplianceMethodDescriptorSupplier
+ extends ComplianceBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
+ private final String methodName;
+
+ ComplianceMethodDescriptorSupplier(String methodName) {
+ this.methodName = methodName;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
+ return getServiceDescriptor().findMethodByName(methodName);
+ }
+ }
+
+ private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
+
+ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
+ io.grpc.ServiceDescriptor result = serviceDescriptor;
+ if (result == null) {
+ synchronized (ComplianceGrpc.class) {
+ result = serviceDescriptor;
+ if (result == null) {
+ serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+ .setSchemaDescriptor(new ComplianceFileDescriptorSupplier())
+ .addMethod(getRepeatDataBodyMethod())
+ .addMethod(getRepeatDataBodyInfoMethod())
+ .addMethod(getRepeatDataQueryMethod())
+ .addMethod(getRepeatDataSimplePathMethod())
+ .addMethod(getRepeatDataPathResourceMethod())
+ .addMethod(getRepeatDataPathTrailingResourceMethod())
+ .addMethod(getRepeatDataBodyPutMethod())
+ .addMethod(getRepeatDataBodyPatchMethod())
+ .addMethod(getGetEnumMethod())
+ .addMethod(getVerifyEnumMethod())
+ .build();
+ }
+ }
+ }
+ return result;
+ }
+}
diff --git a/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java b/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java
new file mode 100644
index 0000000000..fb0405e1ec
--- /dev/null
+++ b/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java
@@ -0,0 +1,829 @@
+package com.google.showcase.v1beta1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: schema/google/showcase/v1beta1/echo.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class EchoGrpc {
+
+ private EchoGrpc() {}
+
+ public static final String SERVICE_NAME = "google.showcase.v1beta1.Echo";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor getEchoMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "Echo",
+ requestType = com.google.showcase.v1beta1.EchoRequest.class,
+ responseType = com.google.showcase.v1beta1.EchoResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getEchoMethod() {
+ io.grpc.MethodDescriptor getEchoMethod;
+ if ((getEchoMethod = EchoGrpc.getEchoMethod) == null) {
+ synchronized (EchoGrpc.class) {
+ if ((getEchoMethod = EchoGrpc.getEchoMethod) == null) {
+ EchoGrpc.getEchoMethod = getEchoMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Echo"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EchoRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EchoResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new EchoMethodDescriptorSupplier("Echo"))
+ .build();
+ }
+ }
+ }
+ return getEchoMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getExpandMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "Expand",
+ requestType = com.google.showcase.v1beta1.ExpandRequest.class,
+ responseType = com.google.showcase.v1beta1.EchoResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+ public static io.grpc.MethodDescriptor getExpandMethod() {
+ io.grpc.MethodDescriptor getExpandMethod;
+ if ((getExpandMethod = EchoGrpc.getExpandMethod) == null) {
+ synchronized (EchoGrpc.class) {
+ if ((getExpandMethod = EchoGrpc.getExpandMethod) == null) {
+ EchoGrpc.getExpandMethod = getExpandMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Expand"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.ExpandRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EchoResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new EchoMethodDescriptorSupplier("Expand"))
+ .build();
+ }
+ }
+ }
+ return getExpandMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getCollectMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "Collect",
+ requestType = com.google.showcase.v1beta1.EchoRequest.class,
+ responseType = com.google.showcase.v1beta1.EchoResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
+ public static io.grpc.MethodDescriptor getCollectMethod() {
+ io.grpc.MethodDescriptor getCollectMethod;
+ if ((getCollectMethod = EchoGrpc.getCollectMethod) == null) {
+ synchronized (EchoGrpc.class) {
+ if ((getCollectMethod = EchoGrpc.getCollectMethod) == null) {
+ EchoGrpc.getCollectMethod = getCollectMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Collect"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EchoRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EchoResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new EchoMethodDescriptorSupplier("Collect"))
+ .build();
+ }
+ }
+ }
+ return getCollectMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getChatMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "Chat",
+ requestType = com.google.showcase.v1beta1.EchoRequest.class,
+ responseType = com.google.showcase.v1beta1.EchoResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
+ public static io.grpc.MethodDescriptor getChatMethod() {
+ io.grpc.MethodDescriptor getChatMethod;
+ if ((getChatMethod = EchoGrpc.getChatMethod) == null) {
+ synchronized (EchoGrpc.class) {
+ if ((getChatMethod = EchoGrpc.getChatMethod) == null) {
+ EchoGrpc.getChatMethod = getChatMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Chat"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EchoRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.EchoResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new EchoMethodDescriptorSupplier("Chat"))
+ .build();
+ }
+ }
+ }
+ return getChatMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getPagedExpandMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "PagedExpand",
+ requestType = com.google.showcase.v1beta1.PagedExpandRequest.class,
+ responseType = com.google.showcase.v1beta1.PagedExpandResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getPagedExpandMethod() {
+ io.grpc.MethodDescriptor getPagedExpandMethod;
+ if ((getPagedExpandMethod = EchoGrpc.getPagedExpandMethod) == null) {
+ synchronized (EchoGrpc.class) {
+ if ((getPagedExpandMethod = EchoGrpc.getPagedExpandMethod) == null) {
+ EchoGrpc.getPagedExpandMethod = getPagedExpandMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PagedExpand"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.PagedExpandRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.PagedExpandResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new EchoMethodDescriptorSupplier("PagedExpand"))
+ .build();
+ }
+ }
+ }
+ return getPagedExpandMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getPagedExpandLegacyMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "PagedExpandLegacy",
+ requestType = com.google.showcase.v1beta1.PagedExpandLegacyRequest.class,
+ responseType = com.google.showcase.v1beta1.PagedExpandResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getPagedExpandLegacyMethod() {
+ io.grpc.MethodDescriptor getPagedExpandLegacyMethod;
+ if ((getPagedExpandLegacyMethod = EchoGrpc.getPagedExpandLegacyMethod) == null) {
+ synchronized (EchoGrpc.class) {
+ if ((getPagedExpandLegacyMethod = EchoGrpc.getPagedExpandLegacyMethod) == null) {
+ EchoGrpc.getPagedExpandLegacyMethod = getPagedExpandLegacyMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PagedExpandLegacy"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.PagedExpandLegacyRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.PagedExpandResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new EchoMethodDescriptorSupplier("PagedExpandLegacy"))
+ .build();
+ }
+ }
+ }
+ return getPagedExpandLegacyMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getPagedExpandLegacyMappedMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "PagedExpandLegacyMapped",
+ requestType = com.google.showcase.v1beta1.PagedExpandRequest.class,
+ responseType = com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getPagedExpandLegacyMappedMethod() {
+ io.grpc.MethodDescriptor getPagedExpandLegacyMappedMethod;
+ if ((getPagedExpandLegacyMappedMethod = EchoGrpc.getPagedExpandLegacyMappedMethod) == null) {
+ synchronized (EchoGrpc.class) {
+ if ((getPagedExpandLegacyMappedMethod = EchoGrpc.getPagedExpandLegacyMappedMethod) == null) {
+ EchoGrpc.getPagedExpandLegacyMappedMethod = getPagedExpandLegacyMappedMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PagedExpandLegacyMapped"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.PagedExpandRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new EchoMethodDescriptorSupplier("PagedExpandLegacyMapped"))
+ .build();
+ }
+ }
+ }
+ return getPagedExpandLegacyMappedMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getWaitMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "Wait",
+ requestType = com.google.showcase.v1beta1.WaitRequest.class,
+ responseType = com.google.longrunning.Operation.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getWaitMethod() {
+ io.grpc.MethodDescriptor getWaitMethod;
+ if ((getWaitMethod = EchoGrpc.getWaitMethod) == null) {
+ synchronized (EchoGrpc.class) {
+ if ((getWaitMethod = EchoGrpc.getWaitMethod) == null) {
+ EchoGrpc.getWaitMethod = getWaitMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Wait"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.WaitRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.longrunning.Operation.getDefaultInstance()))
+ .setSchemaDescriptor(new EchoMethodDescriptorSupplier("Wait"))
+ .build();
+ }
+ }
+ }
+ return getWaitMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getBlockMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "Block",
+ requestType = com.google.showcase.v1beta1.BlockRequest.class,
+ responseType = com.google.showcase.v1beta1.BlockResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getBlockMethod() {
+ io.grpc.MethodDescriptor getBlockMethod;
+ if ((getBlockMethod = EchoGrpc.getBlockMethod) == null) {
+ synchronized (EchoGrpc.class) {
+ if ((getBlockMethod = EchoGrpc.getBlockMethod) == null) {
+ EchoGrpc.getBlockMethod = getBlockMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Block"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.BlockRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.BlockResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new EchoMethodDescriptorSupplier("Block"))
+ .build();
+ }
+ }
+ }
+ return getBlockMethod;
+ }
+
+ /**
+ * Creates a new async stub that supports all call types for the service
+ */
+ public static EchoStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public EchoStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new EchoStub(channel, callOptions);
+ }
+ };
+ return EchoStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static EchoBlockingStub newBlockingStub(
+ io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public EchoBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new EchoBlockingStub(channel, callOptions);
+ }
+ };
+ return EchoBlockingStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new ListenableFuture-style stub that supports unary calls on the service
+ */
+ public static EchoFutureStub newFutureStub(
+ io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public EchoFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new EchoFutureStub(channel, callOptions);
+ }
+ };
+ return EchoFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ */
+ public static abstract class EchoImplBase implements io.grpc.BindableService {
+
+ /**
+ */
+ public void echo(com.google.showcase.v1beta1.EchoRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getEchoMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void expand(com.google.showcase.v1beta1.ExpandRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExpandMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public io.grpc.stub.StreamObserver collect(
+ io.grpc.stub.StreamObserver responseObserver) {
+ return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getCollectMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public io.grpc.stub.StreamObserver chat(
+ io.grpc.stub.StreamObserver responseObserver) {
+ return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(getChatMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void pagedExpand(com.google.showcase.v1beta1.PagedExpandRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPagedExpandMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void pagedExpandLegacy(com.google.showcase.v1beta1.PagedExpandLegacyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPagedExpandLegacyMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void pagedExpandLegacyMapped(com.google.showcase.v1beta1.PagedExpandRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPagedExpandLegacyMappedMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void wait(com.google.showcase.v1beta1.WaitRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWaitMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void block(com.google.showcase.v1beta1.BlockRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBlockMethod(), responseObserver);
+ }
+
+ @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
+ .addMethod(
+ getEchoMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.EchoRequest,
+ com.google.showcase.v1beta1.EchoResponse>(
+ this, METHODID_ECHO)))
+ .addMethod(
+ getExpandMethod(),
+ io.grpc.stub.ServerCalls.asyncServerStreamingCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.ExpandRequest,
+ com.google.showcase.v1beta1.EchoResponse>(
+ this, METHODID_EXPAND)))
+ .addMethod(
+ getCollectMethod(),
+ io.grpc.stub.ServerCalls.asyncClientStreamingCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.EchoRequest,
+ com.google.showcase.v1beta1.EchoResponse>(
+ this, METHODID_COLLECT)))
+ .addMethod(
+ getChatMethod(),
+ io.grpc.stub.ServerCalls.asyncBidiStreamingCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.EchoRequest,
+ com.google.showcase.v1beta1.EchoResponse>(
+ this, METHODID_CHAT)))
+ .addMethod(
+ getPagedExpandMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.PagedExpandRequest,
+ com.google.showcase.v1beta1.PagedExpandResponse>(
+ this, METHODID_PAGED_EXPAND)))
+ .addMethod(
+ getPagedExpandLegacyMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.PagedExpandLegacyRequest,
+ com.google.showcase.v1beta1.PagedExpandResponse>(
+ this, METHODID_PAGED_EXPAND_LEGACY)))
+ .addMethod(
+ getPagedExpandLegacyMappedMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.PagedExpandRequest,
+ com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse>(
+ this, METHODID_PAGED_EXPAND_LEGACY_MAPPED)))
+ .addMethod(
+ getWaitMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.WaitRequest,
+ com.google.longrunning.Operation>(
+ this, METHODID_WAIT)))
+ .addMethod(
+ getBlockMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.BlockRequest,
+ com.google.showcase.v1beta1.BlockResponse>(
+ this, METHODID_BLOCK)))
+ .build();
+ }
+ }
+
+ /**
+ */
+ public static final class EchoStub extends io.grpc.stub.AbstractAsyncStub {
+ private EchoStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected EchoStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new EchoStub(channel, callOptions);
+ }
+
+ /**
+ */
+ public void echo(com.google.showcase.v1beta1.EchoRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getEchoMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void expand(com.google.showcase.v1beta1.ExpandRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncServerStreamingCall(
+ getChannel().newCall(getExpandMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public io.grpc.stub.StreamObserver collect(
+ io.grpc.stub.StreamObserver responseObserver) {
+ return io.grpc.stub.ClientCalls.asyncClientStreamingCall(
+ getChannel().newCall(getCollectMethod(), getCallOptions()), responseObserver);
+ }
+
+ /**
+ */
+ public io.grpc.stub.StreamObserver chat(
+ io.grpc.stub.StreamObserver responseObserver) {
+ return io.grpc.stub.ClientCalls.asyncBidiStreamingCall(
+ getChannel().newCall(getChatMethod(), getCallOptions()), responseObserver);
+ }
+
+ /**
+ */
+ public void pagedExpand(com.google.showcase.v1beta1.PagedExpandRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getPagedExpandMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void pagedExpandLegacy(com.google.showcase.v1beta1.PagedExpandLegacyRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getPagedExpandLegacyMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void pagedExpandLegacyMapped(com.google.showcase.v1beta1.PagedExpandRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getPagedExpandLegacyMappedMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void wait(com.google.showcase.v1beta1.WaitRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getWaitMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void block(com.google.showcase.v1beta1.BlockRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getBlockMethod(), getCallOptions()), request, responseObserver);
+ }
+ }
+
+ /**
+ */
+ public static final class EchoBlockingStub extends io.grpc.stub.AbstractBlockingStub {
+ private EchoBlockingStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected EchoBlockingStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new EchoBlockingStub(channel, callOptions);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.EchoResponse echo(com.google.showcase.v1beta1.EchoRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getEchoMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public java.util.Iterator expand(
+ com.google.showcase.v1beta1.ExpandRequest request) {
+ return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
+ getChannel(), getExpandMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.PagedExpandResponse pagedExpand(com.google.showcase.v1beta1.PagedExpandRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getPagedExpandMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.PagedExpandResponse pagedExpandLegacy(com.google.showcase.v1beta1.PagedExpandLegacyRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getPagedExpandLegacyMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse pagedExpandLegacyMapped(com.google.showcase.v1beta1.PagedExpandRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getPagedExpandLegacyMappedMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.longrunning.Operation wait(com.google.showcase.v1beta1.WaitRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getWaitMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.BlockResponse block(com.google.showcase.v1beta1.BlockRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getBlockMethod(), getCallOptions(), request);
+ }
+ }
+
+ /**
+ */
+ public static final class EchoFutureStub extends io.grpc.stub.AbstractFutureStub {
+ private EchoFutureStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected EchoFutureStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new EchoFutureStub(channel, callOptions);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture echo(
+ com.google.showcase.v1beta1.EchoRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getEchoMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture pagedExpand(
+ com.google.showcase.v1beta1.PagedExpandRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getPagedExpandMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture pagedExpandLegacy(
+ com.google.showcase.v1beta1.PagedExpandLegacyRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getPagedExpandLegacyMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture pagedExpandLegacyMapped(
+ com.google.showcase.v1beta1.PagedExpandRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getPagedExpandLegacyMappedMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture wait(
+ com.google.showcase.v1beta1.WaitRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getWaitMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture block(
+ com.google.showcase.v1beta1.BlockRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getBlockMethod(), getCallOptions()), request);
+ }
+ }
+
+ private static final int METHODID_ECHO = 0;
+ private static final int METHODID_EXPAND = 1;
+ private static final int METHODID_PAGED_EXPAND = 2;
+ private static final int METHODID_PAGED_EXPAND_LEGACY = 3;
+ private static final int METHODID_PAGED_EXPAND_LEGACY_MAPPED = 4;
+ private static final int METHODID_WAIT = 5;
+ private static final int METHODID_BLOCK = 6;
+ private static final int METHODID_COLLECT = 7;
+ private static final int METHODID_CHAT = 8;
+
+ private static final class MethodHandlers implements
+ io.grpc.stub.ServerCalls.UnaryMethod,
+ io.grpc.stub.ServerCalls.ServerStreamingMethod,
+ io.grpc.stub.ServerCalls.ClientStreamingMethod,
+ io.grpc.stub.ServerCalls.BidiStreamingMethod {
+ private final EchoImplBase serviceImpl;
+ private final int methodId;
+
+ MethodHandlers(EchoImplBase serviceImpl, int methodId) {
+ this.serviceImpl = serviceImpl;
+ this.methodId = methodId;
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ case METHODID_ECHO:
+ serviceImpl.echo((com.google.showcase.v1beta1.EchoRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_EXPAND:
+ serviceImpl.expand((com.google.showcase.v1beta1.ExpandRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_PAGED_EXPAND:
+ serviceImpl.pagedExpand((com.google.showcase.v1beta1.PagedExpandRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_PAGED_EXPAND_LEGACY:
+ serviceImpl.pagedExpandLegacy((com.google.showcase.v1beta1.PagedExpandLegacyRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_PAGED_EXPAND_LEGACY_MAPPED:
+ serviceImpl.pagedExpandLegacyMapped((com.google.showcase.v1beta1.PagedExpandRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_WAIT:
+ serviceImpl.wait((com.google.showcase.v1beta1.WaitRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_BLOCK:
+ serviceImpl.block((com.google.showcase.v1beta1.BlockRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ default:
+ throw new AssertionError();
+ }
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public io.grpc.stub.StreamObserver invoke(
+ io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ case METHODID_COLLECT:
+ return (io.grpc.stub.StreamObserver) serviceImpl.collect(
+ (io.grpc.stub.StreamObserver) responseObserver);
+ case METHODID_CHAT:
+ return (io.grpc.stub.StreamObserver) serviceImpl.chat(
+ (io.grpc.stub.StreamObserver) responseObserver);
+ default:
+ throw new AssertionError();
+ }
+ }
+ }
+
+ private static abstract class EchoBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+ EchoBaseDescriptorSupplier() {}
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
+ return com.google.showcase.v1beta1.EchoOuterClass.getDescriptor();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
+ return getFileDescriptor().findServiceByName("Echo");
+ }
+ }
+
+ private static final class EchoFileDescriptorSupplier
+ extends EchoBaseDescriptorSupplier {
+ EchoFileDescriptorSupplier() {}
+ }
+
+ private static final class EchoMethodDescriptorSupplier
+ extends EchoBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
+ private final String methodName;
+
+ EchoMethodDescriptorSupplier(String methodName) {
+ this.methodName = methodName;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
+ return getServiceDescriptor().findMethodByName(methodName);
+ }
+ }
+
+ private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
+
+ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
+ io.grpc.ServiceDescriptor result = serviceDescriptor;
+ if (result == null) {
+ synchronized (EchoGrpc.class) {
+ result = serviceDescriptor;
+ if (result == null) {
+ serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+ .setSchemaDescriptor(new EchoFileDescriptorSupplier())
+ .addMethod(getEchoMethod())
+ .addMethod(getExpandMethod())
+ .addMethod(getCollectMethod())
+ .addMethod(getChatMethod())
+ .addMethod(getPagedExpandMethod())
+ .addMethod(getPagedExpandLegacyMethod())
+ .addMethod(getPagedExpandLegacyMappedMethod())
+ .addMethod(getWaitMethod())
+ .addMethod(getBlockMethod())
+ .build();
+ }
+ }
+ }
+ return result;
+ }
+}
diff --git a/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java b/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java
new file mode 100644
index 0000000000..bcfa37a663
--- /dev/null
+++ b/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java
@@ -0,0 +1,572 @@
+package com.google.showcase.v1beta1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: schema/google/showcase/v1beta1/identity.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class IdentityGrpc {
+
+ private IdentityGrpc() {}
+
+ public static final String SERVICE_NAME = "google.showcase.v1beta1.Identity";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor getCreateUserMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateUser",
+ requestType = com.google.showcase.v1beta1.CreateUserRequest.class,
+ responseType = com.google.showcase.v1beta1.User.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getCreateUserMethod() {
+ io.grpc.MethodDescriptor getCreateUserMethod;
+ if ((getCreateUserMethod = IdentityGrpc.getCreateUserMethod) == null) {
+ synchronized (IdentityGrpc.class) {
+ if ((getCreateUserMethod = IdentityGrpc.getCreateUserMethod) == null) {
+ IdentityGrpc.getCreateUserMethod = getCreateUserMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateUser"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.CreateUserRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.User.getDefaultInstance()))
+ .setSchemaDescriptor(new IdentityMethodDescriptorSupplier("CreateUser"))
+ .build();
+ }
+ }
+ }
+ return getCreateUserMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetUserMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetUser",
+ requestType = com.google.showcase.v1beta1.GetUserRequest.class,
+ responseType = com.google.showcase.v1beta1.User.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetUserMethod() {
+ io.grpc.MethodDescriptor getGetUserMethod;
+ if ((getGetUserMethod = IdentityGrpc.getGetUserMethod) == null) {
+ synchronized (IdentityGrpc.class) {
+ if ((getGetUserMethod = IdentityGrpc.getGetUserMethod) == null) {
+ IdentityGrpc.getGetUserMethod = getGetUserMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUser"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.GetUserRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.User.getDefaultInstance()))
+ .setSchemaDescriptor(new IdentityMethodDescriptorSupplier("GetUser"))
+ .build();
+ }
+ }
+ }
+ return getGetUserMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getUpdateUserMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "UpdateUser",
+ requestType = com.google.showcase.v1beta1.UpdateUserRequest.class,
+ responseType = com.google.showcase.v1beta1.User.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getUpdateUserMethod() {
+ io.grpc.MethodDescriptor getUpdateUserMethod;
+ if ((getUpdateUserMethod = IdentityGrpc.getUpdateUserMethod) == null) {
+ synchronized (IdentityGrpc.class) {
+ if ((getUpdateUserMethod = IdentityGrpc.getUpdateUserMethod) == null) {
+ IdentityGrpc.getUpdateUserMethod = getUpdateUserMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateUser"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.UpdateUserRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.User.getDefaultInstance()))
+ .setSchemaDescriptor(new IdentityMethodDescriptorSupplier("UpdateUser"))
+ .build();
+ }
+ }
+ }
+ return getUpdateUserMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getDeleteUserMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "DeleteUser",
+ requestType = com.google.showcase.v1beta1.DeleteUserRequest.class,
+ responseType = com.google.protobuf.Empty.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getDeleteUserMethod() {
+ io.grpc.MethodDescriptor getDeleteUserMethod;
+ if ((getDeleteUserMethod = IdentityGrpc.getDeleteUserMethod) == null) {
+ synchronized (IdentityGrpc.class) {
+ if ((getDeleteUserMethod = IdentityGrpc.getDeleteUserMethod) == null) {
+ IdentityGrpc.getDeleteUserMethod = getDeleteUserMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteUser"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.DeleteUserRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.protobuf.Empty.getDefaultInstance()))
+ .setSchemaDescriptor(new IdentityMethodDescriptorSupplier("DeleteUser"))
+ .build();
+ }
+ }
+ }
+ return getDeleteUserMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getListUsersMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "ListUsers",
+ requestType = com.google.showcase.v1beta1.ListUsersRequest.class,
+ responseType = com.google.showcase.v1beta1.ListUsersResponse.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getListUsersMethod() {
+ io.grpc.MethodDescriptor getListUsersMethod;
+ if ((getListUsersMethod = IdentityGrpc.getListUsersMethod) == null) {
+ synchronized (IdentityGrpc.class) {
+ if ((getListUsersMethod = IdentityGrpc.getListUsersMethod) == null) {
+ IdentityGrpc.getListUsersMethod = getListUsersMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsers"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.ListUsersRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.ListUsersResponse.getDefaultInstance()))
+ .setSchemaDescriptor(new IdentityMethodDescriptorSupplier("ListUsers"))
+ .build();
+ }
+ }
+ }
+ return getListUsersMethod;
+ }
+
+ /**
+ * Creates a new async stub that supports all call types for the service
+ */
+ public static IdentityStub newStub(io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public IdentityStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new IdentityStub(channel, callOptions);
+ }
+ };
+ return IdentityStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new blocking-style stub that supports unary and streaming output calls on the service
+ */
+ public static IdentityBlockingStub newBlockingStub(
+ io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public IdentityBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new IdentityBlockingStub(channel, callOptions);
+ }
+ };
+ return IdentityBlockingStub.newStub(factory, channel);
+ }
+
+ /**
+ * Creates a new ListenableFuture-style stub that supports unary calls on the service
+ */
+ public static IdentityFutureStub newFutureStub(
+ io.grpc.Channel channel) {
+ io.grpc.stub.AbstractStub.StubFactory factory =
+ new io.grpc.stub.AbstractStub.StubFactory() {
+ @java.lang.Override
+ public IdentityFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new IdentityFutureStub(channel, callOptions);
+ }
+ };
+ return IdentityFutureStub.newStub(factory, channel);
+ }
+
+ /**
+ */
+ public static abstract class IdentityImplBase implements io.grpc.BindableService {
+
+ /**
+ */
+ public void createUser(com.google.showcase.v1beta1.CreateUserRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void getUser(com.google.showcase.v1beta1.GetUserRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void updateUser(com.google.showcase.v1beta1.UpdateUserRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateUserMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void deleteUser(com.google.showcase.v1beta1.DeleteUserRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteUserMethod(), responseObserver);
+ }
+
+ /**
+ */
+ public void listUsers(com.google.showcase.v1beta1.ListUsersRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsersMethod(), responseObserver);
+ }
+
+ @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
+ return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
+ .addMethod(
+ getCreateUserMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.CreateUserRequest,
+ com.google.showcase.v1beta1.User>(
+ this, METHODID_CREATE_USER)))
+ .addMethod(
+ getGetUserMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.GetUserRequest,
+ com.google.showcase.v1beta1.User>(
+ this, METHODID_GET_USER)))
+ .addMethod(
+ getUpdateUserMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.UpdateUserRequest,
+ com.google.showcase.v1beta1.User>(
+ this, METHODID_UPDATE_USER)))
+ .addMethod(
+ getDeleteUserMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.DeleteUserRequest,
+ com.google.protobuf.Empty>(
+ this, METHODID_DELETE_USER)))
+ .addMethod(
+ getListUsersMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.showcase.v1beta1.ListUsersRequest,
+ com.google.showcase.v1beta1.ListUsersResponse>(
+ this, METHODID_LIST_USERS)))
+ .build();
+ }
+ }
+
+ /**
+ */
+ public static final class IdentityStub extends io.grpc.stub.AbstractAsyncStub {
+ private IdentityStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected IdentityStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new IdentityStub(channel, callOptions);
+ }
+
+ /**
+ */
+ public void createUser(com.google.showcase.v1beta1.CreateUserRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void getUser(com.google.showcase.v1beta1.GetUserRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void updateUser(com.google.showcase.v1beta1.UpdateUserRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void deleteUser(com.google.showcase.v1beta1.DeleteUserRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request, responseObserver);
+ }
+
+ /**
+ */
+ public void listUsers(com.google.showcase.v1beta1.ListUsersRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getListUsersMethod(), getCallOptions()), request, responseObserver);
+ }
+ }
+
+ /**
+ */
+ public static final class IdentityBlockingStub extends io.grpc.stub.AbstractBlockingStub {
+ private IdentityBlockingStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected IdentityBlockingStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new IdentityBlockingStub(channel, callOptions);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.User createUser(com.google.showcase.v1beta1.CreateUserRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateUserMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.User getUser(com.google.showcase.v1beta1.GetUserRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getGetUserMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.User updateUser(com.google.showcase.v1beta1.UpdateUserRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getUpdateUserMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.protobuf.Empty deleteUser(com.google.showcase.v1beta1.DeleteUserRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getDeleteUserMethod(), getCallOptions(), request);
+ }
+
+ /**
+ */
+ public com.google.showcase.v1beta1.ListUsersResponse listUsers(com.google.showcase.v1beta1.ListUsersRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getListUsersMethod(), getCallOptions(), request);
+ }
+ }
+
+ /**
+ */
+ public static final class IdentityFutureStub extends io.grpc.stub.AbstractFutureStub {
+ private IdentityFutureStub(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ super(channel, callOptions);
+ }
+
+ @java.lang.Override
+ protected IdentityFutureStub build(
+ io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+ return new IdentityFutureStub(channel, callOptions);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture createUser(
+ com.google.showcase.v1beta1.CreateUserRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateUserMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture getUser(
+ com.google.showcase.v1beta1.GetUserRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getGetUserMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture updateUser(
+ com.google.showcase.v1beta1.UpdateUserRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getUpdateUserMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture deleteUser(
+ com.google.showcase.v1beta1.DeleteUserRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getDeleteUserMethod(), getCallOptions()), request);
+ }
+
+ /**
+ */
+ public com.google.common.util.concurrent.ListenableFuture listUsers(
+ com.google.showcase.v1beta1.ListUsersRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getListUsersMethod(), getCallOptions()), request);
+ }
+ }
+
+ private static final int METHODID_CREATE_USER = 0;
+ private static final int METHODID_GET_USER = 1;
+ private static final int METHODID_UPDATE_USER = 2;
+ private static final int METHODID_DELETE_USER = 3;
+ private static final int METHODID_LIST_USERS = 4;
+
+ private static final class MethodHandlers implements
+ io.grpc.stub.ServerCalls.UnaryMethod,
+ io.grpc.stub.ServerCalls.ServerStreamingMethod,
+ io.grpc.stub.ServerCalls.ClientStreamingMethod,
+ io.grpc.stub.ServerCalls.BidiStreamingMethod {
+ private final IdentityImplBase serviceImpl;
+ private final int methodId;
+
+ MethodHandlers(IdentityImplBase serviceImpl, int methodId) {
+ this.serviceImpl = serviceImpl;
+ this.methodId = methodId;
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ case METHODID_CREATE_USER:
+ serviceImpl.createUser((com.google.showcase.v1beta1.CreateUserRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_GET_USER:
+ serviceImpl.getUser((com.google.showcase.v1beta1.GetUserRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_UPDATE_USER:
+ serviceImpl.updateUser((com.google.showcase.v1beta1.UpdateUserRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_DELETE_USER:
+ serviceImpl.deleteUser((com.google.showcase.v1beta1.DeleteUserRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ case METHODID_LIST_USERS:
+ serviceImpl.listUsers((com.google.showcase.v1beta1.ListUsersRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
+ default:
+ throw new AssertionError();
+ }
+ }
+
+ @java.lang.Override
+ @java.lang.SuppressWarnings("unchecked")
+ public io.grpc.stub.StreamObserver invoke(
+ io.grpc.stub.StreamObserver responseObserver) {
+ switch (methodId) {
+ default:
+ throw new AssertionError();
+ }
+ }
+ }
+
+ private static abstract class IdentityBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
+ IdentityBaseDescriptorSupplier() {}
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
+ return com.google.showcase.v1beta1.IdentityOuterClass.getDescriptor();
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
+ return getFileDescriptor().findServiceByName("Identity");
+ }
+ }
+
+ private static final class IdentityFileDescriptorSupplier
+ extends IdentityBaseDescriptorSupplier {
+ IdentityFileDescriptorSupplier() {}
+ }
+
+ private static final class IdentityMethodDescriptorSupplier
+ extends IdentityBaseDescriptorSupplier
+ implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
+ private final String methodName;
+
+ IdentityMethodDescriptorSupplier(String methodName) {
+ this.methodName = methodName;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
+ return getServiceDescriptor().findMethodByName(methodName);
+ }
+ }
+
+ private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
+
+ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
+ io.grpc.ServiceDescriptor result = serviceDescriptor;
+ if (result == null) {
+ synchronized (IdentityGrpc.class) {
+ result = serviceDescriptor;
+ if (result == null) {
+ serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
+ .setSchemaDescriptor(new IdentityFileDescriptorSupplier())
+ .addMethod(getCreateUserMethod())
+ .addMethod(getGetUserMethod())
+ .addMethod(getUpdateUserMethod())
+ .addMethod(getDeleteUserMethod())
+ .addMethod(getListUsersMethod())
+ .build();
+ }
+ }
+ }
+ return result;
+ }
+}
diff --git a/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java b/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java
new file mode 100644
index 0000000000..906dfe779e
--- /dev/null
+++ b/showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java
@@ -0,0 +1,1199 @@
+package com.google.showcase.v1beta1;
+
+import static io.grpc.MethodDescriptor.generateFullMethodName;
+
+/**
+ */
+@javax.annotation.Generated(
+ value = "by gRPC proto compiler",
+ comments = "Source: schema/google/showcase/v1beta1/messaging.proto")
+@io.grpc.stub.annotations.GrpcGenerated
+public final class MessagingGrpc {
+
+ private MessagingGrpc() {}
+
+ public static final String SERVICE_NAME = "google.showcase.v1beta1.Messaging";
+
+ // Static method descriptors that strictly reflect the proto.
+ private static volatile io.grpc.MethodDescriptor getCreateRoomMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "CreateRoom",
+ requestType = com.google.showcase.v1beta1.CreateRoomRequest.class,
+ responseType = com.google.showcase.v1beta1.Room.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getCreateRoomMethod() {
+ io.grpc.MethodDescriptor getCreateRoomMethod;
+ if ((getCreateRoomMethod = MessagingGrpc.getCreateRoomMethod) == null) {
+ synchronized (MessagingGrpc.class) {
+ if ((getCreateRoomMethod = MessagingGrpc.getCreateRoomMethod) == null) {
+ MessagingGrpc.getCreateRoomMethod = getCreateRoomMethod =
+ io.grpc.MethodDescriptor.newBuilder()
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRoom"))
+ .setSampledToLocalTracing(true)
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.CreateRoomRequest.getDefaultInstance()))
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+ com.google.showcase.v1beta1.Room.getDefaultInstance()))
+ .setSchemaDescriptor(new MessagingMethodDescriptorSupplier("CreateRoom"))
+ .build();
+ }
+ }
+ }
+ return getCreateRoomMethod;
+ }
+
+ private static volatile io.grpc.MethodDescriptor getGetRoomMethod;
+
+ @io.grpc.stub.annotations.RpcMethod(
+ fullMethodName = SERVICE_NAME + '/' + "GetRoom",
+ requestType = com.google.showcase.v1beta1.GetRoomRequest.class,
+ responseType = com.google.showcase.v1beta1.Room.class,
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
+ public static io.grpc.MethodDescriptor getGetRoomMethod() {
+ io.grpc.MethodDescriptor getGetRoomMethod;
+ if ((getGetRoomMethod = MessagingGrpc.getGetRoomMethod) == null) {
+ synchronized (MessagingGrpc.class) {
+ if ((getGetRoomMethod = MessagingGrpc.getGetRoomMethod) == null) {
+ MessagingGrpc.getGetRoomMethod = getGetRoomMethod =
+ io.grpc.MethodDescriptor.