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 < 3009000
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 3009002 < 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>
24 #include <google/protobuf/arena.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ffield_5fmask_2eproto PROTOBUF_EXPORT
38 PROTOBUF_NAMESPACE_OPEN
39 namespace internal {
40 class AnyMetadata;
41 } // namespace internal
42 PROTOBUF_NAMESPACE_CLOSE
43 
44 // Internal implementation detail -- do not use these members.
46  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
48  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
49  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
50  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
51  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
55 };
56 extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto;
57 PROTOBUF_NAMESPACE_OPEN
58 class FieldMask;
61 PROTOBUF_NAMESPACE_CLOSE
62 PROTOBUF_NAMESPACE_OPEN
63 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::FieldMask* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::FieldMask>(Arena*);
64 PROTOBUF_NAMESPACE_CLOSE
65 PROTOBUF_NAMESPACE_OPEN
66 
67 // ===================================================================
68 
69 class PROTOBUF_EXPORT FieldMask :
70  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FieldMask) */ {
71  public:
72  FieldMask();
73  virtual ~FieldMask();
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 (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
87  if (this != &from) InternalSwap(&from);
88  } else {
89  CopyFrom(from);
90  }
91  return *this;
92  }
93 
94  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
95  return GetArenaNoVirtual();
96  }
97  inline void* GetMaybeArenaPointer() const final {
98  return MaybeArenaPtr();
99  }
101  return GetDescriptor();
102  }
104  return GetMetadataStatic().descriptor;
105  }
106  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
107  return GetMetadataStatic().reflection;
108  }
109  static const FieldMask& default_instance();
110 
111  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
112  static inline const FieldMask* internal_default_instance() {
113  return reinterpret_cast<const FieldMask*>(
115  }
116  static constexpr int kIndexInFileMessages =
117  0;
118 
119  friend void swap(FieldMask& a, FieldMask& b) {
120  a.Swap(&b);
121  }
122  inline void Swap(FieldMask* other) {
123  if (other == this) return;
124  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
125  InternalSwap(other);
126  } else {
128  }
129  }
130  void UnsafeArenaSwap(FieldMask* other) {
131  if (other == this) return;
132  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
133  InternalSwap(other);
134  }
135 
136  // implements Message ----------------------------------------------
137 
138  inline FieldMask* New() const final {
139  return CreateMaybeMessage<FieldMask>(nullptr);
140  }
141 
142  FieldMask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
143  return CreateMaybeMessage<FieldMask>(arena);
144  }
145  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
146  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
147  void CopyFrom(const FieldMask& from);
148  void MergeFrom(const FieldMask& from);
149  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
150  bool IsInitialized() const final;
151 
152  size_t ByteSizeLong() const final;
153  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
154  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
155  #else
157  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
158  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
159  void SerializeWithCachedSizes(
160  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
161  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
162  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
163  int GetCachedSize() const final { return _cached_size_.Get(); }
164 
165  private:
166  inline void SharedCtor();
167  inline void SharedDtor();
168  void SetCachedSize(int size) const final;
169  void InternalSwap(FieldMask* other);
170  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172  return "google.protobuf.FieldMask";
173  }
174  protected:
175  explicit FieldMask(::PROTOBUF_NAMESPACE_ID::Arena* arena);
176  private:
177  static void ArenaDtor(void* object);
178  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
179  private:
180  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
181  return _internal_metadata_.arena();
182  }
183  inline void* MaybeArenaPtr() const {
184  return _internal_metadata_.raw_arena_ptr();
185  }
186  public:
187 
188  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
189  private:
190  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
192  return ::descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto.file_level_metadata[kIndexInFileMessages];
193  }
194 
195  public:
196 
197  // nested types ----------------------------------------------------
198 
199  // accessors -------------------------------------------------------
200 
201  enum : int {
202  kPathsFieldNumber = 1,
203  };
204  // repeated string paths = 1;
205  int paths_size() const;
206  void clear_paths();
207  const std::string& paths(int index) const;
208  std::string* mutable_paths(int index);
209  void set_paths(int index, const std::string& value);
210  void set_paths(int index, std::string&& value);
211  void set_paths(int index, const char* value);
212  void set_paths(int index, const char* value, size_t size);
213  std::string* add_paths();
214  void add_paths(const std::string& value);
215  void add_paths(std::string&& value);
216  void add_paths(const char* value);
217  void add_paths(const char* value, size_t size);
218  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& paths() const;
219  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_paths();
220 
221  // @@protoc_insertion_point(class_scope:google.protobuf.FieldMask)
222  private:
223  class _Internal;
224 
225  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
226  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
228  typedef void DestructorSkippable_;
229  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> paths_;
230  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
231  friend struct ::TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto;
232 };
233 // ===================================================================
234 
235 
236 // ===================================================================
237 
238 #ifdef __GNUC__
239  #pragma GCC diagnostic push
240  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
241 #endif // __GNUC__
242 // FieldMask
243 
244 // repeated string paths = 1;
245 inline int FieldMask::paths_size() const {
246  return paths_.size();
247 }
248 inline void FieldMask::clear_paths() {
249  paths_.Clear();
250 }
251 inline const std::string& FieldMask::paths(int index) const {
252  // @@protoc_insertion_point(field_get:google.protobuf.FieldMask.paths)
253  return paths_.Get(index);
254 }
256  // @@protoc_insertion_point(field_mutable:google.protobuf.FieldMask.paths)
257  return paths_.Mutable(index);
258 }
259 inline void FieldMask::set_paths(int index, const std::string& value) {
260  // @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths)
261  paths_.Mutable(index)->assign(value);
262 }
264  // @@protoc_insertion_point(field_set:google.protobuf.FieldMask.paths)
265  paths_.Mutable(index)->assign(std::move(value));
266 }
267 inline void FieldMask::set_paths(int index, const char* value) {
268  GOOGLE_DCHECK(value != nullptr);
269  paths_.Mutable(index)->assign(value);
270  // @@protoc_insertion_point(field_set_char:google.protobuf.FieldMask.paths)
271 }
272 inline void FieldMask::set_paths(int index, const char* value, size_t size) {
273  paths_.Mutable(index)->assign(
274  reinterpret_cast<const char*>(value), size);
275  // @@protoc_insertion_point(field_set_pointer:google.protobuf.FieldMask.paths)
276 }
278  // @@protoc_insertion_point(field_add_mutable:google.protobuf.FieldMask.paths)
279  return paths_.Add();
280 }
282  paths_.Add()->assign(value);
283  // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
284 }
286  paths_.Add(std::move(value));
287  // @@protoc_insertion_point(field_add:google.protobuf.FieldMask.paths)
288 }
289 inline void FieldMask::add_paths(const char* value) {
290  GOOGLE_DCHECK(value != nullptr);
291  paths_.Add()->assign(value);
292  // @@protoc_insertion_point(field_add_char:google.protobuf.FieldMask.paths)
293 }
294 inline void FieldMask::add_paths(const char* value, size_t size) {
295  paths_.Add()->assign(reinterpret_cast<const char*>(value), size);
296  // @@protoc_insertion_point(field_add_pointer:google.protobuf.FieldMask.paths)
297 }
298 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
300  // @@protoc_insertion_point(field_list:google.protobuf.FieldMask.paths)
301  return paths_;
302 }
303 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
305  // @@protoc_insertion_point(field_mutable_list:google.protobuf.FieldMask.paths)
306  return &paths_;
307 }
308 
309 #ifdef __GNUC__
310  #pragma GCC diagnostic pop
311 #endif // __GNUC__
312 
313 // @@protoc_insertion_point(namespace_scope)
314 
315 PROTOBUF_NAMESPACE_CLOSE
316 
317 // @@protoc_insertion_point(global_scope)
318 
319 #include <google/protobuf/port_undef.inc>
320 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ffield_5fmask_2eproto
PROTOBUF_SECTION_VARIABLE
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fany_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ffield_5fmask_2eproto
Definition: field_mask.pb.cc:73
FieldMask::Swap
void Swap(FieldMask *other)
Definition: field_mask.pb.h:122
FieldMask::operator=
FieldMask & operator=(FieldMask &&from) noexcept
Definition: field_mask.pb.h:85
arenastring.h
benchmarks.python.py_benchmark.const
const
Definition: py_benchmark.py:14
google::protobuf.internal.python_message.MergeFrom
MergeFrom
Definition: python_message.py:1340
FieldMask
Definition: field_mask.pb.h:69
input
std::string input
Definition: tokenizer_unittest.cc:197
extension_set.h
inlined_string_field.h
google::protobuf::uint8
uint8_t uint8
Definition: protobuf/src/google/protobuf/stubs/port.h:153
FieldMask::add_paths
std::string * add_paths()
Definition: field_mask.pb.h:277
GOOGLE_DCHECK
#define GOOGLE_DCHECK
Definition: logging.h:194
FieldMask::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: field_mask.pb.h:106
google::protobuf::python::cmessage::CopyFrom
static PyObject * CopyFrom(CMessage *self, PyObject *arg)
Definition: python/google/protobuf/pyext/message.cc:1861
google::protobuf::uint32
uint32_t uint32
Definition: protobuf/src/google/protobuf/stubs/port.h:155
FieldMask::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: field_mask.pb.h:223
generated_message_reflection.h
string
GLsizei const GLchar *const * string
Definition: glcorearb.h:3083
google::protobuf.internal::GenericSwap
void GenericSwap(MessageLite *m1, MessageLite *m2)
Definition: generated_message_util.cc:750
FieldMask
struct FieldMask FieldMask
Definition: php/ext/google/protobuf/protobuf.h:640
FieldMask::New
FieldMask * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: field_mask.pb.h:142
target
GLenum target
Definition: glcorearb.h:3739
google::protobuf.internal.python_message._InternalParse
_InternalParse
Definition: python_message.py:1197
FieldMask::paths_size
int paths_size() const
Definition: field_mask.pb.h:245
FieldMask::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: field_mask.pb.h:180
b
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:3228
FieldMask::operator=
FieldMask & operator=(const FieldMask &from)
Definition: field_mask.pb.h:81
FieldMaskDefaultTypeInternal
Definition: field_mask.pb.cc:19
google::protobuf.internal::MergePartialFromCodedStream
bool MergePartialFromCodedStream(MessageLite *msg, const ParseTable &table, io::CodedInputStream *input)
Definition: generated_message_table_driven.cc:96
FieldMask::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: field_mask.pb.h:230
FieldMask::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: field_mask.pb.h:103
FieldMask::paths
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & paths() const
Definition: field_mask.pb.h:299
unknown_field_set.h
coded_stream.h
FieldMask::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: field_mask.pb.h:227
TableStruct_google_2fprotobuf_2ffield_5fmask_2eproto
Definition: field_mask.pb.h:45
message.h
FieldMask::clear_paths
void clear_paths()
Definition: field_mask.pb.h:248
repeated_field.h
FieldMask::mutable_paths
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_paths()
Definition: field_mask.pb.h:304
generated_message_table_driven.h
FieldMask::paths_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > paths_
Definition: field_mask.pb.h:229
Descriptor
struct Descriptor Descriptor
Definition: php/ext/google/protobuf/protobuf.h:628
FieldMask::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: field_mask.pb.h:183
FieldMask::UnsafeArenaSwap
void UnsafeArenaSwap(FieldMask *other)
Definition: field_mask.pb.h:130
FieldMask::set_paths
void set_paths(int index, const std::string &value)
Definition: field_mask.pb.h:259
google::protobuf.internal.python_message.Clear
Clear
Definition: python_message.py:1431
size
GLsizeiptr size
Definition: glcorearb.h:2943
arena.h
FieldMask::DestructorSkippable_
void DestructorSkippable_
Definition: field_mask.pb.h:228
metadata.h
FieldMask::New
FieldMask * New() const final
Definition: field_mask.pb.h:138
generated_message_util.h
google::protobuf.internal.python_message.IsInitialized
IsInitialized
Definition: python_message.py:1246
FieldMask::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: field_mask.pb.h:100
FieldMask::swap
friend void swap(FieldMask &a, FieldMask &b)
Definition: field_mask.pb.h:119
FieldMask::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: field_mask.pb.h:171
_FieldMask_default_instance_
PROTOBUF_EXPORT FieldMaskDefaultTypeInternal _FieldMask_default_instance_
internal
Definition: any.pb.h:40
google::protobuf.internal::AssignDescriptors
void AssignDescriptors(const DescriptorTable *table)
Definition: generated_message_reflection.cc:2403
FieldMask::internal_default_instance
static const FieldMask * internal_default_instance()
Definition: field_mask.pb.h:112
value
GLsizei const GLfloat * value
Definition: glcorearb.h:3093
FieldMask::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: field_mask.pb.h:94
output
const upb_json_parsermethod const upb_symtab upb_sink * output
Definition: ruby/ext/google/protobuf_c/upb.h:10503
index
GLuint index
Definition: glcorearb.h:3055
a
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:3228
FieldMask::FieldMask
FieldMask(FieldMask &&from) noexcept
Definition: field_mask.pb.h:76
FieldMask::GetCachedSize
int GetCachedSize() const final
Definition: field_mask.pb.h:163
google::protobuf::python::message_descriptor::GetDescriptor
static ParentDescriptor GetDescriptor(PyContainer *self)
Definition: descriptor_containers.cc:950
FieldMask::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: field_mask.pb.h:97


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:51