Home
last modified time | relevance | path

Searched refs:ServiceDescriptor (Results 1 – 25 of 125) sorted by relevance

12345

/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServerServiceDefinitionTest.java59 ServiceDescriptor sd = new ServiceDescriptor(serviceName); in noMethods()
69 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1, method2); in addMethod_twoArg()
89 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in addMethod_duplicateName()
99 ServiceDescriptor sd = new ServiceDescriptor(serviceName); in buildMisaligned_extraMethod()
108 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in buildMisaligned_diffMethodInstance()
117 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in buildMisaligned_missingMethod()
DServiceDescriptorTest.java47 new ServiceDescriptor(null, Collections.<MethodDescriptor<?, ?>>emptyList()); in failsOnNullName()
55 new ServiceDescriptor("name", (Collection<MethodDescriptor<?, ?>>) null); in failsOnNullMethods()
63 new ServiceDescriptor("name", (Collections.<MethodDescriptor<?, ?>>singletonList(null))); in failsOnNullMethod()
79 new ServiceDescriptor("name", descriptors); in failsOnNonMatchingNames()
101 new ServiceDescriptor("name", descriptors); in failsOnNonDuplicateNames()
106 ServiceDescriptor descriptor = new ServiceDescriptor("package.service", in toStringTest()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerServiceDefinition.java37 public static Builder builder(ServiceDescriptor serviceDescriptor) { in builder()
41 private final ServiceDescriptor serviceDescriptor;
45 ServiceDescriptor serviceDescriptor, Map<String, ServerMethodDefinition<?, ?>> methods) { in ServerServiceDefinition()
54 public ServiceDescriptor getServiceDescriptor() { in getServiceDescriptor()
80 private final ServiceDescriptor serviceDescriptor;
89 private Builder(ServiceDescriptor serviceDescriptor) { in Builder()
125 ServiceDescriptor serviceDescriptor = this.serviceDescriptor; in build()
132 serviceDescriptor = new ServiceDescriptor(serviceName, methodDescriptors); in build()
DServiceDescriptor.java37 public final class ServiceDescriptor { class
51 public ServiceDescriptor(String name, MethodDescriptor<?, ?>... methods) { in ServiceDescriptor() method in ServiceDescriptor
63 public ServiceDescriptor(String name, Collection<MethodDescriptor<?, ?>> methods) { in ServiceDescriptor() method in ServiceDescriptor
67 private ServiceDescriptor(Builder b) { in ServiceDescriptor() method in ServiceDescriptor
204 public ServiceDescriptor build() { in build()
205 return new ServiceDescriptor(this); in build()
/external/grpc-grpc/src/compiler/
Dobjective_c_generator.h28 using ::grpc::protobuf::ServiceDescriptor;
36 string GetProtocol(const ServiceDescriptor* service);
40 string GetInterface(const ServiceDescriptor* service);
44 string GetSource(const ServiceDescriptor* service);
Dcsharp_generator.cc34 using grpc::protobuf::ServiceDescriptor;
175 std::string GetServiceClassName(const ServiceDescriptor* service) { in GetServiceClassName()
179 std::string GetClientClassName(const ServiceDescriptor* service) { in GetClientClassName()
183 std::string GetServerClassName(const ServiceDescriptor* service) { in GetServerClassName()
293 const ServiceDescriptor* service) { in GetUsedMessages()
311 void GenerateMarshallerFields(Printer* out, const ServiceDescriptor* service) { in GenerateMarshallerFields()
350 const ServiceDescriptor* service) { in GenerateServiceDescriptorProperty()
365 void GenerateServerClass(Printer* out, const ServiceDescriptor* service) { in GenerateServerClass()
398 void GenerateClientStub(Printer* out, const ServiceDescriptor* service) { in GenerateClientStub()
580 void GenerateBindServiceMethod(Printer* out, const ServiceDescriptor* service) { in GenerateBindServiceMethod()
[all …]
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.h51 class ServiceDescriptor; variable
128 void PrintServiceDescriptor(const ServiceDescriptor& descriptor) const;
129 void PrintServiceClass(const ServiceDescriptor& descriptor) const;
130 void PrintServiceStub(const ServiceDescriptor& descriptor) const;
132 const ServiceDescriptor& descriptor) const ;
143 const ServiceDescriptor& descriptor) const;
/external/protobuf/src/google/protobuf/
Ddescriptor.h81 class ServiceDescriptor; variable
994 class LIBPROTOBUF_EXPORT ServiceDescriptor {
1062 ServiceDescriptor() {} in ServiceDescriptor() function
1066 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceDescriptor);
1083 const ServiceDescriptor* service() const;
1135 const ServiceDescriptor* service_;
1148 friend class ServiceDescriptor; variable
1209 const ServiceDescriptor* service(int index) const;
1242 const ServiceDescriptor* FindServiceByName(const string& name) const;
1304 ServiceDescriptor* services_;
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DMutableHandlerRegistryTest.java33 import io.grpc.ServiceDescriptor;
82 new ServiceDescriptor("basic", flowMethod)) in setUp()
91 new ServiceDescriptor("multi", coupleMethod, fewMethod)) in setUp()
171 new ServiceDescriptor("basic", anotherMethod)) in replaceAndLookup()
204 new ServiceDescriptor("basic")).build())); in removeMissingNameConflictFails()
230 new ServiceDescriptor("basic")).build())); in addReturnsPrevious()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_generator_factory.h42 class ServiceDescriptor; // descriptor.h variable
69 const ServiceDescriptor* descriptor) const = 0;
88 const ServiceDescriptor* descriptor) const;
Djava_service.h60 explicit ServiceGenerator(const ServiceDescriptor* descriptor);
69 const ServiceDescriptor* descriptor_;
77 explicit ImmutableServiceGenerator(const ServiceDescriptor* descriptor,
Djava_names.h49 class ServiceDescriptor; variable
80 string ClassName(const ServiceDescriptor* descriptor);
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DMethodDescriptor.cs41 private readonly ServiceDescriptor service;
48 public ServiceDescriptor Service { get { return service; } }
71 ServiceDescriptor parent, int index) in MethodDescriptor()
/external/nos/host/generic/libnos/generator/
Dmain.cpp34 using ::google::protobuf::ServiceDescriptor;
49 std::string validateServiceOptions(const ServiceDescriptor& service) { in validateServiceOptions()
118 void ForEachMethod(const ServiceDescriptor& service, in ForEachMethod()
131 void GenerateMockClient(Printer& printer, const ServiceDescriptor& service) { in GenerateMockClient()
165 void GenerateClientHeader(Printer& printer, const ServiceDescriptor& service) { in GenerateClientHeader()
221 void GenerateClientSource(Printer& printer, const ServiceDescriptor& service) { in GenerateClientSource()
/external/perfetto/src/ipc/protoc_plugin/
Dipc_generator.cc34 using google::protobuf::ServiceDescriptor;
125 void ForEachMethod(const ServiceDescriptor& svc, in ForEachMethod()
140 const ServiceDescriptor& svc, in GenerateServiceHeader()
186 const ServiceDescriptor& svc, in GenerateServiceCpp()
264 const ServiceDescriptor* svc = file->service(i); in Generate()
/external/grpc-grpc/test/cpp/util/
Dservice_describer.cc34 const grpc::protobuf::ServiceDescriptor* service_desc = in DescribeServiceList()
43 grpc::string DescribeService(const grpc::protobuf::ServiceDescriptor* service) { in DescribeService()
78 const grpc::protobuf::ServiceDescriptor* service) { in SummarizeService()
Dservice_describer.h31 grpc::string DescribeService(const grpc::protobuf::ServiceDescriptor* service);
35 grpc::string SummarizeService(const grpc::protobuf::ServiceDescriptor* service);
/external/grpc-grpc-java/protobuf/src/main/java/io/grpc/protobuf/
DProtoServiceDescriptorSupplier.java19 import com.google.protobuf.Descriptors.ServiceDescriptor;
30 ServiceDescriptor getServiceDescriptor(); in getServiceDescriptor()
/external/perfetto/include/perfetto/ipc/
Dservice.h27 class ServiceDescriptor; variable
36 virtual const ServiceDescriptor& GetDescriptor() = 0;
/external/grpc-grpc/src/csharp/Grpc.Reflection/
DReflectionServiceImpl.cs50 public ReflectionServiceImpl(IEnumerable<ServiceDescriptor> serviceDescriptors) in ReflectionServiceImpl()
59 …public ReflectionServiceImpl(params ServiceDescriptor[] serviceDescriptors) : this((IEnumerable<Se… in ReflectionServiceImpl()
/external/grpc-grpc-java/compiler/src/java_plugin/cpp/
Djava_generator.cpp31 using google::protobuf::ServiceDescriptor;
352 const ServiceDescriptor* service) { in GrpcWriteServiceDocComment()
373 const ServiceDescriptor* service, std::map<string, string>* vars, in PrintMethodFields()
591 static void PrintBindServiceMethodBody(const ServiceDescriptor* service,
598 const ServiceDescriptor* service, in PrintStub()
877 static void PrintMethodHandlerClass(const ServiceDescriptor* service, in PrintMethodHandlerClass()
988 static void PrintGetServiceDescriptorMethod(const ServiceDescriptor* service, in PrintGetServiceDescriptorMethod()
1089 static void PrintBindServiceMethodBody(const ServiceDescriptor* service, in PrintBindServiceMethodBody()
1146 static void PrintService(const ServiceDescriptor* service, in PrintService()
1274 void GenerateService(const ServiceDescriptor* service, in GenerateService()
[all …]
Djava_generator.h47 string ServiceClassName(const google::protobuf::ServiceDescriptor* service);
50 void GenerateService(const google::protobuf::ServiceDescriptor* service,
/external/grpc-grpc-java/grpclb/src/generated/main/grpc/io/grpc/lb/v1/
DLoadBalancerGrpc.java228 public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { in getServiceDescriptor()
253 private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
255 public static io.grpc.ServiceDescriptor getServiceDescriptor() { in getServiceDescriptor()
256 io.grpc.ServiceDescriptor result = serviceDescriptor; in getServiceDescriptor()
261 serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) in getServiceDescriptor()
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/reflection/v1alpha/
DServerReflectionGrpc.java230 public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { in getServiceDescriptor()
255 private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
257 public static io.grpc.ServiceDescriptor getServiceDescriptor() { in getServiceDescriptor()
258 io.grpc.ServiceDescriptor result = serviceDescriptor; in getServiceDescriptor()
263 serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) in getServiceDescriptor()
/external/grpc-grpc-java/alts/src/generated/main/grpc/io/grpc/alts/internal/
DHandshakerServiceGrpc.java238 public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { in getServiceDescriptor()
263 private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
265 public static io.grpc.ServiceDescriptor getServiceDescriptor() { in getServiceDescriptor()
266 io.grpc.ServiceDescriptor result = serviceDescriptor; in getServiceDescriptor()
271 serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) in getServiceDescriptor()

12345