diff options
Diffstat (limited to 'Firestore/Protos/cpp/firestore/local/target.pb.h')
-rw-r--r-- | Firestore/Protos/cpp/firestore/local/target.pb.h | 695 |
1 files changed, 695 insertions, 0 deletions
diff --git a/Firestore/Protos/cpp/firestore/local/target.pb.h b/Firestore/Protos/cpp/firestore/local/target.pb.h new file mode 100644 index 0000000..2896f29 --- /dev/null +++ b/Firestore/Protos/cpp/firestore/local/target.pb.h @@ -0,0 +1,695 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: firestore/local/target.proto + +#ifndef PROTOBUF_firestore_2flocal_2ftarget_2eproto__INCLUDED +#define PROTOBUF_firestore_2flocal_2ftarget_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 3005000 < 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> // IWYU pragma: export +#include <google/protobuf/extension_set.h> // IWYU pragma: export +#include <google/protobuf/unknown_field_set.h> +#include "google/firestore/v1beta1/firestore.pb.h" +#include <google/protobuf/timestamp.pb.h> +// @@protoc_insertion_point(includes) + +namespace protobuf_firestore_2flocal_2ftarget_2eproto { +// Internal implementation detail -- do not use these members. +struct TableStruct { + static const ::google::protobuf::internal::ParseTableField entries[]; + static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; + static const ::google::protobuf::internal::ParseTable schema[2]; + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors(); +void InitDefaultsTargetImpl(); +void InitDefaultsTarget(); +void InitDefaultsTargetGlobalImpl(); +void InitDefaultsTargetGlobal(); +inline void InitDefaults() { + InitDefaultsTarget(); + InitDefaultsTargetGlobal(); +} +} // namespace protobuf_firestore_2flocal_2ftarget_2eproto +namespace firestore { +namespace client { +class Target; +class TargetDefaultTypeInternal; +extern TargetDefaultTypeInternal _Target_default_instance_; +class TargetGlobal; +class TargetGlobalDefaultTypeInternal; +extern TargetGlobalDefaultTypeInternal _TargetGlobal_default_instance_; +} // namespace client +} // namespace firestore +namespace firestore { +namespace client { + +// =================================================================== + +class Target : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:firestore.client.Target) */ { + public: + Target(); + virtual ~Target(); + + Target(const Target& from); + + inline Target& operator=(const Target& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Target(Target&& from) noexcept + : Target() { + *this = ::std::move(from); + } + + inline Target& operator=(Target&& 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 Target& default_instance(); + + enum TargetTypeCase { + kQuery = 5, + kDocuments = 6, + TARGET_TYPE_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Target* internal_default_instance() { + return reinterpret_cast<const Target*>( + &_Target_default_instance_); + } + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = + 0; + + void Swap(Target* other); + friend void swap(Target& a, Target& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Target* New() const PROTOBUF_FINAL { return New(NULL); } + + Target* 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 Target& from); + void MergeFrom(const Target& 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(Target* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // bytes resume_token = 3; + void clear_resume_token(); + static const int kResumeTokenFieldNumber = 3; + const ::std::string& resume_token() const; + void set_resume_token(const ::std::string& value); + #if LANG_CXX11 + void set_resume_token(::std::string&& value); + #endif + void set_resume_token(const char* value); + void set_resume_token(const void* value, size_t size); + ::std::string* mutable_resume_token(); + ::std::string* release_resume_token(); + void set_allocated_resume_token(::std::string* resume_token); + + // .google.protobuf.Timestamp snapshot_version = 2; + bool has_snapshot_version() const; + void clear_snapshot_version(); + static const int kSnapshotVersionFieldNumber = 2; + const ::google::protobuf::Timestamp& snapshot_version() const; + ::google::protobuf::Timestamp* release_snapshot_version(); + ::google::protobuf::Timestamp* mutable_snapshot_version(); + void set_allocated_snapshot_version(::google::protobuf::Timestamp* snapshot_version); + + // int64 last_listen_sequence_number = 4; + void clear_last_listen_sequence_number(); + static const int kLastListenSequenceNumberFieldNumber = 4; + ::google::protobuf::int64 last_listen_sequence_number() const; + void set_last_listen_sequence_number(::google::protobuf::int64 value); + + // int32 target_id = 1; + void clear_target_id(); + static const int kTargetIdFieldNumber = 1; + ::google::protobuf::int32 target_id() const; + void set_target_id(::google::protobuf::int32 value); + + // .google.firestore.v1beta1.Target.QueryTarget query = 5; + bool has_query() const; + void clear_query(); + static const int kQueryFieldNumber = 5; + const ::google::firestore::v1beta1::Target_QueryTarget& query() const; + ::google::firestore::v1beta1::Target_QueryTarget* release_query(); + ::google::firestore::v1beta1::Target_QueryTarget* mutable_query(); + void set_allocated_query(::google::firestore::v1beta1::Target_QueryTarget* query); + + // .google.firestore.v1beta1.Target.DocumentsTarget documents = 6; + bool has_documents() const; + void clear_documents(); + static const int kDocumentsFieldNumber = 6; + const ::google::firestore::v1beta1::Target_DocumentsTarget& documents() const; + ::google::firestore::v1beta1::Target_DocumentsTarget* release_documents(); + ::google::firestore::v1beta1::Target_DocumentsTarget* mutable_documents(); + void set_allocated_documents(::google::firestore::v1beta1::Target_DocumentsTarget* documents); + + TargetTypeCase target_type_case() const; + // @@protoc_insertion_point(class_scope:firestore.client.Target) + private: + void set_has_query(); + void set_has_documents(); + + inline bool has_target_type() const; + void clear_target_type(); + inline void clear_has_target_type(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr resume_token_; + ::google::protobuf::Timestamp* snapshot_version_; + ::google::protobuf::int64 last_listen_sequence_number_; + ::google::protobuf::int32 target_id_; + union TargetTypeUnion { + TargetTypeUnion() {} + ::google::firestore::v1beta1::Target_QueryTarget* query_; + ::google::firestore::v1beta1::Target_DocumentsTarget* documents_; + } target_type_; + mutable int _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::protobuf_firestore_2flocal_2ftarget_2eproto::TableStruct; + friend void ::protobuf_firestore_2flocal_2ftarget_2eproto::InitDefaultsTargetImpl(); +}; +// ------------------------------------------------------------------- + +class TargetGlobal : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:firestore.client.TargetGlobal) */ { + public: + TargetGlobal(); + virtual ~TargetGlobal(); + + TargetGlobal(const TargetGlobal& from); + + inline TargetGlobal& operator=(const TargetGlobal& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TargetGlobal(TargetGlobal&& from) noexcept + : TargetGlobal() { + *this = ::std::move(from); + } + + inline TargetGlobal& operator=(TargetGlobal&& 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 TargetGlobal& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TargetGlobal* internal_default_instance() { + return reinterpret_cast<const TargetGlobal*>( + &_TargetGlobal_default_instance_); + } + static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = + 1; + + void Swap(TargetGlobal* other); + friend void swap(TargetGlobal& a, TargetGlobal& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TargetGlobal* New() const PROTOBUF_FINAL { return New(NULL); } + + TargetGlobal* 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 TargetGlobal& from); + void MergeFrom(const TargetGlobal& 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(TargetGlobal* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return NULL; + } + inline void* MaybeArenaPtr() const { + return NULL; + } + public: + + ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .google.protobuf.Timestamp last_remote_snapshot_version = 3; + bool has_last_remote_snapshot_version() const; + void clear_last_remote_snapshot_version(); + static const int kLastRemoteSnapshotVersionFieldNumber = 3; + const ::google::protobuf::Timestamp& last_remote_snapshot_version() const; + ::google::protobuf::Timestamp* release_last_remote_snapshot_version(); + ::google::protobuf::Timestamp* mutable_last_remote_snapshot_version(); + void set_allocated_last_remote_snapshot_version(::google::protobuf::Timestamp* last_remote_snapshot_version); + + // int64 highest_listen_sequence_number = 2; + void clear_highest_listen_sequence_number(); + static const int kHighestListenSequenceNumberFieldNumber = 2; + ::google::protobuf::int64 highest_listen_sequence_number() const; + void set_highest_listen_sequence_number(::google::protobuf::int64 value); + + // int32 highest_target_id = 1; + void clear_highest_target_id(); + static const int kHighestTargetIdFieldNumber = 1; + ::google::protobuf::int32 highest_target_id() const; + void set_highest_target_id(::google::protobuf::int32 value); + + // int32 target_count = 4; + void clear_target_count(); + static const int kTargetCountFieldNumber = 4; + ::google::protobuf::int32 target_count() const; + void set_target_count(::google::protobuf::int32 value); + + // @@protoc_insertion_point(class_scope:firestore.client.TargetGlobal) + private: + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::Timestamp* last_remote_snapshot_version_; + ::google::protobuf::int64 highest_listen_sequence_number_; + ::google::protobuf::int32 highest_target_id_; + ::google::protobuf::int32 target_count_; + mutable int _cached_size_; + friend struct ::protobuf_firestore_2flocal_2ftarget_2eproto::TableStruct; + friend void ::protobuf_firestore_2flocal_2ftarget_2eproto::InitDefaultsTargetGlobalImpl(); +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// Target + +// int32 target_id = 1; +inline void Target::clear_target_id() { + target_id_ = 0; +} +inline ::google::protobuf::int32 Target::target_id() const { + // @@protoc_insertion_point(field_get:firestore.client.Target.target_id) + return target_id_; +} +inline void Target::set_target_id(::google::protobuf::int32 value) { + + target_id_ = value; + // @@protoc_insertion_point(field_set:firestore.client.Target.target_id) +} + +// .google.protobuf.Timestamp snapshot_version = 2; +inline bool Target::has_snapshot_version() const { + return this != internal_default_instance() && snapshot_version_ != NULL; +} +inline const ::google::protobuf::Timestamp& Target::snapshot_version() const { + const ::google::protobuf::Timestamp* p = snapshot_version_; + // @@protoc_insertion_point(field_get:firestore.client.Target.snapshot_version) + return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Timestamp*>( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* Target::release_snapshot_version() { + // @@protoc_insertion_point(field_release:firestore.client.Target.snapshot_version) + + ::google::protobuf::Timestamp* temp = snapshot_version_; + snapshot_version_ = NULL; + return temp; +} +inline ::google::protobuf::Timestamp* Target::mutable_snapshot_version() { + + if (snapshot_version_ == NULL) { + snapshot_version_ = new ::google::protobuf::Timestamp; + } + // @@protoc_insertion_point(field_mutable:firestore.client.Target.snapshot_version) + return snapshot_version_; +} +inline void Target::set_allocated_snapshot_version(::google::protobuf::Timestamp* snapshot_version) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(snapshot_version_); + } + if (snapshot_version) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast< ::google::protobuf::MessageLite*>(snapshot_version)->GetArena(); + if (message_arena != submessage_arena) { + snapshot_version = ::google::protobuf::internal::GetOwnedMessage( + message_arena, snapshot_version, submessage_arena); + } + + } else { + + } + snapshot_version_ = snapshot_version; + // @@protoc_insertion_point(field_set_allocated:firestore.client.Target.snapshot_version) +} + +// bytes resume_token = 3; +inline void Target::clear_resume_token() { + resume_token_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& Target::resume_token() const { + // @@protoc_insertion_point(field_get:firestore.client.Target.resume_token) + return resume_token_.GetNoArena(); +} +inline void Target::set_resume_token(const ::std::string& value) { + + resume_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:firestore.client.Target.resume_token) +} +#if LANG_CXX11 +inline void Target::set_resume_token(::std::string&& value) { + + resume_token_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:firestore.client.Target.resume_token) +} +#endif +inline void Target::set_resume_token(const char* value) { + GOOGLE_DCHECK(value != NULL); + + resume_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:firestore.client.Target.resume_token) +} +inline void Target::set_resume_token(const void* value, size_t size) { + + resume_token_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast<const char*>(value), size)); + // @@protoc_insertion_point(field_set_pointer:firestore.client.Target.resume_token) +} +inline ::std::string* Target::mutable_resume_token() { + + // @@protoc_insertion_point(field_mutable:firestore.client.Target.resume_token) + return resume_token_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* Target::release_resume_token() { + // @@protoc_insertion_point(field_release:firestore.client.Target.resume_token) + + return resume_token_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void Target::set_allocated_resume_token(::std::string* resume_token) { + if (resume_token != NULL) { + + } else { + + } + resume_token_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), resume_token); + // @@protoc_insertion_point(field_set_allocated:firestore.client.Target.resume_token) +} + +// int64 last_listen_sequence_number = 4; +inline void Target::clear_last_listen_sequence_number() { + last_listen_sequence_number_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 Target::last_listen_sequence_number() const { + // @@protoc_insertion_point(field_get:firestore.client.Target.last_listen_sequence_number) + return last_listen_sequence_number_; +} +inline void Target::set_last_listen_sequence_number(::google::protobuf::int64 value) { + + last_listen_sequence_number_ = value; + // @@protoc_insertion_point(field_set:firestore.client.Target.last_listen_sequence_number) +} + +// .google.firestore.v1beta1.Target.QueryTarget query = 5; +inline bool Target::has_query() const { + return target_type_case() == kQuery; +} +inline void Target::set_has_query() { + _oneof_case_[0] = kQuery; +} +inline ::google::firestore::v1beta1::Target_QueryTarget* Target::release_query() { + // @@protoc_insertion_point(field_release:firestore.client.Target.query) + if (has_query()) { + clear_has_target_type(); + ::google::firestore::v1beta1::Target_QueryTarget* temp = target_type_.query_; + target_type_.query_ = NULL; + return temp; + } else { + return NULL; + } +} +inline const ::google::firestore::v1beta1::Target_QueryTarget& Target::query() const { + // @@protoc_insertion_point(field_get:firestore.client.Target.query) + return has_query() + ? *target_type_.query_ + : *reinterpret_cast< ::google::firestore::v1beta1::Target_QueryTarget*>(&::google::firestore::v1beta1::_Target_QueryTarget_default_instance_); +} +inline ::google::firestore::v1beta1::Target_QueryTarget* Target::mutable_query() { + if (!has_query()) { + clear_target_type(); + set_has_query(); + target_type_.query_ = new ::google::firestore::v1beta1::Target_QueryTarget; + } + // @@protoc_insertion_point(field_mutable:firestore.client.Target.query) + return target_type_.query_; +} + +// .google.firestore.v1beta1.Target.DocumentsTarget documents = 6; +inline bool Target::has_documents() const { + return target_type_case() == kDocuments; +} +inline void Target::set_has_documents() { + _oneof_case_[0] = kDocuments; +} +inline ::google::firestore::v1beta1::Target_DocumentsTarget* Target::release_documents() { + // @@protoc_insertion_point(field_release:firestore.client.Target.documents) + if (has_documents()) { + clear_has_target_type(); + ::google::firestore::v1beta1::Target_DocumentsTarget* temp = target_type_.documents_; + target_type_.documents_ = NULL; + return temp; + } else { + return NULL; + } +} +inline const ::google::firestore::v1beta1::Target_DocumentsTarget& Target::documents() const { + // @@protoc_insertion_point(field_get:firestore.client.Target.documents) + return has_documents() + ? *target_type_.documents_ + : *reinterpret_cast< ::google::firestore::v1beta1::Target_DocumentsTarget*>(&::google::firestore::v1beta1::_Target_DocumentsTarget_default_instance_); +} +inline ::google::firestore::v1beta1::Target_DocumentsTarget* Target::mutable_documents() { + if (!has_documents()) { + clear_target_type(); + set_has_documents(); + target_type_.documents_ = new ::google::firestore::v1beta1::Target_DocumentsTarget; + } + // @@protoc_insertion_point(field_mutable:firestore.client.Target.documents) + return target_type_.documents_; +} + +inline bool Target::has_target_type() const { + return target_type_case() != TARGET_TYPE_NOT_SET; +} +inline void Target::clear_has_target_type() { + _oneof_case_[0] = TARGET_TYPE_NOT_SET; +} +inline Target::TargetTypeCase Target::target_type_case() const { + return Target::TargetTypeCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// TargetGlobal + +// int32 highest_target_id = 1; +inline void TargetGlobal::clear_highest_target_id() { + highest_target_id_ = 0; +} +inline ::google::protobuf::int32 TargetGlobal::highest_target_id() const { + // @@protoc_insertion_point(field_get:firestore.client.TargetGlobal.highest_target_id) + return highest_target_id_; +} +inline void TargetGlobal::set_highest_target_id(::google::protobuf::int32 value) { + + highest_target_id_ = value; + // @@protoc_insertion_point(field_set:firestore.client.TargetGlobal.highest_target_id) +} + +// int64 highest_listen_sequence_number = 2; +inline void TargetGlobal::clear_highest_listen_sequence_number() { + highest_listen_sequence_number_ = GOOGLE_LONGLONG(0); +} +inline ::google::protobuf::int64 TargetGlobal::highest_listen_sequence_number() const { + // @@protoc_insertion_point(field_get:firestore.client.TargetGlobal.highest_listen_sequence_number) + return highest_listen_sequence_number_; +} +inline void TargetGlobal::set_highest_listen_sequence_number(::google::protobuf::int64 value) { + + highest_listen_sequence_number_ = value; + // @@protoc_insertion_point(field_set:firestore.client.TargetGlobal.highest_listen_sequence_number) +} + +// .google.protobuf.Timestamp last_remote_snapshot_version = 3; +inline bool TargetGlobal::has_last_remote_snapshot_version() const { + return this != internal_default_instance() && last_remote_snapshot_version_ != NULL; +} +inline const ::google::protobuf::Timestamp& TargetGlobal::last_remote_snapshot_version() const { + const ::google::protobuf::Timestamp* p = last_remote_snapshot_version_; + // @@protoc_insertion_point(field_get:firestore.client.TargetGlobal.last_remote_snapshot_version) + return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Timestamp*>( + &::google::protobuf::_Timestamp_default_instance_); +} +inline ::google::protobuf::Timestamp* TargetGlobal::release_last_remote_snapshot_version() { + // @@protoc_insertion_point(field_release:firestore.client.TargetGlobal.last_remote_snapshot_version) + + ::google::protobuf::Timestamp* temp = last_remote_snapshot_version_; + last_remote_snapshot_version_ = NULL; + return temp; +} +inline ::google::protobuf::Timestamp* TargetGlobal::mutable_last_remote_snapshot_version() { + + if (last_remote_snapshot_version_ == NULL) { + last_remote_snapshot_version_ = new ::google::protobuf::Timestamp; + } + // @@protoc_insertion_point(field_mutable:firestore.client.TargetGlobal.last_remote_snapshot_version) + return last_remote_snapshot_version_; +} +inline void TargetGlobal::set_allocated_last_remote_snapshot_version(::google::protobuf::Timestamp* last_remote_snapshot_version) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == NULL) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(last_remote_snapshot_version_); + } + if (last_remote_snapshot_version) { + ::google::protobuf::Arena* submessage_arena = + reinterpret_cast< ::google::protobuf::MessageLite*>(last_remote_snapshot_version)->GetArena(); + if (message_arena != submessage_arena) { + last_remote_snapshot_version = ::google::protobuf::internal::GetOwnedMessage( + message_arena, last_remote_snapshot_version, submessage_arena); + } + + } else { + + } + last_remote_snapshot_version_ = last_remote_snapshot_version; + // @@protoc_insertion_point(field_set_allocated:firestore.client.TargetGlobal.last_remote_snapshot_version) +} + +// int32 target_count = 4; +inline void TargetGlobal::clear_target_count() { + target_count_ = 0; +} +inline ::google::protobuf::int32 TargetGlobal::target_count() const { + // @@protoc_insertion_point(field_get:firestore.client.TargetGlobal.target_count) + return target_count_; +} +inline void TargetGlobal::set_target_count(::google::protobuf::int32 value) { + + target_count_ = value; + // @@protoc_insertion_point(field_set:firestore.client.TargetGlobal.target_count) +} + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace client +} // namespace firestore + +// @@protoc_insertion_point(global_scope) + +#endif // PROTOBUF_firestore_2flocal_2ftarget_2eproto__INCLUDED |