class Field
Defined at line 419 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
-------------------------------------------------------------------
Public Members
static const int kIndexInFileMessages
static Field_Kind TYPE_UNKNOWN
static Field_Kind TYPE_DOUBLE
static Field_Kind TYPE_FLOAT
static Field_Kind TYPE_INT64
static Field_Kind TYPE_UINT64
static Field_Kind TYPE_INT32
static Field_Kind TYPE_FIXED64
static Field_Kind TYPE_FIXED32
static Field_Kind TYPE_BOOL
static Field_Kind TYPE_STRING
static Field_Kind TYPE_GROUP
static Field_Kind TYPE_MESSAGE
static Field_Kind TYPE_BYTES
static Field_Kind TYPE_UINT32
static Field_Kind TYPE_ENUM
static Field_Kind TYPE_SFIXED32
static Field_Kind TYPE_SFIXED64
static Field_Kind TYPE_SINT32
static Field_Kind TYPE_SINT64
static Field_Kind Kind_MIN
static Field_Kind Kind_MAX
static const int Kind_ARRAYSIZE
static Field_Cardinality CARDINALITY_UNKNOWN
static Field_Cardinality CARDINALITY_OPTIONAL
static Field_Cardinality CARDINALITY_REQUIRED
static Field_Cardinality CARDINALITY_REPEATED
static Field_Cardinality Cardinality_MIN
static Field_Cardinality Cardinality_MAX
static const int Cardinality_ARRAYSIZE
Protected Members
static ClassDataFull _class_data_
Public Methods
void Field ()
Defined at line 423 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void ~Field ()
template <typename = void>
void Field (::google::protobuf::internal::ConstantInitialized )
void CopyFrom (const Field & from)
void Clear ()
::size_t ByteSizeLong ()
void Field (const Field & from)
Defined at line 437 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void Field (Field && from)
Defined at line 438 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
Field & operator= (const Field & from)
Defined at line 440 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
Field & operator= (Field && from)
Defined at line 444 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const ::google::protobuf::UnknownFieldSet & unknown_fields ()
Defined at line 454 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
Defined at line 458 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const ::google::protobuf::Descriptor * descriptor ()
Defined at line 463 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const ::google::protobuf::Descriptor * GetDescriptor ()
Defined at line 466 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const ::google::protobuf::Reflection * GetReflection ()
Defined at line 469 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const Field & default_instance ()
Defined at line 472 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const Field * internal_default_instance ()
Defined at line 475 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void Swap (Field * other)
Defined at line 481 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void UnsafeArenaSwap (Field * other)
Defined at line 489 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
Field * New (::google::protobuf::Arena * arena)
implements Message ----------------------------------------------
Defined at line 497 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void MergeFrom (const Field & from)
Defined at line 503 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
bool IsInitialized ()
Defined at line 511 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
int GetCachedSize ()
Defined at line 535 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
::uint8_t * _InternalSerialize (::uint8_t * target, ::google::protobuf::io::EpsCopyOutputStream * stream)
::google::protobuf::Metadata GetMetadata ()
bool Kind_IsValid (int value)
Defined at line 583 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const ::google::protobuf::EnumDescriptor * Kind_descriptor ()
Defined at line 589 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
template <typename T>
const std::string & Kind_Name (T value)
Defined at line 593 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
bool Kind_Parse (absl::string_view name, Kind * value)
Defined at line 596 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
bool Cardinality_IsValid (int value)
Defined at line 604 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const ::google::protobuf::EnumDescriptor * Cardinality_descriptor ()
Defined at line 610 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
template <typename T>
const std::string & Cardinality_Name (T value)
Defined at line 614 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
bool Cardinality_Parse (absl::string_view name, Cardinality * value)
Defined at line 617 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
int options_size ()
repeated .google.protobuf.Option options = 9;
Defined at line 2224 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_options ()
Defined at line 2227 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
::google::protobuf::Option * mutable_options (int index)
Defined at line 2231 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option> * mutable_options ()
Defined at line 2236 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const ::google::protobuf::Option & options (int index)
Defined at line 2242 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
::google::protobuf::Option * add_options ()
Defined at line 2247 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option> & options ()
Defined at line 2253 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_name ()
string name = 4;
Defined at line 2081 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const std::string & name ()
Defined at line 2085 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
template <typename Arg_ = const std::string&, typename... Args_>
void set_name (Arg_ && arg, Args_... args)
Defined at line 2091 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
std::string * mutable_name ()
Defined at line 2097 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
std::string * release_name ()
Defined at line 2114 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void set_allocated_name (std::string * value)
Defined at line 2119 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_type_url ()
string type_url = 6;
Defined at line 2129 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const std::string & type_url ()
Defined at line 2133 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
template <typename Arg_ = const std::string&, typename... Args_>
void set_type_url (Arg_ && arg, Args_... args)
Defined at line 2139 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
std::string * mutable_type_url ()
Defined at line 2145 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
std::string * release_type_url ()
Defined at line 2162 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void set_allocated_type_url (std::string * value)
Defined at line 2167 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_json_name ()
string json_name = 10;
Defined at line 2270 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const std::string & json_name ()
Defined at line 2274 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
template <typename Arg_ = const std::string&, typename... Args_>
void set_json_name (Arg_ && arg, Args_... args)
Defined at line 2280 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
std::string * mutable_json_name ()
Defined at line 2286 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
std::string * release_json_name ()
Defined at line 2303 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void set_allocated_json_name (std::string * value)
Defined at line 2308 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_default_value ()
string default_value = 11;
Defined at line 2318 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const std::string & default_value ()
Defined at line 2322 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
template <typename Arg_ = const std::string&, typename... Args_>
void set_default_value (Arg_ && arg, Args_... args)
Defined at line 2328 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
std::string * mutable_default_value ()
Defined at line 2334 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
std::string * release_default_value ()
Defined at line 2351 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void set_allocated_default_value (std::string * value)
Defined at line 2356 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_kind ()
.google.protobuf.Field.Kind kind = 1;
Defined at line 2015 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
::google::protobuf::Field_Kind kind ()
Defined at line 2019 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void set_kind (::google::protobuf::Field_Kind value)
Defined at line 2023 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_cardinality ()
.google.protobuf.Field.Cardinality cardinality = 2;
Defined at line 2037 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
::google::protobuf::Field_Cardinality cardinality ()
Defined at line 2041 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void set_cardinality (::google::protobuf::Field_Cardinality value)
Defined at line 2045 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_number ()
int32 number = 3;
Defined at line 2059 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
::int32_t number ()
Defined at line 2063 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void set_number (::int32_t value)
Defined at line 2067 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_oneof_index ()
int32 oneof_index = 7;
Defined at line 2177 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
::int32_t oneof_index ()
Defined at line 2181 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void set_oneof_index (::int32_t value)
Defined at line 2185 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void clear_packed ()
bool packed = 8;
Defined at line 2199 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
bool packed ()
Defined at line 2203 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
void set_packed (bool value)
Defined at line 2207 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
Protected Methods
void Field (::google::protobuf::Arena * arena)
void Field (::google::protobuf::Arena * arena, const Field & from)
void Field (::google::protobuf::Arena * arena, Field && from)
Defined at line 550 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
const ::google::protobuf::internal::ClassData * GetClassData ()
void * PlacementNew_ (const void * , void * mem, ::google::protobuf::Arena * arena)
auto InternalNewImpl_ ()
Enumerations
enum
| Name | Value |
|---|---|
| kOptionsFieldNumber | 9 |
| kNameFieldNumber | 4 |
| kTypeUrlFieldNumber | 6 |
| kJsonNameFieldNumber | 10 |
| kDefaultValueFieldNumber | 11 |
| kKindFieldNumber | 1 |
| kCardinalityFieldNumber | 2 |
| kNumberFieldNumber | 3 |
| kOneofIndexFieldNumber | 7 |
| kPackedFieldNumber | 8 |
accessors -------------------------------------------------------
Defined at line 622 of file ../../third_party/protobuf/src/google/protobuf/type.pb.h
Friends
class TableStruct_google_2fprotobuf_2ftype_2eproto
template <typename T>
class InternalHelper
class Arena
class MessageLite
class TcParser
template <typename T>
basic_string_view Field ()
void Field (Field & aField & b)