// Generated by the protocol buffer compiler. DO NOT EDIT! // source: protos/public/sdk_stats.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fsdk_5fstats_2eproto #define GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fsdk_5fstats_2eproto #include #include #include #if PROTOBUF_VERSION < 3014000 #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 3014000 < 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 #include #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include #include "protos/public/hash_algorithm.pb.h" // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_protos_2fpublic_2fsdk_5fstats_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_protos_2fpublic_2fsdk_5fstats_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto; namespace video_widevine { class DeviceLicenseCounterByMake; class DeviceLicenseCounterByMakeDefaultTypeInternal; extern DeviceLicenseCounterByMakeDefaultTypeInternal _DeviceLicenseCounterByMake_default_instance_; class DeviceLicenseCounterByModel; class DeviceLicenseCounterByModelDefaultTypeInternal; extern DeviceLicenseCounterByModelDefaultTypeInternal _DeviceLicenseCounterByModel_default_instance_; class DeviceLicenseCounterByStatus; class DeviceLicenseCounterByStatusDefaultTypeInternal; extern DeviceLicenseCounterByStatusDefaultTypeInternal _DeviceLicenseCounterByStatus_default_instance_; class DeviceLicenseCounterBySystemId; class DeviceLicenseCounterBySystemIdDefaultTypeInternal; extern DeviceLicenseCounterBySystemIdDefaultTypeInternal _DeviceLicenseCounterBySystemId_default_instance_; class DeviceLicenseCounterRequest; class DeviceLicenseCounterRequestDefaultTypeInternal; extern DeviceLicenseCounterRequestDefaultTypeInternal _DeviceLicenseCounterRequest_default_instance_; class SignedDeviceLicenseCounterRequest; class SignedDeviceLicenseCounterRequestDefaultTypeInternal; extern SignedDeviceLicenseCounterRequestDefaultTypeInternal _SignedDeviceLicenseCounterRequest_default_instance_; } // namespace video_widevine PROTOBUF_NAMESPACE_OPEN template<> ::video_widevine::DeviceLicenseCounterByMake* Arena::CreateMaybeMessage<::video_widevine::DeviceLicenseCounterByMake>(Arena*); template<> ::video_widevine::DeviceLicenseCounterByModel* Arena::CreateMaybeMessage<::video_widevine::DeviceLicenseCounterByModel>(Arena*); template<> ::video_widevine::DeviceLicenseCounterByStatus* Arena::CreateMaybeMessage<::video_widevine::DeviceLicenseCounterByStatus>(Arena*); template<> ::video_widevine::DeviceLicenseCounterBySystemId* Arena::CreateMaybeMessage<::video_widevine::DeviceLicenseCounterBySystemId>(Arena*); template<> ::video_widevine::DeviceLicenseCounterRequest* Arena::CreateMaybeMessage<::video_widevine::DeviceLicenseCounterRequest>(Arena*); template<> ::video_widevine::SignedDeviceLicenseCounterRequest* Arena::CreateMaybeMessage<::video_widevine::SignedDeviceLicenseCounterRequest>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace video_widevine { // =================================================================== class DeviceLicenseCounterByStatus PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.DeviceLicenseCounterByStatus) */ { public: inline DeviceLicenseCounterByStatus() : DeviceLicenseCounterByStatus(nullptr) {} virtual ~DeviceLicenseCounterByStatus(); DeviceLicenseCounterByStatus(const DeviceLicenseCounterByStatus& from); DeviceLicenseCounterByStatus(DeviceLicenseCounterByStatus&& from) noexcept : DeviceLicenseCounterByStatus() { *this = ::std::move(from); } inline DeviceLicenseCounterByStatus& operator=(const DeviceLicenseCounterByStatus& from) { CopyFrom(from); return *this; } inline DeviceLicenseCounterByStatus& operator=(DeviceLicenseCounterByStatus&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const DeviceLicenseCounterByStatus& default_instance(); static inline const DeviceLicenseCounterByStatus* internal_default_instance() { return reinterpret_cast( &_DeviceLicenseCounterByStatus_default_instance_); } static constexpr int kIndexInFileMessages = 0; friend void swap(DeviceLicenseCounterByStatus& a, DeviceLicenseCounterByStatus& b) { a.Swap(&b); } inline void Swap(DeviceLicenseCounterByStatus* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(DeviceLicenseCounterByStatus* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline DeviceLicenseCounterByStatus* New() const final { return CreateMaybeMessage(nullptr); } DeviceLicenseCounterByStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const DeviceLicenseCounterByStatus& from); void MergeFrom(const DeviceLicenseCounterByStatus& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(DeviceLicenseCounterByStatus* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "video_widevine.DeviceLicenseCounterByStatus"; } protected: explicit DeviceLicenseCounterByStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto); return ::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCountFieldNumber = 2, kLicenseStatusFieldNumber = 1, }; // optional int64 count = 2; bool has_count() const; private: bool _internal_has_count() const; public: void clear_count(); ::PROTOBUF_NAMESPACE_ID::int64 count() const; void set_count(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_count() const; void _internal_set_count(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional int32 license_status = 1; bool has_license_status() const; private: bool _internal_has_license_status() const; public: void clear_license_status(); ::PROTOBUF_NAMESPACE_ID::int32 license_status() const; void set_license_status(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_license_status() const; void _internal_set_license_status(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:video_widevine.DeviceLicenseCounterByStatus) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::int64 count_; ::PROTOBUF_NAMESPACE_ID::int32 license_status_; friend struct ::TableStruct_protos_2fpublic_2fsdk_5fstats_2eproto; }; // ------------------------------------------------------------------- class DeviceLicenseCounterByModel PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.DeviceLicenseCounterByModel) */ { public: inline DeviceLicenseCounterByModel() : DeviceLicenseCounterByModel(nullptr) {} virtual ~DeviceLicenseCounterByModel(); DeviceLicenseCounterByModel(const DeviceLicenseCounterByModel& from); DeviceLicenseCounterByModel(DeviceLicenseCounterByModel&& from) noexcept : DeviceLicenseCounterByModel() { *this = ::std::move(from); } inline DeviceLicenseCounterByModel& operator=(const DeviceLicenseCounterByModel& from) { CopyFrom(from); return *this; } inline DeviceLicenseCounterByModel& operator=(DeviceLicenseCounterByModel&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const DeviceLicenseCounterByModel& default_instance(); static inline const DeviceLicenseCounterByModel* internal_default_instance() { return reinterpret_cast( &_DeviceLicenseCounterByModel_default_instance_); } static constexpr int kIndexInFileMessages = 1; friend void swap(DeviceLicenseCounterByModel& a, DeviceLicenseCounterByModel& b) { a.Swap(&b); } inline void Swap(DeviceLicenseCounterByModel* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(DeviceLicenseCounterByModel* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline DeviceLicenseCounterByModel* New() const final { return CreateMaybeMessage(nullptr); } DeviceLicenseCounterByModel* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const DeviceLicenseCounterByModel& from); void MergeFrom(const DeviceLicenseCounterByModel& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(DeviceLicenseCounterByModel* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "video_widevine.DeviceLicenseCounterByModel"; } protected: explicit DeviceLicenseCounterByModel(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto); return ::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCounterByStatusFieldNumber = 2, kDeviceModelFieldNumber = 1, }; // repeated .video_widevine.DeviceLicenseCounterByStatus counter_by_status = 2; int counter_by_status_size() const; private: int _internal_counter_by_status_size() const; public: void clear_counter_by_status(); ::video_widevine::DeviceLicenseCounterByStatus* mutable_counter_by_status(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByStatus >* mutable_counter_by_status(); private: const ::video_widevine::DeviceLicenseCounterByStatus& _internal_counter_by_status(int index) const; ::video_widevine::DeviceLicenseCounterByStatus* _internal_add_counter_by_status(); public: const ::video_widevine::DeviceLicenseCounterByStatus& counter_by_status(int index) const; ::video_widevine::DeviceLicenseCounterByStatus* add_counter_by_status(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByStatus >& counter_by_status() const; // optional string device_model = 1; bool has_device_model() const; private: bool _internal_has_device_model() const; public: void clear_device_model(); const std::string& device_model() const; void set_device_model(const std::string& value); void set_device_model(std::string&& value); void set_device_model(const char* value); void set_device_model(const char* value, size_t size); std::string* mutable_device_model(); std::string* release_device_model(); void set_allocated_device_model(std::string* device_model); private: const std::string& _internal_device_model() const; void _internal_set_device_model(const std::string& value); std::string* _internal_mutable_device_model(); public: // @@protoc_insertion_point(class_scope:video_widevine.DeviceLicenseCounterByModel) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByStatus > counter_by_status_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_model_; friend struct ::TableStruct_protos_2fpublic_2fsdk_5fstats_2eproto; }; // ------------------------------------------------------------------- class DeviceLicenseCounterByMake PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.DeviceLicenseCounterByMake) */ { public: inline DeviceLicenseCounterByMake() : DeviceLicenseCounterByMake(nullptr) {} virtual ~DeviceLicenseCounterByMake(); DeviceLicenseCounterByMake(const DeviceLicenseCounterByMake& from); DeviceLicenseCounterByMake(DeviceLicenseCounterByMake&& from) noexcept : DeviceLicenseCounterByMake() { *this = ::std::move(from); } inline DeviceLicenseCounterByMake& operator=(const DeviceLicenseCounterByMake& from) { CopyFrom(from); return *this; } inline DeviceLicenseCounterByMake& operator=(DeviceLicenseCounterByMake&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const DeviceLicenseCounterByMake& default_instance(); static inline const DeviceLicenseCounterByMake* internal_default_instance() { return reinterpret_cast( &_DeviceLicenseCounterByMake_default_instance_); } static constexpr int kIndexInFileMessages = 2; friend void swap(DeviceLicenseCounterByMake& a, DeviceLicenseCounterByMake& b) { a.Swap(&b); } inline void Swap(DeviceLicenseCounterByMake* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(DeviceLicenseCounterByMake* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline DeviceLicenseCounterByMake* New() const final { return CreateMaybeMessage(nullptr); } DeviceLicenseCounterByMake* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const DeviceLicenseCounterByMake& from); void MergeFrom(const DeviceLicenseCounterByMake& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(DeviceLicenseCounterByMake* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "video_widevine.DeviceLicenseCounterByMake"; } protected: explicit DeviceLicenseCounterByMake(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto); return ::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCounterByModelFieldNumber = 2, kDeviceMakeFieldNumber = 1, }; // repeated .video_widevine.DeviceLicenseCounterByModel counter_by_model = 2; int counter_by_model_size() const; private: int _internal_counter_by_model_size() const; public: void clear_counter_by_model(); ::video_widevine::DeviceLicenseCounterByModel* mutable_counter_by_model(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByModel >* mutable_counter_by_model(); private: const ::video_widevine::DeviceLicenseCounterByModel& _internal_counter_by_model(int index) const; ::video_widevine::DeviceLicenseCounterByModel* _internal_add_counter_by_model(); public: const ::video_widevine::DeviceLicenseCounterByModel& counter_by_model(int index) const; ::video_widevine::DeviceLicenseCounterByModel* add_counter_by_model(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByModel >& counter_by_model() const; // optional string device_make = 1; bool has_device_make() const; private: bool _internal_has_device_make() const; public: void clear_device_make(); const std::string& device_make() const; void set_device_make(const std::string& value); void set_device_make(std::string&& value); void set_device_make(const char* value); void set_device_make(const char* value, size_t size); std::string* mutable_device_make(); std::string* release_device_make(); void set_allocated_device_make(std::string* device_make); private: const std::string& _internal_device_make() const; void _internal_set_device_make(const std::string& value); std::string* _internal_mutable_device_make(); public: // @@protoc_insertion_point(class_scope:video_widevine.DeviceLicenseCounterByMake) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByModel > counter_by_model_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_make_; friend struct ::TableStruct_protos_2fpublic_2fsdk_5fstats_2eproto; }; // ------------------------------------------------------------------- class DeviceLicenseCounterBySystemId PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.DeviceLicenseCounterBySystemId) */ { public: inline DeviceLicenseCounterBySystemId() : DeviceLicenseCounterBySystemId(nullptr) {} virtual ~DeviceLicenseCounterBySystemId(); DeviceLicenseCounterBySystemId(const DeviceLicenseCounterBySystemId& from); DeviceLicenseCounterBySystemId(DeviceLicenseCounterBySystemId&& from) noexcept : DeviceLicenseCounterBySystemId() { *this = ::std::move(from); } inline DeviceLicenseCounterBySystemId& operator=(const DeviceLicenseCounterBySystemId& from) { CopyFrom(from); return *this; } inline DeviceLicenseCounterBySystemId& operator=(DeviceLicenseCounterBySystemId&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const DeviceLicenseCounterBySystemId& default_instance(); static inline const DeviceLicenseCounterBySystemId* internal_default_instance() { return reinterpret_cast( &_DeviceLicenseCounterBySystemId_default_instance_); } static constexpr int kIndexInFileMessages = 3; friend void swap(DeviceLicenseCounterBySystemId& a, DeviceLicenseCounterBySystemId& b) { a.Swap(&b); } inline void Swap(DeviceLicenseCounterBySystemId* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(DeviceLicenseCounterBySystemId* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline DeviceLicenseCounterBySystemId* New() const final { return CreateMaybeMessage(nullptr); } DeviceLicenseCounterBySystemId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const DeviceLicenseCounterBySystemId& from); void MergeFrom(const DeviceLicenseCounterBySystemId& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(DeviceLicenseCounterBySystemId* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "video_widevine.DeviceLicenseCounterBySystemId"; } protected: explicit DeviceLicenseCounterBySystemId(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto); return ::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCounterByMakeFieldNumber = 2, kDeviceSystemIdFieldNumber = 1, }; // repeated .video_widevine.DeviceLicenseCounterByMake counter_by_make = 2; int counter_by_make_size() const; private: int _internal_counter_by_make_size() const; public: void clear_counter_by_make(); ::video_widevine::DeviceLicenseCounterByMake* mutable_counter_by_make(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByMake >* mutable_counter_by_make(); private: const ::video_widevine::DeviceLicenseCounterByMake& _internal_counter_by_make(int index) const; ::video_widevine::DeviceLicenseCounterByMake* _internal_add_counter_by_make(); public: const ::video_widevine::DeviceLicenseCounterByMake& counter_by_make(int index) const; ::video_widevine::DeviceLicenseCounterByMake* add_counter_by_make(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByMake >& counter_by_make() const; // optional int32 device_system_id = 1; bool has_device_system_id() const; private: bool _internal_has_device_system_id() const; public: void clear_device_system_id(); ::PROTOBUF_NAMESPACE_ID::int32 device_system_id() const; void set_device_system_id(::PROTOBUF_NAMESPACE_ID::int32 value); private: ::PROTOBUF_NAMESPACE_ID::int32 _internal_device_system_id() const; void _internal_set_device_system_id(::PROTOBUF_NAMESPACE_ID::int32 value); public: // @@protoc_insertion_point(class_scope:video_widevine.DeviceLicenseCounterBySystemId) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByMake > counter_by_make_; ::PROTOBUF_NAMESPACE_ID::int32 device_system_id_; friend struct ::TableStruct_protos_2fpublic_2fsdk_5fstats_2eproto; }; // ------------------------------------------------------------------- class DeviceLicenseCounterRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.DeviceLicenseCounterRequest) */ { public: inline DeviceLicenseCounterRequest() : DeviceLicenseCounterRequest(nullptr) {} virtual ~DeviceLicenseCounterRequest(); DeviceLicenseCounterRequest(const DeviceLicenseCounterRequest& from); DeviceLicenseCounterRequest(DeviceLicenseCounterRequest&& from) noexcept : DeviceLicenseCounterRequest() { *this = ::std::move(from); } inline DeviceLicenseCounterRequest& operator=(const DeviceLicenseCounterRequest& from) { CopyFrom(from); return *this; } inline DeviceLicenseCounterRequest& operator=(DeviceLicenseCounterRequest&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const DeviceLicenseCounterRequest& default_instance(); static inline const DeviceLicenseCounterRequest* internal_default_instance() { return reinterpret_cast( &_DeviceLicenseCounterRequest_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(DeviceLicenseCounterRequest& a, DeviceLicenseCounterRequest& b) { a.Swap(&b); } inline void Swap(DeviceLicenseCounterRequest* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(DeviceLicenseCounterRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline DeviceLicenseCounterRequest* New() const final { return CreateMaybeMessage(nullptr); } DeviceLicenseCounterRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const DeviceLicenseCounterRequest& from); void MergeFrom(const DeviceLicenseCounterRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(DeviceLicenseCounterRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "video_widevine.DeviceLicenseCounterRequest"; } protected: explicit DeviceLicenseCounterRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto); return ::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kCounterBySystemidFieldNumber = 4, kProviderFieldNumber = 1, kCounterUtcStartTimeUsecFieldNumber = 2, kCounterUtcEndTimeUsecFieldNumber = 3, }; // repeated .video_widevine.DeviceLicenseCounterBySystemId counter_by_systemid = 4; int counter_by_systemid_size() const; private: int _internal_counter_by_systemid_size() const; public: void clear_counter_by_systemid(); ::video_widevine::DeviceLicenseCounterBySystemId* mutable_counter_by_systemid(int index); ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterBySystemId >* mutable_counter_by_systemid(); private: const ::video_widevine::DeviceLicenseCounterBySystemId& _internal_counter_by_systemid(int index) const; ::video_widevine::DeviceLicenseCounterBySystemId* _internal_add_counter_by_systemid(); public: const ::video_widevine::DeviceLicenseCounterBySystemId& counter_by_systemid(int index) const; ::video_widevine::DeviceLicenseCounterBySystemId* add_counter_by_systemid(); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterBySystemId >& counter_by_systemid() const; // optional string provider = 1; bool has_provider() const; private: bool _internal_has_provider() const; public: void clear_provider(); const std::string& provider() const; void set_provider(const std::string& value); void set_provider(std::string&& value); void set_provider(const char* value); void set_provider(const char* value, size_t size); std::string* mutable_provider(); std::string* release_provider(); void set_allocated_provider(std::string* provider); private: const std::string& _internal_provider() const; void _internal_set_provider(const std::string& value); std::string* _internal_mutable_provider(); public: // optional int64 counter_utc_start_time_usec = 2; bool has_counter_utc_start_time_usec() const; private: bool _internal_has_counter_utc_start_time_usec() const; public: void clear_counter_utc_start_time_usec(); ::PROTOBUF_NAMESPACE_ID::int64 counter_utc_start_time_usec() const; void set_counter_utc_start_time_usec(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_counter_utc_start_time_usec() const; void _internal_set_counter_utc_start_time_usec(::PROTOBUF_NAMESPACE_ID::int64 value); public: // optional int64 counter_utc_end_time_usec = 3; bool has_counter_utc_end_time_usec() const; private: bool _internal_has_counter_utc_end_time_usec() const; public: void clear_counter_utc_end_time_usec(); ::PROTOBUF_NAMESPACE_ID::int64 counter_utc_end_time_usec() const; void set_counter_utc_end_time_usec(::PROTOBUF_NAMESPACE_ID::int64 value); private: ::PROTOBUF_NAMESPACE_ID::int64 _internal_counter_utc_end_time_usec() const; void _internal_set_counter_utc_end_time_usec(::PROTOBUF_NAMESPACE_ID::int64 value); public: // @@protoc_insertion_point(class_scope:video_widevine.DeviceLicenseCounterRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterBySystemId > counter_by_systemid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr provider_; ::PROTOBUF_NAMESPACE_ID::int64 counter_utc_start_time_usec_; ::PROTOBUF_NAMESPACE_ID::int64 counter_utc_end_time_usec_; friend struct ::TableStruct_protos_2fpublic_2fsdk_5fstats_2eproto; }; // ------------------------------------------------------------------- class SignedDeviceLicenseCounterRequest PROTOBUF_FINAL : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.SignedDeviceLicenseCounterRequest) */ { public: inline SignedDeviceLicenseCounterRequest() : SignedDeviceLicenseCounterRequest(nullptr) {} virtual ~SignedDeviceLicenseCounterRequest(); SignedDeviceLicenseCounterRequest(const SignedDeviceLicenseCounterRequest& from); SignedDeviceLicenseCounterRequest(SignedDeviceLicenseCounterRequest&& from) noexcept : SignedDeviceLicenseCounterRequest() { *this = ::std::move(from); } inline SignedDeviceLicenseCounterRequest& operator=(const SignedDeviceLicenseCounterRequest& from) { CopyFrom(from); return *this; } inline SignedDeviceLicenseCounterRequest& operator=(SignedDeviceLicenseCounterRequest&& from) noexcept { if (GetArena() == from.GetArena()) { if (this != &from) InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); } inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { return GetDescriptor(); } static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { return GetMetadataStatic().descriptor; } static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return GetMetadataStatic().reflection; } static const SignedDeviceLicenseCounterRequest& default_instance(); static inline const SignedDeviceLicenseCounterRequest* internal_default_instance() { return reinterpret_cast( &_SignedDeviceLicenseCounterRequest_default_instance_); } static constexpr int kIndexInFileMessages = 5; friend void swap(SignedDeviceLicenseCounterRequest& a, SignedDeviceLicenseCounterRequest& b) { a.Swap(&b); } inline void Swap(SignedDeviceLicenseCounterRequest* other) { if (other == this) return; if (GetArena() == other->GetArena()) { InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(SignedDeviceLicenseCounterRequest* other) { if (other == this) return; GOOGLE_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- inline SignedDeviceLicenseCounterRequest* New() const final { return CreateMaybeMessage(nullptr); } SignedDeviceLicenseCounterRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { return CreateMaybeMessage(arena); } void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; void CopyFrom(const SignedDeviceLicenseCounterRequest& from); void MergeFrom(const SignedDeviceLicenseCounterRequest& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; bool IsInitialized() const final; size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: inline void SharedCtor(); inline void SharedDtor(); void SetCachedSize(int size) const final; void InternalSwap(SignedDeviceLicenseCounterRequest* other); friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "video_widevine.SignedDeviceLicenseCounterRequest"; } protected: explicit SignedDeviceLicenseCounterRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); public: ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; private: static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto); return ::descriptor_table_protos_2fpublic_2fsdk_5fstats_2eproto.file_level_metadata[kIndexInFileMessages]; } public: // nested types ---------------------------------------------------- // accessors ------------------------------------------------------- enum : int { kSignatureFieldNumber = 2, kDeviceLicenseCounterRequestFieldNumber = 1, kHashAlgorithmFieldNumber = 3, }; // optional bytes signature = 2; bool has_signature() const; private: bool _internal_has_signature() const; public: void clear_signature(); const std::string& signature() const; void set_signature(const std::string& value); void set_signature(std::string&& value); void set_signature(const char* value); void set_signature(const void* value, size_t size); std::string* mutable_signature(); std::string* release_signature(); void set_allocated_signature(std::string* signature); private: const std::string& _internal_signature() const; void _internal_set_signature(const std::string& value); std::string* _internal_mutable_signature(); public: // optional .video_widevine.DeviceLicenseCounterRequest device_license_counter_request = 1; bool has_device_license_counter_request() const; private: bool _internal_has_device_license_counter_request() const; public: void clear_device_license_counter_request(); const ::video_widevine::DeviceLicenseCounterRequest& device_license_counter_request() const; ::video_widevine::DeviceLicenseCounterRequest* release_device_license_counter_request(); ::video_widevine::DeviceLicenseCounterRequest* mutable_device_license_counter_request(); void set_allocated_device_license_counter_request(::video_widevine::DeviceLicenseCounterRequest* device_license_counter_request); private: const ::video_widevine::DeviceLicenseCounterRequest& _internal_device_license_counter_request() const; ::video_widevine::DeviceLicenseCounterRequest* _internal_mutable_device_license_counter_request(); public: void unsafe_arena_set_allocated_device_license_counter_request( ::video_widevine::DeviceLicenseCounterRequest* device_license_counter_request); ::video_widevine::DeviceLicenseCounterRequest* unsafe_arena_release_device_license_counter_request(); // optional .video_widevine.HashAlgorithmProto hash_algorithm = 3; bool has_hash_algorithm() const; private: bool _internal_has_hash_algorithm() const; public: void clear_hash_algorithm(); ::video_widevine::HashAlgorithmProto hash_algorithm() const; void set_hash_algorithm(::video_widevine::HashAlgorithmProto value); private: ::video_widevine::HashAlgorithmProto _internal_hash_algorithm() const; void _internal_set_hash_algorithm(::video_widevine::HashAlgorithmProto value); public: // @@protoc_insertion_point(class_scope:video_widevine.SignedDeviceLicenseCounterRequest) private: class _Internal; template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_; ::video_widevine::DeviceLicenseCounterRequest* device_license_counter_request_; int hash_algorithm_; friend struct ::TableStruct_protos_2fpublic_2fsdk_5fstats_2eproto; }; // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ // DeviceLicenseCounterByStatus // optional int32 license_status = 1; inline bool DeviceLicenseCounterByStatus::_internal_has_license_status() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool DeviceLicenseCounterByStatus::has_license_status() const { return _internal_has_license_status(); } inline void DeviceLicenseCounterByStatus::clear_license_status() { license_status_ = 0; _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::int32 DeviceLicenseCounterByStatus::_internal_license_status() const { return license_status_; } inline ::PROTOBUF_NAMESPACE_ID::int32 DeviceLicenseCounterByStatus::license_status() const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterByStatus.license_status) return _internal_license_status(); } inline void DeviceLicenseCounterByStatus::_internal_set_license_status(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000002u; license_status_ = value; } inline void DeviceLicenseCounterByStatus::set_license_status(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_license_status(value); // @@protoc_insertion_point(field_set:video_widevine.DeviceLicenseCounterByStatus.license_status) } // optional int64 count = 2; inline bool DeviceLicenseCounterByStatus::_internal_has_count() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool DeviceLicenseCounterByStatus::has_count() const { return _internal_has_count(); } inline void DeviceLicenseCounterByStatus::clear_count() { count_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000001u; } inline ::PROTOBUF_NAMESPACE_ID::int64 DeviceLicenseCounterByStatus::_internal_count() const { return count_; } inline ::PROTOBUF_NAMESPACE_ID::int64 DeviceLicenseCounterByStatus::count() const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterByStatus.count) return _internal_count(); } inline void DeviceLicenseCounterByStatus::_internal_set_count(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000001u; count_ = value; } inline void DeviceLicenseCounterByStatus::set_count(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_count(value); // @@protoc_insertion_point(field_set:video_widevine.DeviceLicenseCounterByStatus.count) } // ------------------------------------------------------------------- // DeviceLicenseCounterByModel // optional string device_model = 1; inline bool DeviceLicenseCounterByModel::_internal_has_device_model() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool DeviceLicenseCounterByModel::has_device_model() const { return _internal_has_device_model(); } inline void DeviceLicenseCounterByModel::clear_device_model() { device_model_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& DeviceLicenseCounterByModel::device_model() const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterByModel.device_model) return _internal_device_model(); } inline void DeviceLicenseCounterByModel::set_device_model(const std::string& value) { _internal_set_device_model(value); // @@protoc_insertion_point(field_set:video_widevine.DeviceLicenseCounterByModel.device_model) } inline std::string* DeviceLicenseCounterByModel::mutable_device_model() { // @@protoc_insertion_point(field_mutable:video_widevine.DeviceLicenseCounterByModel.device_model) return _internal_mutable_device_model(); } inline const std::string& DeviceLicenseCounterByModel::_internal_device_model() const { return device_model_.Get(); } inline void DeviceLicenseCounterByModel::_internal_set_device_model(const std::string& value) { _has_bits_[0] |= 0x00000001u; device_model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void DeviceLicenseCounterByModel::set_device_model(std::string&& value) { _has_bits_[0] |= 0x00000001u; device_model_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:video_widevine.DeviceLicenseCounterByModel.device_model) } inline void DeviceLicenseCounterByModel::set_device_model(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; device_model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:video_widevine.DeviceLicenseCounterByModel.device_model) } inline void DeviceLicenseCounterByModel::set_device_model(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; device_model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:video_widevine.DeviceLicenseCounterByModel.device_model) } inline std::string* DeviceLicenseCounterByModel::_internal_mutable_device_model() { _has_bits_[0] |= 0x00000001u; return device_model_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* DeviceLicenseCounterByModel::release_device_model() { // @@protoc_insertion_point(field_release:video_widevine.DeviceLicenseCounterByModel.device_model) if (!_internal_has_device_model()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return device_model_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void DeviceLicenseCounterByModel::set_allocated_device_model(std::string* device_model) { if (device_model != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } device_model_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_model, GetArena()); // @@protoc_insertion_point(field_set_allocated:video_widevine.DeviceLicenseCounterByModel.device_model) } // repeated .video_widevine.DeviceLicenseCounterByStatus counter_by_status = 2; inline int DeviceLicenseCounterByModel::_internal_counter_by_status_size() const { return counter_by_status_.size(); } inline int DeviceLicenseCounterByModel::counter_by_status_size() const { return _internal_counter_by_status_size(); } inline void DeviceLicenseCounterByModel::clear_counter_by_status() { counter_by_status_.Clear(); } inline ::video_widevine::DeviceLicenseCounterByStatus* DeviceLicenseCounterByModel::mutable_counter_by_status(int index) { // @@protoc_insertion_point(field_mutable:video_widevine.DeviceLicenseCounterByModel.counter_by_status) return counter_by_status_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByStatus >* DeviceLicenseCounterByModel::mutable_counter_by_status() { // @@protoc_insertion_point(field_mutable_list:video_widevine.DeviceLicenseCounterByModel.counter_by_status) return &counter_by_status_; } inline const ::video_widevine::DeviceLicenseCounterByStatus& DeviceLicenseCounterByModel::_internal_counter_by_status(int index) const { return counter_by_status_.Get(index); } inline const ::video_widevine::DeviceLicenseCounterByStatus& DeviceLicenseCounterByModel::counter_by_status(int index) const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterByModel.counter_by_status) return _internal_counter_by_status(index); } inline ::video_widevine::DeviceLicenseCounterByStatus* DeviceLicenseCounterByModel::_internal_add_counter_by_status() { return counter_by_status_.Add(); } inline ::video_widevine::DeviceLicenseCounterByStatus* DeviceLicenseCounterByModel::add_counter_by_status() { // @@protoc_insertion_point(field_add:video_widevine.DeviceLicenseCounterByModel.counter_by_status) return _internal_add_counter_by_status(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByStatus >& DeviceLicenseCounterByModel::counter_by_status() const { // @@protoc_insertion_point(field_list:video_widevine.DeviceLicenseCounterByModel.counter_by_status) return counter_by_status_; } // ------------------------------------------------------------------- // DeviceLicenseCounterByMake // optional string device_make = 1; inline bool DeviceLicenseCounterByMake::_internal_has_device_make() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool DeviceLicenseCounterByMake::has_device_make() const { return _internal_has_device_make(); } inline void DeviceLicenseCounterByMake::clear_device_make() { device_make_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& DeviceLicenseCounterByMake::device_make() const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterByMake.device_make) return _internal_device_make(); } inline void DeviceLicenseCounterByMake::set_device_make(const std::string& value) { _internal_set_device_make(value); // @@protoc_insertion_point(field_set:video_widevine.DeviceLicenseCounterByMake.device_make) } inline std::string* DeviceLicenseCounterByMake::mutable_device_make() { // @@protoc_insertion_point(field_mutable:video_widevine.DeviceLicenseCounterByMake.device_make) return _internal_mutable_device_make(); } inline const std::string& DeviceLicenseCounterByMake::_internal_device_make() const { return device_make_.Get(); } inline void DeviceLicenseCounterByMake::_internal_set_device_make(const std::string& value) { _has_bits_[0] |= 0x00000001u; device_make_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void DeviceLicenseCounterByMake::set_device_make(std::string&& value) { _has_bits_[0] |= 0x00000001u; device_make_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:video_widevine.DeviceLicenseCounterByMake.device_make) } inline void DeviceLicenseCounterByMake::set_device_make(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; device_make_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:video_widevine.DeviceLicenseCounterByMake.device_make) } inline void DeviceLicenseCounterByMake::set_device_make(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; device_make_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:video_widevine.DeviceLicenseCounterByMake.device_make) } inline std::string* DeviceLicenseCounterByMake::_internal_mutable_device_make() { _has_bits_[0] |= 0x00000001u; return device_make_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* DeviceLicenseCounterByMake::release_device_make() { // @@protoc_insertion_point(field_release:video_widevine.DeviceLicenseCounterByMake.device_make) if (!_internal_has_device_make()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return device_make_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void DeviceLicenseCounterByMake::set_allocated_device_make(std::string* device_make) { if (device_make != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } device_make_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_make, GetArena()); // @@protoc_insertion_point(field_set_allocated:video_widevine.DeviceLicenseCounterByMake.device_make) } // repeated .video_widevine.DeviceLicenseCounterByModel counter_by_model = 2; inline int DeviceLicenseCounterByMake::_internal_counter_by_model_size() const { return counter_by_model_.size(); } inline int DeviceLicenseCounterByMake::counter_by_model_size() const { return _internal_counter_by_model_size(); } inline void DeviceLicenseCounterByMake::clear_counter_by_model() { counter_by_model_.Clear(); } inline ::video_widevine::DeviceLicenseCounterByModel* DeviceLicenseCounterByMake::mutable_counter_by_model(int index) { // @@protoc_insertion_point(field_mutable:video_widevine.DeviceLicenseCounterByMake.counter_by_model) return counter_by_model_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByModel >* DeviceLicenseCounterByMake::mutable_counter_by_model() { // @@protoc_insertion_point(field_mutable_list:video_widevine.DeviceLicenseCounterByMake.counter_by_model) return &counter_by_model_; } inline const ::video_widevine::DeviceLicenseCounterByModel& DeviceLicenseCounterByMake::_internal_counter_by_model(int index) const { return counter_by_model_.Get(index); } inline const ::video_widevine::DeviceLicenseCounterByModel& DeviceLicenseCounterByMake::counter_by_model(int index) const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterByMake.counter_by_model) return _internal_counter_by_model(index); } inline ::video_widevine::DeviceLicenseCounterByModel* DeviceLicenseCounterByMake::_internal_add_counter_by_model() { return counter_by_model_.Add(); } inline ::video_widevine::DeviceLicenseCounterByModel* DeviceLicenseCounterByMake::add_counter_by_model() { // @@protoc_insertion_point(field_add:video_widevine.DeviceLicenseCounterByMake.counter_by_model) return _internal_add_counter_by_model(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByModel >& DeviceLicenseCounterByMake::counter_by_model() const { // @@protoc_insertion_point(field_list:video_widevine.DeviceLicenseCounterByMake.counter_by_model) return counter_by_model_; } // ------------------------------------------------------------------- // DeviceLicenseCounterBySystemId // optional int32 device_system_id = 1; inline bool DeviceLicenseCounterBySystemId::_internal_has_device_system_id() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool DeviceLicenseCounterBySystemId::has_device_system_id() const { return _internal_has_device_system_id(); } inline void DeviceLicenseCounterBySystemId::clear_device_system_id() { device_system_id_ = 0; _has_bits_[0] &= ~0x00000001u; } inline ::PROTOBUF_NAMESPACE_ID::int32 DeviceLicenseCounterBySystemId::_internal_device_system_id() const { return device_system_id_; } inline ::PROTOBUF_NAMESPACE_ID::int32 DeviceLicenseCounterBySystemId::device_system_id() const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterBySystemId.device_system_id) return _internal_device_system_id(); } inline void DeviceLicenseCounterBySystemId::_internal_set_device_system_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _has_bits_[0] |= 0x00000001u; device_system_id_ = value; } inline void DeviceLicenseCounterBySystemId::set_device_system_id(::PROTOBUF_NAMESPACE_ID::int32 value) { _internal_set_device_system_id(value); // @@protoc_insertion_point(field_set:video_widevine.DeviceLicenseCounterBySystemId.device_system_id) } // repeated .video_widevine.DeviceLicenseCounterByMake counter_by_make = 2; inline int DeviceLicenseCounterBySystemId::_internal_counter_by_make_size() const { return counter_by_make_.size(); } inline int DeviceLicenseCounterBySystemId::counter_by_make_size() const { return _internal_counter_by_make_size(); } inline void DeviceLicenseCounterBySystemId::clear_counter_by_make() { counter_by_make_.Clear(); } inline ::video_widevine::DeviceLicenseCounterByMake* DeviceLicenseCounterBySystemId::mutable_counter_by_make(int index) { // @@protoc_insertion_point(field_mutable:video_widevine.DeviceLicenseCounterBySystemId.counter_by_make) return counter_by_make_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByMake >* DeviceLicenseCounterBySystemId::mutable_counter_by_make() { // @@protoc_insertion_point(field_mutable_list:video_widevine.DeviceLicenseCounterBySystemId.counter_by_make) return &counter_by_make_; } inline const ::video_widevine::DeviceLicenseCounterByMake& DeviceLicenseCounterBySystemId::_internal_counter_by_make(int index) const { return counter_by_make_.Get(index); } inline const ::video_widevine::DeviceLicenseCounterByMake& DeviceLicenseCounterBySystemId::counter_by_make(int index) const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterBySystemId.counter_by_make) return _internal_counter_by_make(index); } inline ::video_widevine::DeviceLicenseCounterByMake* DeviceLicenseCounterBySystemId::_internal_add_counter_by_make() { return counter_by_make_.Add(); } inline ::video_widevine::DeviceLicenseCounterByMake* DeviceLicenseCounterBySystemId::add_counter_by_make() { // @@protoc_insertion_point(field_add:video_widevine.DeviceLicenseCounterBySystemId.counter_by_make) return _internal_add_counter_by_make(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterByMake >& DeviceLicenseCounterBySystemId::counter_by_make() const { // @@protoc_insertion_point(field_list:video_widevine.DeviceLicenseCounterBySystemId.counter_by_make) return counter_by_make_; } // ------------------------------------------------------------------- // DeviceLicenseCounterRequest // optional string provider = 1; inline bool DeviceLicenseCounterRequest::_internal_has_provider() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool DeviceLicenseCounterRequest::has_provider() const { return _internal_has_provider(); } inline void DeviceLicenseCounterRequest::clear_provider() { provider_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& DeviceLicenseCounterRequest::provider() const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterRequest.provider) return _internal_provider(); } inline void DeviceLicenseCounterRequest::set_provider(const std::string& value) { _internal_set_provider(value); // @@protoc_insertion_point(field_set:video_widevine.DeviceLicenseCounterRequest.provider) } inline std::string* DeviceLicenseCounterRequest::mutable_provider() { // @@protoc_insertion_point(field_mutable:video_widevine.DeviceLicenseCounterRequest.provider) return _internal_mutable_provider(); } inline const std::string& DeviceLicenseCounterRequest::_internal_provider() const { return provider_.Get(); } inline void DeviceLicenseCounterRequest::_internal_set_provider(const std::string& value) { _has_bits_[0] |= 0x00000001u; provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void DeviceLicenseCounterRequest::set_provider(std::string&& value) { _has_bits_[0] |= 0x00000001u; provider_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:video_widevine.DeviceLicenseCounterRequest.provider) } inline void DeviceLicenseCounterRequest::set_provider(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:video_widevine.DeviceLicenseCounterRequest.provider) } inline void DeviceLicenseCounterRequest::set_provider(const char* value, size_t size) { _has_bits_[0] |= 0x00000001u; provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:video_widevine.DeviceLicenseCounterRequest.provider) } inline std::string* DeviceLicenseCounterRequest::_internal_mutable_provider() { _has_bits_[0] |= 0x00000001u; return provider_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* DeviceLicenseCounterRequest::release_provider() { // @@protoc_insertion_point(field_release:video_widevine.DeviceLicenseCounterRequest.provider) if (!_internal_has_provider()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return provider_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void DeviceLicenseCounterRequest::set_allocated_provider(std::string* provider) { if (provider != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } provider_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), provider, GetArena()); // @@protoc_insertion_point(field_set_allocated:video_widevine.DeviceLicenseCounterRequest.provider) } // optional int64 counter_utc_start_time_usec = 2; inline bool DeviceLicenseCounterRequest::_internal_has_counter_utc_start_time_usec() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; return value; } inline bool DeviceLicenseCounterRequest::has_counter_utc_start_time_usec() const { return _internal_has_counter_utc_start_time_usec(); } inline void DeviceLicenseCounterRequest::clear_counter_utc_start_time_usec() { counter_utc_start_time_usec_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000002u; } inline ::PROTOBUF_NAMESPACE_ID::int64 DeviceLicenseCounterRequest::_internal_counter_utc_start_time_usec() const { return counter_utc_start_time_usec_; } inline ::PROTOBUF_NAMESPACE_ID::int64 DeviceLicenseCounterRequest::counter_utc_start_time_usec() const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterRequest.counter_utc_start_time_usec) return _internal_counter_utc_start_time_usec(); } inline void DeviceLicenseCounterRequest::_internal_set_counter_utc_start_time_usec(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000002u; counter_utc_start_time_usec_ = value; } inline void DeviceLicenseCounterRequest::set_counter_utc_start_time_usec(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_counter_utc_start_time_usec(value); // @@protoc_insertion_point(field_set:video_widevine.DeviceLicenseCounterRequest.counter_utc_start_time_usec) } // optional int64 counter_utc_end_time_usec = 3; inline bool DeviceLicenseCounterRequest::_internal_has_counter_utc_end_time_usec() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool DeviceLicenseCounterRequest::has_counter_utc_end_time_usec() const { return _internal_has_counter_utc_end_time_usec(); } inline void DeviceLicenseCounterRequest::clear_counter_utc_end_time_usec() { counter_utc_end_time_usec_ = PROTOBUF_LONGLONG(0); _has_bits_[0] &= ~0x00000004u; } inline ::PROTOBUF_NAMESPACE_ID::int64 DeviceLicenseCounterRequest::_internal_counter_utc_end_time_usec() const { return counter_utc_end_time_usec_; } inline ::PROTOBUF_NAMESPACE_ID::int64 DeviceLicenseCounterRequest::counter_utc_end_time_usec() const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterRequest.counter_utc_end_time_usec) return _internal_counter_utc_end_time_usec(); } inline void DeviceLicenseCounterRequest::_internal_set_counter_utc_end_time_usec(::PROTOBUF_NAMESPACE_ID::int64 value) { _has_bits_[0] |= 0x00000004u; counter_utc_end_time_usec_ = value; } inline void DeviceLicenseCounterRequest::set_counter_utc_end_time_usec(::PROTOBUF_NAMESPACE_ID::int64 value) { _internal_set_counter_utc_end_time_usec(value); // @@protoc_insertion_point(field_set:video_widevine.DeviceLicenseCounterRequest.counter_utc_end_time_usec) } // repeated .video_widevine.DeviceLicenseCounterBySystemId counter_by_systemid = 4; inline int DeviceLicenseCounterRequest::_internal_counter_by_systemid_size() const { return counter_by_systemid_.size(); } inline int DeviceLicenseCounterRequest::counter_by_systemid_size() const { return _internal_counter_by_systemid_size(); } inline void DeviceLicenseCounterRequest::clear_counter_by_systemid() { counter_by_systemid_.Clear(); } inline ::video_widevine::DeviceLicenseCounterBySystemId* DeviceLicenseCounterRequest::mutable_counter_by_systemid(int index) { // @@protoc_insertion_point(field_mutable:video_widevine.DeviceLicenseCounterRequest.counter_by_systemid) return counter_by_systemid_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterBySystemId >* DeviceLicenseCounterRequest::mutable_counter_by_systemid() { // @@protoc_insertion_point(field_mutable_list:video_widevine.DeviceLicenseCounterRequest.counter_by_systemid) return &counter_by_systemid_; } inline const ::video_widevine::DeviceLicenseCounterBySystemId& DeviceLicenseCounterRequest::_internal_counter_by_systemid(int index) const { return counter_by_systemid_.Get(index); } inline const ::video_widevine::DeviceLicenseCounterBySystemId& DeviceLicenseCounterRequest::counter_by_systemid(int index) const { // @@protoc_insertion_point(field_get:video_widevine.DeviceLicenseCounterRequest.counter_by_systemid) return _internal_counter_by_systemid(index); } inline ::video_widevine::DeviceLicenseCounterBySystemId* DeviceLicenseCounterRequest::_internal_add_counter_by_systemid() { return counter_by_systemid_.Add(); } inline ::video_widevine::DeviceLicenseCounterBySystemId* DeviceLicenseCounterRequest::add_counter_by_systemid() { // @@protoc_insertion_point(field_add:video_widevine.DeviceLicenseCounterRequest.counter_by_systemid) return _internal_add_counter_by_systemid(); } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::DeviceLicenseCounterBySystemId >& DeviceLicenseCounterRequest::counter_by_systemid() const { // @@protoc_insertion_point(field_list:video_widevine.DeviceLicenseCounterRequest.counter_by_systemid) return counter_by_systemid_; } // ------------------------------------------------------------------- // SignedDeviceLicenseCounterRequest // optional .video_widevine.DeviceLicenseCounterRequest device_license_counter_request = 1; inline bool SignedDeviceLicenseCounterRequest::_internal_has_device_license_counter_request() const { bool value = (_has_bits_[0] & 0x00000002u) != 0; PROTOBUF_ASSUME(!value || device_license_counter_request_ != nullptr); return value; } inline bool SignedDeviceLicenseCounterRequest::has_device_license_counter_request() const { return _internal_has_device_license_counter_request(); } inline void SignedDeviceLicenseCounterRequest::clear_device_license_counter_request() { if (device_license_counter_request_ != nullptr) device_license_counter_request_->Clear(); _has_bits_[0] &= ~0x00000002u; } inline const ::video_widevine::DeviceLicenseCounterRequest& SignedDeviceLicenseCounterRequest::_internal_device_license_counter_request() const { const ::video_widevine::DeviceLicenseCounterRequest* p = device_license_counter_request_; return p != nullptr ? *p : reinterpret_cast( ::video_widevine::_DeviceLicenseCounterRequest_default_instance_); } inline const ::video_widevine::DeviceLicenseCounterRequest& SignedDeviceLicenseCounterRequest::device_license_counter_request() const { // @@protoc_insertion_point(field_get:video_widevine.SignedDeviceLicenseCounterRequest.device_license_counter_request) return _internal_device_license_counter_request(); } inline void SignedDeviceLicenseCounterRequest::unsafe_arena_set_allocated_device_license_counter_request( ::video_widevine::DeviceLicenseCounterRequest* device_license_counter_request) { if (GetArena() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_license_counter_request_); } device_license_counter_request_ = device_license_counter_request; if (device_license_counter_request) { _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } // @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.SignedDeviceLicenseCounterRequest.device_license_counter_request) } inline ::video_widevine::DeviceLicenseCounterRequest* SignedDeviceLicenseCounterRequest::release_device_license_counter_request() { _has_bits_[0] &= ~0x00000002u; ::video_widevine::DeviceLicenseCounterRequest* temp = device_license_counter_request_; device_license_counter_request_ = nullptr; if (GetArena() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } return temp; } inline ::video_widevine::DeviceLicenseCounterRequest* SignedDeviceLicenseCounterRequest::unsafe_arena_release_device_license_counter_request() { // @@protoc_insertion_point(field_release:video_widevine.SignedDeviceLicenseCounterRequest.device_license_counter_request) _has_bits_[0] &= ~0x00000002u; ::video_widevine::DeviceLicenseCounterRequest* temp = device_license_counter_request_; device_license_counter_request_ = nullptr; return temp; } inline ::video_widevine::DeviceLicenseCounterRequest* SignedDeviceLicenseCounterRequest::_internal_mutable_device_license_counter_request() { _has_bits_[0] |= 0x00000002u; if (device_license_counter_request_ == nullptr) { auto* p = CreateMaybeMessage<::video_widevine::DeviceLicenseCounterRequest>(GetArena()); device_license_counter_request_ = p; } return device_license_counter_request_; } inline ::video_widevine::DeviceLicenseCounterRequest* SignedDeviceLicenseCounterRequest::mutable_device_license_counter_request() { // @@protoc_insertion_point(field_mutable:video_widevine.SignedDeviceLicenseCounterRequest.device_license_counter_request) return _internal_mutable_device_license_counter_request(); } inline void SignedDeviceLicenseCounterRequest::set_allocated_device_license_counter_request(::video_widevine::DeviceLicenseCounterRequest* device_license_counter_request) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); if (message_arena == nullptr) { delete device_license_counter_request_; } if (device_license_counter_request) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(device_license_counter_request); if (message_arena != submessage_arena) { device_license_counter_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, device_license_counter_request, submessage_arena); } _has_bits_[0] |= 0x00000002u; } else { _has_bits_[0] &= ~0x00000002u; } device_license_counter_request_ = device_license_counter_request; // @@protoc_insertion_point(field_set_allocated:video_widevine.SignedDeviceLicenseCounterRequest.device_license_counter_request) } // optional bytes signature = 2; inline bool SignedDeviceLicenseCounterRequest::_internal_has_signature() const { bool value = (_has_bits_[0] & 0x00000001u) != 0; return value; } inline bool SignedDeviceLicenseCounterRequest::has_signature() const { return _internal_has_signature(); } inline void SignedDeviceLicenseCounterRequest::clear_signature() { signature_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& SignedDeviceLicenseCounterRequest::signature() const { // @@protoc_insertion_point(field_get:video_widevine.SignedDeviceLicenseCounterRequest.signature) return _internal_signature(); } inline void SignedDeviceLicenseCounterRequest::set_signature(const std::string& value) { _internal_set_signature(value); // @@protoc_insertion_point(field_set:video_widevine.SignedDeviceLicenseCounterRequest.signature) } inline std::string* SignedDeviceLicenseCounterRequest::mutable_signature() { // @@protoc_insertion_point(field_mutable:video_widevine.SignedDeviceLicenseCounterRequest.signature) return _internal_mutable_signature(); } inline const std::string& SignedDeviceLicenseCounterRequest::_internal_signature() const { return signature_.Get(); } inline void SignedDeviceLicenseCounterRequest::_internal_set_signature(const std::string& value) { _has_bits_[0] |= 0x00000001u; signature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena()); } inline void SignedDeviceLicenseCounterRequest::set_signature(std::string&& value) { _has_bits_[0] |= 0x00000001u; signature_.Set( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena()); // @@protoc_insertion_point(field_set_rvalue:video_widevine.SignedDeviceLicenseCounterRequest.signature) } inline void SignedDeviceLicenseCounterRequest::set_signature(const char* value) { GOOGLE_DCHECK(value != nullptr); _has_bits_[0] |= 0x00000001u; signature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena()); // @@protoc_insertion_point(field_set_char:video_widevine.SignedDeviceLicenseCounterRequest.signature) } inline void SignedDeviceLicenseCounterRequest::set_signature(const void* value, size_t size) { _has_bits_[0] |= 0x00000001u; signature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string( reinterpret_cast(value), size), GetArena()); // @@protoc_insertion_point(field_set_pointer:video_widevine.SignedDeviceLicenseCounterRequest.signature) } inline std::string* SignedDeviceLicenseCounterRequest::_internal_mutable_signature() { _has_bits_[0] |= 0x00000001u; return signature_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena()); } inline std::string* SignedDeviceLicenseCounterRequest::release_signature() { // @@protoc_insertion_point(field_release:video_widevine.SignedDeviceLicenseCounterRequest.signature) if (!_internal_has_signature()) { return nullptr; } _has_bits_[0] &= ~0x00000001u; return signature_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); } inline void SignedDeviceLicenseCounterRequest::set_allocated_signature(std::string* signature) { if (signature != nullptr) { _has_bits_[0] |= 0x00000001u; } else { _has_bits_[0] &= ~0x00000001u; } signature_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), signature, GetArena()); // @@protoc_insertion_point(field_set_allocated:video_widevine.SignedDeviceLicenseCounterRequest.signature) } // optional .video_widevine.HashAlgorithmProto hash_algorithm = 3; inline bool SignedDeviceLicenseCounterRequest::_internal_has_hash_algorithm() const { bool value = (_has_bits_[0] & 0x00000004u) != 0; return value; } inline bool SignedDeviceLicenseCounterRequest::has_hash_algorithm() const { return _internal_has_hash_algorithm(); } inline void SignedDeviceLicenseCounterRequest::clear_hash_algorithm() { hash_algorithm_ = 0; _has_bits_[0] &= ~0x00000004u; } inline ::video_widevine::HashAlgorithmProto SignedDeviceLicenseCounterRequest::_internal_hash_algorithm() const { return static_cast< ::video_widevine::HashAlgorithmProto >(hash_algorithm_); } inline ::video_widevine::HashAlgorithmProto SignedDeviceLicenseCounterRequest::hash_algorithm() const { // @@protoc_insertion_point(field_get:video_widevine.SignedDeviceLicenseCounterRequest.hash_algorithm) return _internal_hash_algorithm(); } inline void SignedDeviceLicenseCounterRequest::_internal_set_hash_algorithm(::video_widevine::HashAlgorithmProto value) { assert(::video_widevine::HashAlgorithmProto_IsValid(value)); _has_bits_[0] |= 0x00000004u; hash_algorithm_ = value; } inline void SignedDeviceLicenseCounterRequest::set_hash_algorithm(::video_widevine::HashAlgorithmProto value) { _internal_set_hash_algorithm(value); // @@protoc_insertion_point(field_set:video_widevine.SignedDeviceLicenseCounterRequest.hash_algorithm) } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // ------------------------------------------------------------------- // @@protoc_insertion_point(namespace_scope) } // namespace video_widevine // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fsdk_5fstats_2eproto