#include <descriptor.h>
Static Public Member Functions | |
static const char * | CppTypeName (CppType cpp_type) |
static const char * | CppTypeName (CppType cpp_type) |
static bool | IsTypePackable (Type field_type) |
static bool | IsTypePackable (Type field_type) |
static const char * | TypeName (Type type) |
static const char * | TypeName (Type type) |
static CppType | TypeToCppType (Type type) |
static CppType | TypeToCppType (Type type) |
Static Public Attributes | |
static const int | kFirstReservedNumber = 19000 |
static const int | kLastReservedNumber = 19999 |
static const int | kMaxNumber = (1 << 29) - 1 |
Private Types | |
typedef FieldOptions | OptionsType |
typedef FieldOptions | OptionsType |
enum | PrintLabelFlag { PRINT_LABEL, OMIT_LABEL } |
Private Member Functions | |
void | CopyJsonNameTo (FieldDescriptorProto *proto) const |
void | CopyJsonNameTo (FieldDescriptorProto *proto) const |
void | DebugString (int depth, PrintLabelFlag print_label_flag, std::string *contents, const DebugStringOptions &options) const |
void | DebugString (int depth, std::string *contents, const DebugStringOptions &options) const |
std::string | DefaultValueAsString (bool quote_string_type) const |
std::string | DefaultValueAsString (bool quote_string_type) const |
FieldDescriptor () | |
FieldDescriptor () | |
std::string | FieldTypeNameDebugString () const |
std::string | FieldTypeNameDebugString () const |
void | GetLocationPath (std::vector< int > *output) const |
void | GetLocationPath (std::vector< int > *output) const |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (FieldDescriptor) | |
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (FieldDescriptor) | |
void | InternalTypeOnceInit () const |
void | InternalTypeOnceInit () const |
bool | is_map_message_type () const |
bool | is_map_message_type () const |
Static Private Member Functions | |
static void | TypeOnceInit (const FieldDescriptor *to_init) |
static void | TypeOnceInit (const FieldDescriptor *to_init) |
Static Private Attributes | |
static const char *const | kCppTypeToName [MAX_CPPTYPE+1] |
static const char *const | kLabelToName [MAX_LABEL+1] |
static const CppType | kTypeToCppTypeMap [MAX_TYPE+1] |
static const char *const | kTypeToName [MAX_TYPE+1] |
Friends | |
class | compiler::cpp::Formatter |
class | Descriptor |
class | DescriptorBuilder |
class | FileDescriptor |
class | io::Printer |
class | OneofDescriptor |
class | Reflection |
class | Symbol |
Definition at line 515 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 749 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 868 of file protobuf/src/google/protobuf/descriptor.h.
typedef FieldDescriptorProto google::protobuf::FieldDescriptor::Proto |
Definition at line 517 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
typedef FieldDescriptorProto google::protobuf::FieldDescriptor::Proto |
Definition at line 614 of file protobuf/src/google/protobuf/descriptor.h.
enum google::protobuf::FieldDescriptor::CppType |
Definition at line 553 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
enum google::protobuf::FieldDescriptor::CppType |
Definition at line 650 of file protobuf/src/google/protobuf/descriptor.h.
enum google::protobuf::FieldDescriptor::Label |
Enumerator | |
---|---|
LABEL_OPTIONAL | |
LABEL_REQUIRED | |
LABEL_REPEATED | |
MAX_LABEL | |
LABEL_OPTIONAL | |
LABEL_REQUIRED | |
LABEL_REPEATED | |
MAX_LABEL |
Definition at line 571 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
enum google::protobuf::FieldDescriptor::Label |
Enumerator | |
---|---|
LABEL_OPTIONAL | |
LABEL_REQUIRED | |
LABEL_REPEATED | |
MAX_LABEL | |
LABEL_OPTIONAL | |
LABEL_REQUIRED | |
LABEL_REPEATED | |
MAX_LABEL |
Definition at line 668 of file protobuf/src/google/protobuf/descriptor.h.
|
private |
Enumerator | |
---|---|
PRINT_LABEL | |
OMIT_LABEL |
Definition at line 759 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
enum google::protobuf::FieldDescriptor::Type |
Definition at line 521 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
enum google::protobuf::FieldDescriptor::Type |
Definition at line 618 of file protobuf/src/google/protobuf/descriptor.h.
|
inlineprivate |
Definition at line 833 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
inlineprivate |
Definition at line 969 of file protobuf/src/google/protobuf/descriptor.h.
const std::string& google::protobuf::FieldDescriptor::camelcase_name | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::camelcase_name | ( | ) | const |
const OneofDescriptor* google::protobuf::FieldDescriptor::containing_oneof | ( | ) | const |
const OneofDescriptor* google::protobuf::FieldDescriptor::containing_oneof | ( | ) | const |
const Descriptor* google::protobuf::FieldDescriptor::containing_type | ( | ) | const |
const Descriptor* google::protobuf::FieldDescriptor::containing_type | ( | ) | const |
|
private |
Definition at line 2152 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
|
private |
void FieldDescriptor::CopyTo | ( | FieldDescriptorProto * | proto | ) | const |
Definition at line 2100 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
void google::protobuf::FieldDescriptor::CopyTo | ( | FieldDescriptorProto * | proto | ) | const |
|
inline |
Definition at line 2139 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
CppType google::protobuf::FieldDescriptor::cpp_type | ( | ) | const |
|
inline |
Definition at line 2143 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
const char* google::protobuf::FieldDescriptor::cpp_type_name | ( | ) | const |
Definition at line 2155 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
std::string FieldDescriptor::DebugString | ( | ) | const |
Definition at line 2613 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
std::string google::protobuf::FieldDescriptor::DebugString | ( | ) | const |
|
private |
Definition at line 2646 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
|
private |
Definition at line 3258 of file protobuf/src/google/protobuf/descriptor.cc.
std::string FieldDescriptor::DebugStringWithOptions | ( | const DebugStringOptions & | options | ) | const |
Definition at line 2618 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
std::string google::protobuf::FieldDescriptor::DebugStringWithOptions | ( | const DebugStringOptions & | options | ) | const |
bool google::protobuf::FieldDescriptor::default_value_bool | ( | ) | const |
bool google::protobuf::FieldDescriptor::default_value_bool | ( | ) | const |
double google::protobuf::FieldDescriptor::default_value_double | ( | ) | const |
double google::protobuf::FieldDescriptor::default_value_double | ( | ) | const |
const EnumValueDescriptor * FieldDescriptor::default_value_enum | ( | ) | const |
Definition at line 7206 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
const EnumValueDescriptor* google::protobuf::FieldDescriptor::default_value_enum | ( | ) | const |
float google::protobuf::FieldDescriptor::default_value_float | ( | ) | const |
float google::protobuf::FieldDescriptor::default_value_float | ( | ) | const |
int32 google::protobuf::FieldDescriptor::default_value_int32 | ( | ) | const |
|
inline |
Definition at line 756 of file protobuf/src/google/protobuf/descriptor.h.
int32_t google::protobuf::FieldDescriptor::default_value_int32_t | ( | ) | const |
int64 google::protobuf::FieldDescriptor::default_value_int64 | ( | ) | const |
|
inline |
Definition at line 760 of file protobuf/src/google/protobuf/descriptor.h.
int64_t google::protobuf::FieldDescriptor::default_value_int64_t | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::default_value_string | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::default_value_string | ( | ) | const |
uint32 google::protobuf::FieldDescriptor::default_value_uint32 | ( | ) | const |
|
inline |
Definition at line 764 of file protobuf/src/google/protobuf/descriptor.h.
uint32_t google::protobuf::FieldDescriptor::default_value_uint32_t | ( | ) | const |
uint64 google::protobuf::FieldDescriptor::default_value_uint64 | ( | ) | const |
|
inline |
Definition at line 768 of file protobuf/src/google/protobuf/descriptor.h.
uint64_t google::protobuf::FieldDescriptor::default_value_uint64_t | ( | ) | const |
|
private |
Definition at line 1941 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
|
private |
const EnumDescriptor* google::protobuf::FieldDescriptor::enum_type | ( | ) | const |
const EnumDescriptor* google::protobuf::FieldDescriptor::enum_type | ( | ) | const |
const Descriptor* google::protobuf::FieldDescriptor::extension_scope | ( | ) | const |
const Descriptor* google::protobuf::FieldDescriptor::extension_scope | ( | ) | const |
|
private |
Definition at line 2635 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
|
private |
const FileDescriptor* google::protobuf::FieldDescriptor::file | ( | ) | const |
const FileDescriptor* google::protobuf::FieldDescriptor::file | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::full_name | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::full_name | ( | ) | const |
|
private |
Definition at line 3026 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
|
private |
bool FieldDescriptor::GetSourceLocation | ( | SourceLocation * | out_location | ) | const |
Definition at line 2978 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
bool google::protobuf::FieldDescriptor::GetSourceLocation | ( | SourceLocation * | out_location | ) | const |
|
private |
|
private |
bool google::protobuf::FieldDescriptor::has_default_value | ( | ) | const |
bool google::protobuf::FieldDescriptor::has_default_value | ( | ) | const |
bool google::protobuf::FieldDescriptor::has_json_name | ( | ) | const |
bool google::protobuf::FieldDescriptor::has_json_name | ( | ) | const |
bool google::protobuf::FieldDescriptor::has_optional_keyword | ( | ) | const |
bool google::protobuf::FieldDescriptor::has_presence | ( | ) | const |
|
inline |
Definition at line 2081 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
int google::protobuf::FieldDescriptor::index | ( | ) | const |
int google::protobuf::FieldDescriptor::index_in_oneof | ( | ) | const |
int google::protobuf::FieldDescriptor::index_in_oneof | ( | ) | const |
|
private |
Definition at line 7146 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
|
private |
bool google::protobuf::FieldDescriptor::is_extension | ( | ) | const |
bool google::protobuf::FieldDescriptor::is_extension | ( | ) | const |
|
inline |
Definition at line 2075 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
bool google::protobuf::FieldDescriptor::is_map | ( | ) | const |
|
private |
Definition at line 1937 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
|
private |
|
inline |
Definition at line 2063 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
bool google::protobuf::FieldDescriptor::is_optional | ( | ) | const |
|
inline |
Definition at line 2071 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
bool google::protobuf::FieldDescriptor::is_packable | ( | ) | const |
bool FieldDescriptor::is_packed | ( | ) | const |
Definition at line 2963 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
bool google::protobuf::FieldDescriptor::is_packed | ( | ) | const |
|
inline |
Definition at line 2067 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
bool google::protobuf::FieldDescriptor::is_repeated | ( | ) | const |
|
inline |
Definition at line 2059 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
bool google::protobuf::FieldDescriptor::is_required | ( | ) | const |
Definition at line 2159 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
const std::string& google::protobuf::FieldDescriptor::json_name | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::json_name | ( | ) | const |
Label google::protobuf::FieldDescriptor::label | ( | ) | const |
Label google::protobuf::FieldDescriptor::label | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::lowercase_name | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::lowercase_name | ( | ) | const |
const Descriptor* google::protobuf::FieldDescriptor::message_type | ( | ) | const |
const Descriptor* google::protobuf::FieldDescriptor::message_type | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::name | ( | ) | const |
const std::string& google::protobuf::FieldDescriptor::name | ( | ) | const |
int google::protobuf::FieldDescriptor::number | ( | ) | const |
int google::protobuf::FieldDescriptor::number | ( | ) | const |
const FieldOptions& google::protobuf::FieldDescriptor::options | ( | ) | const |
const FieldOptions& google::protobuf::FieldDescriptor::options | ( | ) | const |
const std::string & FieldDescriptor::PrintableNameForExtension | ( | ) | const |
Definition at line 7213 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
const std::string& google::protobuf::FieldDescriptor::PrintableNameForExtension | ( | ) | const |
const OneofDescriptor* google::protobuf::FieldDescriptor::real_containing_oneof | ( | ) | const |
|
inline |
Definition at line 2052 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
Type google::protobuf::FieldDescriptor::type | ( | ) | const |
|
inline |
Definition at line 2135 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
const char* google::protobuf::FieldDescriptor::type_name | ( | ) | const |
Definition at line 2151 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
staticprivate |
Definition at line 7185 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.
|
staticprivate |
|
inlinestatic |
Definition at line 2147 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
friend |
Definition at line 753 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
friend |
Definition at line 836 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
friend |
Definition at line 834 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
friend |
Definition at line 835 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
friend |
Definition at line 752 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
friend |
Definition at line 837 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
friend |
Definition at line 873 of file protobuf/src/google/protobuf/descriptor.h.
|
friend |
Definition at line 867 of file protobuf/src/google/protobuf/descriptor.h.
union { ... } |
union { ... } |
|
private |
Definition at line 924 of file protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 782 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 919 of file protobuf/src/google/protobuf/descriptor.h.
const OneofDescriptor* google::protobuf::FieldDescriptor::containing_oneof |
Definition at line 932 of file protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 800 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 799 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
Definition at line 957 of file protobuf/src/google/protobuf/descriptor.h.
bool google::protobuf::FieldDescriptor::default_value_bool_ |
Definition at line 818 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
double google::protobuf::FieldDescriptor::default_value_double_ |
Definition at line 817 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
mutable |
Definition at line 820 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 806 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
float google::protobuf::FieldDescriptor::default_value_float_ |
Definition at line 816 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
int32 google::protobuf::FieldDescriptor::default_value_int32_ |
Definition at line 812 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
int32_t google::protobuf::FieldDescriptor::default_value_int32_t_ |
Definition at line 946 of file protobuf/src/google/protobuf/descriptor.h.
int64 google::protobuf::FieldDescriptor::default_value_int64_ |
Definition at line 813 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
int64_t google::protobuf::FieldDescriptor::default_value_int64_t_ |
Definition at line 947 of file protobuf/src/google/protobuf/descriptor.h.
const std::string* google::protobuf::FieldDescriptor::default_value_string_ |
Definition at line 821 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
uint32 google::protobuf::FieldDescriptor::default_value_uint32_ |
Definition at line 814 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
uint32_t google::protobuf::FieldDescriptor::default_value_uint32_t_ |
Definition at line 948 of file protobuf/src/google/protobuf/descriptor.h.
uint64 google::protobuf::FieldDescriptor::default_value_uint64_ |
Definition at line 815 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
uint64_t google::protobuf::FieldDescriptor::default_value_uint64_t_ |
Definition at line 949 of file protobuf/src/google/protobuf/descriptor.h.
|
mutable |
Definition at line 937 of file protobuf/src/google/protobuf/descriptor.h.
|
mutableprivate |
Definition at line 803 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
const Descriptor* google::protobuf::FieldDescriptor::extension_scope |
Definition at line 933 of file protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 801 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 786 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 780 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 792 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 795 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 798 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 796 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 903 of file protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 785 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 920 of file protobuf/src/google/protobuf/descriptor.h.
Definition at line 828 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
Definition at line 585 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
Definition at line 830 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
Definition at line 588 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
Definition at line 581 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
Definition at line 824 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
Definition at line 826 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 791 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 906 of file protobuf/src/google/protobuf/descriptor.h.
const char* google::protobuf::FieldDescriptor::lazy_default_value_enum_name_ |
Definition at line 955 of file protobuf/src/google/protobuf/descriptor.h.
const char* google::protobuf::FieldDescriptor::lazy_type_name |
Definition at line 938 of file protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 781 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 918 of file protobuf/src/google/protobuf/descriptor.h.
|
mutable |
Definition at line 936 of file protobuf/src/google/protobuf/descriptor.h.
|
mutableprivate |
Definition at line 802 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 779 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 797 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 804 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 898 of file protobuf/src/google/protobuf/descriptor.h.
union { ... } google::protobuf::FieldDescriptor::scope_ |
|
mutableprivate |
Definition at line 790 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
mutableprivate |
Definition at line 909 of file protobuf/src/google/protobuf/descriptor.h.
union { ... } google::protobuf::FieldDescriptor::type_descriptor_ |
|
private |
Definition at line 805 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.
|
private |
Definition at line 787 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.