Go to the documentation of this file.
33 #ifndef GOOGLE_PROTOBUF_UTIL_FIELD_MASK_UTIL_H__
34 #define GOOGLE_PROTOBUF_UTIL_FIELD_MASK_UTIL_H__
42 #include <google/protobuf/port_def.inc>
68 static bool GetFieldDescriptors(
70 std::vector<const FieldDescriptor*>* field_descriptors);
81 for (
int i = 0;
i <
mask.paths_size(); ++
i) {
104 template <
typename T>
105 PROTOBUF_DEPRECATED_MSG(
"Use *out = GetFieldMaskForAllFields() instead")
130 template <
typename T>
200 : replace_message_fields_(
false), replace_repeated_fields_(
false) {}
208 replace_message_fields_ =
value;
216 replace_repeated_fields_ =
value;
243 #include <google/protobuf/port_undef.inc>
245 #endif // GOOGLE_PROTOBUF_UTIL_FIELD_MASK_UTIL_H__
void set_replace_repeated_fields(bool value)
const Descriptor::ReservedRange value
bool replace_repeated_fields_
bool replace_message_fields() const
GLsizei const GLchar *const * string
struct FieldMask FieldMask
bool replace_repeated_fields() const
bool replace_message_fields_
GLsizei const GLchar ** path
static bool IsValidPath(StringPiece path)
static bool IsValidFieldMask(const FieldMask &mask)
GLsizei GLsizei GLchar * source
#define GOOGLE_CHECK(EXPRESSION)
google::protobuf::FieldMask FieldMask
void set_replace_message_fields(bool value)
void set_keep_required_fields(bool value)
bool keep_required_fields() const
bool keep_required_fields_
static FieldMask GetFieldMaskForAllFields()
GLsizei const GLfloat * value
static void AddPathToFieldMask(StringPiece path, FieldMask *mask)
const upb_json_parsermethod const upb_symtab upb_sink * output
static void Subtract(const FieldMask &mask1, const FieldMask &mask2, FieldMask *out)
GLenum GLuint GLenum GLsizei const GLchar * message
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:51