Files
wvpl_license_sdk/ubuntu/protos/public/sdk_license_data_config.pb.h
2022-04-22 02:33:19 +00:00

2443 lines
99 KiB
C++
Executable File

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protos/public/sdk_license_data_config.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3017000
#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 3017003 < 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/port_undef.inc>
#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_lite.h>
#include <google/protobuf/generated_message_reflection.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 "protos/public/license_protocol.pb.h"
#include "protos/public/license_server_sdk.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_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_5flicense_5fdata_5fconfig_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[8]
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_5flicense_5fdata_5fconfig_2eproto;
namespace video_widevine {
class ContentInfoManager;
struct ContentInfoManagerDefaultTypeInternal;
extern ContentInfoManagerDefaultTypeInternal _ContentInfoManager_default_instance_;
class ContentInfoManager_ContentInfo;
struct ContentInfoManager_ContentInfoDefaultTypeInternal;
extern ContentInfoManager_ContentInfoDefaultTypeInternal _ContentInfoManager_ContentInfo_default_instance_;
class KeyManager;
struct KeyManagerDefaultTypeInternal;
extern KeyManagerDefaultTypeInternal _KeyManager_default_instance_;
class KeyManager_Item;
struct KeyManager_ItemDefaultTypeInternal;
extern KeyManager_ItemDefaultTypeInternal _KeyManager_Item_default_instance_;
class PolicyManager;
struct PolicyManagerDefaultTypeInternal;
extern PolicyManagerDefaultTypeInternal _PolicyManager_default_instance_;
class PolicyManager_Policy;
struct PolicyManager_PolicyDefaultTypeInternal;
extern PolicyManager_PolicyDefaultTypeInternal _PolicyManager_Policy_default_instance_;
class ProfileManager;
struct ProfileManagerDefaultTypeInternal;
extern ProfileManagerDefaultTypeInternal _ProfileManager_default_instance_;
class ProfileManager_Profile;
struct ProfileManager_ProfileDefaultTypeInternal;
extern ProfileManager_ProfileDefaultTypeInternal _ProfileManager_Profile_default_instance_;
} // namespace video_widevine
PROTOBUF_NAMESPACE_OPEN
template<> ::video_widevine::ContentInfoManager* Arena::CreateMaybeMessage<::video_widevine::ContentInfoManager>(Arena*);
template<> ::video_widevine::ContentInfoManager_ContentInfo* Arena::CreateMaybeMessage<::video_widevine::ContentInfoManager_ContentInfo>(Arena*);
template<> ::video_widevine::KeyManager* Arena::CreateMaybeMessage<::video_widevine::KeyManager>(Arena*);
template<> ::video_widevine::KeyManager_Item* Arena::CreateMaybeMessage<::video_widevine::KeyManager_Item>(Arena*);
template<> ::video_widevine::PolicyManager* Arena::CreateMaybeMessage<::video_widevine::PolicyManager>(Arena*);
template<> ::video_widevine::PolicyManager_Policy* Arena::CreateMaybeMessage<::video_widevine::PolicyManager_Policy>(Arena*);
template<> ::video_widevine::ProfileManager* Arena::CreateMaybeMessage<::video_widevine::ProfileManager>(Arena*);
template<> ::video_widevine::ProfileManager_Profile* Arena::CreateMaybeMessage<::video_widevine::ProfileManager_Profile>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace video_widevine {
// ===================================================================
class PolicyManager_Policy final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PolicyManager.Policy) */ {
public:
inline PolicyManager_Policy() : PolicyManager_Policy(nullptr) {}
~PolicyManager_Policy() override;
explicit constexpr PolicyManager_Policy(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PolicyManager_Policy(const PolicyManager_Policy& from);
PolicyManager_Policy(PolicyManager_Policy&& from) noexcept
: PolicyManager_Policy() {
*this = ::std::move(from);
}
inline PolicyManager_Policy& operator=(const PolicyManager_Policy& from) {
CopyFrom(from);
return *this;
}
inline PolicyManager_Policy& operator=(PolicyManager_Policy&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
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 default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const PolicyManager_Policy& default_instance() {
return *internal_default_instance();
}
static inline const PolicyManager_Policy* internal_default_instance() {
return reinterpret_cast<const PolicyManager_Policy*>(
&_PolicyManager_Policy_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(PolicyManager_Policy& a, PolicyManager_Policy& b) {
a.Swap(&b);
}
inline void Swap(PolicyManager_Policy* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PolicyManager_Policy* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PolicyManager_Policy* New() const final {
return new PolicyManager_Policy();
}
PolicyManager_Policy* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PolicyManager_Policy>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PolicyManager_Policy& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PolicyManager_Policy& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
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:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(PolicyManager_Policy* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PolicyManager.Policy";
}
protected:
explicit PolicyManager_Policy(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kIdFieldNumber = 1,
kPolicyFieldNumber = 2,
};
// optional string id = 1;
bool has_id() const;
private:
bool _internal_has_id() const;
public:
void clear_id();
const std::string& id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
PROTOBUF_MUST_USE_RESULT std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value);
std::string* _internal_mutable_id();
public:
// optional .video_widevine.License.Policy policy = 2;
bool has_policy() const;
private:
bool _internal_has_policy() const;
public:
void clear_policy();
const ::video_widevine::License_Policy& policy() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::License_Policy* release_policy();
::video_widevine::License_Policy* mutable_policy();
void set_allocated_policy(::video_widevine::License_Policy* policy);
private:
const ::video_widevine::License_Policy& _internal_policy() const;
::video_widevine::License_Policy* _internal_mutable_policy();
public:
void unsafe_arena_set_allocated_policy(
::video_widevine::License_Policy* policy);
::video_widevine::License_Policy* unsafe_arena_release_policy();
// @@protoc_insertion_point(class_scope:video_widevine.PolicyManager.Policy)
private:
class _Internal;
template <typename T> 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 id_;
::video_widevine::License_Policy* policy_;
friend struct ::TableStruct_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto;
};
// -------------------------------------------------------------------
class PolicyManager final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PolicyManager) */ {
public:
inline PolicyManager() : PolicyManager(nullptr) {}
~PolicyManager() override;
explicit constexpr PolicyManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PolicyManager(const PolicyManager& from);
PolicyManager(PolicyManager&& from) noexcept
: PolicyManager() {
*this = ::std::move(from);
}
inline PolicyManager& operator=(const PolicyManager& from) {
CopyFrom(from);
return *this;
}
inline PolicyManager& operator=(PolicyManager&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
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 default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const PolicyManager& default_instance() {
return *internal_default_instance();
}
static inline const PolicyManager* internal_default_instance() {
return reinterpret_cast<const PolicyManager*>(
&_PolicyManager_default_instance_);
}
static constexpr int kIndexInFileMessages =
1;
friend void swap(PolicyManager& a, PolicyManager& b) {
a.Swap(&b);
}
inline void Swap(PolicyManager* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PolicyManager* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PolicyManager* New() const final {
return new PolicyManager();
}
PolicyManager* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PolicyManager>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PolicyManager& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PolicyManager& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
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:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(PolicyManager* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PolicyManager";
}
protected:
explicit PolicyManager(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
typedef PolicyManager_Policy Policy;
// accessors -------------------------------------------------------
enum : int {
kPoliciesFieldNumber = 1,
};
// repeated .video_widevine.PolicyManager.Policy policies = 1;
int policies_size() const;
private:
int _internal_policies_size() const;
public:
void clear_policies();
::video_widevine::PolicyManager_Policy* mutable_policies(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::PolicyManager_Policy >*
mutable_policies();
private:
const ::video_widevine::PolicyManager_Policy& _internal_policies(int index) const;
::video_widevine::PolicyManager_Policy* _internal_add_policies();
public:
const ::video_widevine::PolicyManager_Policy& policies(int index) const;
::video_widevine::PolicyManager_Policy* add_policies();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::PolicyManager_Policy >&
policies() const;
// @@protoc_insertion_point(class_scope:video_widevine.PolicyManager)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::PolicyManager_Policy > policies_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto;
};
// -------------------------------------------------------------------
class KeyManager_Item final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.KeyManager.Item) */ {
public:
inline KeyManager_Item() : KeyManager_Item(nullptr) {}
~KeyManager_Item() override;
explicit constexpr KeyManager_Item(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
KeyManager_Item(const KeyManager_Item& from);
KeyManager_Item(KeyManager_Item&& from) noexcept
: KeyManager_Item() {
*this = ::std::move(from);
}
inline KeyManager_Item& operator=(const KeyManager_Item& from) {
CopyFrom(from);
return *this;
}
inline KeyManager_Item& operator=(KeyManager_Item&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
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 default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const KeyManager_Item& default_instance() {
return *internal_default_instance();
}
static inline const KeyManager_Item* internal_default_instance() {
return reinterpret_cast<const KeyManager_Item*>(
&_KeyManager_Item_default_instance_);
}
static constexpr int kIndexInFileMessages =
2;
friend void swap(KeyManager_Item& a, KeyManager_Item& b) {
a.Swap(&b);
}
inline void Swap(KeyManager_Item* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(KeyManager_Item* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline KeyManager_Item* New() const final {
return new KeyManager_Item();
}
KeyManager_Item* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<KeyManager_Item>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const KeyManager_Item& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const KeyManager_Item& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
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:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(KeyManager_Item* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.KeyManager.Item";
}
protected:
explicit KeyManager_Item(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kPolicyIdFieldNumber = 1,
kKeyContainerFieldNumber = 2,
};
// optional string policy_id = 1;
bool has_policy_id() const;
private:
bool _internal_has_policy_id() const;
public:
void clear_policy_id();
const std::string& policy_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_policy_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_policy_id();
PROTOBUF_MUST_USE_RESULT std::string* release_policy_id();
void set_allocated_policy_id(std::string* policy_id);
private:
const std::string& _internal_policy_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_policy_id(const std::string& value);
std::string* _internal_mutable_policy_id();
public:
// optional .video_widevine.License.KeyContainer key_container = 2;
bool has_key_container() const;
private:
bool _internal_has_key_container() const;
public:
void clear_key_container();
const ::video_widevine::License_KeyContainer& key_container() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::License_KeyContainer* release_key_container();
::video_widevine::License_KeyContainer* mutable_key_container();
void set_allocated_key_container(::video_widevine::License_KeyContainer* key_container);
private:
const ::video_widevine::License_KeyContainer& _internal_key_container() const;
::video_widevine::License_KeyContainer* _internal_mutable_key_container();
public:
void unsafe_arena_set_allocated_key_container(
::video_widevine::License_KeyContainer* key_container);
::video_widevine::License_KeyContainer* unsafe_arena_release_key_container();
// @@protoc_insertion_point(class_scope:video_widevine.KeyManager.Item)
private:
class _Internal;
template <typename T> 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 policy_id_;
::video_widevine::License_KeyContainer* key_container_;
friend struct ::TableStruct_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto;
};
// -------------------------------------------------------------------
class KeyManager final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.KeyManager) */ {
public:
inline KeyManager() : KeyManager(nullptr) {}
~KeyManager() override;
explicit constexpr KeyManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
KeyManager(const KeyManager& from);
KeyManager(KeyManager&& from) noexcept
: KeyManager() {
*this = ::std::move(from);
}
inline KeyManager& operator=(const KeyManager& from) {
CopyFrom(from);
return *this;
}
inline KeyManager& operator=(KeyManager&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
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 default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const KeyManager& default_instance() {
return *internal_default_instance();
}
static inline const KeyManager* internal_default_instance() {
return reinterpret_cast<const KeyManager*>(
&_KeyManager_default_instance_);
}
static constexpr int kIndexInFileMessages =
3;
friend void swap(KeyManager& a, KeyManager& b) {
a.Swap(&b);
}
inline void Swap(KeyManager* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(KeyManager* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline KeyManager* New() const final {
return new KeyManager();
}
KeyManager* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<KeyManager>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const KeyManager& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const KeyManager& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
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:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(KeyManager* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.KeyManager";
}
protected:
explicit KeyManager(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
typedef KeyManager_Item Item;
// accessors -------------------------------------------------------
enum : int {
kItemFieldNumber = 1,
};
// repeated .video_widevine.KeyManager.Item item = 1;
int item_size() const;
private:
int _internal_item_size() const;
public:
void clear_item();
::video_widevine::KeyManager_Item* mutable_item(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyManager_Item >*
mutable_item();
private:
const ::video_widevine::KeyManager_Item& _internal_item(int index) const;
::video_widevine::KeyManager_Item* _internal_add_item();
public:
const ::video_widevine::KeyManager_Item& item(int index) const;
::video_widevine::KeyManager_Item* add_item();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyManager_Item >&
item() const;
// @@protoc_insertion_point(class_scope:video_widevine.KeyManager)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyManager_Item > item_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto;
};
// -------------------------------------------------------------------
class ProfileManager_Profile final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProfileManager.Profile) */ {
public:
inline ProfileManager_Profile() : ProfileManager_Profile(nullptr) {}
~ProfileManager_Profile() override;
explicit constexpr ProfileManager_Profile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ProfileManager_Profile(const ProfileManager_Profile& from);
ProfileManager_Profile(ProfileManager_Profile&& from) noexcept
: ProfileManager_Profile() {
*this = ::std::move(from);
}
inline ProfileManager_Profile& operator=(const ProfileManager_Profile& from) {
CopyFrom(from);
return *this;
}
inline ProfileManager_Profile& operator=(ProfileManager_Profile&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
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 default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const ProfileManager_Profile& default_instance() {
return *internal_default_instance();
}
static inline const ProfileManager_Profile* internal_default_instance() {
return reinterpret_cast<const ProfileManager_Profile*>(
&_ProfileManager_Profile_default_instance_);
}
static constexpr int kIndexInFileMessages =
4;
friend void swap(ProfileManager_Profile& a, ProfileManager_Profile& b) {
a.Swap(&b);
}
inline void Swap(ProfileManager_Profile* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ProfileManager_Profile* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ProfileManager_Profile* New() const final {
return new ProfileManager_Profile();
}
ProfileManager_Profile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ProfileManager_Profile>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ProfileManager_Profile& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ProfileManager_Profile& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
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:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ProfileManager_Profile* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.ProfileManager.Profile";
}
protected:
explicit ProfileManager_Profile(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kIdFieldNumber = 1,
kSessionInitFieldNumber = 2,
};
// optional string id = 1;
bool has_id() const;
private:
bool _internal_has_id() const;
public:
void clear_id();
const std::string& id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_id();
PROTOBUF_MUST_USE_RESULT std::string* release_id();
void set_allocated_id(std::string* id);
private:
const std::string& _internal_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_id(const std::string& value);
std::string* _internal_mutable_id();
public:
// optional .video_widevine.SessionInit session_init = 2;
bool has_session_init() const;
private:
bool _internal_has_session_init() const;
public:
void clear_session_init();
const ::video_widevine::SessionInit& session_init() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::SessionInit* release_session_init();
::video_widevine::SessionInit* mutable_session_init();
void set_allocated_session_init(::video_widevine::SessionInit* session_init);
private:
const ::video_widevine::SessionInit& _internal_session_init() const;
::video_widevine::SessionInit* _internal_mutable_session_init();
public:
void unsafe_arena_set_allocated_session_init(
::video_widevine::SessionInit* session_init);
::video_widevine::SessionInit* unsafe_arena_release_session_init();
// @@protoc_insertion_point(class_scope:video_widevine.ProfileManager.Profile)
private:
class _Internal;
template <typename T> 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 id_;
::video_widevine::SessionInit* session_init_;
friend struct ::TableStruct_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto;
};
// -------------------------------------------------------------------
class ProfileManager final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProfileManager) */ {
public:
inline ProfileManager() : ProfileManager(nullptr) {}
~ProfileManager() override;
explicit constexpr ProfileManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ProfileManager(const ProfileManager& from);
ProfileManager(ProfileManager&& from) noexcept
: ProfileManager() {
*this = ::std::move(from);
}
inline ProfileManager& operator=(const ProfileManager& from) {
CopyFrom(from);
return *this;
}
inline ProfileManager& operator=(ProfileManager&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
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 default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const ProfileManager& default_instance() {
return *internal_default_instance();
}
static inline const ProfileManager* internal_default_instance() {
return reinterpret_cast<const ProfileManager*>(
&_ProfileManager_default_instance_);
}
static constexpr int kIndexInFileMessages =
5;
friend void swap(ProfileManager& a, ProfileManager& b) {
a.Swap(&b);
}
inline void Swap(ProfileManager* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ProfileManager* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ProfileManager* New() const final {
return new ProfileManager();
}
ProfileManager* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ProfileManager>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ProfileManager& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ProfileManager& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
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:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ProfileManager* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.ProfileManager";
}
protected:
explicit ProfileManager(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
typedef ProfileManager_Profile Profile;
// accessors -------------------------------------------------------
enum : int {
kProfileFieldNumber = 1,
};
// repeated .video_widevine.ProfileManager.Profile profile = 1;
int profile_size() const;
private:
int _internal_profile_size() const;
public:
void clear_profile();
::video_widevine::ProfileManager_Profile* mutable_profile(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ProfileManager_Profile >*
mutable_profile();
private:
const ::video_widevine::ProfileManager_Profile& _internal_profile(int index) const;
::video_widevine::ProfileManager_Profile* _internal_add_profile();
public:
const ::video_widevine::ProfileManager_Profile& profile(int index) const;
::video_widevine::ProfileManager_Profile* add_profile();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ProfileManager_Profile >&
profile() const;
// @@protoc_insertion_point(class_scope:video_widevine.ProfileManager)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ProfileManager_Profile > profile_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto;
};
// -------------------------------------------------------------------
class ContentInfoManager_ContentInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ContentInfoManager.ContentInfo) */ {
public:
inline ContentInfoManager_ContentInfo() : ContentInfoManager_ContentInfo(nullptr) {}
~ContentInfoManager_ContentInfo() override;
explicit constexpr ContentInfoManager_ContentInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ContentInfoManager_ContentInfo(const ContentInfoManager_ContentInfo& from);
ContentInfoManager_ContentInfo(ContentInfoManager_ContentInfo&& from) noexcept
: ContentInfoManager_ContentInfo() {
*this = ::std::move(from);
}
inline ContentInfoManager_ContentInfo& operator=(const ContentInfoManager_ContentInfo& from) {
CopyFrom(from);
return *this;
}
inline ContentInfoManager_ContentInfo& operator=(ContentInfoManager_ContentInfo&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
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 default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const ContentInfoManager_ContentInfo& default_instance() {
return *internal_default_instance();
}
static inline const ContentInfoManager_ContentInfo* internal_default_instance() {
return reinterpret_cast<const ContentInfoManager_ContentInfo*>(
&_ContentInfoManager_ContentInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
6;
friend void swap(ContentInfoManager_ContentInfo& a, ContentInfoManager_ContentInfo& b) {
a.Swap(&b);
}
inline void Swap(ContentInfoManager_ContentInfo* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ContentInfoManager_ContentInfo* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ContentInfoManager_ContentInfo* New() const final {
return new ContentInfoManager_ContentInfo();
}
ContentInfoManager_ContentInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ContentInfoManager_ContentInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ContentInfoManager_ContentInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ContentInfoManager_ContentInfo& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
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:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ContentInfoManager_ContentInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.ContentInfoManager.ContentInfo";
}
protected:
explicit ContentInfoManager_ContentInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kKeyIdFieldNumber = 2,
kKeyContainerFieldNumber = 5,
kContentIdFieldNumber = 1,
kProviderSessionTokenFieldNumber = 3,
kPolicyIdFieldNumber = 4,
};
// repeated string key_id = 2;
int key_id_size() const;
private:
int _internal_key_id_size() const;
public:
void clear_key_id();
const std::string& key_id(int index) const;
std::string* mutable_key_id(int index);
void set_key_id(int index, const std::string& value);
void set_key_id(int index, std::string&& value);
void set_key_id(int index, const char* value);
void set_key_id(int index, const char* value, size_t size);
std::string* add_key_id();
void add_key_id(const std::string& value);
void add_key_id(std::string&& value);
void add_key_id(const char* value);
void add_key_id(const char* value, size_t size);
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& key_id() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_key_id();
private:
const std::string& _internal_key_id(int index) const;
std::string* _internal_add_key_id();
public:
// repeated .video_widevine.License.KeyContainer key_container = 5;
int key_container_size() const;
private:
int _internal_key_container_size() const;
public:
void clear_key_container();
::video_widevine::License_KeyContainer* mutable_key_container(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::License_KeyContainer >*
mutable_key_container();
private:
const ::video_widevine::License_KeyContainer& _internal_key_container(int index) const;
::video_widevine::License_KeyContainer* _internal_add_key_container();
public:
const ::video_widevine::License_KeyContainer& key_container(int index) const;
::video_widevine::License_KeyContainer* add_key_container();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::License_KeyContainer >&
key_container() const;
// optional string content_id = 1;
bool has_content_id() const;
private:
bool _internal_has_content_id() const;
public:
void clear_content_id();
const std::string& content_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_content_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_content_id();
PROTOBUF_MUST_USE_RESULT std::string* release_content_id();
void set_allocated_content_id(std::string* content_id);
private:
const std::string& _internal_content_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_content_id(const std::string& value);
std::string* _internal_mutable_content_id();
public:
// optional string provider_session_token = 3;
bool has_provider_session_token() const;
private:
bool _internal_has_provider_session_token() const;
public:
void clear_provider_session_token();
const std::string& provider_session_token() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_provider_session_token(ArgT0&& arg0, ArgT... args);
std::string* mutable_provider_session_token();
PROTOBUF_MUST_USE_RESULT std::string* release_provider_session_token();
void set_allocated_provider_session_token(std::string* provider_session_token);
private:
const std::string& _internal_provider_session_token() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_provider_session_token(const std::string& value);
std::string* _internal_mutable_provider_session_token();
public:
// optional string policy_id = 4;
bool has_policy_id() const;
private:
bool _internal_has_policy_id() const;
public:
void clear_policy_id();
const std::string& policy_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_policy_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_policy_id();
PROTOBUF_MUST_USE_RESULT std::string* release_policy_id();
void set_allocated_policy_id(std::string* policy_id);
private:
const std::string& _internal_policy_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_policy_id(const std::string& value);
std::string* _internal_mutable_policy_id();
public:
// @@protoc_insertion_point(class_scope:video_widevine.ContentInfoManager.ContentInfo)
private:
class _Internal;
template <typename T> 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<std::string> key_id_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::License_KeyContainer > key_container_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr provider_session_token_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr policy_id_;
friend struct ::TableStruct_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto;
};
// -------------------------------------------------------------------
class ContentInfoManager final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ContentInfoManager) */ {
public:
inline ContentInfoManager() : ContentInfoManager(nullptr) {}
~ContentInfoManager() override;
explicit constexpr ContentInfoManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ContentInfoManager(const ContentInfoManager& from);
ContentInfoManager(ContentInfoManager&& from) noexcept
: ContentInfoManager() {
*this = ::std::move(from);
}
inline ContentInfoManager& operator=(const ContentInfoManager& from) {
CopyFrom(from);
return *this;
}
inline ContentInfoManager& operator=(ContentInfoManager&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
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 default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const ContentInfoManager& default_instance() {
return *internal_default_instance();
}
static inline const ContentInfoManager* internal_default_instance() {
return reinterpret_cast<const ContentInfoManager*>(
&_ContentInfoManager_default_instance_);
}
static constexpr int kIndexInFileMessages =
7;
friend void swap(ContentInfoManager& a, ContentInfoManager& b) {
a.Swap(&b);
}
inline void Swap(ContentInfoManager* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ContentInfoManager* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ContentInfoManager* New() const final {
return new ContentInfoManager();
}
ContentInfoManager* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ContentInfoManager>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ContentInfoManager& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ContentInfoManager& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
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:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ContentInfoManager* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.ContentInfoManager";
}
protected:
explicit ContentInfoManager(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
typedef ContentInfoManager_ContentInfo ContentInfo;
// accessors -------------------------------------------------------
enum : int {
kContentInfoFieldNumber = 1,
};
// repeated .video_widevine.ContentInfoManager.ContentInfo content_info = 1;
int content_info_size() const;
private:
int _internal_content_info_size() const;
public:
void clear_content_info();
::video_widevine::ContentInfoManager_ContentInfo* mutable_content_info(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ContentInfoManager_ContentInfo >*
mutable_content_info();
private:
const ::video_widevine::ContentInfoManager_ContentInfo& _internal_content_info(int index) const;
::video_widevine::ContentInfoManager_ContentInfo* _internal_add_content_info();
public:
const ::video_widevine::ContentInfoManager_ContentInfo& content_info(int index) const;
::video_widevine::ContentInfoManager_ContentInfo* add_content_info();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ContentInfoManager_ContentInfo >&
content_info() const;
// @@protoc_insertion_point(class_scope:video_widevine.ContentInfoManager)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ContentInfoManager_ContentInfo > content_info_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// PolicyManager_Policy
// optional string id = 1;
inline bool PolicyManager_Policy::_internal_has_id() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PolicyManager_Policy::has_id() const {
return _internal_has_id();
}
inline void PolicyManager_Policy::clear_id() {
id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PolicyManager_Policy::id() const {
// @@protoc_insertion_point(field_get:video_widevine.PolicyManager.Policy.id)
return _internal_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PolicyManager_Policy::set_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PolicyManager.Policy.id)
}
inline std::string* PolicyManager_Policy::mutable_id() {
std::string* _s = _internal_mutable_id();
// @@protoc_insertion_point(field_mutable:video_widevine.PolicyManager.Policy.id)
return _s;
}
inline const std::string& PolicyManager_Policy::_internal_id() const {
return id_.Get();
}
inline void PolicyManager_Policy::_internal_set_id(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PolicyManager_Policy::_internal_mutable_id() {
_has_bits_[0] |= 0x00000001u;
return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PolicyManager_Policy::release_id() {
// @@protoc_insertion_point(field_release:video_widevine.PolicyManager.Policy.id)
if (!_internal_has_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PolicyManager_Policy::set_allocated_id(std::string* id) {
if (id != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PolicyManager.Policy.id)
}
// optional .video_widevine.License.Policy policy = 2;
inline bool PolicyManager_Policy::_internal_has_policy() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
PROTOBUF_ASSUME(!value || policy_ != nullptr);
return value;
}
inline bool PolicyManager_Policy::has_policy() const {
return _internal_has_policy();
}
inline const ::video_widevine::License_Policy& PolicyManager_Policy::_internal_policy() const {
const ::video_widevine::License_Policy* p = policy_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::License_Policy&>(
::video_widevine::_License_Policy_default_instance_);
}
inline const ::video_widevine::License_Policy& PolicyManager_Policy::policy() const {
// @@protoc_insertion_point(field_get:video_widevine.PolicyManager.Policy.policy)
return _internal_policy();
}
inline void PolicyManager_Policy::unsafe_arena_set_allocated_policy(
::video_widevine::License_Policy* policy) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(policy_);
}
policy_ = policy;
if (policy) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.PolicyManager.Policy.policy)
}
inline ::video_widevine::License_Policy* PolicyManager_Policy::release_policy() {
_has_bits_[0] &= ~0x00000002u;
::video_widevine::License_Policy* temp = policy_;
policy_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
if (GetArenaForAllocation() == nullptr) { delete old; }
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::video_widevine::License_Policy* PolicyManager_Policy::unsafe_arena_release_policy() {
// @@protoc_insertion_point(field_release:video_widevine.PolicyManager.Policy.policy)
_has_bits_[0] &= ~0x00000002u;
::video_widevine::License_Policy* temp = policy_;
policy_ = nullptr;
return temp;
}
inline ::video_widevine::License_Policy* PolicyManager_Policy::_internal_mutable_policy() {
_has_bits_[0] |= 0x00000002u;
if (policy_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::License_Policy>(GetArenaForAllocation());
policy_ = p;
}
return policy_;
}
inline ::video_widevine::License_Policy* PolicyManager_Policy::mutable_policy() {
::video_widevine::License_Policy* _msg = _internal_mutable_policy();
// @@protoc_insertion_point(field_mutable:video_widevine.PolicyManager.Policy.policy)
return _msg;
}
inline void PolicyManager_Policy::set_allocated_policy(::video_widevine::License_Policy* policy) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(policy_);
}
if (policy) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(policy));
if (message_arena != submessage_arena) {
policy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, policy, submessage_arena);
}
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
policy_ = policy;
// @@protoc_insertion_point(field_set_allocated:video_widevine.PolicyManager.Policy.policy)
}
// -------------------------------------------------------------------
// PolicyManager
// repeated .video_widevine.PolicyManager.Policy policies = 1;
inline int PolicyManager::_internal_policies_size() const {
return policies_.size();
}
inline int PolicyManager::policies_size() const {
return _internal_policies_size();
}
inline void PolicyManager::clear_policies() {
policies_.Clear();
}
inline ::video_widevine::PolicyManager_Policy* PolicyManager::mutable_policies(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.PolicyManager.policies)
return policies_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::PolicyManager_Policy >*
PolicyManager::mutable_policies() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.PolicyManager.policies)
return &policies_;
}
inline const ::video_widevine::PolicyManager_Policy& PolicyManager::_internal_policies(int index) const {
return policies_.Get(index);
}
inline const ::video_widevine::PolicyManager_Policy& PolicyManager::policies(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.PolicyManager.policies)
return _internal_policies(index);
}
inline ::video_widevine::PolicyManager_Policy* PolicyManager::_internal_add_policies() {
return policies_.Add();
}
inline ::video_widevine::PolicyManager_Policy* PolicyManager::add_policies() {
::video_widevine::PolicyManager_Policy* _add = _internal_add_policies();
// @@protoc_insertion_point(field_add:video_widevine.PolicyManager.policies)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::PolicyManager_Policy >&
PolicyManager::policies() const {
// @@protoc_insertion_point(field_list:video_widevine.PolicyManager.policies)
return policies_;
}
// -------------------------------------------------------------------
// KeyManager_Item
// optional string policy_id = 1;
inline bool KeyManager_Item::_internal_has_policy_id() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool KeyManager_Item::has_policy_id() const {
return _internal_has_policy_id();
}
inline void KeyManager_Item::clear_policy_id() {
policy_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& KeyManager_Item::policy_id() const {
// @@protoc_insertion_point(field_get:video_widevine.KeyManager.Item.policy_id)
return _internal_policy_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void KeyManager_Item::set_policy_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
policy_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.KeyManager.Item.policy_id)
}
inline std::string* KeyManager_Item::mutable_policy_id() {
std::string* _s = _internal_mutable_policy_id();
// @@protoc_insertion_point(field_mutable:video_widevine.KeyManager.Item.policy_id)
return _s;
}
inline const std::string& KeyManager_Item::_internal_policy_id() const {
return policy_id_.Get();
}
inline void KeyManager_Item::_internal_set_policy_id(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
policy_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* KeyManager_Item::_internal_mutable_policy_id() {
_has_bits_[0] |= 0x00000001u;
return policy_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* KeyManager_Item::release_policy_id() {
// @@protoc_insertion_point(field_release:video_widevine.KeyManager.Item.policy_id)
if (!_internal_has_policy_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return policy_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void KeyManager_Item::set_allocated_policy_id(std::string* policy_id) {
if (policy_id != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
policy_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), policy_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.KeyManager.Item.policy_id)
}
// optional .video_widevine.License.KeyContainer key_container = 2;
inline bool KeyManager_Item::_internal_has_key_container() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
PROTOBUF_ASSUME(!value || key_container_ != nullptr);
return value;
}
inline bool KeyManager_Item::has_key_container() const {
return _internal_has_key_container();
}
inline const ::video_widevine::License_KeyContainer& KeyManager_Item::_internal_key_container() const {
const ::video_widevine::License_KeyContainer* p = key_container_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::License_KeyContainer&>(
::video_widevine::_License_KeyContainer_default_instance_);
}
inline const ::video_widevine::License_KeyContainer& KeyManager_Item::key_container() const {
// @@protoc_insertion_point(field_get:video_widevine.KeyManager.Item.key_container)
return _internal_key_container();
}
inline void KeyManager_Item::unsafe_arena_set_allocated_key_container(
::video_widevine::License_KeyContainer* key_container) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_container_);
}
key_container_ = key_container;
if (key_container) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.KeyManager.Item.key_container)
}
inline ::video_widevine::License_KeyContainer* KeyManager_Item::release_key_container() {
_has_bits_[0] &= ~0x00000002u;
::video_widevine::License_KeyContainer* temp = key_container_;
key_container_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
if (GetArenaForAllocation() == nullptr) { delete old; }
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::video_widevine::License_KeyContainer* KeyManager_Item::unsafe_arena_release_key_container() {
// @@protoc_insertion_point(field_release:video_widevine.KeyManager.Item.key_container)
_has_bits_[0] &= ~0x00000002u;
::video_widevine::License_KeyContainer* temp = key_container_;
key_container_ = nullptr;
return temp;
}
inline ::video_widevine::License_KeyContainer* KeyManager_Item::_internal_mutable_key_container() {
_has_bits_[0] |= 0x00000002u;
if (key_container_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::License_KeyContainer>(GetArenaForAllocation());
key_container_ = p;
}
return key_container_;
}
inline ::video_widevine::License_KeyContainer* KeyManager_Item::mutable_key_container() {
::video_widevine::License_KeyContainer* _msg = _internal_mutable_key_container();
// @@protoc_insertion_point(field_mutable:video_widevine.KeyManager.Item.key_container)
return _msg;
}
inline void KeyManager_Item::set_allocated_key_container(::video_widevine::License_KeyContainer* key_container) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_container_);
}
if (key_container) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_container));
if (message_arena != submessage_arena) {
key_container = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key_container, submessage_arena);
}
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
key_container_ = key_container;
// @@protoc_insertion_point(field_set_allocated:video_widevine.KeyManager.Item.key_container)
}
// -------------------------------------------------------------------
// KeyManager
// repeated .video_widevine.KeyManager.Item item = 1;
inline int KeyManager::_internal_item_size() const {
return item_.size();
}
inline int KeyManager::item_size() const {
return _internal_item_size();
}
inline void KeyManager::clear_item() {
item_.Clear();
}
inline ::video_widevine::KeyManager_Item* KeyManager::mutable_item(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.KeyManager.item)
return item_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyManager_Item >*
KeyManager::mutable_item() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.KeyManager.item)
return &item_;
}
inline const ::video_widevine::KeyManager_Item& KeyManager::_internal_item(int index) const {
return item_.Get(index);
}
inline const ::video_widevine::KeyManager_Item& KeyManager::item(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.KeyManager.item)
return _internal_item(index);
}
inline ::video_widevine::KeyManager_Item* KeyManager::_internal_add_item() {
return item_.Add();
}
inline ::video_widevine::KeyManager_Item* KeyManager::add_item() {
::video_widevine::KeyManager_Item* _add = _internal_add_item();
// @@protoc_insertion_point(field_add:video_widevine.KeyManager.item)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyManager_Item >&
KeyManager::item() const {
// @@protoc_insertion_point(field_list:video_widevine.KeyManager.item)
return item_;
}
// -------------------------------------------------------------------
// ProfileManager_Profile
// optional string id = 1;
inline bool ProfileManager_Profile::_internal_has_id() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ProfileManager_Profile::has_id() const {
return _internal_has_id();
}
inline void ProfileManager_Profile::clear_id() {
id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ProfileManager_Profile::id() const {
// @@protoc_insertion_point(field_get:video_widevine.ProfileManager.Profile.id)
return _internal_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ProfileManager_Profile::set_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.ProfileManager.Profile.id)
}
inline std::string* ProfileManager_Profile::mutable_id() {
std::string* _s = _internal_mutable_id();
// @@protoc_insertion_point(field_mutable:video_widevine.ProfileManager.Profile.id)
return _s;
}
inline const std::string& ProfileManager_Profile::_internal_id() const {
return id_.Get();
}
inline void ProfileManager_Profile::_internal_set_id(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ProfileManager_Profile::_internal_mutable_id() {
_has_bits_[0] |= 0x00000001u;
return id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ProfileManager_Profile::release_id() {
// @@protoc_insertion_point(field_release:video_widevine.ProfileManager.Profile.id)
if (!_internal_has_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ProfileManager_Profile::set_allocated_id(std::string* id) {
if (id != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProfileManager.Profile.id)
}
// optional .video_widevine.SessionInit session_init = 2;
inline bool ProfileManager_Profile::_internal_has_session_init() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
PROTOBUF_ASSUME(!value || session_init_ != nullptr);
return value;
}
inline bool ProfileManager_Profile::has_session_init() const {
return _internal_has_session_init();
}
inline const ::video_widevine::SessionInit& ProfileManager_Profile::_internal_session_init() const {
const ::video_widevine::SessionInit* p = session_init_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::SessionInit&>(
::video_widevine::_SessionInit_default_instance_);
}
inline const ::video_widevine::SessionInit& ProfileManager_Profile::session_init() const {
// @@protoc_insertion_point(field_get:video_widevine.ProfileManager.Profile.session_init)
return _internal_session_init();
}
inline void ProfileManager_Profile::unsafe_arena_set_allocated_session_init(
::video_widevine::SessionInit* session_init) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(session_init_);
}
session_init_ = session_init;
if (session_init) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.ProfileManager.Profile.session_init)
}
inline ::video_widevine::SessionInit* ProfileManager_Profile::release_session_init() {
_has_bits_[0] &= ~0x00000002u;
::video_widevine::SessionInit* temp = session_init_;
session_init_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
if (GetArenaForAllocation() == nullptr) { delete old; }
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
}
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp;
}
inline ::video_widevine::SessionInit* ProfileManager_Profile::unsafe_arena_release_session_init() {
// @@protoc_insertion_point(field_release:video_widevine.ProfileManager.Profile.session_init)
_has_bits_[0] &= ~0x00000002u;
::video_widevine::SessionInit* temp = session_init_;
session_init_ = nullptr;
return temp;
}
inline ::video_widevine::SessionInit* ProfileManager_Profile::_internal_mutable_session_init() {
_has_bits_[0] |= 0x00000002u;
if (session_init_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::SessionInit>(GetArenaForAllocation());
session_init_ = p;
}
return session_init_;
}
inline ::video_widevine::SessionInit* ProfileManager_Profile::mutable_session_init() {
::video_widevine::SessionInit* _msg = _internal_mutable_session_init();
// @@protoc_insertion_point(field_mutable:video_widevine.ProfileManager.Profile.session_init)
return _msg;
}
inline void ProfileManager_Profile::set_allocated_session_init(::video_widevine::SessionInit* session_init) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(session_init_);
}
if (session_init) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(session_init));
if (message_arena != submessage_arena) {
session_init = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, session_init, submessage_arena);
}
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
session_init_ = session_init;
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProfileManager.Profile.session_init)
}
// -------------------------------------------------------------------
// ProfileManager
// repeated .video_widevine.ProfileManager.Profile profile = 1;
inline int ProfileManager::_internal_profile_size() const {
return profile_.size();
}
inline int ProfileManager::profile_size() const {
return _internal_profile_size();
}
inline void ProfileManager::clear_profile() {
profile_.Clear();
}
inline ::video_widevine::ProfileManager_Profile* ProfileManager::mutable_profile(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.ProfileManager.profile)
return profile_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ProfileManager_Profile >*
ProfileManager::mutable_profile() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.ProfileManager.profile)
return &profile_;
}
inline const ::video_widevine::ProfileManager_Profile& ProfileManager::_internal_profile(int index) const {
return profile_.Get(index);
}
inline const ::video_widevine::ProfileManager_Profile& ProfileManager::profile(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.ProfileManager.profile)
return _internal_profile(index);
}
inline ::video_widevine::ProfileManager_Profile* ProfileManager::_internal_add_profile() {
return profile_.Add();
}
inline ::video_widevine::ProfileManager_Profile* ProfileManager::add_profile() {
::video_widevine::ProfileManager_Profile* _add = _internal_add_profile();
// @@protoc_insertion_point(field_add:video_widevine.ProfileManager.profile)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ProfileManager_Profile >&
ProfileManager::profile() const {
// @@protoc_insertion_point(field_list:video_widevine.ProfileManager.profile)
return profile_;
}
// -------------------------------------------------------------------
// ContentInfoManager_ContentInfo
// optional string content_id = 1;
inline bool ContentInfoManager_ContentInfo::_internal_has_content_id() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool ContentInfoManager_ContentInfo::has_content_id() const {
return _internal_has_content_id();
}
inline void ContentInfoManager_ContentInfo::clear_content_id() {
content_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& ContentInfoManager_ContentInfo::content_id() const {
// @@protoc_insertion_point(field_get:video_widevine.ContentInfoManager.ContentInfo.content_id)
return _internal_content_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ContentInfoManager_ContentInfo::set_content_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
content_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.ContentInfoManager.ContentInfo.content_id)
}
inline std::string* ContentInfoManager_ContentInfo::mutable_content_id() {
std::string* _s = _internal_mutable_content_id();
// @@protoc_insertion_point(field_mutable:video_widevine.ContentInfoManager.ContentInfo.content_id)
return _s;
}
inline const std::string& ContentInfoManager_ContentInfo::_internal_content_id() const {
return content_id_.Get();
}
inline void ContentInfoManager_ContentInfo::_internal_set_content_id(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
content_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContentInfoManager_ContentInfo::_internal_mutable_content_id() {
_has_bits_[0] |= 0x00000001u;
return content_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContentInfoManager_ContentInfo::release_content_id() {
// @@protoc_insertion_point(field_release:video_widevine.ContentInfoManager.ContentInfo.content_id)
if (!_internal_has_content_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return content_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContentInfoManager_ContentInfo::set_allocated_content_id(std::string* content_id) {
if (content_id != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
content_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), content_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.ContentInfoManager.ContentInfo.content_id)
}
// repeated string key_id = 2;
inline int ContentInfoManager_ContentInfo::_internal_key_id_size() const {
return key_id_.size();
}
inline int ContentInfoManager_ContentInfo::key_id_size() const {
return _internal_key_id_size();
}
inline void ContentInfoManager_ContentInfo::clear_key_id() {
key_id_.Clear();
}
inline std::string* ContentInfoManager_ContentInfo::add_key_id() {
std::string* _s = _internal_add_key_id();
// @@protoc_insertion_point(field_add_mutable:video_widevine.ContentInfoManager.ContentInfo.key_id)
return _s;
}
inline const std::string& ContentInfoManager_ContentInfo::_internal_key_id(int index) const {
return key_id_.Get(index);
}
inline const std::string& ContentInfoManager_ContentInfo::key_id(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.ContentInfoManager.ContentInfo.key_id)
return _internal_key_id(index);
}
inline std::string* ContentInfoManager_ContentInfo::mutable_key_id(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.ContentInfoManager.ContentInfo.key_id)
return key_id_.Mutable(index);
}
inline void ContentInfoManager_ContentInfo::set_key_id(int index, const std::string& value) {
key_id_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set:video_widevine.ContentInfoManager.ContentInfo.key_id)
}
inline void ContentInfoManager_ContentInfo::set_key_id(int index, std::string&& value) {
key_id_.Mutable(index)->assign(std::move(value));
// @@protoc_insertion_point(field_set:video_widevine.ContentInfoManager.ContentInfo.key_id)
}
inline void ContentInfoManager_ContentInfo::set_key_id(int index, const char* value) {
GOOGLE_DCHECK(value != nullptr);
key_id_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:video_widevine.ContentInfoManager.ContentInfo.key_id)
}
inline void ContentInfoManager_ContentInfo::set_key_id(int index, const char* value, size_t size) {
key_id_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_set_pointer:video_widevine.ContentInfoManager.ContentInfo.key_id)
}
inline std::string* ContentInfoManager_ContentInfo::_internal_add_key_id() {
return key_id_.Add();
}
inline void ContentInfoManager_ContentInfo::add_key_id(const std::string& value) {
key_id_.Add()->assign(value);
// @@protoc_insertion_point(field_add:video_widevine.ContentInfoManager.ContentInfo.key_id)
}
inline void ContentInfoManager_ContentInfo::add_key_id(std::string&& value) {
key_id_.Add(std::move(value));
// @@protoc_insertion_point(field_add:video_widevine.ContentInfoManager.ContentInfo.key_id)
}
inline void ContentInfoManager_ContentInfo::add_key_id(const char* value) {
GOOGLE_DCHECK(value != nullptr);
key_id_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:video_widevine.ContentInfoManager.ContentInfo.key_id)
}
inline void ContentInfoManager_ContentInfo::add_key_id(const char* value, size_t size) {
key_id_.Add()->assign(reinterpret_cast<const char*>(value), size);
// @@protoc_insertion_point(field_add_pointer:video_widevine.ContentInfoManager.ContentInfo.key_id)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
ContentInfoManager_ContentInfo::key_id() const {
// @@protoc_insertion_point(field_list:video_widevine.ContentInfoManager.ContentInfo.key_id)
return key_id_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
ContentInfoManager_ContentInfo::mutable_key_id() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.ContentInfoManager.ContentInfo.key_id)
return &key_id_;
}
// optional string provider_session_token = 3;
inline bool ContentInfoManager_ContentInfo::_internal_has_provider_session_token() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool ContentInfoManager_ContentInfo::has_provider_session_token() const {
return _internal_has_provider_session_token();
}
inline void ContentInfoManager_ContentInfo::clear_provider_session_token() {
provider_session_token_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& ContentInfoManager_ContentInfo::provider_session_token() const {
// @@protoc_insertion_point(field_get:video_widevine.ContentInfoManager.ContentInfo.provider_session_token)
return _internal_provider_session_token();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ContentInfoManager_ContentInfo::set_provider_session_token(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
provider_session_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.ContentInfoManager.ContentInfo.provider_session_token)
}
inline std::string* ContentInfoManager_ContentInfo::mutable_provider_session_token() {
std::string* _s = _internal_mutable_provider_session_token();
// @@protoc_insertion_point(field_mutable:video_widevine.ContentInfoManager.ContentInfo.provider_session_token)
return _s;
}
inline const std::string& ContentInfoManager_ContentInfo::_internal_provider_session_token() const {
return provider_session_token_.Get();
}
inline void ContentInfoManager_ContentInfo::_internal_set_provider_session_token(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
provider_session_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContentInfoManager_ContentInfo::_internal_mutable_provider_session_token() {
_has_bits_[0] |= 0x00000002u;
return provider_session_token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContentInfoManager_ContentInfo::release_provider_session_token() {
// @@protoc_insertion_point(field_release:video_widevine.ContentInfoManager.ContentInfo.provider_session_token)
if (!_internal_has_provider_session_token()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return provider_session_token_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContentInfoManager_ContentInfo::set_allocated_provider_session_token(std::string* provider_session_token) {
if (provider_session_token != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
provider_session_token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), provider_session_token,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.ContentInfoManager.ContentInfo.provider_session_token)
}
// optional string policy_id = 4;
inline bool ContentInfoManager_ContentInfo::_internal_has_policy_id() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool ContentInfoManager_ContentInfo::has_policy_id() const {
return _internal_has_policy_id();
}
inline void ContentInfoManager_ContentInfo::clear_policy_id() {
policy_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000004u;
}
inline const std::string& ContentInfoManager_ContentInfo::policy_id() const {
// @@protoc_insertion_point(field_get:video_widevine.ContentInfoManager.ContentInfo.policy_id)
return _internal_policy_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ContentInfoManager_ContentInfo::set_policy_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000004u;
policy_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.ContentInfoManager.ContentInfo.policy_id)
}
inline std::string* ContentInfoManager_ContentInfo::mutable_policy_id() {
std::string* _s = _internal_mutable_policy_id();
// @@protoc_insertion_point(field_mutable:video_widevine.ContentInfoManager.ContentInfo.policy_id)
return _s;
}
inline const std::string& ContentInfoManager_ContentInfo::_internal_policy_id() const {
return policy_id_.Get();
}
inline void ContentInfoManager_ContentInfo::_internal_set_policy_id(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
policy_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* ContentInfoManager_ContentInfo::_internal_mutable_policy_id() {
_has_bits_[0] |= 0x00000004u;
return policy_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* ContentInfoManager_ContentInfo::release_policy_id() {
// @@protoc_insertion_point(field_release:video_widevine.ContentInfoManager.ContentInfo.policy_id)
if (!_internal_has_policy_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
return policy_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void ContentInfoManager_ContentInfo::set_allocated_policy_id(std::string* policy_id) {
if (policy_id != nullptr) {
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
policy_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), policy_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.ContentInfoManager.ContentInfo.policy_id)
}
// repeated .video_widevine.License.KeyContainer key_container = 5;
inline int ContentInfoManager_ContentInfo::_internal_key_container_size() const {
return key_container_.size();
}
inline int ContentInfoManager_ContentInfo::key_container_size() const {
return _internal_key_container_size();
}
inline ::video_widevine::License_KeyContainer* ContentInfoManager_ContentInfo::mutable_key_container(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.ContentInfoManager.ContentInfo.key_container)
return key_container_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::License_KeyContainer >*
ContentInfoManager_ContentInfo::mutable_key_container() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.ContentInfoManager.ContentInfo.key_container)
return &key_container_;
}
inline const ::video_widevine::License_KeyContainer& ContentInfoManager_ContentInfo::_internal_key_container(int index) const {
return key_container_.Get(index);
}
inline const ::video_widevine::License_KeyContainer& ContentInfoManager_ContentInfo::key_container(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.ContentInfoManager.ContentInfo.key_container)
return _internal_key_container(index);
}
inline ::video_widevine::License_KeyContainer* ContentInfoManager_ContentInfo::_internal_add_key_container() {
return key_container_.Add();
}
inline ::video_widevine::License_KeyContainer* ContentInfoManager_ContentInfo::add_key_container() {
::video_widevine::License_KeyContainer* _add = _internal_add_key_container();
// @@protoc_insertion_point(field_add:video_widevine.ContentInfoManager.ContentInfo.key_container)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::License_KeyContainer >&
ContentInfoManager_ContentInfo::key_container() const {
// @@protoc_insertion_point(field_list:video_widevine.ContentInfoManager.ContentInfo.key_container)
return key_container_;
}
// -------------------------------------------------------------------
// ContentInfoManager
// repeated .video_widevine.ContentInfoManager.ContentInfo content_info = 1;
inline int ContentInfoManager::_internal_content_info_size() const {
return content_info_.size();
}
inline int ContentInfoManager::content_info_size() const {
return _internal_content_info_size();
}
inline void ContentInfoManager::clear_content_info() {
content_info_.Clear();
}
inline ::video_widevine::ContentInfoManager_ContentInfo* ContentInfoManager::mutable_content_info(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.ContentInfoManager.content_info)
return content_info_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ContentInfoManager_ContentInfo >*
ContentInfoManager::mutable_content_info() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.ContentInfoManager.content_info)
return &content_info_;
}
inline const ::video_widevine::ContentInfoManager_ContentInfo& ContentInfoManager::_internal_content_info(int index) const {
return content_info_.Get(index);
}
inline const ::video_widevine::ContentInfoManager_ContentInfo& ContentInfoManager::content_info(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.ContentInfoManager.content_info)
return _internal_content_info(index);
}
inline ::video_widevine::ContentInfoManager_ContentInfo* ContentInfoManager::_internal_add_content_info() {
return content_info_.Add();
}
inline ::video_widevine::ContentInfoManager_ContentInfo* ContentInfoManager::add_content_info() {
::video_widevine::ContentInfoManager_ContentInfo* _add = _internal_add_content_info();
// @@protoc_insertion_point(field_add:video_widevine.ContentInfoManager.content_info)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::ContentInfoManager_ContentInfo >&
ContentInfoManager::content_info() const {
// @@protoc_insertion_point(field_list:video_widevine.ContentInfoManager.content_info)
return content_info_;
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace video_widevine
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fsdk_5flicense_5fdata_5fconfig_2eproto