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 124
124
<artifactId >proto-google-iam-v3beta</artifactId >
125
125
<version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:proto-google-iam-v3beta:current} -->
126
126
</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 >
127
137
128
138
<!-- Following test deps are kept to keep them consistent with versions above -->
129
139
<dependency >
151
161
<artifactId >grpc-google-iam-v3beta</artifactId >
152
162
<version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:grpc-google-iam-v3beta:current} -->
153
163
</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 >
154
174
</dependencies >
155
175
156
176
</dependencyManagement >
Original file line number Diff line number Diff line change 142
142
<artifactId >grpc-google-iam-v3</artifactId >
143
143
<version >1.56.1-SNAPSHOT</version ><!-- {x-version-update:grpc-google-iam-v3:current} -->
144
144
</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 >
145
155
<dependency >
146
156
<groupId >javax.annotation</groupId >
147
157
<artifactId >javax.annotation-api</artifactId >
Original file line number Diff line number Diff line change @@ -110,6 +110,18 @@ public class GrpcEchoStub extends EchoStub {
110
110
.setSampledToLocalTracing (true )
111
111
.build ();
112
112
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
+
113
125
private static final MethodDescriptor <ExpandRequest , EchoResponse > expandMethodDescriptor =
114
126
MethodDescriptor .<ExpandRequest , EchoResponse >newBuilder ()
115
127
.setType (MethodDescriptor .MethodType .SERVER_STREAMING )
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ public void failEchoWithDetailsTest() throws Exception {
234
234
FailEchoWithDetailsResponse actualResponse = client .failEchoWithDetails (request );
235
235
Assert .assertEquals (expectedResponse , actualResponse );
236
236
237
- List <AbstractMessage > actualRequests = mockEcho .getRequests ();
237
+ List <Message > actualRequests = mockEcho .getRequests ();
238
238
Assert .assertEquals (1 , actualRequests .size ());
239
239
FailEchoWithDetailsRequest actualRequest = ((FailEchoWithDetailsRequest ) actualRequests .get (0 ));
240
240
You can’t perform that action at this time.
0 commit comments