webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
google.protobuf.descriptor.MethodDescriptor Class Reference
Inheritance diagram for google.protobuf.descriptor.MethodDescriptor:
google.protobuf.descriptor.DescriptorBase google.protobuf.descriptor.DescriptorMetaclass

Public Member Functions

def __init__ (self, name, full_name, index, containing_service, input_type, output_type, options=None)
 
- Public Member Functions inherited from google.protobuf.descriptor.DescriptorBase
def __init__ (self, options, options_class_name)
 
def GetOptions (self)
 
- Public Member Functions inherited from google.protobuf.descriptor.DescriptorMetaclass
def __instancecheck__ (cls, obj)
 

Public Attributes

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

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.

Constructor & Destructor Documentation

◆ __init__()

def google.protobuf.descriptor.MethodDescriptor.__init__ (   self,
  name,
  full_name,
  index,
  containing_service,
  input_type,
  output_type,
  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.

Member Data Documentation

◆ containing_service

google.protobuf.descriptor.MethodDescriptor.containing_service

◆ full_name

google.protobuf.descriptor.MethodDescriptor.full_name

◆ index

google.protobuf.descriptor.MethodDescriptor.index

◆ input_type

google.protobuf.descriptor.MethodDescriptor.input_type

◆ name

google.protobuf.descriptor.MethodDescriptor.name

◆ output_type

google.protobuf.descriptor.MethodDescriptor.output_type

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