Home
last modified time | relevance | path

Searched refs:MethodDescriptor (Results 1 - 25 of 35) sorted by relevance

12

/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
H A DServiceDescriptor.cs46 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 DMethodDescriptor.cs41 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 Djava_service.cc140 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 Djava_service.h116 const MethodDescriptor* method,
124 const MethodDescriptor* method);
127 std::string GetOutput(const MethodDescriptor* method);
H A Djava_doc_comment.h89 const MethodDescriptor* method);
H A Djava_doc_comment.cc404 const MethodDescriptor* method) { in WriteMethodDocComment()
H A Djava_helpers.h84 std::string UnderscoresToCamelCase(const MethodDescriptor* method);
/third_party/protobuf/src/google/protobuf/
H A Dservice.h124 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 Ddescriptor.h89 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 Ddescriptor.cc97 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 Dcpp_service.cc47 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 DService.java51 * 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 DBlockingService.java49 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 DBlockingRpcChannel.java46 Descriptors.MethodDescriptor method, in callBlockingMethod()
H A DRpcChannel.java63 Descriptors.MethodDescriptor method, in callMethod()
H A DDescriptors.java1979 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 DServiceTest.java35 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 DDescriptorsTest.java46 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 DServiceTest.java34 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 DDescriptorsTest.java49 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 Dcsharp_doc_comment.h46 void WriteMethodDocComment(io::Printer* printer, const MethodDescriptor* method);
H A Dcsharp_doc_comment.cc108 void WriteMethodDocComment(io::Printer* printer, const MethodDescriptor* method) { in WriteMethodDocComment()
/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor.h71 const MethodDescriptor* descriptor);
H A Ddescriptor.cc188 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 Ddescriptor.py788 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...]

Completed in 32 milliseconds

12