Home
last modified time | relevance | path

Searched refs:HelloReply (Results 1 – 25 of 91) sorted by relevance

1234

/external/grpc-grpc-java/examples/android/clientcache/app/src/test/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptorTest.java25 import io.grpc.examples.helloworld.HelloReply;
51 public void sayHello(HelloRequest req, StreamObserver<HelloReply> responseObserver) {
52 HelloReply reply =
53 HelloReply.newBuilder().setMessage("Hello " + req.getName() + " " + count++).build();
59 public void sayAnotherHello(HelloRequest req, StreamObserver<HelloReply> responseObserver) {
60 HelloReply reply =
61 HelloReply.newBuilder()
74 public void sayHello(HelloRequest req, StreamObserver<HelloReply> responseObserver) {
75 HelloReply reply =
76 HelloReply.newBuilder().setMessage("Hey " + req.getName() + " " + count++).build();
[all …]
/external/grpc-grpc/examples/node/static_codegen/
Dhelloworld_pb.js184 proto.helloworld.HelloReply = function(opt_data) { class in proto.helloworld
187 goog.inherits(proto.helloworld.HelloReply, jspb.Message);
189 proto.helloworld.HelloReply.displayName = 'proto.helloworld.HelloReply';
204 proto.helloworld.HelloReply.prototype.toObject = function(opt_includeInstance) {
205 return proto.helloworld.HelloReply.toObject(opt_includeInstance, this);
217 proto.helloworld.HelloReply.toObject = function(includeInstance, msg) {
235 proto.helloworld.HelloReply.deserializeBinary = function(bytes) {
237 var msg = new proto.helloworld.HelloReply;
238 return proto.helloworld.HelloReply.deserializeBinaryFromReader(msg, reader);
249 proto.helloworld.HelloReply.deserializeBinaryFromReader = function(msg, reader) {
[all …]
Dhelloworld_grpc_pb.js23 if (!(arg instanceof helloworld_pb.HelloReply)) {
30 return helloworld_pb.HelloReply.deserializeBinary(new Uint8Array(buffer_arg));
53 responseType: helloworld_pb.HelloReply,
/external/grpc-grpc/examples/csharp/HelloworldXamarin/HelloworldXamarin/
DHelloworld.cs35 …ew pbr::GeneratedClrTypeInfo(typeof(global::Helloworld.HelloReply), global::Helloworld.HelloReply.… in HelloworldReflection()
165 public sealed partial class HelloReply : pb::IMessage<HelloReply> { class
166 …ate static readonly pb::MessageParser<HelloReply> _parser = new pb::MessageParser<HelloReply>(() =…
168 public static pb::MessageParser<HelloReply> Parser { get { return _parser; } }
181 public HelloReply() { in HelloReply() method in Helloworld.HelloReply
188 public HelloReply(HelloReply other) : this() { in HelloReply() method in Helloworld.HelloReply
193 public HelloReply Clone() { in Clone()
194 return new HelloReply(this); in Clone()
210 return Equals(other as HelloReply); in Equals()
214 public bool Equals(HelloReply other) { in Equals()
[all …]
DHelloworldGrpc.cs35HelloReply> __Marshaller_HelloReply = grpc::Marshallers.Create((arg) => global::Google.Protobuf.Me…
37 …, global::Helloworld.HelloReply> __Method_SayHello = new grpc::Method<global::Helloworld.HelloRequ…
59 …public virtual global::System.Threading.Tasks.Task<global::Helloworld.HelloReply> SayHello(global:… in SayHello()
97 …public virtual global::Helloworld.HelloReply SayHello(global::Helloworld.HelloRequest request, grp… in SayHello()
107 …public virtual global::Helloworld.HelloReply SayHello(global::Helloworld.HelloRequest request, grp… in SayHello()
119 …public virtual grpc::AsyncUnaryCall<global::Helloworld.HelloReply> SayHelloAsync(global::Helloworl… in SayHelloAsync()
129 …public virtual grpc::AsyncUnaryCall<global::Helloworld.HelloReply> SayHelloAsync(global::Helloworl… in SayHelloAsync()
/external/grpc-grpc/examples/csharp/HelloworldLegacyCsproj/Greeter/
DHelloworld.cs37 …ew pbr::GeneratedClrTypeInfo(typeof(global::Helloworld.HelloReply), global::Helloworld.HelloReply.… in HelloworldReflection()
179 public sealed partial class HelloReply : pb::IMessage<HelloReply> { class
180 …ate static readonly pb::MessageParser<HelloReply> _parser = new pb::MessageParser<HelloReply>(() =…
183 public static pb::MessageParser<HelloReply> Parser { get { return _parser; } }
196 public HelloReply() { in HelloReply() method in Helloworld.HelloReply
203 public HelloReply(HelloReply other) : this() { in HelloReply() method in Helloworld.HelloReply
209 public HelloReply Clone() { in Clone()
210 return new HelloReply(this); in Clone()
226 return Equals(other as HelloReply); in Equals()
230 public bool Equals(HelloReply other) { in Equals()
[all …]
DHelloworldGrpc.cs34HelloReply> __Marshaller_helloworld_HelloReply = grpc::Marshallers.Create((arg) => global::Google.…
36 …, global::Helloworld.HelloReply> __Method_SayHello = new grpc::Method<global::Helloworld.HelloRequ…
58 …public virtual global::System.Threading.Tasks.Task<global::Helloworld.HelloReply> SayHello(global:… in SayHello()
96 …public virtual global::Helloworld.HelloReply SayHello(global::Helloworld.HelloRequest request, grp… in SayHello()
106 …public virtual global::Helloworld.HelloReply SayHello(global::Helloworld.HelloRequest request, grp… in SayHello()
118 …public virtual grpc::AsyncUnaryCall<global::Helloworld.HelloReply> SayHelloAsync(global::Helloworl… in SayHelloAsync()
128 …public virtual grpc::AsyncUnaryCall<global::Helloworld.HelloReply> SayHelloAsync(global::Helloworl… in SayHelloAsync()
/external/grpc-grpc/examples/csharp/Helloworld/Greeter/
DHelloworld.cs37 …ew pbr::GeneratedClrTypeInfo(typeof(global::Helloworld.HelloReply), global::Helloworld.HelloReply.… in HelloworldReflection()
179 public sealed partial class HelloReply : pb::IMessage<HelloReply> { class
180 …ate static readonly pb::MessageParser<HelloReply> _parser = new pb::MessageParser<HelloReply>(() =…
183 public static pb::MessageParser<HelloReply> Parser { get { return _parser; } }
196 public HelloReply() { in HelloReply() method in Helloworld.HelloReply
203 public HelloReply(HelloReply other) : this() { in HelloReply() method in Helloworld.HelloReply
209 public HelloReply Clone() { in Clone()
210 return new HelloReply(this); in Clone()
226 return Equals(other as HelloReply); in Equals()
230 public bool Equals(HelloReply other) { in Equals()
[all …]
DHelloworldGrpc.cs34HelloReply> __Marshaller_helloworld_HelloReply = grpc::Marshallers.Create((arg) => global::Google.…
36 …, global::Helloworld.HelloReply> __Method_SayHello = new grpc::Method<global::Helloworld.HelloRequ…
58 …public virtual global::System.Threading.Tasks.Task<global::Helloworld.HelloReply> SayHello(global:… in SayHello()
96 …public virtual global::Helloworld.HelloReply SayHello(global::Helloworld.HelloRequest request, grp… in SayHello()
106 …public virtual global::Helloworld.HelloReply SayHello(global::Helloworld.HelloRequest request, grp… in SayHello()
118 …public virtual grpc::AsyncUnaryCall<global::Helloworld.HelloReply> SayHelloAsync(global::Helloworl… in SayHelloAsync()
128 …public virtual grpc::AsyncUnaryCall<global::Helloworld.HelloReply> SayHelloAsync(global::Helloworl… in SayHelloAsync()
/external/flatbuffers/tests/FlatBuffers.GRPC.Swift/Sources/Model/
Dgreeter.grpc.swift24 …e<HelloRequest>, callOptions: CallOptions?) -> UnaryCall<Message<HelloRequest>,Message<HelloReply>> in SayHello()
25 …?, handler: @escaping (Message<HelloReply>) -> Void) -> ServerStreamingCall<Message<ManyHellosRequ… in SayHello()
37 …equest>, callOptions: CallOptions? = nil) -> UnaryCall<Message<HelloRequest>,Message<HelloReply>> { in SayHello()
41 …l, handler: @escaping (Message<HelloReply>) -> Void) -> ServerStreamingCall<Message<ManyHellosRequ… in SayHello()
47 …est: Message<HelloRequest>, context: StatusOnlyCallContext) -> EventLoopFuture<Message<HelloReply>> in SayHello()
48 …sage<ManyHellosRequest>, context: StreamingResponseCallContext<Message<HelloReply>>) -> EventLoopF… in SayHello()
Dgreeter.fbs1 table HelloReply {
15 SayHello(HelloRequest):HelloReply;
16 SayManyHellos(ManyHellosRequest):HelloReply (streaming: "server");
Dgreeter_generated.swift5 public struct HelloReply: FlatBufferObject { struct
11 …public static func getRootAsHelloReply(bb: ByteBuffer) -> HelloReply { return HelloReply(Table(bb:… in getRootAsHelloReply()
23 let __start = HelloReply.startHelloReply(fbb)
24 HelloReply.add(message: message, fbb)
25 return HelloReply.endHelloReply(fbb, start: __start)
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/errorhandling/
DErrorHandlingClient.java38 import io.grpc.examples.helloworld.HelloReply;
60 public void sayHello(HelloRequest request, StreamObserver<HelloReply> responseObserver) { in run()
94 ListenableFuture<HelloReply> response = in futureCallDirect()
112 ListenableFuture<HelloReply> response = in futureCallCallback()
119 new FutureCallback<HelloReply>() { in futureCallCallback()
121 public void onSuccess(@Nullable HelloReply result) { in futureCallCallback()
145 StreamObserver<HelloReply> responseObserver = new StreamObserver<HelloReply>() { in asyncCall()
148 public void onNext(HelloReply value) { in asyncCall()
179 ClientCall<HelloRequest, HelloReply> call = in advancedAsyncCall()
184 call.start(new ClientCall.Listener<HelloReply>() { in advancedAsyncCall()
DDetailErrorSample.java40 import io.grpc.examples.helloworld.HelloReply;
78 public void sayHello(HelloRequest request, StreamObserver<HelloReply> responseObserver) { in run()
124 ListenableFuture<HelloReply> response = in futureCallDirect()
139 ListenableFuture<HelloReply> response = in futureCallCallback()
146 new FutureCallback<HelloReply>() { in futureCallCallback()
148 public void onSuccess(@Nullable HelloReply result) { in futureCallCallback()
169 StreamObserver<HelloReply> responseObserver = new StreamObserver<HelloReply>() { in asyncCall()
172 public void onNext(HelloReply value) { in asyncCall()
200 ClientCall<HelloRequest, HelloReply> call = in advancedAsyncCall()
205 call.start(new ClientCall.Listener<HelloReply>() { in advancedAsyncCall()
/external/flatbuffers/tests/FlatBuffers.GRPC.Swift/Sources/server/
Dmain.swift25 var hellos: [Message<HelloReply>] = []
32 let root = HelloReply.createHelloReply(builder, offsetOfMessage: off)
41 ) -> EventLoopFuture<Message<HelloReply>> {
46 let root = HelloReply.createHelloReply(builder, offsetOfMessage: off)
48 return context.eventLoop.makeSucceededFuture(Message<HelloReply>(builder: &builder))
53 context: StreamingResponseCallContext<Message<HelloReply>>
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/
DHelloJsonServer.java26 import io.grpc.examples.helloworld.HelloReply;
95 private void sayHello(HelloRequest req, StreamObserver<HelloReply> responseObserver) { in sayHello()
96 HelloReply reply = HelloReply.newBuilder().setMessage("Hello " + req.getName()).build(); in sayHello()
107 new UnaryMethod<HelloRequest, HelloReply>() { in bindService()
110 HelloRequest request, StreamObserver<HelloReply> responseObserver) { in bindService()
DHelloJsonClient.java28 import io.grpc.examples.helloworld.HelloReply;
67 HelloReply response; in greet()
97 static final MethodDescriptor<HelloRequest, HelloReply> METHOD_SAY_HELLO =
101 JsonMarshaller.jsonMarshaller(HelloReply.getDefaultInstance()))
117 public HelloReply sayHello(HelloRequest request) { in sayHello()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/manualflowcontrol/
DManualFlowControlServer.java37 …public StreamObserver<HelloRequest> sayHelloStreaming(final StreamObserver<HelloReply> responseObs… in main()
40 final ServerCallStreamObserver<HelloReply> serverCallStreamObserver = in main()
41 (ServerCallStreamObserver<HelloReply>) responseObserver; in main()
85 HelloReply reply = HelloReply.newBuilder().setMessage(message).build(); in main()
/external/flatbuffers/grpc/samples/greeter/
Dgreeter.fbs1 table HelloReply {
15 SayHello(HelloRequest):HelloReply;
16 SayManyHellos(ManyHellosRequest):HelloReply (streaming: "server");
Dserver.cpp14 flatbuffers::grpc::Message<HelloReply> *response_msg) override { in SayHello()
34 *response_msg = mb_.ReleaseMessage<HelloReply>(); in SayHello()
44 grpc::ServerWriter<flatbuffers::grpc::Message<HelloReply>> *writer) in SayManyHellos()
56 writer->Write(mb_.ReleaseMessage<HelloReply>()); in SayManyHellos()
Dclient.cpp22 flatbuffers::grpc::Message<HelloReply> response_msg; in SayHello()
28 const HelloReply *response = response_msg.GetRoot(); in SayHello()
46 flatbuffers::grpc::Message<HelloReply> response_msg; in SayManyHellos()
52 const HelloReply *response = response_msg.GetRoot(); in SayManyHellos()
/external/protobuf/php/tests/proto/
Dtest_service.proto8 rpc SayHello (HelloRequest) returns (HelloReply) {}
9 rpc SayHelloAgain (HelloRequest) returns (HelloReply) {}
16 message HelloReply { message
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/header/
DCustomHeaderServer.java23 import io.grpc.examples.helloworld.HelloReply;
84 public void sayHello(HelloRequest req, StreamObserver<HelloReply> responseObserver) { in sayHello()
85 HelloReply reply = HelloReply.newBuilder().setMessage("Hello " + req.getName()).build(); in sayHello()
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/proto/
Dhelloworld.proto26 rpc SayHello (HelloRequest) returns (HelloReply) {}
28 rpc SayAnotherHello (HelloRequest) returns (HelloReply) {}
33 rpc SayHello (HelloRequest) returns (HelloReply) {}
42 message HelloReply { message
/external/grpc-grpc/examples/cpp/helloworld/
Dgreeter_async_client.cc34 using helloworld::HelloReply;
50 HelloReply reply; in SayHello()
67 std::unique_ptr<ClientAsyncResponseReader<HelloReply> > rpc( in SayHello()

1234