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

Public Member Functions

def __new__ (cls, name, full_name, index, containing_type, fields)
 
def __init__ (self, name, full_name, index, containing_type, fields)
 

Public Attributes

 name
 
 full_name
 
 index
 
 containing_type
 
 fields
 

Detailed Description

Descriptor for a oneof field.

  name: (str) Name of the oneof field.
  full_name: (str) Full name of the oneof field, including package name.
  index: (int) 0-based index giving the order of the oneof field inside
    its containing type.
  containing_type: (Descriptor) Descriptor of the protocol message
    type that contains this field.  Set by the Descriptor constructor
    if we're passed into one.
  fields: (list of FieldDescriptor) The list of field descriptors this
    oneof can contain.

Constructor & Destructor Documentation

◆ __init__()

def google.protobuf.descriptor.OneofDescriptor.__init__ (   self,
  name,
  full_name,
  index,
  containing_type,
  fields 
)
Arguments are as described in the attribute description above.

Member Function Documentation

◆ __new__()

def google.protobuf.descriptor.OneofDescriptor.__new__ (   cls,
  name,
  full_name,
  index,
  containing_type,
  fields 
)

Member Data Documentation

◆ containing_type

google.protobuf.descriptor.OneofDescriptor.containing_type

◆ fields

google.protobuf.descriptor.OneofDescriptor.fields

◆ full_name

google.protobuf.descriptor.OneofDescriptor.full_name

◆ index

google.protobuf.descriptor.OneofDescriptor.index

◆ name

google.protobuf.descriptor.OneofDescriptor.name

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