@@ -3,7 +3,6 @@ package com.google.showcase.grpcrest.v1beta1.stub;
3
3
import static com.google.showcase.grpcrest.v1beta1.EchoClient.PagedExpandPagedResponse;
4
4
import static com.google.showcase.grpcrest.v1beta1.EchoClient.SimplePagedExpandPagedResponse;
5
5
6
- import com.google.api.client.http.HttpMethods;
7
6
import com.google.api.core.BetaApi;
8
7
import com.google.api.core.InternalApi;
9
8
import com.google.api.gax.core.BackgroundResource;
@@ -60,7 +59,7 @@ public class HttpJsonEchoStub extends EchoStub {
60
59
private static final ApiMethodDescriptor<EchoRequest, EchoResponse> echoMethodDescriptor =
61
60
ApiMethodDescriptor.<EchoRequest, EchoResponse>newBuilder()
62
61
.setFullMethodName("google.showcase.grpcrest.v1beta1.Echo/Echo")
63
- .setHttpMethod(HttpMethods. POST)
62
+ .setHttpMethod(" POST" )
64
63
.setType(ApiMethodDescriptor.MethodType.UNARY)
65
64
.setRequestFormatter(
66
65
ProtoMessageRequestFormatter.<EchoRequest>newBuilder()
@@ -91,7 +90,7 @@ public class HttpJsonEchoStub extends EchoStub {
91
90
private static final ApiMethodDescriptor<ExpandRequest, EchoResponse> expandMethodDescriptor =
92
91
ApiMethodDescriptor.<ExpandRequest, EchoResponse>newBuilder()
93
92
.setFullMethodName("google.showcase.grpcrest.v1beta1.Echo/Expand")
94
- .setHttpMethod(HttpMethods. POST)
93
+ .setHttpMethod(" POST" )
95
94
.setType(ApiMethodDescriptor.MethodType.SERVER_STREAMING)
96
95
.setRequestFormatter(
97
96
ProtoMessageRequestFormatter.<ExpandRequest>newBuilder()
@@ -126,7 +125,7 @@ public class HttpJsonEchoStub extends EchoStub {
126
125
pagedExpandMethodDescriptor =
127
126
ApiMethodDescriptor.<PagedExpandRequest, PagedExpandResponse>newBuilder()
128
127
.setFullMethodName("google.showcase.grpcrest.v1beta1.Echo/PagedExpand")
129
- .setHttpMethod(HttpMethods. POST)
128
+ .setHttpMethod(" POST" )
130
129
.setType(ApiMethodDescriptor.MethodType.UNARY)
131
130
.setRequestFormatter(
132
131
ProtoMessageRequestFormatter.<PagedExpandRequest>newBuilder()
@@ -160,7 +159,7 @@ public class HttpJsonEchoStub extends EchoStub {
160
159
simplePagedExpandMethodDescriptor =
161
160
ApiMethodDescriptor.<PagedExpandRequest, PagedExpandResponse>newBuilder()
162
161
.setFullMethodName("google.showcase.grpcrest.v1beta1.Echo/SimplePagedExpand")
163
- .setHttpMethod(HttpMethods. POST)
162
+ .setHttpMethod(" POST" )
164
163
.setType(ApiMethodDescriptor.MethodType.UNARY)
165
164
.setRequestFormatter(
166
165
ProtoMessageRequestFormatter.<PagedExpandRequest>newBuilder()
@@ -193,7 +192,7 @@ public class HttpJsonEchoStub extends EchoStub {
193
192
private static final ApiMethodDescriptor<WaitRequest, Operation> waitMethodDescriptor =
194
193
ApiMethodDescriptor.<WaitRequest, Operation>newBuilder()
195
194
.setFullMethodName("google.showcase.grpcrest.v1beta1.Echo/Wait")
196
- .setHttpMethod(HttpMethods. POST)
195
+ .setHttpMethod(" POST" )
197
196
.setType(ApiMethodDescriptor.MethodType.UNARY)
198
197
.setRequestFormatter(
199
198
ProtoMessageRequestFormatter.<WaitRequest>newBuilder()
@@ -227,7 +226,7 @@ public class HttpJsonEchoStub extends EchoStub {
227
226
private static final ApiMethodDescriptor<BlockRequest, BlockResponse> blockMethodDescriptor =
228
227
ApiMethodDescriptor.<BlockRequest, BlockResponse>newBuilder()
229
228
.setFullMethodName("google.showcase.grpcrest.v1beta1.Echo/Block")
230
- .setHttpMethod(HttpMethods. POST)
229
+ .setHttpMethod(" POST" )
231
230
.setType(ApiMethodDescriptor.MethodType.UNARY)
232
231
.setRequestFormatter(
233
232
ProtoMessageRequestFormatter.<BlockRequest>newBuilder()
@@ -258,7 +257,7 @@ public class HttpJsonEchoStub extends EchoStub {
258
257
private static final ApiMethodDescriptor<EchoRequest, Object> collideNameMethodDescriptor =
259
258
ApiMethodDescriptor.<EchoRequest, Object>newBuilder()
260
259
.setFullMethodName("google.showcase.grpcrest.v1beta1.Echo/CollideName")
261
- .setHttpMethod(HttpMethods. POST)
260
+ .setHttpMethod(" POST" )
262
261
.setType(ApiMethodDescriptor.MethodType.UNARY)
263
262
.setRequestFormatter(
264
263
ProtoMessageRequestFormatter.<EchoRequest>newBuilder()
@@ -289,7 +288,7 @@ public class HttpJsonEchoStub extends EchoStub {
289
288
private static final ApiMethodDescriptor<EchoRequest, Object> nestedBindingMethodDescriptor =
290
289
ApiMethodDescriptor.<EchoRequest, Object>newBuilder()
291
290
.setFullMethodName("google.showcase.grpcrest.v1beta1.Echo/NestedBinding")
292
- .setHttpMethod(HttpMethods. POST)
291
+ .setHttpMethod(" POST" )
293
292
.setType(ApiMethodDescriptor.MethodType.UNARY)
294
293
.setRequestFormatter(
295
294
ProtoMessageRequestFormatter.<EchoRequest>newBuilder()
0 commit comments