Public Member Functions | |
def | __init__ (self, name, full_name, index, containing_service, input_type, output_type, options=None, serialized_options=None) |
def | __new__ (cls, name, full_name, index, containing_service, input_type, output_type, options=None, serialized_options=None) |
![]() | |
def | __init__ (self, options, serialized_options, options_class_name) |
def | GetOptions (self) |
![]() | |
def | __instancecheck__ (cls, obj) |
Public Attributes | |
containing_service | |
full_name | |
index | |
input_type | |
name | |
output_type | |
![]() | |
has_options | |
Static Private Attributes | |
_C_DESCRIPTOR_CLASS = _message.MethodDescriptor | |
Descriptor for a method in a service. name: (str) Name of the method within the service. full_name: (str) Full name of method. index: (int) 0-indexed index of the method inside the service. containing_service: (ServiceDescriptor) The service that contains this method. input_type: The descriptor of the message that this method accepts. output_type: The descriptor of the message that this method returns. options: (descriptor_pb2.MethodOptions) Method options message or None to use default method options.
Definition at line 804 of file descriptor.py.
def google.protobuf.descriptor.MethodDescriptor.__init__ | ( | self, | |
name, | |||
full_name, | |||
index, | |||
containing_service, | |||
input_type, | |||
output_type, | |||
options = None , |
|||
serialized_options = None |
|||
) |
The arguments are as described in the description of MethodDescriptor attributes above. Note that containing_service may be None, and may be set later if necessary.
Definition at line 827 of file descriptor.py.
def google.protobuf.descriptor.MethodDescriptor.__new__ | ( | cls, | |
name, | |||
full_name, | |||
index, | |||
containing_service, | |||
input_type, | |||
output_type, | |||
options = None , |
|||
serialized_options = None |
|||
) |
Definition at line 822 of file descriptor.py.
|
staticprivate |
Definition at line 820 of file descriptor.py.
google.protobuf.descriptor.MethodDescriptor.containing_service |
Definition at line 838 of file descriptor.py.
google.protobuf.descriptor.MethodDescriptor.full_name |
Definition at line 836 of file descriptor.py.
google.protobuf.descriptor.MethodDescriptor.index |
Definition at line 837 of file descriptor.py.
google.protobuf.descriptor.MethodDescriptor.input_type |
Definition at line 839 of file descriptor.py.
google.protobuf.descriptor.MethodDescriptor.name |
Definition at line 835 of file descriptor.py.
google.protobuf.descriptor.MethodDescriptor.output_type |
Definition at line 840 of file descriptor.py.