4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3019005 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ffield_5fmask_2eproto PROTOBUF_EXPORT
37 PROTOBUF_NAMESPACE_OPEN
41 PROTOBUF_NAMESPACE_CLOSE
45 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
49 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
51 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
52 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
56 PROTOBUF_NAMESPACE_OPEN
60 PROTOBUF_NAMESPACE_CLOSE
61 PROTOBUF_NAMESPACE_OPEN
63 PROTOBUF_NAMESPACE_CLOSE
64 PROTOBUF_NAMESPACE_OPEN
73 explicit constexpr
FieldMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
86 if (
this == &
from)
return *
this;
87 if (GetOwningArena() ==
from.GetOwningArena()
88 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
89 && GetOwningArena() !=
nullptr
103 return default_instance().GetMetadata().descriptor;
106 return default_instance().GetMetadata().reflection;
109 return *internal_default_instance();
112 return reinterpret_cast<const FieldMask*
>(
115 static constexpr
int kIndexInFileMessages =
122 if (other ==
this)
return;
123 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
124 if (GetOwningArena() !=
nullptr &&
125 GetOwningArena() == other->GetOwningArena()) {
126 #else // PROTOBUF_FORCE_COPY_IN_SWAP
127 if (GetOwningArena() == other->GetOwningArena()) {
128 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
135 if (other ==
this)
return;
143 return CreateMaybeMessage<FieldMask>(
arena);
152 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
155 size_t ByteSizeLong()
const final;
159 int GetCachedSize()
const final {
return _cached_size_.Get(); }
164 void SetCachedSize(
int size)
const final;
168 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
170 return "google.protobuf.FieldMask";
174 bool is_message_owned =
false);
176 static void ArenaDtor(
void*
object);
181 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData()
const final;
190 kPathsFieldNumber = 1,
193 int paths_size()
const;
195 int _internal_paths_size()
const;
207 void add_paths(
const char*
value);
208 void add_paths(
const char*
value,
size_t size);
209 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& paths()
const;
210 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_paths();
220 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
223 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> paths_;
224 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
225 friend struct ::TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto;
233 #pragma GCC diagnostic push
234 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
240 return paths_.size();
243 return _internal_paths_size();
254 return paths_.Get(
index);
258 return _internal_paths(
index);
262 return paths_.Mutable(
index);
278 paths_.Mutable(
index)->assign(
279 reinterpret_cast<const char*
>(
value),
size);
286 paths_.Add()->assign(
value);
295 paths_.Add()->assign(
value);
299 paths_.Add()->assign(
reinterpret_cast<const char*
>(
value),
size);
302 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
307 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
314 #pragma GCC diagnostic pop
319 PROTOBUF_NAMESPACE_CLOSE
323 #include <google/protobuf/port_undef.inc>
324 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto