protobuf/src/google/protobuf/field_mask.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/field_mask.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto
6 
7 #include <limits>
8 #include <string>
9 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ffield_5fmask_2eproto PROTOBUF_EXPORT
37 PROTOBUF_NAMESPACE_OPEN
38 namespace internal {
39 class AnyMetadata;
40 } // namespace internal
41 PROTOBUF_NAMESPACE_CLOSE
42 
43 // Internal implementation detail -- do not use these members.
45  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
46  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
47  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
48  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
49  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
50  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
52  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
53  static const uint32_t offsets[];
54 };
55 PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto;
56 PROTOBUF_NAMESPACE_OPEN
57 class FieldMask;
60 PROTOBUF_NAMESPACE_CLOSE
61 PROTOBUF_NAMESPACE_OPEN
62 template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FieldMask* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldMask>(Arena*);
63 PROTOBUF_NAMESPACE_CLOSE
64 PROTOBUF_NAMESPACE_OPEN
65 
66 // ===================================================================
67 
68 class PROTOBUF_EXPORT FieldMask final :
69  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldMask) */ {
70  public:
71  inline FieldMask() : FieldMask(nullptr) {}
72  ~FieldMask() override;
73  explicit constexpr FieldMask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
74 
75  FieldMask(const FieldMask& from);
76  FieldMask(FieldMask&& from) noexcept
77  : FieldMask() {
78  *this = ::std::move(from);
79  }
80 
81  inline FieldMask& operator=(const FieldMask& from) {
82  CopyFrom(from);
83  return *this;
84  }
85  inline FieldMask& operator=(FieldMask&& from) noexcept {
86  if (this == &from) return *this;
87  if (GetOwningArena() == from.GetOwningArena()
88  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
89  && GetOwningArena() != nullptr
90  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
91  ) {
92  InternalSwap(&from);
93  } else {
94  CopyFrom(from);
95  }
96  return *this;
97  }
98 
100  return GetDescriptor();
101  }
103  return default_instance().GetMetadata().descriptor;
104  }
105  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
106  return default_instance().GetMetadata().reflection;
107  }
108  static const FieldMask& default_instance() {
109  return *internal_default_instance();
110  }
111  static inline const FieldMask* internal_default_instance() {
112  return reinterpret_cast<const FieldMask*>(
114  }
115  static constexpr int kIndexInFileMessages =
116  0;
117 
118  friend void swap(FieldMask& a, FieldMask& b) {
119  a.Swap(&b);
120  }
121  inline void Swap(FieldMask* other) {
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
129  InternalSwap(other);
130  } else {
132  }
133  }
134  void UnsafeArenaSwap(FieldMask* other) {
135  if (other == this) return;
136  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
137  InternalSwap(other);
138  }
139 
140  // implements Message ----------------------------------------------
141 
143  return CreateMaybeMessage<FieldMask>(arena);
144  }
146  void CopyFrom(const FieldMask& from);
148  void MergeFrom(const FieldMask& from);
149  private:
151  public:
152  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
153  bool IsInitialized() const final;
154 
155  size_t ByteSizeLong() const final;
156  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
158  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
159  int GetCachedSize() const final { return _cached_size_.Get(); }
160 
161  private:
162  void SharedCtor();
163  void SharedDtor();
164  void SetCachedSize(int size) const final;
165  void InternalSwap(FieldMask* other);
166 
167  private:
168  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
169  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
170  return "google.protobuf.FieldMask";
171  }
172  protected:
174  bool is_message_owned = false);
175  private:
176  static void ArenaDtor(void* object);
177  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
178  public:
179 
180  static const ClassData _class_data_;
181  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
182 
183  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
184 
185  // nested types ----------------------------------------------------
186 
187  // accessors -------------------------------------------------------
188 
189  enum : int {
190  kPathsFieldNumber = 1,
191  };
192  // repeated string paths = 1;
193  int paths_size() const;
194  private:
195  int _internal_paths_size() const;
196  public:
197  void clear_paths();
198  const std::string& paths(int index) const;
199  std::string* mutable_paths(int index);
200  void set_paths(int index, const std::string& value);
201  void set_paths(int index, std::string&& value);
202  void set_paths(int index, const char* value);
203  void set_paths(int index, const char* value, size_t size);
204  std::string* add_paths();
205  void add_paths(const std::string& value);
206  void add_paths(std::string&& value);
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();
211  private:
212  const std::string& _internal_paths(int index) const;
213  std::string* _internal_add_paths();
214  public:
215 
216  // @@protoc_insertion_point(class_scope:google.protobuf.FieldMask)
217  private:
218  class _Internal;
219 
220  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
222  typedef void DestructorSkippable_;
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;
226 };
227 // ===================================================================
228 
229 
230 // ===================================================================
231 
232 #ifdef __GNUC__
233  #pragma GCC diagnostic push
234  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
235 #endif // __GNUC__
236 // FieldMask
237 
238 // repeated string paths = 1;
239 inline int FieldMask::_internal_paths_size() const {
240  return paths_.size();
241 }
242 inline int FieldMask::paths_size() const {
243  return _internal_paths_size();
244 }
245 inline void FieldMask::clear_paths() {
246  paths_.Clear();
247 }
249  std::string* _s = _internal_add_paths();
250  // @@protoc_insertion_point(field_add_mutable:google.protobuf.FieldMask.paths)
251  return _s;
252 }
253 inline const std::string& FieldMask::_internal_paths(int index) const {
254  return paths_.Get(index);
255 }
256 inline const std::string& FieldMask::paths(int index) const {
257  // @@protoc_insertion_point(field_get:google.protobuf.FieldMask.paths)
258  return _internal_paths(index);
259 }
261  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldMask.paths)
262  return paths_.Mutable(index);
263 }
264 inline void FieldMask::set_paths(int index, const std::string& value) {
265  paths_.Mutable(index)->assign(value);
266  // @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths)
267 }
268 inline void FieldMask::set_paths(int index, std::string&& value) {
269  paths_.Mutable(index)->assign(std::move(value));
270  // @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths)
271 }
272 inline void FieldMask::set_paths(int index, const char* value) {
273  GOOGLE_DCHECK(value != nullptr);
274  paths_.Mutable(index)->assign(value);
275  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldMask.paths)
276 }
277 inline void FieldMask::set_paths(int index, const char* value, size_t size) {
278  paths_.Mutable(index)->assign(
279  reinterpret_cast<const char*>(value), size);
280  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldMask.paths)
281 }
283  return paths_.Add();
284 }
285 inline void FieldMask::add_paths(const std::string& value) {
286  paths_.Add()->assign(value);
287  // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
288 }
289 inline void FieldMask::add_paths(std::string&& value) {
290  paths_.Add(std::move(value));
291  // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
292 }
293 inline void FieldMask::add_paths(const char* value) {
294  GOOGLE_DCHECK(value != nullptr);
295  paths_.Add()->assign(value);
296  // @@protoc_insertion_point(field_add_char:google.protobuf.FieldMask.paths)
297 }
298 inline void FieldMask::add_paths(const char* value, size_t size) {
299  paths_.Add()->assign(reinterpret_cast<const char*>(value), size);
300  // @@protoc_insertion_point(field_add_pointer:google.protobuf.FieldMask.paths)
301 }
302 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
303 FieldMask::paths() const {
304  // @@protoc_insertion_point(field_list:google.protobuf.FieldMask.paths)
305  return paths_;
306 }
307 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
309  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldMask.paths)
310  return &paths_;
311 }
312 
313 #ifdef __GNUC__
314  #pragma GCC diagnostic pop
315 #endif // __GNUC__
316 
317 // @@protoc_insertion_point(namespace_scope)
318 
319 PROTOBUF_NAMESPACE_CLOSE
320 
321 // @@protoc_insertion_point(global_scope)
322 
323 #include <google/protobuf/port_undef.inc>
324 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto
ptr
char * ptr
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:45
FieldMask::Swap
void Swap(FieldMask *other)
Definition: protobuf/src/google/protobuf/field_mask.pb.h:121
Arena
struct Arena Arena
Definition: third_party/bloaty/third_party/protobuf/src/google/protobuf/arena.h:189
FieldMask::operator=
FieldMask & operator=(FieldMask &&from) noexcept
Definition: protobuf/src/google/protobuf/field_mask.pb.h:85
ctx
Definition: benchmark-async.c:30
const
#define const
Definition: bloaty/third_party/zlib/zconf.h:230
google::protobuf.internal.python_message.MergeFrom
MergeFrom
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1339
FieldMask
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:69
GOOGLE_DCHECK
#define GOOGLE_DCHECK
Definition: bloaty/third_party/protobuf/src/google/protobuf/stubs/logging.h:194
FieldMask::add_paths
std::string * add_paths()
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:254
FieldMask::_class_data_
static const ClassData _class_data_
Definition: protobuf/src/google/protobuf/field_mask.pb.h:180
FieldMask::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: protobuf/src/google/protobuf/field_mask.pb.h:105
google::protobuf::python::cmessage::CopyFrom
static PyObject * CopyFrom(CMessage *self, PyObject *arg)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/message.cc:1862
Arena
Definition: arena.c:39
testing::internal::string
::std::string string
Definition: bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
grpc::protobuf::Message
GRPC_CUSTOM_MESSAGE Message
Definition: include/grpcpp/impl/codegen/config_protobuf.h:78
a
int a
Definition: abseil-cpp/absl/container/internal/hash_policy_traits_test.cc:88
google::protobuf.internal::GenericSwap
void GenericSwap(MessageLite *m1, MessageLite *m2)
Definition: bloaty/third_party/protobuf/src/google/protobuf/generated_message_util.cc:735
to
size_t to
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1385
uint8_t
unsigned char uint8_t
Definition: stdint-msvc2008.h:78
google::protobuf.internal.python_message._InternalParse
_InternalParse
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1196
FieldMask::paths_size
int paths_size() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:248
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
from
size_t from
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1384
FieldMask::operator=
FieldMask & operator=(const FieldMask &from)
Definition: protobuf/src/google/protobuf/field_mask.pb.h:81
FieldMaskDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.cc:18
FieldMask
struct FieldMask FieldMask
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:649
absl::move
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
Definition: abseil-cpp/absl/utility/utility.h:221
FieldMask::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: protobuf/src/google/protobuf/field_mask.pb.h:102
FieldMask::paths
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & paths() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:308
google::protobuf.internal.python_message._InternalSerialize
_InternalSerialize
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1112
FieldMask::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: protobuf/src/google/protobuf/field_mask.pb.h:221
TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:45
_FieldMask_default_instance_
PROTOBUF_EXPORT FieldMaskDefaultTypeInternal _FieldMask_default_instance_
Definition: protobuf/src/google/protobuf/field_mask.pb.cc:31
FieldMask::clear_paths
void clear_paths()
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:251
FieldMask::_internal_paths
const std::string & _internal_paths(int index) const
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:258
io
FieldMask::_internal_paths_size
int _internal_paths_size() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:245
FieldMask::mutable_paths
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_paths()
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:313
descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto
PROTOBUF_EXPORTconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.cc:72
b
uint64_t b
Definition: abseil-cpp/absl/container/internal/layout_test.cc:53
FieldMask::FieldMask
FieldMask()
Definition: protobuf/src/google/protobuf/field_mask.pb.h:71
FieldMask::UnsafeArenaSwap
void UnsafeArenaSwap(FieldMask *other)
Definition: protobuf/src/google/protobuf/field_mask.pb.h:134
value
const char * value
Definition: hpack_parser_table.cc:165
FieldMask::set_paths
void set_paths(int index, const std::string &value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:269
google::protobuf.internal.python_message.Clear
Clear
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1430
index
int index
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:1184
FieldMask::DestructorSkippable_
void DestructorSkippable_
Definition: protobuf/src/google/protobuf/field_mask.pb.h:222
FieldMask::_internal_add_paths
std::string * _internal_add_paths()
Definition: bloaty/third_party/protobuf/src/google/protobuf/field_mask.pb.h:287
google::protobuf.internal.python_message.IsInitialized
IsInitialized
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1245
FieldMask::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: protobuf/src/google/protobuf/field_mask.pb.h:99
FieldMask::default_instance
static const FieldMask & default_instance()
Definition: protobuf/src/google/protobuf/field_mask.pb.h:108
FieldMask::swap
friend void swap(FieldMask &a, FieldMask &b)
Definition: protobuf/src/google/protobuf/field_mask.pb.h:118
FieldMask::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: protobuf/src/google/protobuf/field_mask.pb.h:169
internal
Definition: benchmark/test/output_test_helper.cc:20
grpc_binder::Metadata
std::vector< std::pair< std::string, std::string > > Metadata
Definition: transaction.h:38
FieldMask::internal_default_instance
static const FieldMask * internal_default_instance()
Definition: protobuf/src/google/protobuf/field_mask.pb.h:111
grpc::protobuf::Descriptor
GRPC_CUSTOM_DESCRIPTOR Descriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:81
size
voidpf void uLong size
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
FieldMask::FieldMask
FieldMask(FieldMask &&from) noexcept
Definition: protobuf/src/google/protobuf/field_mask.pb.h:76
setup.target
target
Definition: third_party/bloaty/third_party/protobuf/python/setup.py:179
google::protobuf::python::message_descriptor::GetDescriptor
static ParentDescriptor GetDescriptor(PyContainer *self)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/descriptor_containers.cc:951
PROTOBUF_SECTION_VARIABLE
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fany_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
stream
voidpf stream
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
FieldMask::New
FieldMask * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: protobuf/src/google/protobuf/field_mask.pb.h:142


grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:22