| |
|
| |
|
| |
|
| | #ifndef PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto__INCLUDED
|
| | #define PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto__INCLUDED
|
| |
|
| | #include <string>
|
| |
|
| | #include <google/protobuf/stubs/common.h>
|
| |
|
| | #if GOOGLE_PROTOBUF_VERSION < 3005000
|
| | #error This file was generated by a newer version of protoc which is
|
| | #error incompatible with your Protocol Buffer headers. Please update
|
| | #error your headers.
|
| | #endif
|
| | #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
|
| | #error This file was generated by an older version of protoc which is
|
| | #error incompatible with your Protocol Buffer headers. Please
|
| | #error regenerate this file with a newer version of protoc.
|
| | #endif
|
| |
|
| | #include <google/protobuf/io/coded_stream.h>
|
| | #include <google/protobuf/arena.h>
|
| | #include <google/protobuf/arenastring.h>
|
| | #include <google/protobuf/generated_message_table_driven.h>
|
| | #include <google/protobuf/generated_message_util.h>
|
| | #include <google/protobuf/metadata.h>
|
| | #include <google/protobuf/message.h>
|
| | #include <google/protobuf/repeated_field.h>
|
| | #include <google/protobuf/extension_set.h>
|
| | #include <google/protobuf/unknown_field_set.h>
|
| |
|
| |
|
| | namespace protobuf_google_2fprotobuf_2ffield_5fmask_2eproto {
|
| |
|
| | struct LIBPROTOBUF_EXPORT TableStruct {
|
| | static const ::google::protobuf::internal::ParseTableField entries[];
|
| | static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
|
| | static const ::google::protobuf::internal::ParseTable schema[1];
|
| | static const ::google::protobuf::internal::FieldMetadata field_metadata[];
|
| | static const ::google::protobuf::internal::SerializationTable serialization_table[];
|
| | static const ::google::protobuf::uint32 offsets[];
|
| | };
|
| | void LIBPROTOBUF_EXPORT AddDescriptors();
|
| | void LIBPROTOBUF_EXPORT InitDefaultsFieldMaskImpl();
|
| | void LIBPROTOBUF_EXPORT InitDefaultsFieldMask();
|
| | inline void LIBPROTOBUF_EXPORT InitDefaults() {
|
| | InitDefaultsFieldMask();
|
| | }
|
| | }
|
| | namespace google {
|
| | namespace protobuf {
|
| | class FieldMask;
|
| | class FieldMaskDefaultTypeInternal;
|
| | LIBPROTOBUF_EXPORT extern FieldMaskDefaultTypeInternal _FieldMask_default_instance_;
|
| | }
|
| | }
|
| | namespace google {
|
| | namespace protobuf {
|
| |
|
| |
|
| |
|
| | class LIBPROTOBUF_EXPORT FieldMask : public ::google::protobuf::Message {
|
| | public:
|
| | FieldMask();
|
| | virtual ~FieldMask();
|
| |
|
| | FieldMask(const FieldMask& from);
|
| |
|
| | inline FieldMask& operator=(const FieldMask& from) {
|
| | CopyFrom(from);
|
| | return *this;
|
| | }
|
| | #if LANG_CXX11
|
| | FieldMask(FieldMask&& from) noexcept
|
| | : FieldMask() {
|
| | *this = ::std::move(from);
|
| | }
|
| |
|
| | inline FieldMask& operator=(FieldMask&& from) noexcept {
|
| | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
|
| | if (this != &from) InternalSwap(&from);
|
| | } else {
|
| | CopyFrom(from);
|
| | }
|
| | return *this;
|
| | }
|
| | #endif
|
| | static const ::google::protobuf::Descriptor* descriptor();
|
| | static const FieldMask& default_instance();
|
| |
|
| | static void InitAsDefaultInstance();
|
| | static inline const FieldMask* internal_default_instance() {
|
| | return reinterpret_cast<const FieldMask*>(
|
| | &_FieldMask_default_instance_);
|
| | }
|
| | static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
|
| | 0;
|
| |
|
| | void Swap(FieldMask* other);
|
| | friend void swap(FieldMask& a, FieldMask& b) {
|
| | a.Swap(&b);
|
| | }
|
| |
|
| |
|
| |
|
| | inline FieldMask* New() const PROTOBUF_FINAL { return New(NULL); }
|
| |
|
| | FieldMask* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
|
| | void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
| | void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
|
| | void CopyFrom(const FieldMask& from);
|
| | void MergeFrom(const FieldMask& from);
|
| | void Clear() PROTOBUF_FINAL;
|
| | bool IsInitialized() const PROTOBUF_FINAL;
|
| |
|
| | size_t ByteSizeLong() const PROTOBUF_FINAL;
|
| | bool MergePartialFromCodedStream(
|
| | ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
|
| | void SerializeWithCachedSizes(
|
| | ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
|
| | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
|
| | bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
|
| | int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
|
| | private:
|
| | void SharedCtor();
|
| | void SharedDtor();
|
| | void SetCachedSize(int size) const PROTOBUF_FINAL;
|
| | void InternalSwap(FieldMask* other);
|
| | private:
|
| | inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
|
| | return NULL;
|
| | }
|
| | inline void* MaybeArenaPtr() const {
|
| | return NULL;
|
| | }
|
| | public:
|
| |
|
| | ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| | int paths_size() const;
|
| | void clear_paths();
|
| | static const int kPathsFieldNumber = 1;
|
| | const ::std::string& paths(int index) const;
|
| | ::std::string* mutable_paths(int index);
|
| | void set_paths(int index, const ::std::string& value);
|
| | #if LANG_CXX11
|
| | void set_paths(int index, ::std::string&& value);
|
| | #endif
|
| | void set_paths(int index, const char* value);
|
| | void set_paths(int index, const char* value, size_t size);
|
| | ::std::string* add_paths();
|
| | void add_paths(const ::std::string& value);
|
| | #if LANG_CXX11
|
| | void add_paths(::std::string&& value);
|
| | #endif
|
| | void add_paths(const char* value);
|
| | void add_paths(const char* value, size_t size);
|
| | const ::google::protobuf::RepeatedPtrField< ::std::string>& paths() const;
|
| | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_paths();
|
| |
|
| |
|
| | private:
|
| |
|
| | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
|
| | ::google::protobuf::RepeatedPtrField< ::std::string> paths_;
|
| | mutable int _cached_size_;
|
| | friend struct ::protobuf_google_2fprotobuf_2ffield_5fmask_2eproto::TableStruct;
|
| | friend void ::protobuf_google_2fprotobuf_2ffield_5fmask_2eproto::InitDefaultsFieldMaskImpl();
|
| | };
|
| |
|
| |
|
| |
|
| |
|
| |
|
| | #ifdef __GNUC__
|
| | #pragma GCC diagnostic push
|
| | #pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
| | #endif
|
| |
|
| |
|
| |
|
| | inline int FieldMask::paths_size() const {
|
| | return paths_.size();
|
| | }
|
| | inline void FieldMask::clear_paths() {
|
| | paths_.Clear();
|
| | }
|
| | inline const ::std::string& FieldMask::paths(int index) const {
|
| |
|
| | return paths_.Get(index);
|
| | }
|
| | inline ::std::string* FieldMask::mutable_paths(int index) {
|
| |
|
| | return paths_.Mutable(index);
|
| | }
|
| | inline void FieldMask::set_paths(int index, const ::std::string& value) {
|
| |
|
| | paths_.Mutable(index)->assign(value);
|
| | }
|
| | #if LANG_CXX11
|
| | inline void FieldMask::set_paths(int index, ::std::string&& value) {
|
| |
|
| | paths_.Mutable(index)->assign(std::move(value));
|
| | }
|
| | #endif
|
| | inline void FieldMask::set_paths(int index, const char* value) {
|
| | GOOGLE_DCHECK(value != NULL);
|
| | paths_.Mutable(index)->assign(value);
|
| |
|
| | }
|
| | inline void FieldMask::set_paths(int index, const char* value, size_t size) {
|
| | paths_.Mutable(index)->assign(
|
| | reinterpret_cast<const char*>(value), size);
|
| |
|
| | }
|
| | inline ::std::string* FieldMask::add_paths() {
|
| |
|
| | return paths_.Add();
|
| | }
|
| | inline void FieldMask::add_paths(const ::std::string& value) {
|
| | paths_.Add()->assign(value);
|
| |
|
| | }
|
| | #if LANG_CXX11
|
| | inline void FieldMask::add_paths(::std::string&& value) {
|
| | paths_.Add(std::move(value));
|
| |
|
| | }
|
| | #endif
|
| | inline void FieldMask::add_paths(const char* value) {
|
| | GOOGLE_DCHECK(value != NULL);
|
| | paths_.Add()->assign(value);
|
| |
|
| | }
|
| | inline void FieldMask::add_paths(const char* value, size_t size) {
|
| | paths_.Add()->assign(reinterpret_cast<const char*>(value), size);
|
| |
|
| | }
|
| | inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
|
| | FieldMask::paths() const {
|
| |
|
| | return paths_;
|
| | }
|
| | inline ::google::protobuf::RepeatedPtrField< ::std::string>*
|
| | FieldMask::mutable_paths() {
|
| |
|
| | return &paths_;
|
| | }
|
| |
|
| | #ifdef __GNUC__
|
| | #pragma GCC diagnostic pop
|
| | #endif
|
| |
|
| |
|
| |
|
| | }
|
| | }
|
| |
|
| |
|
| |
|
| | #endif
|
| |
|