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.
Descriptor for a method in a service. Attributes: 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 (Descriptor): The descriptor of the message that this method accepts. output_type (Descriptor): The descriptor of the message that this method returns. options (descriptor_pb2.MethodOptions or None): Method options message, or None to use default method options.
Definition at line 804 of file bloaty/third_party/protobuf/python/google/protobuf/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 bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.
def google.protobuf.descriptor.MethodDescriptor.__init__ | ( | self, | |
name, | |||
full_name, | |||
index, | |||
containing_service, | |||
input_type, | |||
output_type, | |||
options = None , |
|||
serialized_options = None , |
|||
create_key = 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 895 of file protobuf/python/google/protobuf/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 bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.
def google.protobuf.descriptor.MethodDescriptor.__new__ | ( | cls, | |
name, | |||
full_name, | |||
index, | |||
containing_service, | |||
input_type, | |||
output_type, | |||
options = None , |
|||
serialized_options = None , |
|||
create_key = None |
|||
) |
Definition at line 889 of file protobuf/python/google/protobuf/descriptor.py.
def google.protobuf.descriptor.MethodDescriptor.CopyToProto | ( | self, | |
proto | |||
) |
Copies this to a descriptor_pb2.MethodDescriptorProto. Args: proto (descriptor_pb2.MethodDescriptorProto): An empty descriptor proto. Raises: Error: If self couldn't be serialized, due to too few constructor arguments.
Definition at line 915 of file protobuf/python/google/protobuf/descriptor.py.
|
staticprivate |
Definition at line 820 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.
google.protobuf.descriptor.MethodDescriptor.containing_service |
Definition at line 838 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.
google.protobuf.descriptor.MethodDescriptor.full_name |
Definition at line 836 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.
google.protobuf.descriptor.MethodDescriptor.index |
Definition at line 837 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.
google.protobuf.descriptor.MethodDescriptor.input_type |
Definition at line 839 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.
google.protobuf.descriptor.MethodDescriptor.name |
Definition at line 835 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.
google.protobuf.descriptor.MethodDescriptor.output_type |
Definition at line 840 of file bloaty/third_party/protobuf/python/google/protobuf/descriptor.py.