File tree Expand file tree Collapse file tree 4 files changed +43
-1
lines changed
java-showcase/gapic-showcase/src
main/java/com/google/showcase/v1beta1/stub
test/java/com/google/showcase/v1beta1 Expand file tree Collapse file tree 4 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 124124 <artifactId >proto-google-iam-v3beta</artifactId >
125125 <version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:proto-google-iam-v3beta:current} -->
126126 </dependency >
127+ <dependency >
128+ <groupId >com.google.api.grpc</groupId >
129+ <artifactId >proto-google-iam-v3</artifactId >
130+ <version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:proto-google-iam-v3:current} -->
131+ </dependency >
132+ <dependency >
133+ <groupId >com.google.api.grpc</groupId >
134+ <artifactId >proto-google-iam-v3beta</artifactId >
135+ <version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:proto-google-iam-v3beta:current} -->
136+ </dependency >
127137
128138 <!-- Following test deps are kept to keep them consistent with versions above -->
129139 <dependency >
151161 <artifactId >grpc-google-iam-v3beta</artifactId >
152162 <version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:grpc-google-iam-v3beta:current} -->
153163 </dependency >
164+ <dependency >
165+ <groupId >com.google.api.grpc</groupId >
166+ <artifactId >grpc-google-iam-v3</artifactId >
167+ <version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:grpc-google-iam-v3:current} -->
168+ </dependency >
169+ <dependency >
170+ <groupId >com.google.api.grpc</groupId >
171+ <artifactId >grpc-google-iam-v3beta</artifactId >
172+ <version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:grpc-google-iam-v3beta:current} -->
173+ </dependency >
154174 </dependencies >
155175
156176 </dependencyManagement >
Original file line number Diff line number Diff line change 142142 <artifactId >grpc-google-iam-v3</artifactId >
143143 <version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:grpc-google-iam-v3:current} -->
144144 </dependency >
145+ <dependency >
146+ <groupId >com.google.api.grpc</groupId >
147+ <artifactId >proto-google-iam-v3</artifactId >
148+ <version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:proto-google-iam-v3:current} -->
149+ </dependency >
150+ <dependency >
151+ <groupId >com.google.api.grpc</groupId >
152+ <artifactId >grpc-google-iam-v3</artifactId >
153+ <version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:grpc-google-iam-v3:current} -->
154+ </dependency >
145155 <dependency >
146156 <groupId >javax.annotation</groupId >
147157 <artifactId >javax.annotation-api</artifactId >
Original file line number Diff line number Diff line change @@ -110,6 +110,18 @@ public class GrpcEchoStub extends EchoStub {
110110 .setSampledToLocalTracing (true )
111111 .build ();
112112
113+ private static final MethodDescriptor <FailEchoWithDetailsRequest , FailEchoWithDetailsResponse >
114+ failEchoWithDetailsMethodDescriptor =
115+ MethodDescriptor .<FailEchoWithDetailsRequest , FailEchoWithDetailsResponse >newBuilder ()
116+ .setType (MethodDescriptor .MethodType .UNARY )
117+ .setFullMethodName ("google.showcase.v1beta1.Echo/FailEchoWithDetails" )
118+ .setRequestMarshaller (
119+ ProtoUtils .marshaller (FailEchoWithDetailsRequest .getDefaultInstance ()))
120+ .setResponseMarshaller (
121+ ProtoUtils .marshaller (FailEchoWithDetailsResponse .getDefaultInstance ()))
122+ .setSampledToLocalTracing (true )
123+ .build ();
124+
113125 private static final MethodDescriptor <ExpandRequest , EchoResponse > expandMethodDescriptor =
114126 MethodDescriptor .<ExpandRequest , EchoResponse >newBuilder ()
115127 .setType (MethodDescriptor .MethodType .SERVER_STREAMING )
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ public void failEchoWithDetailsTest() throws Exception {
234234 FailEchoWithDetailsResponse actualResponse = client .failEchoWithDetails (request );
235235 Assert .assertEquals (expectedResponse , actualResponse );
236236
237- List <AbstractMessage > actualRequests = mockEcho .getRequests ();
237+ List <Message > actualRequests = mockEcho .getRequests ();
238238 Assert .assertEquals (1 , actualRequests .size ());
239239 FailEchoWithDetailsRequest actualRequest = ((FailEchoWithDetailsRequest ) actualRequests .get (0 ));
240240
You can’t perform that action at this time.
0 commit comments