Searched refs:ServiceDescriptor (Results 1 - 19 of 19) sorted by relevance

/external/protobuf/java/src/main/java/com/google/protobuf/
H A DBlockingService.java43 Descriptors.ServiceDescriptor getDescriptorForType();
H A DService.java50 * Get the {@code ServiceDescriptor} describing this service and its methods.
52 Descriptors.ServiceDescriptor getDescriptorForType();
H A DDescriptors.java87 public List<ServiceDescriptor> getServices() {
155 public ServiceDescriptor findServiceByName(String name) {
165 if (result != null && result instanceof ServiceDescriptor &&
167 return (ServiceDescriptor)result;
326 private final ServiceDescriptor[] services;
352 services = new ServiceDescriptor[proto.getServiceCount()];
354 services[i] = new ServiceDescriptor(proto.getService(i), this, i);
370 for (final ServiceDescriptor service : services) {
1317 public static final class ServiceDescriptor implements GenericDescriptor { class in class:Descriptors
1368 private ServiceDescriptor(fina method in class:Descriptors.ServiceDescriptor
[all...]
/external/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.h50 class ServiceDescriptor;
121 void PrintServiceDescriptor(const ServiceDescriptor& descriptor) const;
122 void PrintServiceClass(const ServiceDescriptor& descriptor) const;
123 void PrintServiceStub(const ServiceDescriptor& descriptor) const;
134 const ServiceDescriptor& descriptor) const;
H A Dpython_generator.cc434 const ServiceDescriptor& descriptor) const {
441 "$service_name$ = descriptor.ServiceDescriptor(\n",
494 void Generator::PrintServiceClass(const ServiceDescriptor& descriptor) const {
507 void Generator::PrintServiceStub(const ServiceDescriptor& descriptor) const {
956 const ServiceDescriptor& descriptor) const {
/external/protobuf/src/google/protobuf/
H A Ddescriptor.h70 class ServiceDescriptor;
675 // Describes an RPC service. To get the ServiceDescriptor for a service,
678 // ServiceDescriptor. Use DescriptorPool to construct your own descriptors.
679 class LIBPROTOBUF_EXPORT ServiceDescriptor { class in namespace:google::protobuf
726 // of Allocate<ServiceDescriptor>() and AllocateArray<ServiceDescriptor>() in
730 ServiceDescriptor() {} function in class:google::protobuf::ServiceDescriptor
734 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceDescriptor);
738 // a service, first get its ServiceDescriptor, then call
739 // ServiceDescriptor
[all...]
H A Dservice.h116 class ServiceDescriptor; // descriptor.h
138 // Get the ServiceDescriptor describing this service and its methods.
139 virtual const ServiceDescriptor* GetDescriptor() = 0;
H A Ddescriptor.cc230 const ServiceDescriptor* service_descriptor;
255 CONSTRUCTOR(ServiceDescriptor , SERVICE , service_descriptor )
943 const ServiceDescriptor* DescriptorPool::FindServiceByName(
1132 ServiceDescriptor::FindMethodByName(const string& key) const {
1173 const ServiceDescriptor*
1456 void ServiceDescriptor::CopyTo(ServiceDescriptorProto* proto) const {
1768 string ServiceDescriptor::DebugString() const {
1774 void ServiceDescriptor::DebugString(string *contents) const {
2018 ServiceDescriptor* result);
2020 const ServiceDescriptor* paren
[all...]
H A Ddescriptor_unittest.cc255 const ServiceDescriptor* foo_service_;
261 const ServiceDescriptor* bar_service_;
1070 const ServiceDescriptor* service_;
1071 const ServiceDescriptor* service2_;
1961 const ServiceDescriptor* service =
3869 const ServiceDescriptor* test_service = pool.FindServiceByName("TestService");
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_service.h57 explicit ServiceGenerator(const ServiceDescriptor* descriptor,
107 const ServiceDescriptor* descriptor_;
H A Dcpp_service.cc45 ServiceGenerator::ServiceGenerator(const ServiceDescriptor* descriptor,
83 "static const ::google::protobuf::ServiceDescriptor* descriptor();\n"
92 "const ::google::protobuf::ServiceDescriptor* GetDescriptor();\n"
178 "const ::google::protobuf::ServiceDescriptor* $classname$::descriptor() {\n"
183 "const ::google::protobuf::ServiceDescriptor* $classname$::GetDescriptor() {\n"
H A Dcpp_unittest.cc1013 const ServiceDescriptor* descriptor_;
1193 // Verify that a ServiceDescriptor is generated for the service even if the
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_service.h54 explicit ServiceGenerator(const ServiceDescriptor* descriptor);
103 const ServiceDescriptor* descriptor_;
H A Djava_helpers.h84 inline string ClassName(const ServiceDescriptor* descriptor) {
H A Djava_service.cc46 ServiceGenerator::ServiceGenerator(const ServiceDescriptor* descriptor)
74 " com.google.protobuf.Descriptors.ServiceDescriptor\n"
95 "public final com.google.protobuf.Descriptors.ServiceDescriptor\n"
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_helpers.h85 const ServiceDescriptor* descriptor) {
/external/protobuf/python/google/protobuf/
H A Ddescriptor.py482 class ServiceDescriptor(_NestedDescriptorBase): class in inherits:_NestedDescriptorBase
499 super(ServiceDescriptor, self).__init__(
523 super(ServiceDescriptor, self).CopyToProto(proto)
533 containing_service: (ServiceDescriptor) The service that contains this
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DDescriptorsTest.java42 import com.google.protobuf.Descriptors.ServiceDescriptor;
119 ServiceDescriptor service = TestService.getDescriptor();
317 ServiceDescriptor service = TestService.getDescriptor();
374 ServiceDescriptor service =
/external/protobuf/python/google/protobuf/internal/
H A Ddescriptor_test.py95 self.my_service = descriptor.ServiceDescriptor(

Completed in 172 milliseconds