/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | ServiceDescriptor.cs | 46 private readonly IList<MethodDescriptor> methods; 53 (method, i) => new MethodDescriptor(method, file, this, i)); in ServiceDescriptor() 79 public IList<MethodDescriptor> Methods 89 public MethodDescriptor FindMethodByName(String name) in FindMethodByName() 91 return File.DescriptorPool.FindSymbol<MethodDescriptor>(FullName + "." + name); in FindMethodByName() 129 foreach (MethodDescriptor method in methods) in CrossLink()
|
H A D | MethodDescriptor.cs | 41 public sealed class MethodDescriptor : DescriptorBase class 106 internal MethodDescriptor(MethodDescriptorProto proto, FileDescriptor file, in MethodDescriptor() method in Google.Protobuf.Reflection.MethodDescriptor
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_service.cc | 140 const MethodDescriptor* method = descriptor_->method(i); in GenerateNewReflectiveServiceMethod() 179 const MethodDescriptor* method = descriptor_->method(i); in GenerateAbstractMethods() 187 const MethodDescriptor* method) { in GetOutput() 195 " com.google.protobuf.Descriptors.MethodDescriptor method,\n" in GenerateCallMethod() 210 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallMethod() 243 " com.google.protobuf.Descriptors.MethodDescriptor method,\n" in GenerateCallBlockingMethod() 257 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallBlockingMethod() 290 " com.google.protobuf.Descriptors.MethodDescriptor method) {\n" in GenerateGetPrototype() 302 const MethodDescriptor* method = descriptor_->method(i); in GenerateGetPrototype() 352 const MethodDescriptor* metho in GenerateStub() [all...] |
H A D | java_service.h | 116 const MethodDescriptor* method, 124 const MethodDescriptor* method); 127 std::string GetOutput(const MethodDescriptor* method);
|
H A D | java_doc_comment.h | 89 const MethodDescriptor* method);
|
H A D | java_doc_comment.cc | 404 const MethodDescriptor* method) { in WriteMethodDocComment()
|
H A D | java_helpers.h | 84 std::string UnderscoresToCamelCase(const MethodDescriptor* method);
|
/third_party/protobuf/src/google/protobuf/ |
H A D | service.h | 124 class MethodDescriptor; // descriptor.h 145 // Call a method of the service specified by MethodDescriptor. This is 170 virtual void CallMethod(const MethodDescriptor* method, 181 // const MethodDescriptor* method = 188 const MethodDescriptor* method) const = 0; 190 const MethodDescriptor* method) const = 0; 280 virtual void CallMethod(const MethodDescriptor* method,
|
H A D | descriptor.h | 89 class MethodDescriptor; 570 friend class MethodDescriptor; 1265 // Gets a MethodDescriptor by index, where 0 <= index < method_count(). 1267 const MethodDescriptor* method(int index) const; 1269 // Look up a MethodDescriptor by name. 1270 const MethodDescriptor* FindMethodByName(ConstStringParam name) const; 1306 MethodDescriptor* methods_; 1316 friend class MethodDescriptor; 1321 // Describes an individual service method. To obtain a MethodDescriptor given 1325 class PROTOBUF_EXPORT MethodDescriptor { class 1401 MethodDescriptor() {} MethodDescriptor() function in google::protobuf::MethodDescriptor [all...] |
H A D | descriptor.cc | 97 const MethodDescriptor* method_descriptor; 121 CONSTRUCTOR(MethodDescriptor, METHOD, method_descriptor) 1474 const MethodDescriptor* DescriptorPool::FindMethodByName( in FindMethodByName() 1741 const MethodDescriptor* ServiceDescriptor::FindMethodByName( in FindMethodByName() 2246 void MethodDescriptor::CopyTo(MethodDescriptorProto* proto) const { in CopyTo() 2925 std::string MethodDescriptor::DebugString() const { in DebugString() 2930 std::string MethodDescriptor::DebugStringWithOptions( in DebugStringWithOptions() 2937 void MethodDescriptor::DebugString( in DebugString() 3030 bool MethodDescriptor::GetSourceLocation(SourceLocation* out_location) const { in GetSourceLocation() 3105 void MethodDescriptor [all...] |
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_service.cc | 47 void InitMethodVariables(const MethodDescriptor* method, const Options& options, in InitMethodVariables() 103 "void CallMethod(const ::$proto_ns$::MethodDescriptor* method,\n" in GenerateInterface() 109 " const ::$proto_ns$::MethodDescriptor* method) const;\n" in GenerateInterface() 111 " const ::$proto_ns$::MethodDescriptor* method) const;\n"); in GenerateInterface() 156 const MethodDescriptor* method = descriptor_->method(i); in GenerateMethodSignatures() 214 const MethodDescriptor* method = descriptor_->method(i); in GenerateNotImplementedMethods() 232 "void $classname$::CallMethod(const ::$proto_ns$::MethodDescriptor* " in GenerateCallMethod() 243 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallMethod() 280 " const ::$proto_ns$::MethodDescriptor* method) const {\n" in GenerateGetPrototype() 285 const MethodDescriptor* metho in GenerateGetPrototype() [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | Service.java | 51 * Call a method of the service specified by MethodDescriptor. This is normally implemented as a 78 Descriptors.MethodDescriptor method, in callMethod() 92 * MethodDescriptor method = 100 Message getRequestPrototype(Descriptors.MethodDescriptor method); in getRequestPrototype() 108 Message getResponsePrototype(Descriptors.MethodDescriptor method); in getResponsePrototype()
|
H A D | BlockingService.java | 49 Descriptors.MethodDescriptor method, RpcController controller, Message request) in callBlockingMethod() 53 Message getRequestPrototype(Descriptors.MethodDescriptor method); in getRequestPrototype() 56 Message getResponsePrototype(Descriptors.MethodDescriptor method); in getResponsePrototype()
|
H A D | BlockingRpcChannel.java | 46 Descriptors.MethodDescriptor method, in callBlockingMethod()
|
H A D | RpcChannel.java | 63 Descriptors.MethodDescriptor method, in callMethod()
|
H A D | Descriptors.java | 1979 public List<MethodDescriptor> getMethods() { in getMethods() 1989 public MethodDescriptor findMethodByName(final String name) { in findMethodByName() 1991 if (result != null && result instanceof MethodDescriptor) { in findMethodByName() 1992 return (MethodDescriptor) result; in findMethodByName() 2002 private MethodDescriptor[] methods; 2012 methods = new MethodDescriptor[proto.getMethodCount()]; in ServiceDescriptor() 2014 methods[i] = new MethodDescriptor(proto.getMethod(i), file, this, i); in ServiceDescriptor() 2021 for (final MethodDescriptor method : methods) { in crossLink() 2039 public static final class MethodDescriptor extends GenericDescriptor { class in Descriptors 2115 private MethodDescriptor( in MethodDescriptor() method in Descriptors.MethodDescriptor [all...] |
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | ServiceTest.java | 35 import com.google.protobuf.Descriptors.MethodDescriptor; 64 private final Descriptors.MethodDescriptor fooDescriptor = 66 private final Descriptors.MethodDescriptor barDescriptor = 176 MethodDescriptor fooMethod = in testNewReflectiveService() 206 MethodDescriptor fooMethod = in testNewReflectiveBlockingService()
|
H A D | DescriptorsTest.java | 46 import com.google.protobuf.Descriptors.MethodDescriptor; 330 MethodDescriptor fooMethod = service.getMethods().get(0); in testServiceDescriptor() 338 MethodDescriptor barMethod = service.getMethods().get(1); in testServiceDescriptor() 387 MethodDescriptor method = service.findMethodByName("Foo"); in testCustomOptions()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | ServiceTest.java | 34 import com.google.protobuf.Descriptors.MethodDescriptor; 60 private final Descriptors.MethodDescriptor fooDescriptor = 62 private final Descriptors.MethodDescriptor barDescriptor = 175 MethodDescriptor fooMethod = ServiceWithNoOuter.getDescriptor().findMethodByName("Foo"); in testNewReflectiveService() 203 MethodDescriptor fooMethod = ServiceWithNoOuter.getDescriptor().findMethodByName("Foo"); in testNewReflectiveBlockingService()
|
H A D | DescriptorsTest.java | 49 import com.google.protobuf.Descriptors.MethodDescriptor; 315 MethodDescriptor fooMethod = service.getMethods().get(0); in testServiceDescriptor() 321 MethodDescriptor barMethod = service.getMethods().get(1); in testServiceDescriptor() 379 MethodDescriptor method = service.findMethodByName("Foo"); in testCustomOptions()
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
H A D | csharp_doc_comment.h | 46 void WriteMethodDocComment(io::Printer* printer, const MethodDescriptor* method);
|
H A D | csharp_doc_comment.cc | 108 void WriteMethodDocComment(io::Printer* printer, const MethodDescriptor* method) { in WriteMethodDocComment()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor.h | 71 const MethodDescriptor* descriptor);
|
H A D | descriptor.cc | 188 const FileDescriptor* GetFileDescriptor(const MethodDescriptor* descriptor) { in GetFileDescriptor() 1692 const MethodDescriptor* method_descriptor = in FindMethodByName() 1783 static const MethodDescriptor* _GetDescriptor( in _GetDescriptor() 1785 return reinterpret_cast<const MethodDescriptor*>(self->descriptor); in _GetDescriptor() 1845 FULL_MODULE_NAME ".MethodDescriptor", // tp_name 1878 const MethodDescriptor* method_descriptor) { in PyMethodDescriptor_FromDescriptor()
|
/third_party/protobuf/python/google/protobuf/ |
H A D | descriptor.py | 788 methods (list[MethodDescriptor]): List of methods provided by this 790 methods_by_name (dict(str, MethodDescriptor)): Same 791 :class:`MethodDescriptor` objects as in :attr:`methods_by_name`, but 792 indexed by "name" attribute in each :class:`MethodDescriptor`. 830 MethodDescriptor or None: the desctiptor for the requested method, if 845 class MethodDescriptor(DescriptorBase): class 864 _C_DESCRIPTOR_CLASS = _message.MethodDescriptor 875 """The arguments are as described in the description of MethodDescriptor 881 _Deprecated('MethodDescriptor') 883 super(MethodDescriptor, sel [all...] |