/external/grpc-grpc-java/examples/android/clientcache/app/src/test/java/io/grpc/clientcacheexample/ |
D | SafeMethodCachingInterceptorTest.java | 25 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/ |
D | helloworld_pb.js | 184 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 …]
|
D | helloworld_grpc_pb.js | 23 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/ |
D | Helloworld.cs | 35 …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 …]
|
D | HelloworldGrpc.cs | 35 …HelloReply> __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/Helloworld/Greeter/ |
D | Helloworld.cs | 37 …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 …]
|
D | HelloworldGrpc.cs | 34 …HelloReply> __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/HelloworldLegacyCsproj/Greeter/ |
D | Helloworld.cs | 37 …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 …]
|
D | HelloworldGrpc.cs | 34 …HelloReply> __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-java/examples/src/main/java/io/grpc/examples/errorhandling/ |
D | ErrorHandlingClient.java | 38 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()
|
D | DetailErrorSample.java | 40 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/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/ |
D | HelloJsonServer.java | 26 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()
|
D | HelloJsonClient.java | 28 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/ |
D | ManualFlowControlServer.java | 37 …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/ |
D | greeter.fbs | 1 table HelloReply { 15 SayHello(HelloRequest):HelloReply; 16 SayManyHellos(ManyHellosRequest):HelloReply (streaming: "server");
|
D | server.cpp | 14 flatbuffers::grpc::Message<HelloReply> *response_msg) override { in SayHello() 33 *response_msg = mb_.ReleaseMessage<HelloReply>(); in SayHello() 43 grpc::ServerWriter<flatbuffers::grpc::Message<HelloReply>> *writer) in SayManyHellos() 55 writer->Write(mb_.ReleaseMessage<HelloReply>()); in SayManyHellos()
|
D | client.cpp | 22 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/ |
D | test_service.proto | 8 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/ |
D | CustomHeaderServer.java | 23 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/ |
D | helloworld.proto | 26 rpc SayHello (HelloRequest) returns (HelloReply) {} 28 rpc SayAnotherHello (HelloRequest) returns (HelloReply) {} 33 rpc SayHello (HelloRequest) returns (HelloReply) {} 42 message HelloReply { message
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworldtls/ |
D | HelloWorldServerTls.java | 21 import io.grpc.examples.helloworld.HelloReply; 130 public void sayHello(HelloRequest req, StreamObserver<HelloReply> responseObserver) { in sayHello() 131 HelloReply reply = HelloReply.newBuilder().setMessage("Hello " + req.getName()).build(); in sayHello()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/helloworld/ |
D | HelloWorldServer.java | 79 public void sayHello(HelloRequest req, StreamObserver<HelloReply> responseObserver) { in sayHello() 80 HelloReply reply = HelloReply.newBuilder().setMessage("Hello " + req.getName()).build(); in sayHello()
|
/external/grpc-grpc/examples/cpp/helloworld/ |
D | greeter_async_client.cc | 34 using helloworld::HelloReply; 50 HelloReply reply; in SayHello() 67 std::unique_ptr<ClientAsyncResponseReader<HelloReply> > rpc( in SayHello()
|
D | greeter_async_client2.cc | 35 using helloworld::HelloReply; 99 HelloReply reply; 109 std::unique_ptr<ClientAsyncResponseReader<HelloReply>> response_reader;
|
D | greeter_async_server.cc | 36 using helloworld::HelloReply; 129 HelloReply reply_; 132 ServerAsyncResponseWriter<HelloReply> responder_;
|