Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 32) sorted by relevance

12

/tonic/tests/wellknown-compiled/proto/
H A Dgoogle.proto5 import "google/protobuf/any.proto";
6 import "google/protobuf/api.proto";
7 import "google/protobuf/descriptor.proto";
8 import "google/protobuf/duration.proto";
9 import "google/protobuf/empty.proto";
10 import "google/protobuf/field_mask.proto";
11 import "google/protobuf/source_context.proto";
12 import "google/protobuf/struct.proto";
13 import "google/protobuf/timestamp.proto";
14 import "google/protobuf/type.proto";
[all …]
H A Dtest.proto4 import "google/protobuf/empty.proto";
/tonic/tonic-build/
H A DREADME.md3 Compiles proto files via prost and generates service stubs and proto definitions for use with tonic.
25 tonic_build::compile_protos("proto/service.proto")?;
37 &["proto/helloworld/helloworld.proto"],
38 &["proto/helloworld"],
61 │   │   ├── client.proto
63 │   │   ├── http.proto
64 │   │   └── resource.proto
67 │   ├── pubsub.proto
68 │   └── schema.proto
78 &["proto/googleapis/google/pubsub/v1/pubsub.proto"],
[all …]
/tonic/examples/src/reflection/
H A Dserver.rs4 mod proto { module
15 impl proto::greeter_server::Greeter for MyGreeter {
18 request: Request<proto::HelloRequest>, in say_hello()
19 ) -> Result<Response<proto::HelloReply>, Status> { in say_hello()
22 let reply = proto::HelloReply { in say_hello()
32 .register_encoded_file_descriptor_set(proto::FILE_DESCRIPTOR_SET) in main()
41 .add_service(proto::greeter_server::GreeterServer::new(greeter)) in main()
/tonic/interop/
H A Dbuild.rs2 let proto = "proto/grpc/testing/test.proto"; in main() localVariable
4 tonic_build::compile_protos(proto).unwrap(); in main()
7 println!("cargo:rerun-if-changed={}", proto); in main()
/tonic/tests/wellknown/proto/
H A Dwellknown.proto5 import "google/protobuf/empty.proto";
6 import "google/protobuf/wrappers.proto";
7 import "google/protobuf/any.proto";
/tonic/examples/
H A Dhelloworld-tutorial.md34 [protocol buffers]. We will keep our `.proto` files in a directory in our project's root.
35 Note that Tonic does not really care where our `.proto` definitions live.
38 $ mkdir proto
39 $ touch proto/helloworld.proto
49 ```proto
56 ```proto
65 ```proto
79 ```proto
131 tonic_build::compile_protos("proto/helloworld.proto")?;
151 …tonic::include_proto!("helloworld"); // The string specified here must match the proto package name
[all …]
H A Drouteguide-tutorial.md6 - Define a service in a `.proto` file.
90 $ mkdir proto && touch proto/route_guide.proto
94 [examples/proto/routeguide/route_guide.proto][routeguide-proto].
98 ```proto
110 ```proto
119 ```proto
131 ```proto
143 ```proto
151 ```proto
162 [routeguide-proto]: https://github.com/hyperium/tonic/blob/master/examples/proto/routeguide/route_g…
[all …]
/tonic/tonic-reflection/proto/
H A Dreflection_v1.proto19 // The canonical version of this proto can be found at
20 // https://github.com/grpc/grpc-proto/blob/master/grpc/reflection/v1/reflection.proto
45 // Find a proto file by the file name.
48 // Find the proto file that declares the given fully-qualified symbol name.
53 // Find the proto file which defines an extension extending the given
112 // descriptor.proto, which uses proto2 only features, by making them opaque
H A Dreflection_v1alpha.proto35 // Find a proto file by the file name.
38 // Find the proto file that declares the given fully-qualified symbol name.
43 // Find the proto file which defines an extension extending the given
102 // descriptor.proto, which uses proto2 only features, by making them opaque
/tonic/tests/included_service/proto/
H A Dincluder.proto11 import "includee.proto";
/tonic/examples/proto/googleapis/google/api/
H A Dannotations.proto19 import "google/api/http.proto";
20 import "google/protobuf/descriptor.proto";
H A Dclient.proto19 import "google/protobuf/descriptor.proto";
30 // In client libraries, each proto RPC corresponds to one or more methods
40 // For example, the proto RPC and annotation:
H A Dhttp.proto268 // proto message.
270 // As an alternative to annotating your proto file, you can configure gRPC
273 // effect as the proto annotation. This can be particularly useful if you
274 // have a proto that is reused in multiple services. Note that any transcoding
276 // configuration in the proto.
289 // proto to JSON conversion must follow the [proto3
/tonic/tests/service_named_result/proto/
H A Dresult.proto3 import "google/protobuf/empty.proto";
/tonic/tests/extern_path/proto/my_application/
H A Dservice.proto11 import "uuid.proto";
/tonic/tonic-health/proto/
H A Dhealth.proto15 // The canonical version of this proto can be found at
16 // https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto
/tonic/tonic/benches-disabled/
H A DREADME.md14 4) The original proto files are in the `proto` directory for reference.
/tonic/tests/default_stubs/proto/
H A Dtest.proto5 import "google/protobuf/empty.proto";
H A Dtest_default.proto5 import "google/protobuf/empty.proto";
/tonic/tests/compression/proto/
H A Dtest.proto5 import "google/protobuf/empty.proto";
/tonic/examples/proto/googleapis/google/pubsub/v1/
H A Dschema.proto19 import "google/api/annotations.proto";
20 import "google/api/client.proto";
21 import "google/api/field_behavior.proto";
22 import "google/api/resource.proto";
23 import "google/protobuf/empty.proto";
/tonic/interop/proto/grpc/testing/
H A Dtest.proto20 import "empty.proto";
21 import "messages.proto";
/tonic/tonic-types/
H A DREADME.md105 at [error_details.proto].
131 [error_details.proto]: https://github.com/googleapis/googleapis/blob/master/google/rpc/error_detail…
/tonic/tonic-types/proto/
H A Dstatus.proto19 import "google/protobuf/any.proto";

12