|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
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 | |
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.
| def google.protobuf.descriptor.OneofDescriptor.__init__ | ( | self, | |
| name, | |||
| full_name, | |||
| index, | |||
| containing_type, | |||
| fields | |||
| ) |
Arguments are as described in the attribute description above.
| def google.protobuf.descriptor.OneofDescriptor.__new__ | ( | cls, | |
| name, | |||
| full_name, | |||
| index, | |||
| containing_type, | |||
| fields | |||
| ) |
| google.protobuf.descriptor.OneofDescriptor.containing_type |
| google.protobuf.descriptor.OneofDescriptor.fields |
| google.protobuf.descriptor.OneofDescriptor.full_name |
| google.protobuf.descriptor.OneofDescriptor.index |
| google.protobuf.descriptor.OneofDescriptor.name |
1.8.13