crash.software
Projects
Pull Requests
Issues
Builds
protobuf-decoder
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
protobuf-decoder
Files
🤬
Sign In
2c9bed22
ROOT
/
Lib
/
google
/
protobuf
/
descriptor.py
Search
History
1021 lines
|
ISO-8859-1
|
38 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
six
api_implementation
os
uuid
_message
Error
(Exception)
TypeTransformationError
(Error)
DescriptorMetaclass
(type)
__instancecheck__
(cls,obj)
DescriptorBase
(six.with_metaclass(DescriptorMetaclass))
_C_DESCRIPTOR_CLASS
_options
_options_class_name
has_options
__init__
(self,options,options_class_name)
_SetOptions
(self,options,options_class_name)
GetOptions
(self)
_NestedDescriptorBase
(DescriptorBase)
name
full_name
file
containing_type
_serialized_start
_serialized_end
__init__
(self,options,options_class_name,name,full_name,file,containing_type,serialized_start=None,serialized_end=None)
CopyToProto
(self,proto)
Descriptor
(_NestedDescriptorBase)
_C_DESCRIPTOR_CLASS
fields
fields_by_number
fields_by_name
_fields_by_camelcase_name
nested_types
nested_types_by_name
enum_types
enum_types_by_name
enum_values_by_name
extensions
extensions_by_name
is_extendable
extension_ranges
oneofs
oneofs_by_name
syntax
__new__
(cls,name,full_name,filename,containing_type,fields,nested_types,enum_types,extensions,options=None,is_extendable=True,extension_ranges=None,oneofs=None,file=None,serialized_start=None,serialized_end=None,syntax=None)
__init__
(self,name,full_name,filename,containing_type,fields,nested_types,enum_types,extensions,options=None,is_extendable=True,extension_ranges=None,oneofs=None,file=None,serialized_start=None,serialized_end=None,syntax=None)
fields_by_camelcase_name
(self)
EnumValueName
(self,enum,value)
CopyToProto
(self,proto)
FieldDescriptor
(DescriptorBase)
TYPE_DOUBLE
TYPE_FLOAT
TYPE_INT64
TYPE_UINT64
TYPE_INT32
TYPE_FIXED64
TYPE_FIXED32
TYPE_BOOL
TYPE_STRING
TYPE_GROUP
TYPE_MESSAGE
TYPE_BYTES
TYPE_UINT32
TYPE_ENUM
TYPE_SFIXED32
TYPE_SFIXED64
TYPE_SINT32
TYPE_SINT64
MAX_TYPE
CPPTYPE_INT32
CPPTYPE_INT64
CPPTYPE_UINT32
CPPTYPE_UINT64
CPPTYPE_DOUBLE
CPPTYPE_FLOAT
CPPTYPE_BOOL
CPPTYPE_ENUM
CPPTYPE_STRING
CPPTYPE_MESSAGE
MAX_CPPTYPE
_PYTHON_TO_CPP_PROTO_TYPE_MAP
LABEL_OPTIONAL
LABEL_REQUIRED
LABEL_REPEATED
MAX_LABEL
MAX_FIELD_NUMBER
FIRST_RESERVED_FIELD_NUMBER
LAST_RESERVED_FIELD_NUMBER
_C_DESCRIPTOR_CLASS
name
full_name
_camelcase_name
json_name
index
number
type
cpp_type
label
has_default_value
default_value
containing_type
message_type
enum_type
is_extension
extension_scope
containing_oneof
_cdescriptor
__new__
(cls,name,full_name,index,number,type,cpp_type,label,default_value,message_type,enum_type,containing_type,is_extension,extension_scope,options=None,has_default_value=True,containing_oneof=None,json_name=None)
__init__
(self,name,full_name,index,number,type,cpp_type,label,default_value,message_type,enum_type,containing_type,is_extension,extension_scope,options=None,has_default_value=True,containing_oneof=None,json_name=None)
camelcase_name
(self)
ProtoTypeToCppProtoType
(proto_type)
EnumDescriptor
(_NestedDescriptorBase)
_C_DESCRIPTOR_CLASS
values
values_by_name
values_by_number
__new__
(cls,name,full_name,filename,values,containing_type=None,options=None,file=None,serialized_start=None,serialized_end=None)
__init__
(self,name,full_name,filename,values,containing_type=None,options=None,file=None,serialized_start=None,serialized_end=None)
CopyToProto
(self,proto)
EnumValueDescriptor
(DescriptorBase)
_C_DESCRIPTOR_CLASS
name
index
number
type
__new__
(cls,name,index,number,type=None,options=None)
__init__
(self,name,index,number,type=None,options=None)
OneofDescriptor
(DescriptorBase)
_C_DESCRIPTOR_CLASS
name
full_name
index
containing_type
fields
__new__
(cls,name,full_name,index,containing_type,fields,options=None)
__init__
(self,name,full_name,index,containing_type,fields,options=None)
ServiceDescriptor
(_NestedDescriptorBase)
_C_DESCRIPTOR_CLASS
index
methods
methods_by_name
__new__
(cls,name,full_name,index,methods,options=None,file=None,serialized_start=None,serialized_end=None)
__init__
(self,name,full_name,index,methods,options=None,file=None,serialized_start=None,serialized_end=None)
FindMethodByName
(self,name)
CopyToProto
(self,proto)
MethodDescriptor
(DescriptorBase)
_C_DESCRIPTOR_CLASS
name
full_name
index
containing_service
input_type
output_type
__new__
(cls,name,full_name,index,containing_service,input_type,output_type,options=None)
__init__
(self,name,full_name,index,containing_service,input_type,output_type,options=None)
FileDescriptor
(DescriptorBase)
_C_DESCRIPTOR_CLASS
pool
message_types_by_name
name
package
syntax
serialized_pb
enum_types_by_name
extensions_by_name
services_by_name
dependencies
public_dependencies
__new__
(cls,name,package,options=None,serialized_pb=None,dependencies=None,public_dependencies=None,syntax=None,pool=None)
__init__
(self,name,package,options=None,serialized_pb=None,dependencies=None,public_dependencies=None,syntax=None,pool=None)
CopyToProto
(self,proto)
_ParseOptions
(message,string)
_ToCamelCase
(name)
_OptionsOrNone
(descriptor_proto)
_ToJsonName
(name)
MakeDescriptor
(desc_proto,package='',build_file_if_cpp=True,syntax=None)
descriptor_pb2
file_descriptor_proto
All occurrences
Please wait...
Page is in error, reload to recover