Skip to content

Commit 3c63771

Browse files
committed
Generated service with blocking stream methods.
1 parent 7248099 commit 3c63771

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

s2a/src/generated/main/grpc/io/grpc/s2a/handshaker/S2AServiceGrpc.java

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,21 @@ public S2AServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callO
6060
return S2AServiceStub.newStub(factory, channel);
6161
}
6262

63+
/**
64+
* Creates a new blocking-style stub that supports all types of calls on the service
65+
*/
66+
public static S2AServiceBlockingV2Stub newBlockingV2Stub(
67+
io.grpc.Channel channel) {
68+
io.grpc.stub.AbstractStub.StubFactory<S2AServiceBlockingV2Stub> factory =
69+
new io.grpc.stub.AbstractStub.StubFactory<S2AServiceBlockingV2Stub>() {
70+
@java.lang.Override
71+
public S2AServiceBlockingV2Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
72+
return new S2AServiceBlockingV2Stub(channel, callOptions);
73+
}
74+
};
75+
return S2AServiceBlockingV2Stub.newStub(factory, channel);
76+
}
77+
6378
/**
6479
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
6580
*/
@@ -149,6 +164,35 @@ public io.grpc.stub.StreamObserver<io.grpc.s2a.handshaker.SessionReq> setUpSessi
149164
/**
150165
* A stub to allow clients to do synchronous rpc calls to service S2AService.
151166
*/
167+
public static final class S2AServiceBlockingV2Stub
168+
extends io.grpc.stub.AbstractBlockingStub<S2AServiceBlockingV2Stub> {
169+
private S2AServiceBlockingV2Stub(
170+
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
171+
super(channel, callOptions);
172+
}
173+
174+
@java.lang.Override
175+
protected S2AServiceBlockingV2Stub build(
176+
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
177+
return new S2AServiceBlockingV2Stub(channel, callOptions);
178+
}
179+
180+
/**
181+
* <pre>
182+
* SetUpSession is a bidirectional stream used by applications to offload
183+
* operations from the TLS handshake.
184+
* </pre>
185+
*/
186+
public io.grpc.stub.BlockingClientCall<io.grpc.s2a.handshaker.SessionReq, io.grpc.s2a.handshaker.SessionResp>
187+
setUpSession() {
188+
return io.grpc.stub.ClientCalls.blockingBidiStreamingCall(
189+
getChannel(), getSetUpSessionMethod(), getCallOptions());
190+
}
191+
}
192+
193+
/**
194+
* A stub to allow clients to do llimited synchronous rpc calls to service S2AService.
195+
*/
152196
public static final class S2AServiceBlockingStub
153197
extends io.grpc.stub.AbstractBlockingStub<S2AServiceBlockingStub> {
154198
private S2AServiceBlockingStub(

0 commit comments

Comments
 (0)