class documentation

class FieldDescriptor(_Facade[descriptor_pb2.FieldDescriptorProto]): (source)

Constructor: FieldDescriptor(owner, proto, full_name, file, ...)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Constant CPPTYPE_BOOL Undocumented
Constant CPPTYPE_BYTES Undocumented
Constant CPPTYPE_DOUBLE Undocumented
Constant CPPTYPE_ENUM Undocumented
Constant CPPTYPE_FLOAT Undocumented
Constant CPPTYPE_INT32 Undocumented
Constant CPPTYPE_INT64 Undocumented
Constant CPPTYPE_MESSAGE Undocumented
Constant CPPTYPE_STRING Undocumented
Constant CPPTYPE_UINT32 Undocumented
Constant CPPTYPE_UINT64 Undocumented
Instance Variable camelcase_name Undocumented
Instance Variable containing_oneof Undocumented
Instance Variable containing_type Undocumented
Instance Variable cpp_type Undocumented
Instance Variable default_value Undocumented
Instance Variable enum_type Undocumented
Instance Variable extension_scope Undocumented
Instance Variable has_default_value Undocumented
Instance Variable has_presence Undocumented
Instance Variable index Undocumented
Instance Variable is_extension Undocumented
Instance Variable is_packed Undocumented
Instance Variable is_repeated Undocumented
Instance Variable is_required Undocumented
Instance Variable json_name Undocumented
Instance Variable label Undocumented
Instance Variable message_type Undocumented
Instance Variable number Undocumented
Instance Variable type Undocumented

Inherited from _Facade:

Method CopyToProto Undocumented
Method GetOptions Decode localized direct options without exposing provider identity.
Instance Variable file Undocumented
Instance Variable full_name Undocumented
Instance Variable has_options Undocumented
Instance Variable name Undocumented
Property provider_descriptor Return the explicit private-provider interoperability boundary.
Instance Variable _option_kind Undocumented
Instance Variable _options Undocumented
Instance Variable _owner Undocumented
Instance Variable _proto Undocumented
def __init__(self, owner: Reflection, proto: descriptor_pb2.FieldDescriptorProto, *, full_name: str, file: FileDescriptor, containing_type: MessageDescriptor | None, index: int, is_extension: bool = False): (source)
CPPTYPE_BOOL: int = (source)

Undocumented

Value
7
CPPTYPE_BYTES: int = (source)

Undocumented

Value
9
CPPTYPE_DOUBLE: int = (source)

Undocumented

Value
5
CPPTYPE_ENUM: int = (source)

Undocumented

Value
8
CPPTYPE_FLOAT: int = (source)

Undocumented

Value
6
CPPTYPE_INT32: int = (source)

Undocumented

Value
1
CPPTYPE_INT64: int = (source)

Undocumented

Value
2
CPPTYPE_MESSAGE: int = (source)

Undocumented

Value
10
CPPTYPE_STRING: int = (source)

Undocumented

Value
9
CPPTYPE_UINT32: int = (source)

Undocumented

Value
3
CPPTYPE_UINT64: int = (source)

Undocumented

Value
4
camelcase_name = (source)

Undocumented

containing_oneof: OneofDescriptor | None = (source)

Undocumented

containing_type = (source)

Undocumented

cpp_type = (source)

Undocumented

default_value: Any = (source)

Undocumented

Undocumented

Undocumented

has_default_value = (source)

Undocumented

has_presence: bool = (source)

Undocumented

Undocumented

is_extension = (source)

Undocumented

is_packed: bool = (source)

Undocumented

is_repeated = (source)

Undocumented

is_required = (source)

Undocumented

json_name = (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented