diff --git a/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml b/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml
index c5f0e25d4c..6e816086d9 100644
--- a/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml
+++ b/.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml
@@ -68,10 +68,10 @@ steps:
- |
mvn dependency:copy \
-B -ntp \
- -Dartifact=com.google.api:gapic-generator-java:2.55.1 \
+ -Dartifact=com.google.api:gapic-generator-java:2.63.0 \
-DoutputDirectory=/workspace
cd /workspace
- mv gapic-generator-java-2.55.1.jar gapic-generator-java.jar
+ mv gapic-generator-java-2.63.0.jar gapic-generator-java.jar
id: prepare-generator-jar
waitFor: [ "-" ]
diff --git a/.cloudbuild/library_generation/library_generation.Dockerfile b/.cloudbuild/library_generation/library_generation.Dockerfile
index 23ac1f9bd9..04ef798054 100644
--- a/.cloudbuild/library_generation/library_generation.Dockerfile
+++ b/.cloudbuild/library_generation/library_generation.Dockerfile
@@ -38,7 +38,7 @@ FROM docker.io/library/python:3.13.2-slim@sha256:6b3223eb4d93718828223966ad31690
ARG OWLBOT_CLI_COMMITTISH=3a68a9c0de318784b3aefadcc502a6521b3f1bc5
ARG PROTOC_VERSION=25.8
-ARG GRPC_VERSION=1.71.0
+ARG GRPC_VERSION=1.76.0
ENV HOME=/home
ENV OS_ARCHITECTURE="linux-x86_64"
diff --git a/.cloudbuild/library_generation/library_generation_airlock.Dockerfile b/.cloudbuild/library_generation/library_generation_airlock.Dockerfile
index 34bae87264..40e32556f0 100644
--- a/.cloudbuild/library_generation/library_generation_airlock.Dockerfile
+++ b/.cloudbuild/library_generation/library_generation_airlock.Dockerfile
@@ -39,7 +39,7 @@ FROM us-docker.pkg.dev/artifact-foundry-prod/docker-3p-trusted/python@sha256:afc
ARG OWLBOT_CLI_COMMITTISH=3a68a9c0de318784b3aefadcc502a6521b3f1bc5
ARG PROTOC_VERSION=25.8
-ARG GRPC_VERSION=1.71.0
+ARG GRPC_VERSION=1.76.0
ENV HOME=/home
ENV OS_ARCHITECTURE="linux-x86_64"
diff --git a/WORKSPACE b/WORKSPACE
index 6650aec560..cdec473311 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -97,9 +97,16 @@ load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories")
grpc_java_repositories()
-load("@envoy_api//bazel:repositories.bzl", "api_dependencies")
-
-api_dependencies()
+# gRPC-Java uses jar_jar for bazel: https://github.com/grpc/grpc-java/pull/12243
+# The following lines are from jar_jar's README: https://github.com/bazeltools/bazel_jar_jar?tab=readme-ov-file#how-to-add-to-bazel-via-workspace
+load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
+git_repository(
+ name = "bazel_jar_jar",
+ commit = "4e7bf26da8bc8c955578fd8c8a2c763757d344df", # Latest commit SHA as of 2023/10/31
+ remote = "https://github.com/bazeltools/bazel_jar_jar.git",
+)
+load("@bazel_jar_jar//:jar_jar.bzl", "jar_jar_repositories")
+jar_jar_repositories()
_disco_to_proto3_converter_commit = "ce8d8732120cdfb5bf4847c3238b5be8acde87e3"
diff --git a/gapic-generator-java-pom-parent/pom.xml b/gapic-generator-java-pom-parent/pom.xml
index 04ca3a503a..29441ae49c 100644
--- a/gapic-generator-java-pom-parent/pom.xml
+++ b/gapic-generator-java-pom-parent/pom.xml
@@ -27,7 +27,7 @@
1.3.2
- 1.71.0
+ 1.76.0
1.40.0
2.0.2
2.12.1
diff --git a/gax-java/dependencies.properties b/gax-java/dependencies.properties
index e5697264f5..c74c4ee971 100644
--- a/gax-java/dependencies.properties
+++ b/gax-java/dependencies.properties
@@ -28,7 +28,7 @@ version.gax_httpjson=2.71.1-SNAPSHOT
version.com_google_protobuf=3.25.8
version.google_java_format=1.15.0
-version.io_grpc=1.71.0
+version.io_grpc=1.76.0
# Maven artifacts.
# Note, the actual name of each property matters (bazel build scripts depend on it).
diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java
index fa8fa77d24..88266332dc 100644
--- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java
+++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/nativeimage/GrpcNettyFeature.java
@@ -148,6 +148,21 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) {
access,
NETTY_SHADED_PACKAGE + "org.jctools.queues.MpscArrayQueueConsumerIndexField",
"consumerIndex");
+ registerForUnsafeFieldAccess(
+ access,
+ NETTY_SHADED_PACKAGE
+ + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerIndexField",
+ "producerIndex");
+ registerForUnsafeFieldAccess(
+ access,
+ NETTY_SHADED_PACKAGE
+ + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerLimitField",
+ "producerLimit");
+ registerForUnsafeFieldAccess(
+ access,
+ NETTY_SHADED_PACKAGE
+ + "org.jctools.queues.unpadded.MpscUnpaddedArrayQueueConsumerIndexField",
+ "consumerIndex");
registerForUnsafeFieldAccess(
access,
NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedArrayQueueProducerFields",
@@ -160,6 +175,21 @@ private static void loadGrpcNettyClasses(BeforeAnalysisAccess access) {
access,
NETTY_SHADED_PACKAGE + "org.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields",
"consumerIndex");
+ registerForUnsafeFieldAccess(
+ access,
+ NETTY_SHADED_PACKAGE
+ + "org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueProducerFields",
+ "producerIndex");
+ registerForUnsafeFieldAccess(
+ access,
+ NETTY_SHADED_PACKAGE
+ + "org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueColdProducerFields",
+ "producerLimit");
+ registerForUnsafeFieldAccess(
+ access,
+ NETTY_SHADED_PACKAGE
+ + "org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueConsumerFields",
+ "consumerIndex");
}
}
diff --git a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java
index db4ea9047a..83bd5cbeae 100644
--- a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java
+++ b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/cloud/location/LocationsGrpc.java
@@ -26,9 +26,6 @@
* [Location.metadata][google.cloud.location.Location.metadata] field.
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/cloud/location/locations.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class LocationsGrpc {
@@ -315,8 +312,8 @@ protected LocationsBlockingV2Stub build(
*
*/
public com.google.cloud.location.ListLocationsResponse listLocations(
- com.google.cloud.location.ListLocationsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.cloud.location.ListLocationsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListLocationsMethod(), getCallOptions(), request);
}
@@ -328,8 +325,8 @@ public com.google.cloud.location.ListLocationsResponse listLocations(
*
*/
public com.google.cloud.location.Location getLocation(
- com.google.cloud.location.GetLocationRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.cloud.location.GetLocationRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetLocationMethod(), getCallOptions(), request);
}
}
diff --git a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java
index f279b1b9d5..1cb88adae9 100644
--- a/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java
+++ b/java-common-protos/grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java
@@ -31,9 +31,6 @@
* developers can have a consistent client experience.
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/longrunning/operations.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class OperationsGrpc {
@@ -602,8 +599,8 @@ protected OperationsBlockingV2Stub build(
*
*/
public com.google.longrunning.ListOperationsResponse listOperations(
- com.google.longrunning.ListOperationsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.longrunning.ListOperationsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListOperationsMethod(), getCallOptions(), request);
}
@@ -617,8 +614,8 @@ public com.google.longrunning.ListOperationsResponse listOperations(
*
*/
public com.google.longrunning.Operation getOperation(
- com.google.longrunning.GetOperationRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.longrunning.GetOperationRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetOperationMethod(), getCallOptions(), request);
}
@@ -633,8 +630,8 @@ public com.google.longrunning.Operation getOperation(
*
*/
public com.google.protobuf.Empty deleteOperation(
- com.google.longrunning.DeleteOperationRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.longrunning.DeleteOperationRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeleteOperationMethod(), getCallOptions(), request);
}
@@ -656,8 +653,8 @@ public com.google.protobuf.Empty deleteOperation(
*
*/
public com.google.protobuf.Empty cancelOperation(
- com.google.longrunning.CancelOperationRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.longrunning.CancelOperationRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCancelOperationMethod(), getCallOptions(), request);
}
@@ -677,8 +674,8 @@ public com.google.protobuf.Empty cancelOperation(
*
*/
public com.google.longrunning.Operation waitOperation(
- com.google.longrunning.WaitOperationRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.longrunning.WaitOperationRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getWaitOperationMethod(), getCallOptions(), request);
}
}
diff --git a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java
index 9c1eb28262..72e3dc9d8e 100644
--- a/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java
+++ b/java-iam/grpc-google-iam-v1/src/main/java/com/google/iam/v1/IAMPolicyGrpc.java
@@ -41,9 +41,6 @@
* attached.
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/iam/v1/iam_policy.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class IAMPolicyGrpc {
@@ -473,8 +470,9 @@ protected IAMPolicyBlockingV2Stub build(
* Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
*/
- public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getSetIamPolicyMethod(), getCallOptions(), request);
}
@@ -487,8 +485,9 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
* set.
*
*/
- public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetIamPolicyMethod(), getCallOptions(), request);
}
@@ -505,8 +504,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
*
*/
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
- com.google.iam.v1.TestIamPermissionsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v1.TestIamPermissionsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request);
}
}
diff --git a/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java b/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java
index ef9eccd8a2..d36e86e7de 100644
--- a/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java
+++ b/java-iam/grpc-google-iam-v2/src/main/java/com/google/iam/v2/PoliciesGrpc.java
@@ -24,9 +24,6 @@
* An interface for managing Identity and Access Management (IAM) policies.
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/iam/v2/policy.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class PoliciesGrpc {
@@ -525,8 +522,8 @@ protected PoliciesBlockingV2Stub build(
*
*/
public com.google.iam.v2.ListPoliciesResponse listPolicies(
- com.google.iam.v2.ListPoliciesRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v2.ListPoliciesRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListPoliciesMethod(), getCallOptions(), request);
}
@@ -537,8 +534,9 @@ public com.google.iam.v2.ListPoliciesResponse listPolicies(
* Gets a policy.
*
*/
- public com.google.iam.v2.Policy getPolicy(com.google.iam.v2.GetPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ public com.google.iam.v2.Policy getPolicy(com.google.iam.v2.GetPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetPolicyMethod(), getCallOptions(), request);
}
@@ -550,8 +548,8 @@ public com.google.iam.v2.Policy getPolicy(com.google.iam.v2.GetPolicyRequest req
*
*/
public com.google.longrunning.Operation createPolicy(
- com.google.iam.v2.CreatePolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v2.CreatePolicyRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreatePolicyMethod(), getCallOptions(), request);
}
@@ -569,8 +567,8 @@ public com.google.longrunning.Operation createPolicy(
*
*/
public com.google.longrunning.Operation updatePolicy(
- com.google.iam.v2.UpdatePolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v2.UpdatePolicyRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getUpdatePolicyMethod(), getCallOptions(), request);
}
@@ -582,8 +580,8 @@ public com.google.longrunning.Operation updatePolicy(
*
*/
public com.google.longrunning.Operation deletePolicy(
- com.google.iam.v2.DeletePolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v2.DeletePolicyRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeletePolicyMethod(), getCallOptions(), request);
}
}
diff --git a/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java b/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java
index f46f577747..485c59c521 100644
--- a/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java
+++ b/java-iam/grpc-google-iam-v2beta/src/main/java/com/google/iam/v2beta/PoliciesGrpc.java
@@ -24,9 +24,6 @@
* An interface for managing Identity and Access Management (IAM) policies.
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/iam/v2beta/policy.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class PoliciesGrpc {
@@ -526,8 +523,8 @@ protected PoliciesBlockingV2Stub build(
*
*/
public com.google.iam.v2beta.ListPoliciesResponse listPolicies(
- com.google.iam.v2beta.ListPoliciesRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v2beta.ListPoliciesRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListPoliciesMethod(), getCallOptions(), request);
}
@@ -538,8 +535,9 @@ public com.google.iam.v2beta.ListPoliciesResponse listPolicies(
* Gets a policy.
*
*/
- public com.google.iam.v2beta.Policy getPolicy(com.google.iam.v2beta.GetPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ public com.google.iam.v2beta.Policy getPolicy(com.google.iam.v2beta.GetPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetPolicyMethod(), getCallOptions(), request);
}
@@ -551,8 +549,8 @@ public com.google.iam.v2beta.Policy getPolicy(com.google.iam.v2beta.GetPolicyReq
*
*/
public com.google.longrunning.Operation createPolicy(
- com.google.iam.v2beta.CreatePolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v2beta.CreatePolicyRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreatePolicyMethod(), getCallOptions(), request);
}
@@ -570,8 +568,8 @@ public com.google.longrunning.Operation createPolicy(
*
*/
public com.google.longrunning.Operation updatePolicy(
- com.google.iam.v2beta.UpdatePolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v2beta.UpdatePolicyRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getUpdatePolicyMethod(), getCallOptions(), request);
}
@@ -583,8 +581,8 @@ public com.google.longrunning.Operation updatePolicy(
*
*/
public com.google.longrunning.Operation deletePolicy(
- com.google.iam.v2beta.DeletePolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v2beta.DeletePolicyRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeletePolicyMethod(), getCallOptions(), request);
}
}
diff --git a/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PolicyBindingsGrpc.java b/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PolicyBindingsGrpc.java
index 93d44384b5..d6d6ae0f17 100644
--- a/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PolicyBindingsGrpc.java
+++ b/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PolicyBindingsGrpc.java
@@ -25,9 +25,6 @@
* bindings.
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/iam/v3/policy_bindings_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyBindingsGrpc {
@@ -639,8 +636,8 @@ protected PolicyBindingsBlockingV2Stub build(
*
*/
public com.google.longrunning.Operation createPolicyBinding(
- com.google.iam.v3.CreatePolicyBindingRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.CreatePolicyBindingRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreatePolicyBindingMethod(), getCallOptions(), request);
}
@@ -652,8 +649,8 @@ public com.google.longrunning.Operation createPolicyBinding(
*
*/
public com.google.iam.v3.PolicyBinding getPolicyBinding(
- com.google.iam.v3.GetPolicyBindingRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.GetPolicyBindingRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetPolicyBindingMethod(), getCallOptions(), request);
}
@@ -669,8 +666,8 @@ public com.google.iam.v3.PolicyBinding getPolicyBinding(
*
*/
public com.google.longrunning.Operation updatePolicyBinding(
- com.google.iam.v3.UpdatePolicyBindingRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.UpdatePolicyBindingRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getUpdatePolicyBindingMethod(), getCallOptions(), request);
}
@@ -684,8 +681,8 @@ public com.google.longrunning.Operation updatePolicyBinding(
*
*/
public com.google.longrunning.Operation deletePolicyBinding(
- com.google.iam.v3.DeletePolicyBindingRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.DeletePolicyBindingRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeletePolicyBindingMethod(), getCallOptions(), request);
}
@@ -697,8 +694,8 @@ public com.google.longrunning.Operation deletePolicyBinding(
*
*/
public com.google.iam.v3.ListPolicyBindingsResponse listPolicyBindings(
- com.google.iam.v3.ListPolicyBindingsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.ListPolicyBindingsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListPolicyBindingsMethod(), getCallOptions(), request);
}
@@ -711,8 +708,9 @@ public com.google.iam.v3.ListPolicyBindingsResponse listPolicyBindings(
*
*/
public com.google.iam.v3.SearchTargetPolicyBindingsResponse searchTargetPolicyBindings(
- com.google.iam.v3.SearchTargetPolicyBindingsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.SearchTargetPolicyBindingsRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getSearchTargetPolicyBindingsMethod(), getCallOptions(), request);
}
}
diff --git a/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PrincipalAccessBoundaryPoliciesGrpc.java b/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PrincipalAccessBoundaryPoliciesGrpc.java
index 1f9bb0fab4..3c4ff222e0 100644
--- a/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PrincipalAccessBoundaryPoliciesGrpc.java
+++ b/java-iam/grpc-google-iam-v3/src/main/java/com/google/iam/v3/PrincipalAccessBoundaryPoliciesGrpc.java
@@ -25,9 +25,6 @@
* policies.
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/iam/v3/principal_access_boundary_policies_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class PrincipalAccessBoundaryPoliciesGrpc {
@@ -688,8 +685,9 @@ protected PrincipalAccessBoundaryPoliciesBlockingV2Stub build(
*
*/
public com.google.longrunning.Operation createPrincipalAccessBoundaryPolicy(
- com.google.iam.v3.CreatePrincipalAccessBoundaryPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.CreatePrincipalAccessBoundaryPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreatePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request);
}
@@ -701,8 +699,9 @@ public com.google.longrunning.Operation createPrincipalAccessBoundaryPolicy(
*
*/
public com.google.iam.v3.PrincipalAccessBoundaryPolicy getPrincipalAccessBoundaryPolicy(
- com.google.iam.v3.GetPrincipalAccessBoundaryPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.GetPrincipalAccessBoundaryPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetPrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request);
}
@@ -714,8 +713,9 @@ public com.google.iam.v3.PrincipalAccessBoundaryPolicy getPrincipalAccessBoundar
*
*/
public com.google.longrunning.Operation updatePrincipalAccessBoundaryPolicy(
- com.google.iam.v3.UpdatePrincipalAccessBoundaryPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.UpdatePrincipalAccessBoundaryPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getUpdatePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request);
}
@@ -727,8 +727,9 @@ public com.google.longrunning.Operation updatePrincipalAccessBoundaryPolicy(
*
*/
public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy(
- com.google.iam.v3.DeletePrincipalAccessBoundaryPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.DeletePrincipalAccessBoundaryPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeletePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request);
}
@@ -741,8 +742,9 @@ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy(
*/
public com.google.iam.v3.ListPrincipalAccessBoundaryPoliciesResponse
listPrincipalAccessBoundaryPolicies(
- com.google.iam.v3.ListPrincipalAccessBoundaryPoliciesRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.ListPrincipalAccessBoundaryPoliciesRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListPrincipalAccessBoundaryPoliciesMethod(), getCallOptions(), request);
}
@@ -756,8 +758,9 @@ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy(
*/
public com.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsResponse
searchPrincipalAccessBoundaryPolicyBindings(
- com.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3.SearchPrincipalAccessBoundaryPolicyBindingsRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(),
getSearchPrincipalAccessBoundaryPolicyBindingsMethod(),
getCallOptions(),
diff --git a/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PolicyBindingsGrpc.java b/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PolicyBindingsGrpc.java
index 4e58618bc0..5b8e2eae77 100644
--- a/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PolicyBindingsGrpc.java
+++ b/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PolicyBindingsGrpc.java
@@ -25,9 +25,6 @@
* bindings.
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/iam/v3beta/policy_bindings_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class PolicyBindingsGrpc {
@@ -646,8 +643,8 @@ protected PolicyBindingsBlockingV2Stub build(
*
*/
public com.google.longrunning.Operation createPolicyBinding(
- com.google.iam.v3beta.CreatePolicyBindingRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.CreatePolicyBindingRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreatePolicyBindingMethod(), getCallOptions(), request);
}
@@ -659,8 +656,8 @@ public com.google.longrunning.Operation createPolicyBinding(
*
*/
public com.google.iam.v3beta.PolicyBinding getPolicyBinding(
- com.google.iam.v3beta.GetPolicyBindingRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.GetPolicyBindingRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetPolicyBindingMethod(), getCallOptions(), request);
}
@@ -676,8 +673,8 @@ public com.google.iam.v3beta.PolicyBinding getPolicyBinding(
*
*/
public com.google.longrunning.Operation updatePolicyBinding(
- com.google.iam.v3beta.UpdatePolicyBindingRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.UpdatePolicyBindingRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getUpdatePolicyBindingMethod(), getCallOptions(), request);
}
@@ -691,8 +688,8 @@ public com.google.longrunning.Operation updatePolicyBinding(
*
*/
public com.google.longrunning.Operation deletePolicyBinding(
- com.google.iam.v3beta.DeletePolicyBindingRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.DeletePolicyBindingRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeletePolicyBindingMethod(), getCallOptions(), request);
}
@@ -704,8 +701,8 @@ public com.google.longrunning.Operation deletePolicyBinding(
*
*/
public com.google.iam.v3beta.ListPolicyBindingsResponse listPolicyBindings(
- com.google.iam.v3beta.ListPolicyBindingsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.ListPolicyBindingsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListPolicyBindingsMethod(), getCallOptions(), request);
}
@@ -718,8 +715,9 @@ public com.google.iam.v3beta.ListPolicyBindingsResponse listPolicyBindings(
*
*/
public com.google.iam.v3beta.SearchTargetPolicyBindingsResponse searchTargetPolicyBindings(
- com.google.iam.v3beta.SearchTargetPolicyBindingsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.SearchTargetPolicyBindingsRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getSearchTargetPolicyBindingsMethod(), getCallOptions(), request);
}
}
diff --git a/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PrincipalAccessBoundaryPoliciesGrpc.java b/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PrincipalAccessBoundaryPoliciesGrpc.java
index 65c8524162..c827de7f99 100644
--- a/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PrincipalAccessBoundaryPoliciesGrpc.java
+++ b/java-iam/grpc-google-iam-v3beta/src/main/java/com/google/iam/v3beta/PrincipalAccessBoundaryPoliciesGrpc.java
@@ -25,9 +25,6 @@
* policies.
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: google/iam/v3beta/principal_access_boundary_policies_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class PrincipalAccessBoundaryPoliciesGrpc {
@@ -694,8 +691,9 @@ protected PrincipalAccessBoundaryPoliciesBlockingV2Stub build(
*
*/
public com.google.longrunning.Operation createPrincipalAccessBoundaryPolicy(
- com.google.iam.v3beta.CreatePrincipalAccessBoundaryPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.CreatePrincipalAccessBoundaryPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreatePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request);
}
@@ -707,8 +705,9 @@ public com.google.longrunning.Operation createPrincipalAccessBoundaryPolicy(
*
*/
public com.google.iam.v3beta.PrincipalAccessBoundaryPolicy getPrincipalAccessBoundaryPolicy(
- com.google.iam.v3beta.GetPrincipalAccessBoundaryPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.GetPrincipalAccessBoundaryPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetPrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request);
}
@@ -720,8 +719,9 @@ public com.google.iam.v3beta.PrincipalAccessBoundaryPolicy getPrincipalAccessBou
*
*/
public com.google.longrunning.Operation updatePrincipalAccessBoundaryPolicy(
- com.google.iam.v3beta.UpdatePrincipalAccessBoundaryPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.UpdatePrincipalAccessBoundaryPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getUpdatePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request);
}
@@ -733,8 +733,9 @@ public com.google.longrunning.Operation updatePrincipalAccessBoundaryPolicy(
*
*/
public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy(
- com.google.iam.v3beta.DeletePrincipalAccessBoundaryPolicyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.DeletePrincipalAccessBoundaryPolicyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeletePrincipalAccessBoundaryPolicyMethod(), getCallOptions(), request);
}
@@ -747,8 +748,9 @@ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy(
*/
public com.google.iam.v3beta.ListPrincipalAccessBoundaryPoliciesResponse
listPrincipalAccessBoundaryPolicies(
- com.google.iam.v3beta.ListPrincipalAccessBoundaryPoliciesRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.ListPrincipalAccessBoundaryPoliciesRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListPrincipalAccessBoundaryPoliciesMethod(), getCallOptions(), request);
}
@@ -762,8 +764,9 @@ public com.google.longrunning.Operation deletePrincipalAccessBoundaryPolicy(
*/
public com.google.iam.v3beta.SearchPrincipalAccessBoundaryPolicyBindingsResponse
searchPrincipalAccessBoundaryPolicyBindings(
- com.google.iam.v3beta.SearchPrincipalAccessBoundaryPolicyBindingsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.iam.v3beta.SearchPrincipalAccessBoundaryPolicyBindingsRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(),
getSearchPrincipalAccessBoundaryPolicyBindingsMethod(),
getCallOptions(),
diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java
index f4efab8f03..5c42138987 100644
--- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java
+++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/ComplianceGrpc.java
@@ -26,9 +26,6 @@
* correctly.
*
*/
-@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 {
@@ -919,8 +916,8 @@ protected ComplianceBlockingV2Stub build(
*
*/
public com.google.showcase.v1beta1.RepeatResponse repeatDataBody(
- com.google.showcase.v1beta1.RepeatRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getRepeatDataBodyMethod(), getCallOptions(), request);
}
@@ -934,8 +931,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataBody(
*
*/
public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyInfo(
- com.google.showcase.v1beta1.RepeatRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getRepeatDataBodyInfoMethod(), getCallOptions(), request);
}
@@ -948,8 +945,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyInfo(
*
*/
public com.google.showcase.v1beta1.RepeatResponse repeatDataQuery(
- com.google.showcase.v1beta1.RepeatRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getRepeatDataQueryMethod(), getCallOptions(), request);
}
@@ -963,8 +960,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataQuery(
*
*/
public com.google.showcase.v1beta1.RepeatResponse repeatDataSimplePath(
- com.google.showcase.v1beta1.RepeatRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getRepeatDataSimplePathMethod(), getCallOptions(), request);
}
@@ -976,8 +973,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataSimplePath(
*
*/
public com.google.showcase.v1beta1.RepeatResponse repeatDataPathResource(
- com.google.showcase.v1beta1.RepeatRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getRepeatDataPathResourceMethod(), getCallOptions(), request);
}
@@ -989,8 +986,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataPathResource(
*
*/
public com.google.showcase.v1beta1.RepeatResponse repeatDataPathTrailingResource(
- com.google.showcase.v1beta1.RepeatRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getRepeatDataPathTrailingResourceMethod(), getCallOptions(), request);
}
@@ -1002,8 +999,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataPathTrailingResource
*
*/
public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPut(
- com.google.showcase.v1beta1.RepeatRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getRepeatDataBodyPutMethod(), getCallOptions(), request);
}
@@ -1015,8 +1012,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPut(
*
*/
public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPatch(
- com.google.showcase.v1beta1.RepeatRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.RepeatRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getRepeatDataBodyPatchMethod(), getCallOptions(), request);
}
@@ -1032,8 +1029,8 @@ public com.google.showcase.v1beta1.RepeatResponse repeatDataBodyPatch(
*
*/
public com.google.showcase.v1beta1.EnumResponse getEnum(
- com.google.showcase.v1beta1.EnumRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.EnumRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetEnumMethod(), getCallOptions(), request);
}
@@ -1049,8 +1046,8 @@ public com.google.showcase.v1beta1.EnumResponse getEnum(
*
*/
public com.google.showcase.v1beta1.EnumResponse verifyEnum(
- com.google.showcase.v1beta1.EnumResponse request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.EnumResponse request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getVerifyEnumMethod(), getCallOptions(), request);
}
}
diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java
index b83ffb26c4..0d30b3d3e2 100644
--- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java
+++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/EchoGrpc.java
@@ -30,9 +30,6 @@
* echoed in the response headers.
*
*/
-@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 {
@@ -1033,8 +1030,8 @@ protected EchoBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions
*
*/
public com.google.showcase.v1beta1.EchoResponse echo(
- com.google.showcase.v1beta1.EchoRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.EchoRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getEchoMethod(), getCallOptions(), request);
}
@@ -1051,8 +1048,9 @@ public com.google.showcase.v1beta1.EchoResponse echo(
*
*/
public com.google.showcase.v1beta1.EchoErrorDetailsResponse echoErrorDetails(
- com.google.showcase.v1beta1.EchoErrorDetailsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.EchoErrorDetailsRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getEchoErrorDetailsMethod(), getCallOptions(), request);
}
@@ -1070,8 +1068,9 @@ public com.google.showcase.v1beta1.EchoErrorDetailsResponse echoErrorDetails(
*
*/
public com.google.showcase.v1beta1.FailEchoWithDetailsResponse failEchoWithDetails(
- com.google.showcase.v1beta1.FailEchoWithDetailsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.FailEchoWithDetailsRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getFailEchoWithDetailsMethod(), getCallOptions(), request);
}
@@ -1133,8 +1132,8 @@ public io.grpc.stub.BlockingClientCall, com.google.showcase.v1beta1.EchoRespon
*
*/
public com.google.showcase.v1beta1.PagedExpandResponse pagedExpand(
- com.google.showcase.v1beta1.PagedExpandRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.PagedExpandRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getPagedExpandMethod(), getCallOptions(), request);
}
@@ -1148,8 +1147,9 @@ public com.google.showcase.v1beta1.PagedExpandResponse pagedExpand(
*
*/
public com.google.showcase.v1beta1.PagedExpandResponse pagedExpandLegacy(
- com.google.showcase.v1beta1.PagedExpandLegacyRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.PagedExpandLegacyRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getPagedExpandLegacyMethod(), getCallOptions(), request);
}
@@ -1165,8 +1165,8 @@ public com.google.showcase.v1beta1.PagedExpandResponse pagedExpandLegacy(
*
*/
public com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse pagedExpandLegacyMapped(
- com.google.showcase.v1beta1.PagedExpandRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.PagedExpandRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getPagedExpandLegacyMappedMethod(), getCallOptions(), request);
}
@@ -1178,8 +1178,9 @@ public com.google.showcase.v1beta1.PagedExpandLegacyMappedResponse pagedExpandLe
* This method showcases how a client handles a request timeout.
*
*/
- public com.google.longrunning.Operation wait(com.google.showcase.v1beta1.WaitRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ public com.google.longrunning.Operation wait(com.google.showcase.v1beta1.WaitRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getWaitMethod(), getCallOptions(), request);
}
@@ -1193,8 +1194,8 @@ public com.google.longrunning.Operation wait(com.google.showcase.v1beta1.WaitReq
*
*/
public com.google.showcase.v1beta1.BlockResponse block(
- com.google.showcase.v1beta1.BlockRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.BlockRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getBlockMethod(), getCallOptions(), request);
}
}
diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java
index e26d47b132..bc0f6987e3 100644
--- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java
+++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/IdentityGrpc.java
@@ -24,9 +24,6 @@
* A simple identity service.
*
*/
-@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 {
@@ -502,8 +499,8 @@ protected IdentityBlockingV2Stub build(
*
*/
public com.google.showcase.v1beta1.User createUser(
- com.google.showcase.v1beta1.CreateUserRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.CreateUserRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreateUserMethod(), getCallOptions(), request);
}
@@ -515,8 +512,8 @@ public com.google.showcase.v1beta1.User createUser(
*
*/
public com.google.showcase.v1beta1.User getUser(
- com.google.showcase.v1beta1.GetUserRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.GetUserRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetUserMethod(), getCallOptions(), request);
}
@@ -528,8 +525,8 @@ public com.google.showcase.v1beta1.User getUser(
*
*/
public com.google.showcase.v1beta1.User updateUser(
- com.google.showcase.v1beta1.UpdateUserRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.UpdateUserRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getUpdateUserMethod(), getCallOptions(), request);
}
@@ -541,8 +538,8 @@ public com.google.showcase.v1beta1.User updateUser(
*
*/
public com.google.protobuf.Empty deleteUser(
- com.google.showcase.v1beta1.DeleteUserRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.DeleteUserRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeleteUserMethod(), getCallOptions(), request);
}
@@ -554,8 +551,8 @@ public com.google.protobuf.Empty deleteUser(
*
*/
public com.google.showcase.v1beta1.ListUsersResponse listUsers(
- com.google.showcase.v1beta1.ListUsersRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.ListUsersRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListUsersMethod(), getCallOptions(), request);
}
}
diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java
index 5fbeab3a55..48b744397b 100644
--- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java
+++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/MessagingGrpc.java
@@ -26,9 +26,6 @@
* generated by gapic-generators implement.
*
*/
-@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 {
@@ -1178,8 +1175,8 @@ protected MessagingBlockingV2Stub build(
*
*/
public com.google.showcase.v1beta1.Room createRoom(
- com.google.showcase.v1beta1.CreateRoomRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.CreateRoomRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreateRoomMethod(), getCallOptions(), request);
}
@@ -1191,8 +1188,8 @@ public com.google.showcase.v1beta1.Room createRoom(
*
*/
public com.google.showcase.v1beta1.Room getRoom(
- com.google.showcase.v1beta1.GetRoomRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.GetRoomRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetRoomMethod(), getCallOptions(), request);
}
@@ -1204,8 +1201,8 @@ public com.google.showcase.v1beta1.Room getRoom(
*
*/
public com.google.showcase.v1beta1.Room updateRoom(
- com.google.showcase.v1beta1.UpdateRoomRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.UpdateRoomRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getUpdateRoomMethod(), getCallOptions(), request);
}
@@ -1217,8 +1214,8 @@ public com.google.showcase.v1beta1.Room updateRoom(
*
*/
public com.google.protobuf.Empty deleteRoom(
- com.google.showcase.v1beta1.DeleteRoomRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.DeleteRoomRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeleteRoomMethod(), getCallOptions(), request);
}
@@ -1230,8 +1227,8 @@ public com.google.protobuf.Empty deleteRoom(
*
*/
public com.google.showcase.v1beta1.ListRoomsResponse listRooms(
- com.google.showcase.v1beta1.ListRoomsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.ListRoomsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListRoomsMethod(), getCallOptions(), request);
}
@@ -1245,8 +1242,8 @@ public com.google.showcase.v1beta1.ListRoomsResponse listRooms(
*
*/
public com.google.showcase.v1beta1.Blurb createBlurb(
- com.google.showcase.v1beta1.CreateBlurbRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.CreateBlurbRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreateBlurbMethod(), getCallOptions(), request);
}
@@ -1258,8 +1255,8 @@ public com.google.showcase.v1beta1.Blurb createBlurb(
*
*/
public com.google.showcase.v1beta1.Blurb getBlurb(
- com.google.showcase.v1beta1.GetBlurbRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.GetBlurbRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetBlurbMethod(), getCallOptions(), request);
}
@@ -1271,8 +1268,8 @@ public com.google.showcase.v1beta1.Blurb getBlurb(
*
*/
public com.google.showcase.v1beta1.Blurb updateBlurb(
- com.google.showcase.v1beta1.UpdateBlurbRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.UpdateBlurbRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getUpdateBlurbMethod(), getCallOptions(), request);
}
@@ -1284,8 +1281,8 @@ public com.google.showcase.v1beta1.Blurb updateBlurb(
*
*/
public com.google.protobuf.Empty deleteBlurb(
- com.google.showcase.v1beta1.DeleteBlurbRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.DeleteBlurbRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeleteBlurbMethod(), getCallOptions(), request);
}
@@ -1298,8 +1295,8 @@ public com.google.protobuf.Empty deleteBlurb(
*
*/
public com.google.showcase.v1beta1.ListBlurbsResponse listBlurbs(
- com.google.showcase.v1beta1.ListBlurbsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.ListBlurbsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListBlurbsMethod(), getCallOptions(), request);
}
@@ -1313,8 +1310,8 @@ public com.google.showcase.v1beta1.ListBlurbsResponse listBlurbs(
*
*/
public com.google.longrunning.Operation searchBlurbs(
- com.google.showcase.v1beta1.SearchBlurbsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.SearchBlurbsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getSearchBlurbsMethod(), getCallOptions(), request);
}
diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceServiceGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceServiceGrpc.java
index 139ea32045..7172cf958f 100644
--- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceServiceGrpc.java
+++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/SequenceServiceGrpc.java
@@ -18,9 +18,6 @@
import static io.grpc.MethodDescriptor.generateFullMethodName;
/** */
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: schema/google/showcase/v1beta1/sequence.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class SequenceServiceGrpc {
@@ -607,8 +604,8 @@ protected SequenceServiceBlockingV2Stub build(
*
*/
public com.google.showcase.v1beta1.Sequence createSequence(
- com.google.showcase.v1beta1.CreateSequenceRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.CreateSequenceRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreateSequenceMethod(), getCallOptions(), request);
}
@@ -620,8 +617,9 @@ public com.google.showcase.v1beta1.Sequence createSequence(
*
*/
public com.google.showcase.v1beta1.StreamingSequence createStreamingSequence(
- com.google.showcase.v1beta1.CreateStreamingSequenceRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.CreateStreamingSequenceRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreateStreamingSequenceMethod(), getCallOptions(), request);
}
@@ -633,8 +631,9 @@ public com.google.showcase.v1beta1.StreamingSequence createStreamingSequence(
*
*/
public com.google.showcase.v1beta1.SequenceReport getSequenceReport(
- com.google.showcase.v1beta1.GetSequenceReportRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.GetSequenceReportRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetSequenceReportMethod(), getCallOptions(), request);
}
@@ -646,8 +645,9 @@ public com.google.showcase.v1beta1.SequenceReport getSequenceReport(
*
*/
public com.google.showcase.v1beta1.StreamingSequenceReport getStreamingSequenceReport(
- com.google.showcase.v1beta1.GetStreamingSequenceReportRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.GetStreamingSequenceReportRequest request)
+ throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetStreamingSequenceReportMethod(), getCallOptions(), request);
}
@@ -659,8 +659,8 @@ public com.google.showcase.v1beta1.StreamingSequenceReport getStreamingSequenceR
*
*/
public com.google.protobuf.Empty attemptSequence(
- com.google.showcase.v1beta1.AttemptSequenceRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.AttemptSequenceRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getAttemptSequenceMethod(), getCallOptions(), request);
}
diff --git a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestingGrpc.java b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestingGrpc.java
index 6b4f09524f..36f60a584b 100644
--- a/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestingGrpc.java
+++ b/java-showcase/grpc-gapic-showcase-v1beta1/src/main/java/com/google/showcase/v1beta1/TestingGrpc.java
@@ -28,9 +28,6 @@
* 2) [Nonsense][]: `pokemon/*/psychic/*`
*
*/
-@javax.annotation.Generated(
- value = "by gRPC proto compiler",
- comments = "Source: schema/google/showcase/v1beta1/testing.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class TestingGrpc {
@@ -780,8 +777,8 @@ protected TestingBlockingV2Stub build(
*
*/
public com.google.showcase.v1beta1.Session createSession(
- com.google.showcase.v1beta1.CreateSessionRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.CreateSessionRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getCreateSessionMethod(), getCallOptions(), request);
}
@@ -793,8 +790,8 @@ public com.google.showcase.v1beta1.Session createSession(
*
*/
public com.google.showcase.v1beta1.Session getSession(
- com.google.showcase.v1beta1.GetSessionRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.GetSessionRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getGetSessionMethod(), getCallOptions(), request);
}
@@ -806,8 +803,8 @@ public com.google.showcase.v1beta1.Session getSession(
*
*/
public com.google.showcase.v1beta1.ListSessionsResponse listSessions(
- com.google.showcase.v1beta1.ListSessionsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.ListSessionsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListSessionsMethod(), getCallOptions(), request);
}
@@ -819,8 +816,8 @@ public com.google.showcase.v1beta1.ListSessionsResponse listSessions(
*
*/
public com.google.protobuf.Empty deleteSession(
- com.google.showcase.v1beta1.DeleteSessionRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.DeleteSessionRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeleteSessionMethod(), getCallOptions(), request);
}
@@ -834,8 +831,8 @@ public com.google.protobuf.Empty deleteSession(
*
*/
public com.google.showcase.v1beta1.ReportSessionResponse reportSession(
- com.google.showcase.v1beta1.ReportSessionRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.ReportSessionRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getReportSessionMethod(), getCallOptions(), request);
}
@@ -847,8 +844,8 @@ public com.google.showcase.v1beta1.ReportSessionResponse reportSession(
*
*/
public com.google.showcase.v1beta1.ListTestsResponse listTests(
- com.google.showcase.v1beta1.ListTestsRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.ListTestsRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getListTestsMethod(), getCallOptions(), request);
}
@@ -863,8 +860,8 @@ public com.google.showcase.v1beta1.ListTestsResponse listTests(
*
*/
public com.google.protobuf.Empty deleteTest(
- com.google.showcase.v1beta1.DeleteTestRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.DeleteTestRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getDeleteTestMethod(), getCallOptions(), request);
}
@@ -878,8 +875,8 @@ public com.google.protobuf.Empty deleteTest(
*
*/
public com.google.showcase.v1beta1.VerifyTestResponse verifyTest(
- com.google.showcase.v1beta1.VerifyTestRequest request) {
- return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ com.google.showcase.v1beta1.VerifyTestRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
getChannel(), getVerifyTestMethod(), getCallOptions(), request);
}
}