Public Member Functions | Public Attributes | Static Private Attributes | List of all members
google.protobuf.descriptor.MethodDescriptor Class Reference
Inheritance diagram for google.protobuf.descriptor.MethodDescriptor:
Inheritance graph
[legend]

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)
 
- Public Member Functions inherited from google.protobuf.descriptor.DescriptorBase
def __init__ (self, options, serialized_options, options_class_name)
 
def GetOptions (self)
 
- Public Member Functions inherited from google.protobuf.descriptor.DescriptorMetaclass
def __instancecheck__ (cls, obj)
 

Public Attributes

 containing_service
 
 full_name
 
 index
 
 input_type
 
 name
 
 output_type
 
- Public Attributes inherited from google.protobuf.descriptor.DescriptorBase
 has_options
 

Static Private Attributes

 _C_DESCRIPTOR_CLASS = _message.MethodDescriptor
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ __new__()

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.

Member Data Documentation

◆ _C_DESCRIPTOR_CLASS

google.protobuf.descriptor.MethodDescriptor._C_DESCRIPTOR_CLASS = _message.MethodDescriptor
staticprivate

Definition at line 820 of file descriptor.py.

◆ containing_service

google.protobuf.descriptor.MethodDescriptor.containing_service

Definition at line 838 of file descriptor.py.

◆ full_name

google.protobuf.descriptor.MethodDescriptor.full_name

Definition at line 836 of file descriptor.py.

◆ index

google.protobuf.descriptor.MethodDescriptor.index

Definition at line 837 of file descriptor.py.

◆ input_type

google.protobuf.descriptor.MethodDescriptor.input_type

Definition at line 839 of file descriptor.py.

◆ name

google.protobuf.descriptor.MethodDescriptor.name

Definition at line 835 of file descriptor.py.

◆ output_type

google.protobuf.descriptor.MethodDescriptor.output_type

Definition at line 840 of file descriptor.py.


The documentation for this class was generated from the following file:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09