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

8624 lines
381 KiB
C++
Executable File

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protos/public/playready.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fplayready_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fplayready_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/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_protos_2fpublic_2fplayready_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_2fplayready_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[14]
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_2fplayready_2eproto;
namespace video_widevine {
class KeyInfo;
struct KeyInfoDefaultTypeInternal;
extern KeyInfoDefaultTypeInternal _KeyInfo_default_instance_;
class PackagingRequest;
struct PackagingRequestDefaultTypeInternal;
extern PackagingRequestDefaultTypeInternal _PackagingRequest_default_instance_;
class PackagingResponse;
struct PackagingResponseDefaultTypeInternal;
extern PackagingResponseDefaultTypeInternal _PackagingResponse_default_instance_;
class PackagingResponse_ProtectionInformation;
struct PackagingResponse_ProtectionInformationDefaultTypeInternal;
extern PackagingResponse_ProtectionInformationDefaultTypeInternal _PackagingResponse_ProtectionInformation_default_instance_;
class PlayReadyLicenseRequest;
struct PlayReadyLicenseRequestDefaultTypeInternal;
extern PlayReadyLicenseRequestDefaultTypeInternal _PlayReadyLicenseRequest_default_instance_;
class PlayReadyLicenseRequest_RootLicenseInfo;
struct PlayReadyLicenseRequest_RootLicenseInfoDefaultTypeInternal;
extern PlayReadyLicenseRequest_RootLicenseInfoDefaultTypeInternal _PlayReadyLicenseRequest_RootLicenseInfo_default_instance_;
class PlayReadyLicenseResponse;
struct PlayReadyLicenseResponseDefaultTypeInternal;
extern PlayReadyLicenseResponseDefaultTypeInternal _PlayReadyLicenseResponse_default_instance_;
class PlayReadyLicenseResponse_ClientCertificateInfo;
struct PlayReadyLicenseResponse_ClientCertificateInfoDefaultTypeInternal;
extern PlayReadyLicenseResponse_ClientCertificateInfoDefaultTypeInternal _PlayReadyLicenseResponse_ClientCertificateInfo_default_instance_;
class PlayReadyPolicy;
struct PlayReadyPolicyDefaultTypeInternal;
extern PlayReadyPolicyDefaultTypeInternal _PlayReadyPolicy_default_instance_;
class SecureStopRequest;
struct SecureStopRequestDefaultTypeInternal;
extern SecureStopRequestDefaultTypeInternal _SecureStopRequest_default_instance_;
class SecureStopResponse;
struct SecureStopResponseDefaultTypeInternal;
extern SecureStopResponseDefaultTypeInternal _SecureStopResponse_default_instance_;
class SecureStopResponse_SecureStopChallenge;
struct SecureStopResponse_SecureStopChallengeDefaultTypeInternal;
extern SecureStopResponse_SecureStopChallengeDefaultTypeInternal _SecureStopResponse_SecureStopChallenge_default_instance_;
class SecureStopResponse_SecureStopRecord;
struct SecureStopResponse_SecureStopRecordDefaultTypeInternal;
extern SecureStopResponse_SecureStopRecordDefaultTypeInternal _SecureStopResponse_SecureStopRecord_default_instance_;
class StreamIdInfo;
struct StreamIdInfoDefaultTypeInternal;
extern StreamIdInfoDefaultTypeInternal _StreamIdInfo_default_instance_;
} // namespace video_widevine
PROTOBUF_NAMESPACE_OPEN
template<> ::video_widevine::KeyInfo* Arena::CreateMaybeMessage<::video_widevine::KeyInfo>(Arena*);
template<> ::video_widevine::PackagingRequest* Arena::CreateMaybeMessage<::video_widevine::PackagingRequest>(Arena*);
template<> ::video_widevine::PackagingResponse* Arena::CreateMaybeMessage<::video_widevine::PackagingResponse>(Arena*);
template<> ::video_widevine::PackagingResponse_ProtectionInformation* Arena::CreateMaybeMessage<::video_widevine::PackagingResponse_ProtectionInformation>(Arena*);
template<> ::video_widevine::PlayReadyLicenseRequest* Arena::CreateMaybeMessage<::video_widevine::PlayReadyLicenseRequest>(Arena*);
template<> ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* Arena::CreateMaybeMessage<::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo>(Arena*);
template<> ::video_widevine::PlayReadyLicenseResponse* Arena::CreateMaybeMessage<::video_widevine::PlayReadyLicenseResponse>(Arena*);
template<> ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* Arena::CreateMaybeMessage<::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo>(Arena*);
template<> ::video_widevine::PlayReadyPolicy* Arena::CreateMaybeMessage<::video_widevine::PlayReadyPolicy>(Arena*);
template<> ::video_widevine::SecureStopRequest* Arena::CreateMaybeMessage<::video_widevine::SecureStopRequest>(Arena*);
template<> ::video_widevine::SecureStopResponse* Arena::CreateMaybeMessage<::video_widevine::SecureStopResponse>(Arena*);
template<> ::video_widevine::SecureStopResponse_SecureStopChallenge* Arena::CreateMaybeMessage<::video_widevine::SecureStopResponse_SecureStopChallenge>(Arena*);
template<> ::video_widevine::SecureStopResponse_SecureStopRecord* Arena::CreateMaybeMessage<::video_widevine::SecureStopResponse_SecureStopRecord>(Arena*);
template<> ::video_widevine::StreamIdInfo* Arena::CreateMaybeMessage<::video_widevine::StreamIdInfo>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace video_widevine {
enum PlayReadyPolicy_HdcpLevel : int {
PlayReadyPolicy_HdcpLevel_HDCP_NONE = 0,
PlayReadyPolicy_HdcpLevel_HDCP_V2 = 1,
PlayReadyPolicy_HdcpLevel_HDCP_V2_2 = 2,
PlayReadyPolicy_HdcpLevel_HDCP_V1 = 3,
PlayReadyPolicy_HdcpLevel_HDCP_V2_1 = 4,
PlayReadyPolicy_HdcpLevel_HDCP_V2_3 = 5
};
bool PlayReadyPolicy_HdcpLevel_IsValid(int value);
constexpr PlayReadyPolicy_HdcpLevel PlayReadyPolicy_HdcpLevel_HdcpLevel_MIN = PlayReadyPolicy_HdcpLevel_HDCP_NONE;
constexpr PlayReadyPolicy_HdcpLevel PlayReadyPolicy_HdcpLevel_HdcpLevel_MAX = PlayReadyPolicy_HdcpLevel_HDCP_V2_3;
constexpr int PlayReadyPolicy_HdcpLevel_HdcpLevel_ARRAYSIZE = PlayReadyPolicy_HdcpLevel_HdcpLevel_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayReadyPolicy_HdcpLevel_descriptor();
template<typename T>
inline const std::string& PlayReadyPolicy_HdcpLevel_Name(T enum_t_value) {
static_assert(::std::is_same<T, PlayReadyPolicy_HdcpLevel>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function PlayReadyPolicy_HdcpLevel_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
PlayReadyPolicy_HdcpLevel_descriptor(), enum_t_value);
}
inline bool PlayReadyPolicy_HdcpLevel_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayReadyPolicy_HdcpLevel* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlayReadyPolicy_HdcpLevel>(
PlayReadyPolicy_HdcpLevel_descriptor(), name, value);
}
enum PlayReadyPolicy_CGMS : int {
PlayReadyPolicy_CGMS_CGMS_NONE = 0,
PlayReadyPolicy_CGMS_CGMS_A = 1,
PlayReadyPolicy_CGMS_COPY_NEVER = 2
};
bool PlayReadyPolicy_CGMS_IsValid(int value);
constexpr PlayReadyPolicy_CGMS PlayReadyPolicy_CGMS_CGMS_MIN = PlayReadyPolicy_CGMS_CGMS_NONE;
constexpr PlayReadyPolicy_CGMS PlayReadyPolicy_CGMS_CGMS_MAX = PlayReadyPolicy_CGMS_COPY_NEVER;
constexpr int PlayReadyPolicy_CGMS_CGMS_ARRAYSIZE = PlayReadyPolicy_CGMS_CGMS_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayReadyPolicy_CGMS_descriptor();
template<typename T>
inline const std::string& PlayReadyPolicy_CGMS_Name(T enum_t_value) {
static_assert(::std::is_same<T, PlayReadyPolicy_CGMS>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function PlayReadyPolicy_CGMS_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
PlayReadyPolicy_CGMS_descriptor(), enum_t_value);
}
inline bool PlayReadyPolicy_CGMS_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayReadyPolicy_CGMS* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlayReadyPolicy_CGMS>(
PlayReadyPolicy_CGMS_descriptor(), name, value);
}
enum PlayReadyPolicy_SecurityLevel : int {
PlayReadyPolicy_SecurityLevel_SECURITY_INSECURE = 0,
PlayReadyPolicy_SecurityLevel_SECURITY_PROTECTED = 1,
PlayReadyPolicy_SecurityLevel_SECURITY_TRUSTED = 2
};
bool PlayReadyPolicy_SecurityLevel_IsValid(int value);
constexpr PlayReadyPolicy_SecurityLevel PlayReadyPolicy_SecurityLevel_SecurityLevel_MIN = PlayReadyPolicy_SecurityLevel_SECURITY_INSECURE;
constexpr PlayReadyPolicy_SecurityLevel PlayReadyPolicy_SecurityLevel_SecurityLevel_MAX = PlayReadyPolicy_SecurityLevel_SECURITY_TRUSTED;
constexpr int PlayReadyPolicy_SecurityLevel_SecurityLevel_ARRAYSIZE = PlayReadyPolicy_SecurityLevel_SecurityLevel_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayReadyPolicy_SecurityLevel_descriptor();
template<typename T>
inline const std::string& PlayReadyPolicy_SecurityLevel_Name(T enum_t_value) {
static_assert(::std::is_same<T, PlayReadyPolicy_SecurityLevel>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function PlayReadyPolicy_SecurityLevel_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
PlayReadyPolicy_SecurityLevel_descriptor(), enum_t_value);
}
inline bool PlayReadyPolicy_SecurityLevel_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayReadyPolicy_SecurityLevel* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlayReadyPolicy_SecurityLevel>(
PlayReadyPolicy_SecurityLevel_descriptor(), name, value);
}
enum KeyInfo_Type : int {
KeyInfo_Type_UNKNOWN = 0,
KeyInfo_Type_MASTER = 1,
KeyInfo_Type_CONTENT_AUDIO = 2,
KeyInfo_Type_CONTENT_SD = 3,
KeyInfo_Type_CONTENT_HD = 4,
KeyInfo_Type_CONTENT_UHD1 = 5,
KeyInfo_Type_CONTENT_UHD2 = 6
};
bool KeyInfo_Type_IsValid(int value);
constexpr KeyInfo_Type KeyInfo_Type_Type_MIN = KeyInfo_Type_UNKNOWN;
constexpr KeyInfo_Type KeyInfo_Type_Type_MAX = KeyInfo_Type_CONTENT_UHD2;
constexpr int KeyInfo_Type_Type_ARRAYSIZE = KeyInfo_Type_Type_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* KeyInfo_Type_descriptor();
template<typename T>
inline const std::string& KeyInfo_Type_Name(T enum_t_value) {
static_assert(::std::is_same<T, KeyInfo_Type>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function KeyInfo_Type_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
KeyInfo_Type_descriptor(), enum_t_value);
}
inline bool KeyInfo_Type_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, KeyInfo_Type* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<KeyInfo_Type>(
KeyInfo_Type_descriptor(), name, value);
}
enum PlayReadyLicenseRequest_Requester : int {
PlayReadyLicenseRequest_Requester_UNKNOWN = 0,
PlayReadyLicenseRequest_Requester_YOUTUBE = 1,
PlayReadyLicenseRequest_Requester_PLAY = 2,
PlayReadyLicenseRequest_Requester_WIDEVINE = 3,
PlayReadyLicenseRequest_Requester_EXPERIMENTAL = 4
};
bool PlayReadyLicenseRequest_Requester_IsValid(int value);
constexpr PlayReadyLicenseRequest_Requester PlayReadyLicenseRequest_Requester_Requester_MIN = PlayReadyLicenseRequest_Requester_UNKNOWN;
constexpr PlayReadyLicenseRequest_Requester PlayReadyLicenseRequest_Requester_Requester_MAX = PlayReadyLicenseRequest_Requester_EXPERIMENTAL;
constexpr int PlayReadyLicenseRequest_Requester_Requester_ARRAYSIZE = PlayReadyLicenseRequest_Requester_Requester_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayReadyLicenseRequest_Requester_descriptor();
template<typename T>
inline const std::string& PlayReadyLicenseRequest_Requester_Name(T enum_t_value) {
static_assert(::std::is_same<T, PlayReadyLicenseRequest_Requester>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function PlayReadyLicenseRequest_Requester_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
PlayReadyLicenseRequest_Requester_descriptor(), enum_t_value);
}
inline bool PlayReadyLicenseRequest_Requester_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayReadyLicenseRequest_Requester* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlayReadyLicenseRequest_Requester>(
PlayReadyLicenseRequest_Requester_descriptor(), name, value);
}
enum PlayReadyLicenseRequest_StreamType : int {
PlayReadyLicenseRequest_StreamType_STREAM_TYPE_UNKNOWN = 0,
PlayReadyLicenseRequest_StreamType_VOD = 1,
PlayReadyLicenseRequest_StreamType_LIVE = 2
};
bool PlayReadyLicenseRequest_StreamType_IsValid(int value);
constexpr PlayReadyLicenseRequest_StreamType PlayReadyLicenseRequest_StreamType_StreamType_MIN = PlayReadyLicenseRequest_StreamType_STREAM_TYPE_UNKNOWN;
constexpr PlayReadyLicenseRequest_StreamType PlayReadyLicenseRequest_StreamType_StreamType_MAX = PlayReadyLicenseRequest_StreamType_LIVE;
constexpr int PlayReadyLicenseRequest_StreamType_StreamType_ARRAYSIZE = PlayReadyLicenseRequest_StreamType_StreamType_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayReadyLicenseRequest_StreamType_descriptor();
template<typename T>
inline const std::string& PlayReadyLicenseRequest_StreamType_Name(T enum_t_value) {
static_assert(::std::is_same<T, PlayReadyLicenseRequest_StreamType>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function PlayReadyLicenseRequest_StreamType_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
PlayReadyLicenseRequest_StreamType_descriptor(), enum_t_value);
}
inline bool PlayReadyLicenseRequest_StreamType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayReadyLicenseRequest_StreamType* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlayReadyLicenseRequest_StreamType>(
PlayReadyLicenseRequest_StreamType_descriptor(), name, value);
}
enum PlayReadyLicenseRequest_ChallengeType : int {
PlayReadyLicenseRequest_ChallengeType_CHALLENGE_TYPE_UNKNOWN = 0,
PlayReadyLicenseRequest_ChallengeType_LICENSE = 1,
PlayReadyLicenseRequest_ChallengeType_SECURE_STOP = 2
};
bool PlayReadyLicenseRequest_ChallengeType_IsValid(int value);
constexpr PlayReadyLicenseRequest_ChallengeType PlayReadyLicenseRequest_ChallengeType_ChallengeType_MIN = PlayReadyLicenseRequest_ChallengeType_CHALLENGE_TYPE_UNKNOWN;
constexpr PlayReadyLicenseRequest_ChallengeType PlayReadyLicenseRequest_ChallengeType_ChallengeType_MAX = PlayReadyLicenseRequest_ChallengeType_SECURE_STOP;
constexpr int PlayReadyLicenseRequest_ChallengeType_ChallengeType_ARRAYSIZE = PlayReadyLicenseRequest_ChallengeType_ChallengeType_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayReadyLicenseRequest_ChallengeType_descriptor();
template<typename T>
inline const std::string& PlayReadyLicenseRequest_ChallengeType_Name(T enum_t_value) {
static_assert(::std::is_same<T, PlayReadyLicenseRequest_ChallengeType>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function PlayReadyLicenseRequest_ChallengeType_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
PlayReadyLicenseRequest_ChallengeType_descriptor(), enum_t_value);
}
inline bool PlayReadyLicenseRequest_ChallengeType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayReadyLicenseRequest_ChallengeType* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlayReadyLicenseRequest_ChallengeType>(
PlayReadyLicenseRequest_ChallengeType_descriptor(), name, value);
}
enum PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures : int {
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_NOT_SPECIFIED = 0,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_TRANSMITTER = 1,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_RECEIVER = 2,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SHARED_CERTIFICATE = 3,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SECURE_CLOCK = 4,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_ANTIROLLBACK_CLOCK = 5,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_RESERVED_METERING = 6,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_RESERVED_LICSYNC = 7,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_RESERVED_SYMOPT = 8,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SUPPORTS_CRLS = 9,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SERVER_BASIC_EDITION = 10,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SERVER_STANDARD_EDITION = 11,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SERVER_PREMIUM_EDITION = 12,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SUPPORTS_PS3_FEATURES = 13,
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_DEPRECATED_SECURE_STOP = 14
};
bool PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_IsValid(int value);
constexpr PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SupportedFeatures_MIN = PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_NOT_SPECIFIED;
constexpr PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SupportedFeatures_MAX = PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_DEPRECATED_SECURE_STOP;
constexpr int PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SupportedFeatures_ARRAYSIZE = PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SupportedFeatures_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_descriptor();
template<typename T>
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_Name(T enum_t_value) {
static_assert(::std::is_same<T, PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_descriptor(), enum_t_value);
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures>(
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_descriptor(), name, value);
}
// ===================================================================
class PlayReadyPolicy final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PlayReadyPolicy) */ {
public:
inline PlayReadyPolicy() : PlayReadyPolicy(nullptr) {}
~PlayReadyPolicy() override;
explicit constexpr PlayReadyPolicy(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PlayReadyPolicy(const PlayReadyPolicy& from);
PlayReadyPolicy(PlayReadyPolicy&& from) noexcept
: PlayReadyPolicy() {
*this = ::std::move(from);
}
inline PlayReadyPolicy& operator=(const PlayReadyPolicy& from) {
CopyFrom(from);
return *this;
}
inline PlayReadyPolicy& operator=(PlayReadyPolicy&& 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 PlayReadyPolicy& default_instance() {
return *internal_default_instance();
}
static inline const PlayReadyPolicy* internal_default_instance() {
return reinterpret_cast<const PlayReadyPolicy*>(
&_PlayReadyPolicy_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(PlayReadyPolicy& a, PlayReadyPolicy& b) {
a.Swap(&b);
}
inline void Swap(PlayReadyPolicy* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PlayReadyPolicy* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PlayReadyPolicy* New() const final {
return new PlayReadyPolicy();
}
PlayReadyPolicy* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PlayReadyPolicy>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PlayReadyPolicy& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PlayReadyPolicy& 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(PlayReadyPolicy* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PlayReadyPolicy";
}
protected:
explicit PlayReadyPolicy(::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 PlayReadyPolicy_HdcpLevel HdcpLevel;
static constexpr HdcpLevel HDCP_NONE =
PlayReadyPolicy_HdcpLevel_HDCP_NONE;
static constexpr HdcpLevel HDCP_V2 =
PlayReadyPolicy_HdcpLevel_HDCP_V2;
static constexpr HdcpLevel HDCP_V2_2 =
PlayReadyPolicy_HdcpLevel_HDCP_V2_2;
static constexpr HdcpLevel HDCP_V1 =
PlayReadyPolicy_HdcpLevel_HDCP_V1;
static constexpr HdcpLevel HDCP_V2_1 =
PlayReadyPolicy_HdcpLevel_HDCP_V2_1;
static constexpr HdcpLevel HDCP_V2_3 =
PlayReadyPolicy_HdcpLevel_HDCP_V2_3;
static inline bool HdcpLevel_IsValid(int value) {
return PlayReadyPolicy_HdcpLevel_IsValid(value);
}
static constexpr HdcpLevel HdcpLevel_MIN =
PlayReadyPolicy_HdcpLevel_HdcpLevel_MIN;
static constexpr HdcpLevel HdcpLevel_MAX =
PlayReadyPolicy_HdcpLevel_HdcpLevel_MAX;
static constexpr int HdcpLevel_ARRAYSIZE =
PlayReadyPolicy_HdcpLevel_HdcpLevel_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
HdcpLevel_descriptor() {
return PlayReadyPolicy_HdcpLevel_descriptor();
}
template<typename T>
static inline const std::string& HdcpLevel_Name(T enum_t_value) {
static_assert(::std::is_same<T, HdcpLevel>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function HdcpLevel_Name.");
return PlayReadyPolicy_HdcpLevel_Name(enum_t_value);
}
static inline bool HdcpLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
HdcpLevel* value) {
return PlayReadyPolicy_HdcpLevel_Parse(name, value);
}
typedef PlayReadyPolicy_CGMS CGMS;
static constexpr CGMS CGMS_NONE =
PlayReadyPolicy_CGMS_CGMS_NONE;
static constexpr CGMS CGMS_A =
PlayReadyPolicy_CGMS_CGMS_A;
static constexpr CGMS COPY_NEVER =
PlayReadyPolicy_CGMS_COPY_NEVER;
static inline bool CGMS_IsValid(int value) {
return PlayReadyPolicy_CGMS_IsValid(value);
}
static constexpr CGMS CGMS_MIN =
PlayReadyPolicy_CGMS_CGMS_MIN;
static constexpr CGMS CGMS_MAX =
PlayReadyPolicy_CGMS_CGMS_MAX;
static constexpr int CGMS_ARRAYSIZE =
PlayReadyPolicy_CGMS_CGMS_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
CGMS_descriptor() {
return PlayReadyPolicy_CGMS_descriptor();
}
template<typename T>
static inline const std::string& CGMS_Name(T enum_t_value) {
static_assert(::std::is_same<T, CGMS>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function CGMS_Name.");
return PlayReadyPolicy_CGMS_Name(enum_t_value);
}
static inline bool CGMS_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
CGMS* value) {
return PlayReadyPolicy_CGMS_Parse(name, value);
}
typedef PlayReadyPolicy_SecurityLevel SecurityLevel;
static constexpr SecurityLevel SECURITY_INSECURE =
PlayReadyPolicy_SecurityLevel_SECURITY_INSECURE;
static constexpr SecurityLevel SECURITY_PROTECTED =
PlayReadyPolicy_SecurityLevel_SECURITY_PROTECTED;
static constexpr SecurityLevel SECURITY_TRUSTED =
PlayReadyPolicy_SecurityLevel_SECURITY_TRUSTED;
static inline bool SecurityLevel_IsValid(int value) {
return PlayReadyPolicy_SecurityLevel_IsValid(value);
}
static constexpr SecurityLevel SecurityLevel_MIN =
PlayReadyPolicy_SecurityLevel_SecurityLevel_MIN;
static constexpr SecurityLevel SecurityLevel_MAX =
PlayReadyPolicy_SecurityLevel_SecurityLevel_MAX;
static constexpr int SecurityLevel_ARRAYSIZE =
PlayReadyPolicy_SecurityLevel_SecurityLevel_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
SecurityLevel_descriptor() {
return PlayReadyPolicy_SecurityLevel_descriptor();
}
template<typename T>
static inline const std::string& SecurityLevel_Name(T enum_t_value) {
static_assert(::std::is_same<T, SecurityLevel>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function SecurityLevel_Name.");
return PlayReadyPolicy_SecurityLevel_Name(enum_t_value);
}
static inline bool SecurityLevel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
SecurityLevel* value) {
return PlayReadyPolicy_SecurityLevel_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kExpirationSecondsFieldNumber = 1,
kFirstPlayExpirationSecondsFieldNumber = 2,
kDEPRECATEDMinimumSecurityLevelFieldNumber = 3,
kMinimumDeviceSecurityLevelFieldNumber = 6,
kDEPRECATEDDigitalVideoOutputRestrictionFieldNumber = 4,
kAnalogVideoOutputRestrictionFieldNumber = 5,
kBestEffortFieldNumber = 8,
kCanPersistFieldNumber = 9,
kUncompressedDigitalVideoOutputRestrictionFieldNumber = 7,
kCgmsFieldNumber = 10,
kRequestedUncompressedDigitalVideoOutputRestrictionFieldNumber = 11,
kRequestedCgmsFieldNumber = 12,
kRenewalRecoveryDurationSecondsFieldNumber = 16,
kRenewalDelaySecondsFieldNumber = 17,
kCanRenewFieldNumber = 13,
kSoftEnforceRentalDurationFieldNumber = 14,
kSoftEnforcePlaybackDurationFieldNumber = 15,
};
// optional int64 expiration_seconds = 1;
bool has_expiration_seconds() const;
private:
bool _internal_has_expiration_seconds() const;
public:
void clear_expiration_seconds();
::PROTOBUF_NAMESPACE_ID::int64 expiration_seconds() const;
void set_expiration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_expiration_seconds() const;
void _internal_set_expiration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// optional int64 first_play_expiration_seconds = 2;
bool has_first_play_expiration_seconds() const;
private:
bool _internal_has_first_play_expiration_seconds() const;
public:
void clear_first_play_expiration_seconds();
::PROTOBUF_NAMESPACE_ID::int64 first_play_expiration_seconds() const;
void set_first_play_expiration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_first_play_expiration_seconds() const;
void _internal_set_first_play_expiration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// optional int64 DEPRECATED_minimum_security_level = 3 [deprecated = true];
PROTOBUF_DEPRECATED bool has_deprecated_minimum_security_level() const;
private:
bool _internal_has_deprecated_minimum_security_level() const;
public:
PROTOBUF_DEPRECATED void clear_deprecated_minimum_security_level();
PROTOBUF_DEPRECATED ::PROTOBUF_NAMESPACE_ID::int64 deprecated_minimum_security_level() const;
PROTOBUF_DEPRECATED void set_deprecated_minimum_security_level(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_deprecated_minimum_security_level() const;
void _internal_set_deprecated_minimum_security_level(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// optional .video_widevine.PlayReadyPolicy.SecurityLevel minimum_device_security_level = 6;
bool has_minimum_device_security_level() const;
private:
bool _internal_has_minimum_device_security_level() const;
public:
void clear_minimum_device_security_level();
::video_widevine::PlayReadyPolicy_SecurityLevel minimum_device_security_level() const;
void set_minimum_device_security_level(::video_widevine::PlayReadyPolicy_SecurityLevel value);
private:
::video_widevine::PlayReadyPolicy_SecurityLevel _internal_minimum_device_security_level() const;
void _internal_set_minimum_device_security_level(::video_widevine::PlayReadyPolicy_SecurityLevel value);
public:
// optional bool DEPRECATED_digital_video_output_restriction = 4 [deprecated = true];
PROTOBUF_DEPRECATED bool has_deprecated_digital_video_output_restriction() const;
private:
bool _internal_has_deprecated_digital_video_output_restriction() const;
public:
PROTOBUF_DEPRECATED void clear_deprecated_digital_video_output_restriction();
PROTOBUF_DEPRECATED bool deprecated_digital_video_output_restriction() const;
PROTOBUF_DEPRECATED void set_deprecated_digital_video_output_restriction(bool value);
private:
bool _internal_deprecated_digital_video_output_restriction() const;
void _internal_set_deprecated_digital_video_output_restriction(bool value);
public:
// optional bool analog_video_output_restriction = 5;
bool has_analog_video_output_restriction() const;
private:
bool _internal_has_analog_video_output_restriction() const;
public:
void clear_analog_video_output_restriction();
bool analog_video_output_restriction() const;
void set_analog_video_output_restriction(bool value);
private:
bool _internal_analog_video_output_restriction() const;
void _internal_set_analog_video_output_restriction(bool value);
public:
// optional bool best_effort = 8;
bool has_best_effort() const;
private:
bool _internal_has_best_effort() const;
public:
void clear_best_effort();
bool best_effort() const;
void set_best_effort(bool value);
private:
bool _internal_best_effort() const;
void _internal_set_best_effort(bool value);
public:
// optional bool can_persist = 9;
bool has_can_persist() const;
private:
bool _internal_has_can_persist() const;
public:
void clear_can_persist();
bool can_persist() const;
void set_can_persist(bool value);
private:
bool _internal_can_persist() const;
void _internal_set_can_persist(bool value);
public:
// optional .video_widevine.PlayReadyPolicy.HdcpLevel uncompressed_digital_video_output_restriction = 7;
bool has_uncompressed_digital_video_output_restriction() const;
private:
bool _internal_has_uncompressed_digital_video_output_restriction() const;
public:
void clear_uncompressed_digital_video_output_restriction();
::video_widevine::PlayReadyPolicy_HdcpLevel uncompressed_digital_video_output_restriction() const;
void set_uncompressed_digital_video_output_restriction(::video_widevine::PlayReadyPolicy_HdcpLevel value);
private:
::video_widevine::PlayReadyPolicy_HdcpLevel _internal_uncompressed_digital_video_output_restriction() const;
void _internal_set_uncompressed_digital_video_output_restriction(::video_widevine::PlayReadyPolicy_HdcpLevel value);
public:
// optional .video_widevine.PlayReadyPolicy.CGMS cgms = 10;
bool has_cgms() const;
private:
bool _internal_has_cgms() const;
public:
void clear_cgms();
::video_widevine::PlayReadyPolicy_CGMS cgms() const;
void set_cgms(::video_widevine::PlayReadyPolicy_CGMS value);
private:
::video_widevine::PlayReadyPolicy_CGMS _internal_cgms() const;
void _internal_set_cgms(::video_widevine::PlayReadyPolicy_CGMS value);
public:
// optional .video_widevine.PlayReadyPolicy.HdcpLevel requested_uncompressed_digital_video_output_restriction = 11;
bool has_requested_uncompressed_digital_video_output_restriction() const;
private:
bool _internal_has_requested_uncompressed_digital_video_output_restriction() const;
public:
void clear_requested_uncompressed_digital_video_output_restriction();
::video_widevine::PlayReadyPolicy_HdcpLevel requested_uncompressed_digital_video_output_restriction() const;
void set_requested_uncompressed_digital_video_output_restriction(::video_widevine::PlayReadyPolicy_HdcpLevel value);
private:
::video_widevine::PlayReadyPolicy_HdcpLevel _internal_requested_uncompressed_digital_video_output_restriction() const;
void _internal_set_requested_uncompressed_digital_video_output_restriction(::video_widevine::PlayReadyPolicy_HdcpLevel value);
public:
// optional .video_widevine.PlayReadyPolicy.CGMS requested_cgms = 12;
bool has_requested_cgms() const;
private:
bool _internal_has_requested_cgms() const;
public:
void clear_requested_cgms();
::video_widevine::PlayReadyPolicy_CGMS requested_cgms() const;
void set_requested_cgms(::video_widevine::PlayReadyPolicy_CGMS value);
private:
::video_widevine::PlayReadyPolicy_CGMS _internal_requested_cgms() const;
void _internal_set_requested_cgms(::video_widevine::PlayReadyPolicy_CGMS value);
public:
// optional int64 renewal_recovery_duration_seconds = 16;
bool has_renewal_recovery_duration_seconds() const;
private:
bool _internal_has_renewal_recovery_duration_seconds() const;
public:
void clear_renewal_recovery_duration_seconds();
::PROTOBUF_NAMESPACE_ID::int64 renewal_recovery_duration_seconds() const;
void set_renewal_recovery_duration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_renewal_recovery_duration_seconds() const;
void _internal_set_renewal_recovery_duration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// optional int64 renewal_delay_seconds = 17;
bool has_renewal_delay_seconds() const;
private:
bool _internal_has_renewal_delay_seconds() const;
public:
void clear_renewal_delay_seconds();
::PROTOBUF_NAMESPACE_ID::int64 renewal_delay_seconds() const;
void set_renewal_delay_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_renewal_delay_seconds() const;
void _internal_set_renewal_delay_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// optional bool can_renew = 13 [default = false];
bool has_can_renew() const;
private:
bool _internal_has_can_renew() const;
public:
void clear_can_renew();
bool can_renew() const;
void set_can_renew(bool value);
private:
bool _internal_can_renew() const;
void _internal_set_can_renew(bool value);
public:
// optional bool soft_enforce_rental_duration = 14 [default = false];
bool has_soft_enforce_rental_duration() const;
private:
bool _internal_has_soft_enforce_rental_duration() const;
public:
void clear_soft_enforce_rental_duration();
bool soft_enforce_rental_duration() const;
void set_soft_enforce_rental_duration(bool value);
private:
bool _internal_soft_enforce_rental_duration() const;
void _internal_set_soft_enforce_rental_duration(bool value);
public:
// optional bool soft_enforce_playback_duration = 15 [default = false];
bool has_soft_enforce_playback_duration() const;
private:
bool _internal_has_soft_enforce_playback_duration() const;
public:
void clear_soft_enforce_playback_duration();
bool soft_enforce_playback_duration() const;
void set_soft_enforce_playback_duration(bool value);
private:
bool _internal_soft_enforce_playback_duration() const;
void _internal_set_soft_enforce_playback_duration(bool value);
public:
// @@protoc_insertion_point(class_scope:video_widevine.PlayReadyPolicy)
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::int64 expiration_seconds_;
::PROTOBUF_NAMESPACE_ID::int64 first_play_expiration_seconds_;
::PROTOBUF_NAMESPACE_ID::int64 deprecated_minimum_security_level_;
int minimum_device_security_level_;
bool deprecated_digital_video_output_restriction_;
bool analog_video_output_restriction_;
bool best_effort_;
bool can_persist_;
int uncompressed_digital_video_output_restriction_;
int cgms_;
int requested_uncompressed_digital_video_output_restriction_;
int requested_cgms_;
::PROTOBUF_NAMESPACE_ID::int64 renewal_recovery_duration_seconds_;
::PROTOBUF_NAMESPACE_ID::int64 renewal_delay_seconds_;
bool can_renew_;
bool soft_enforce_rental_duration_;
bool soft_enforce_playback_duration_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class KeyInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.KeyInfo) */ {
public:
inline KeyInfo() : KeyInfo(nullptr) {}
~KeyInfo() override;
explicit constexpr KeyInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
KeyInfo(const KeyInfo& from);
KeyInfo(KeyInfo&& from) noexcept
: KeyInfo() {
*this = ::std::move(from);
}
inline KeyInfo& operator=(const KeyInfo& from) {
CopyFrom(from);
return *this;
}
inline KeyInfo& operator=(KeyInfo&& 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 KeyInfo& default_instance() {
return *internal_default_instance();
}
static inline const KeyInfo* internal_default_instance() {
return reinterpret_cast<const KeyInfo*>(
&_KeyInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
1;
friend void swap(KeyInfo& a, KeyInfo& b) {
a.Swap(&b);
}
inline void Swap(KeyInfo* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(KeyInfo* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline KeyInfo* New() const final {
return new KeyInfo();
}
KeyInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<KeyInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const KeyInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const KeyInfo& 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(KeyInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.KeyInfo";
}
protected:
explicit KeyInfo(::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 KeyInfo_Type Type;
static constexpr Type UNKNOWN =
KeyInfo_Type_UNKNOWN;
static constexpr Type MASTER =
KeyInfo_Type_MASTER;
static constexpr Type CONTENT_AUDIO =
KeyInfo_Type_CONTENT_AUDIO;
static constexpr Type CONTENT_SD =
KeyInfo_Type_CONTENT_SD;
static constexpr Type CONTENT_HD =
KeyInfo_Type_CONTENT_HD;
static constexpr Type CONTENT_UHD1 =
KeyInfo_Type_CONTENT_UHD1;
static constexpr Type CONTENT_UHD2 =
KeyInfo_Type_CONTENT_UHD2;
static inline bool Type_IsValid(int value) {
return KeyInfo_Type_IsValid(value);
}
static constexpr Type Type_MIN =
KeyInfo_Type_Type_MIN;
static constexpr Type Type_MAX =
KeyInfo_Type_Type_MAX;
static constexpr int Type_ARRAYSIZE =
KeyInfo_Type_Type_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
Type_descriptor() {
return KeyInfo_Type_descriptor();
}
template<typename T>
static inline const std::string& Type_Name(T enum_t_value) {
static_assert(::std::is_same<T, Type>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function Type_Name.");
return KeyInfo_Type_Name(enum_t_value);
}
static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
Type* value) {
return KeyInfo_Type_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kKeyIdGuidFieldNumber = 1,
kKeyBase64FieldNumber = 2,
kTypeFieldNumber = 3,
};
// optional string key_id_guid = 1;
bool has_key_id_guid() const;
private:
bool _internal_has_key_id_guid() const;
public:
void clear_key_id_guid();
const std::string& key_id_guid() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_key_id_guid(ArgT0&& arg0, ArgT... args);
std::string* mutable_key_id_guid();
PROTOBUF_MUST_USE_RESULT std::string* release_key_id_guid();
void set_allocated_key_id_guid(std::string* key_id_guid);
private:
const std::string& _internal_key_id_guid() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_id_guid(const std::string& value);
std::string* _internal_mutable_key_id_guid();
public:
// optional string key_base64 = 2;
bool has_key_base64() const;
private:
bool _internal_has_key_base64() const;
public:
void clear_key_base64();
const std::string& key_base64() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_key_base64(ArgT0&& arg0, ArgT... args);
std::string* mutable_key_base64();
PROTOBUF_MUST_USE_RESULT std::string* release_key_base64();
void set_allocated_key_base64(std::string* key_base64);
private:
const std::string& _internal_key_base64() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_key_base64(const std::string& value);
std::string* _internal_mutable_key_base64();
public:
// optional .video_widevine.KeyInfo.Type type = 3;
bool has_type() const;
private:
bool _internal_has_type() const;
public:
void clear_type();
::video_widevine::KeyInfo_Type type() const;
void set_type(::video_widevine::KeyInfo_Type value);
private:
::video_widevine::KeyInfo_Type _internal_type() const;
void _internal_set_type(::video_widevine::KeyInfo_Type value);
public:
// @@protoc_insertion_point(class_scope:video_widevine.KeyInfo)
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 key_id_guid_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_base64_;
int type_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class PlayReadyLicenseRequest_RootLicenseInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo) */ {
public:
inline PlayReadyLicenseRequest_RootLicenseInfo() : PlayReadyLicenseRequest_RootLicenseInfo(nullptr) {}
~PlayReadyLicenseRequest_RootLicenseInfo() override;
explicit constexpr PlayReadyLicenseRequest_RootLicenseInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PlayReadyLicenseRequest_RootLicenseInfo(const PlayReadyLicenseRequest_RootLicenseInfo& from);
PlayReadyLicenseRequest_RootLicenseInfo(PlayReadyLicenseRequest_RootLicenseInfo&& from) noexcept
: PlayReadyLicenseRequest_RootLicenseInfo() {
*this = ::std::move(from);
}
inline PlayReadyLicenseRequest_RootLicenseInfo& operator=(const PlayReadyLicenseRequest_RootLicenseInfo& from) {
CopyFrom(from);
return *this;
}
inline PlayReadyLicenseRequest_RootLicenseInfo& operator=(PlayReadyLicenseRequest_RootLicenseInfo&& 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 PlayReadyLicenseRequest_RootLicenseInfo& default_instance() {
return *internal_default_instance();
}
static inline const PlayReadyLicenseRequest_RootLicenseInfo* internal_default_instance() {
return reinterpret_cast<const PlayReadyLicenseRequest_RootLicenseInfo*>(
&_PlayReadyLicenseRequest_RootLicenseInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
2;
friend void swap(PlayReadyLicenseRequest_RootLicenseInfo& a, PlayReadyLicenseRequest_RootLicenseInfo& b) {
a.Swap(&b);
}
inline void Swap(PlayReadyLicenseRequest_RootLicenseInfo* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PlayReadyLicenseRequest_RootLicenseInfo* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PlayReadyLicenseRequest_RootLicenseInfo* New() const final {
return new PlayReadyLicenseRequest_RootLicenseInfo();
}
PlayReadyLicenseRequest_RootLicenseInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PlayReadyLicenseRequest_RootLicenseInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PlayReadyLicenseRequest_RootLicenseInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PlayReadyLicenseRequest_RootLicenseInfo& 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(PlayReadyLicenseRequest_RootLicenseInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PlayReadyLicenseRequest.RootLicenseInfo";
}
protected:
explicit PlayReadyLicenseRequest_RootLicenseInfo(::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 {
kGroupIdFieldNumber = 1,
kServiceIdFieldNumber = 2,
kMasterKeyInfoFieldNumber = 3,
};
// optional string group_id = 1;
bool has_group_id() const;
private:
bool _internal_has_group_id() const;
public:
void clear_group_id();
const std::string& group_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_group_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_group_id();
PROTOBUF_MUST_USE_RESULT std::string* release_group_id();
void set_allocated_group_id(std::string* group_id);
private:
const std::string& _internal_group_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_group_id(const std::string& value);
std::string* _internal_mutable_group_id();
public:
// optional string service_id = 2;
bool has_service_id() const;
private:
bool _internal_has_service_id() const;
public:
void clear_service_id();
const std::string& service_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_service_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_service_id();
PROTOBUF_MUST_USE_RESULT std::string* release_service_id();
void set_allocated_service_id(std::string* service_id);
private:
const std::string& _internal_service_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_service_id(const std::string& value);
std::string* _internal_mutable_service_id();
public:
// optional .video_widevine.KeyInfo master_key_info = 3;
bool has_master_key_info() const;
private:
bool _internal_has_master_key_info() const;
public:
void clear_master_key_info();
const ::video_widevine::KeyInfo& master_key_info() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::KeyInfo* release_master_key_info();
::video_widevine::KeyInfo* mutable_master_key_info();
void set_allocated_master_key_info(::video_widevine::KeyInfo* master_key_info);
private:
const ::video_widevine::KeyInfo& _internal_master_key_info() const;
::video_widevine::KeyInfo* _internal_mutable_master_key_info();
public:
void unsafe_arena_set_allocated_master_key_info(
::video_widevine::KeyInfo* master_key_info);
::video_widevine::KeyInfo* unsafe_arena_release_master_key_info();
// @@protoc_insertion_point(class_scope:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo)
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 group_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr service_id_;
::video_widevine::KeyInfo* master_key_info_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class PlayReadyLicenseRequest final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PlayReadyLicenseRequest) */ {
public:
inline PlayReadyLicenseRequest() : PlayReadyLicenseRequest(nullptr) {}
~PlayReadyLicenseRequest() override;
explicit constexpr PlayReadyLicenseRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PlayReadyLicenseRequest(const PlayReadyLicenseRequest& from);
PlayReadyLicenseRequest(PlayReadyLicenseRequest&& from) noexcept
: PlayReadyLicenseRequest() {
*this = ::std::move(from);
}
inline PlayReadyLicenseRequest& operator=(const PlayReadyLicenseRequest& from) {
CopyFrom(from);
return *this;
}
inline PlayReadyLicenseRequest& operator=(PlayReadyLicenseRequest&& 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 PlayReadyLicenseRequest& default_instance() {
return *internal_default_instance();
}
static inline const PlayReadyLicenseRequest* internal_default_instance() {
return reinterpret_cast<const PlayReadyLicenseRequest*>(
&_PlayReadyLicenseRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
3;
friend void swap(PlayReadyLicenseRequest& a, PlayReadyLicenseRequest& b) {
a.Swap(&b);
}
inline void Swap(PlayReadyLicenseRequest* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PlayReadyLicenseRequest* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PlayReadyLicenseRequest* New() const final {
return new PlayReadyLicenseRequest();
}
PlayReadyLicenseRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PlayReadyLicenseRequest>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PlayReadyLicenseRequest& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PlayReadyLicenseRequest& 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(PlayReadyLicenseRequest* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PlayReadyLicenseRequest";
}
protected:
explicit PlayReadyLicenseRequest(::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 PlayReadyLicenseRequest_RootLicenseInfo RootLicenseInfo;
typedef PlayReadyLicenseRequest_Requester Requester;
static constexpr Requester UNKNOWN =
PlayReadyLicenseRequest_Requester_UNKNOWN;
static constexpr Requester YOUTUBE =
PlayReadyLicenseRequest_Requester_YOUTUBE;
static constexpr Requester PLAY =
PlayReadyLicenseRequest_Requester_PLAY;
static constexpr Requester WIDEVINE =
PlayReadyLicenseRequest_Requester_WIDEVINE;
static constexpr Requester EXPERIMENTAL =
PlayReadyLicenseRequest_Requester_EXPERIMENTAL;
static inline bool Requester_IsValid(int value) {
return PlayReadyLicenseRequest_Requester_IsValid(value);
}
static constexpr Requester Requester_MIN =
PlayReadyLicenseRequest_Requester_Requester_MIN;
static constexpr Requester Requester_MAX =
PlayReadyLicenseRequest_Requester_Requester_MAX;
static constexpr int Requester_ARRAYSIZE =
PlayReadyLicenseRequest_Requester_Requester_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
Requester_descriptor() {
return PlayReadyLicenseRequest_Requester_descriptor();
}
template<typename T>
static inline const std::string& Requester_Name(T enum_t_value) {
static_assert(::std::is_same<T, Requester>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function Requester_Name.");
return PlayReadyLicenseRequest_Requester_Name(enum_t_value);
}
static inline bool Requester_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
Requester* value) {
return PlayReadyLicenseRequest_Requester_Parse(name, value);
}
typedef PlayReadyLicenseRequest_StreamType StreamType;
static constexpr StreamType STREAM_TYPE_UNKNOWN =
PlayReadyLicenseRequest_StreamType_STREAM_TYPE_UNKNOWN;
static constexpr StreamType VOD =
PlayReadyLicenseRequest_StreamType_VOD;
static constexpr StreamType LIVE =
PlayReadyLicenseRequest_StreamType_LIVE;
static inline bool StreamType_IsValid(int value) {
return PlayReadyLicenseRequest_StreamType_IsValid(value);
}
static constexpr StreamType StreamType_MIN =
PlayReadyLicenseRequest_StreamType_StreamType_MIN;
static constexpr StreamType StreamType_MAX =
PlayReadyLicenseRequest_StreamType_StreamType_MAX;
static constexpr int StreamType_ARRAYSIZE =
PlayReadyLicenseRequest_StreamType_StreamType_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
StreamType_descriptor() {
return PlayReadyLicenseRequest_StreamType_descriptor();
}
template<typename T>
static inline const std::string& StreamType_Name(T enum_t_value) {
static_assert(::std::is_same<T, StreamType>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function StreamType_Name.");
return PlayReadyLicenseRequest_StreamType_Name(enum_t_value);
}
static inline bool StreamType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
StreamType* value) {
return PlayReadyLicenseRequest_StreamType_Parse(name, value);
}
typedef PlayReadyLicenseRequest_ChallengeType ChallengeType;
static constexpr ChallengeType CHALLENGE_TYPE_UNKNOWN =
PlayReadyLicenseRequest_ChallengeType_CHALLENGE_TYPE_UNKNOWN;
static constexpr ChallengeType LICENSE =
PlayReadyLicenseRequest_ChallengeType_LICENSE;
static constexpr ChallengeType SECURE_STOP =
PlayReadyLicenseRequest_ChallengeType_SECURE_STOP;
static inline bool ChallengeType_IsValid(int value) {
return PlayReadyLicenseRequest_ChallengeType_IsValid(value);
}
static constexpr ChallengeType ChallengeType_MIN =
PlayReadyLicenseRequest_ChallengeType_ChallengeType_MIN;
static constexpr ChallengeType ChallengeType_MAX =
PlayReadyLicenseRequest_ChallengeType_ChallengeType_MAX;
static constexpr int ChallengeType_ARRAYSIZE =
PlayReadyLicenseRequest_ChallengeType_ChallengeType_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
ChallengeType_descriptor() {
return PlayReadyLicenseRequest_ChallengeType_descriptor();
}
template<typename T>
static inline const std::string& ChallengeType_Name(T enum_t_value) {
static_assert(::std::is_same<T, ChallengeType>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function ChallengeType_Name.");
return PlayReadyLicenseRequest_ChallengeType_Name(enum_t_value);
}
static inline bool ChallengeType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
ChallengeType* value) {
return PlayReadyLicenseRequest_ChallengeType_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kLicenseKeyInfoFieldNumber = 13,
kChallengeFieldNumber = 1,
kProviderFieldNumber = 2,
kContentIdFieldNumber = 3,
kRequestIdFieldNumber = 4,
kContentKeyBase64FieldNumber = 5,
kClientSpecifiedMakeFieldNumber = 8,
kClientSpecifiedModelFieldNumber = 9,
kOriginalLicenseFieldNumber = 18,
kPolicyFieldNumber = 6,
kRootLicenseInfoFieldNumber = 11,
kRequesterFieldNumber = 10,
kStreamTypeFieldNumber = 12,
kExtractDeviceInfoFieldNumber = 7,
kIsExternalLicenseRequestFieldNumber = 14,
kIsRenewalRequestFieldNumber = 17,
kChallengeTypeFieldNumber = 16,
kLicenseStartTimeSecondsFieldNumber = 15,
kPlaybackStartTimeSecondsFieldNumber = 19,
kRequestVersionFieldNumber = 20,
};
// repeated .video_widevine.KeyInfo license_key_info = 13;
int license_key_info_size() const;
private:
int _internal_license_key_info_size() const;
public:
void clear_license_key_info();
::video_widevine::KeyInfo* mutable_license_key_info(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyInfo >*
mutable_license_key_info();
private:
const ::video_widevine::KeyInfo& _internal_license_key_info(int index) const;
::video_widevine::KeyInfo* _internal_add_license_key_info();
public:
const ::video_widevine::KeyInfo& license_key_info(int index) const;
::video_widevine::KeyInfo* add_license_key_info();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyInfo >&
license_key_info() const;
// optional string challenge = 1;
bool has_challenge() const;
private:
bool _internal_has_challenge() const;
public:
void clear_challenge();
const std::string& challenge() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_challenge(ArgT0&& arg0, ArgT... args);
std::string* mutable_challenge();
PROTOBUF_MUST_USE_RESULT std::string* release_challenge();
void set_allocated_challenge(std::string* challenge);
private:
const std::string& _internal_challenge() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_challenge(const std::string& value);
std::string* _internal_mutable_challenge();
public:
// optional string provider = 2;
bool has_provider() const;
private:
bool _internal_has_provider() const;
public:
void clear_provider();
const std::string& provider() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_provider(ArgT0&& arg0, ArgT... args);
std::string* mutable_provider();
PROTOBUF_MUST_USE_RESULT std::string* release_provider();
void set_allocated_provider(std::string* provider);
private:
const std::string& _internal_provider() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_provider(const std::string& value);
std::string* _internal_mutable_provider();
public:
// optional string content_id = 3;
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 request_id = 4;
bool has_request_id() const;
private:
bool _internal_has_request_id() const;
public:
void clear_request_id();
const std::string& request_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_request_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_request_id();
PROTOBUF_MUST_USE_RESULT std::string* release_request_id();
void set_allocated_request_id(std::string* request_id);
private:
const std::string& _internal_request_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id(const std::string& value);
std::string* _internal_mutable_request_id();
public:
// optional string content_key_base64 = 5;
bool has_content_key_base64() const;
private:
bool _internal_has_content_key_base64() const;
public:
void clear_content_key_base64();
const std::string& content_key_base64() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_content_key_base64(ArgT0&& arg0, ArgT... args);
std::string* mutable_content_key_base64();
PROTOBUF_MUST_USE_RESULT std::string* release_content_key_base64();
void set_allocated_content_key_base64(std::string* content_key_base64);
private:
const std::string& _internal_content_key_base64() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_content_key_base64(const std::string& value);
std::string* _internal_mutable_content_key_base64();
public:
// optional string client_specified_make = 8;
bool has_client_specified_make() const;
private:
bool _internal_has_client_specified_make() const;
public:
void clear_client_specified_make();
const std::string& client_specified_make() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_client_specified_make(ArgT0&& arg0, ArgT... args);
std::string* mutable_client_specified_make();
PROTOBUF_MUST_USE_RESULT std::string* release_client_specified_make();
void set_allocated_client_specified_make(std::string* client_specified_make);
private:
const std::string& _internal_client_specified_make() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_specified_make(const std::string& value);
std::string* _internal_mutable_client_specified_make();
public:
// optional string client_specified_model = 9;
bool has_client_specified_model() const;
private:
bool _internal_has_client_specified_model() const;
public:
void clear_client_specified_model();
const std::string& client_specified_model() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_client_specified_model(ArgT0&& arg0, ArgT... args);
std::string* mutable_client_specified_model();
PROTOBUF_MUST_USE_RESULT std::string* release_client_specified_model();
void set_allocated_client_specified_model(std::string* client_specified_model);
private:
const std::string& _internal_client_specified_model() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_specified_model(const std::string& value);
std::string* _internal_mutable_client_specified_model();
public:
// optional bytes original_license = 18;
bool has_original_license() const;
private:
bool _internal_has_original_license() const;
public:
void clear_original_license();
const std::string& original_license() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_original_license(ArgT0&& arg0, ArgT... args);
std::string* mutable_original_license();
PROTOBUF_MUST_USE_RESULT std::string* release_original_license();
void set_allocated_original_license(std::string* original_license);
private:
const std::string& _internal_original_license() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_original_license(const std::string& value);
std::string* _internal_mutable_original_license();
public:
// optional .video_widevine.PlayReadyPolicy policy = 6;
bool has_policy() const;
private:
bool _internal_has_policy() const;
public:
void clear_policy();
const ::video_widevine::PlayReadyPolicy& policy() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::PlayReadyPolicy* release_policy();
::video_widevine::PlayReadyPolicy* mutable_policy();
void set_allocated_policy(::video_widevine::PlayReadyPolicy* policy);
private:
const ::video_widevine::PlayReadyPolicy& _internal_policy() const;
::video_widevine::PlayReadyPolicy* _internal_mutable_policy();
public:
void unsafe_arena_set_allocated_policy(
::video_widevine::PlayReadyPolicy* policy);
::video_widevine::PlayReadyPolicy* unsafe_arena_release_policy();
// optional .video_widevine.PlayReadyLicenseRequest.RootLicenseInfo root_license_info = 11;
bool has_root_license_info() const;
private:
bool _internal_has_root_license_info() const;
public:
void clear_root_license_info();
const ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo& root_license_info() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* release_root_license_info();
::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* mutable_root_license_info();
void set_allocated_root_license_info(::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* root_license_info);
private:
const ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo& _internal_root_license_info() const;
::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* _internal_mutable_root_license_info();
public:
void unsafe_arena_set_allocated_root_license_info(
::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* root_license_info);
::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* unsafe_arena_release_root_license_info();
// optional .video_widevine.PlayReadyLicenseRequest.Requester requester = 10;
bool has_requester() const;
private:
bool _internal_has_requester() const;
public:
void clear_requester();
::video_widevine::PlayReadyLicenseRequest_Requester requester() const;
void set_requester(::video_widevine::PlayReadyLicenseRequest_Requester value);
private:
::video_widevine::PlayReadyLicenseRequest_Requester _internal_requester() const;
void _internal_set_requester(::video_widevine::PlayReadyLicenseRequest_Requester value);
public:
// optional .video_widevine.PlayReadyLicenseRequest.StreamType stream_type = 12;
bool has_stream_type() const;
private:
bool _internal_has_stream_type() const;
public:
void clear_stream_type();
::video_widevine::PlayReadyLicenseRequest_StreamType stream_type() const;
void set_stream_type(::video_widevine::PlayReadyLicenseRequest_StreamType value);
private:
::video_widevine::PlayReadyLicenseRequest_StreamType _internal_stream_type() const;
void _internal_set_stream_type(::video_widevine::PlayReadyLicenseRequest_StreamType value);
public:
// optional bool extract_device_info = 7;
bool has_extract_device_info() const;
private:
bool _internal_has_extract_device_info() const;
public:
void clear_extract_device_info();
bool extract_device_info() const;
void set_extract_device_info(bool value);
private:
bool _internal_extract_device_info() const;
void _internal_set_extract_device_info(bool value);
public:
// optional bool is_external_license_request = 14 [default = false];
bool has_is_external_license_request() const;
private:
bool _internal_has_is_external_license_request() const;
public:
void clear_is_external_license_request();
bool is_external_license_request() const;
void set_is_external_license_request(bool value);
private:
bool _internal_is_external_license_request() const;
void _internal_set_is_external_license_request(bool value);
public:
// optional bool is_renewal_request = 17 [default = false];
bool has_is_renewal_request() const;
private:
bool _internal_has_is_renewal_request() const;
public:
void clear_is_renewal_request();
bool is_renewal_request() const;
void set_is_renewal_request(bool value);
private:
bool _internal_is_renewal_request() const;
void _internal_set_is_renewal_request(bool value);
public:
// optional .video_widevine.PlayReadyLicenseRequest.ChallengeType challenge_type = 16 [default = CHALLENGE_TYPE_UNKNOWN];
bool has_challenge_type() const;
private:
bool _internal_has_challenge_type() const;
public:
void clear_challenge_type();
::video_widevine::PlayReadyLicenseRequest_ChallengeType challenge_type() const;
void set_challenge_type(::video_widevine::PlayReadyLicenseRequest_ChallengeType value);
private:
::video_widevine::PlayReadyLicenseRequest_ChallengeType _internal_challenge_type() const;
void _internal_set_challenge_type(::video_widevine::PlayReadyLicenseRequest_ChallengeType value);
public:
// optional int64 license_start_time_seconds = 15;
bool has_license_start_time_seconds() const;
private:
bool _internal_has_license_start_time_seconds() const;
public:
void clear_license_start_time_seconds();
::PROTOBUF_NAMESPACE_ID::int64 license_start_time_seconds() const;
void set_license_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_license_start_time_seconds() const;
void _internal_set_license_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// optional int64 playback_start_time_seconds = 19;
bool has_playback_start_time_seconds() const;
private:
bool _internal_has_playback_start_time_seconds() const;
public:
void clear_playback_start_time_seconds();
::PROTOBUF_NAMESPACE_ID::int64 playback_start_time_seconds() const;
void set_playback_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_playback_start_time_seconds() const;
void _internal_set_playback_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// optional int32 request_version = 20;
bool has_request_version() const;
private:
bool _internal_has_request_version() const;
public:
void clear_request_version();
::PROTOBUF_NAMESPACE_ID::int32 request_version() const;
void set_request_version(::PROTOBUF_NAMESPACE_ID::int32 value);
private:
::PROTOBUF_NAMESPACE_ID::int32 _internal_request_version() const;
void _internal_set_request_version(::PROTOBUF_NAMESPACE_ID::int32 value);
public:
// @@protoc_insertion_point(class_scope:video_widevine.PlayReadyLicenseRequest)
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< ::video_widevine::KeyInfo > license_key_info_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr challenge_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr provider_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_key_base64_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_specified_make_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_specified_model_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr original_license_;
::video_widevine::PlayReadyPolicy* policy_;
::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* root_license_info_;
int requester_;
int stream_type_;
bool extract_device_info_;
bool is_external_license_request_;
bool is_renewal_request_;
int challenge_type_;
::PROTOBUF_NAMESPACE_ID::int64 license_start_time_seconds_;
::PROTOBUF_NAMESPACE_ID::int64 playback_start_time_seconds_;
::PROTOBUF_NAMESPACE_ID::int32 request_version_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class PlayReadyLicenseResponse_ClientCertificateInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo) */ {
public:
inline PlayReadyLicenseResponse_ClientCertificateInfo() : PlayReadyLicenseResponse_ClientCertificateInfo(nullptr) {}
~PlayReadyLicenseResponse_ClientCertificateInfo() override;
explicit constexpr PlayReadyLicenseResponse_ClientCertificateInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PlayReadyLicenseResponse_ClientCertificateInfo(const PlayReadyLicenseResponse_ClientCertificateInfo& from);
PlayReadyLicenseResponse_ClientCertificateInfo(PlayReadyLicenseResponse_ClientCertificateInfo&& from) noexcept
: PlayReadyLicenseResponse_ClientCertificateInfo() {
*this = ::std::move(from);
}
inline PlayReadyLicenseResponse_ClientCertificateInfo& operator=(const PlayReadyLicenseResponse_ClientCertificateInfo& from) {
CopyFrom(from);
return *this;
}
inline PlayReadyLicenseResponse_ClientCertificateInfo& operator=(PlayReadyLicenseResponse_ClientCertificateInfo&& 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 PlayReadyLicenseResponse_ClientCertificateInfo& default_instance() {
return *internal_default_instance();
}
static inline const PlayReadyLicenseResponse_ClientCertificateInfo* internal_default_instance() {
return reinterpret_cast<const PlayReadyLicenseResponse_ClientCertificateInfo*>(
&_PlayReadyLicenseResponse_ClientCertificateInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
4;
friend void swap(PlayReadyLicenseResponse_ClientCertificateInfo& a, PlayReadyLicenseResponse_ClientCertificateInfo& b) {
a.Swap(&b);
}
inline void Swap(PlayReadyLicenseResponse_ClientCertificateInfo* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PlayReadyLicenseResponse_ClientCertificateInfo* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PlayReadyLicenseResponse_ClientCertificateInfo* New() const final {
return new PlayReadyLicenseResponse_ClientCertificateInfo();
}
PlayReadyLicenseResponse_ClientCertificateInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PlayReadyLicenseResponse_ClientCertificateInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PlayReadyLicenseResponse_ClientCertificateInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PlayReadyLicenseResponse_ClientCertificateInfo& 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(PlayReadyLicenseResponse_ClientCertificateInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo";
}
protected:
explicit PlayReadyLicenseResponse_ClientCertificateInfo(::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 PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures SupportedFeatures;
static constexpr SupportedFeatures NOT_SPECIFIED =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_NOT_SPECIFIED;
static constexpr SupportedFeatures TRANSMITTER =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_TRANSMITTER;
static constexpr SupportedFeatures RECEIVER =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_RECEIVER;
static constexpr SupportedFeatures SHARED_CERTIFICATE =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SHARED_CERTIFICATE;
static constexpr SupportedFeatures SECURE_CLOCK =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SECURE_CLOCK;
static constexpr SupportedFeatures ANTIROLLBACK_CLOCK =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_ANTIROLLBACK_CLOCK;
static constexpr SupportedFeatures RESERVED_METERING =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_RESERVED_METERING;
static constexpr SupportedFeatures RESERVED_LICSYNC =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_RESERVED_LICSYNC;
static constexpr SupportedFeatures RESERVED_SYMOPT =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_RESERVED_SYMOPT;
static constexpr SupportedFeatures SUPPORTS_CRLS =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SUPPORTS_CRLS;
static constexpr SupportedFeatures SERVER_BASIC_EDITION =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SERVER_BASIC_EDITION;
static constexpr SupportedFeatures SERVER_STANDARD_EDITION =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SERVER_STANDARD_EDITION;
static constexpr SupportedFeatures SERVER_PREMIUM_EDITION =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SERVER_PREMIUM_EDITION;
static constexpr SupportedFeatures SUPPORTS_PS3_FEATURES =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SUPPORTS_PS3_FEATURES;
static constexpr SupportedFeatures DEPRECATED_SECURE_STOP =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_DEPRECATED_SECURE_STOP;
static inline bool SupportedFeatures_IsValid(int value) {
return PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_IsValid(value);
}
static constexpr SupportedFeatures SupportedFeatures_MIN =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SupportedFeatures_MIN;
static constexpr SupportedFeatures SupportedFeatures_MAX =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SupportedFeatures_MAX;
static constexpr int SupportedFeatures_ARRAYSIZE =
PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_SupportedFeatures_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
SupportedFeatures_descriptor() {
return PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_descriptor();
}
template<typename T>
static inline const std::string& SupportedFeatures_Name(T enum_t_value) {
static_assert(::std::is_same<T, SupportedFeatures>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function SupportedFeatures_Name.");
return PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_Name(enum_t_value);
}
static inline bool SupportedFeatures_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
SupportedFeatures* value) {
return PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kSupportedFeatureFieldNumber = 8,
kManufacturerFieldNumber = 1,
kModelFieldNumber = 2,
kModelNumberFieldNumber = 3,
kPlatformFieldNumber = 4,
kSecurityLevelFieldNumber = 5,
kTypeFieldNumber = 6,
kVersionFieldNumber = 7,
kDigestFieldNumber = 9,
kCertificateIdFieldNumber = 10,
};
// repeated .video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.SupportedFeatures supported_feature = 8 [packed = true];
int supported_feature_size() const;
private:
int _internal_supported_feature_size() const;
public:
void clear_supported_feature();
private:
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures _internal_supported_feature(int index) const;
void _internal_add_supported_feature(::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures value);
::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_supported_feature();
public:
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures supported_feature(int index) const;
void set_supported_feature(int index, ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures value);
void add_supported_feature(::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures value);
const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& supported_feature() const;
::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_supported_feature();
// optional string manufacturer = 1;
bool has_manufacturer() const;
private:
bool _internal_has_manufacturer() const;
public:
void clear_manufacturer();
const std::string& manufacturer() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_manufacturer(ArgT0&& arg0, ArgT... args);
std::string* mutable_manufacturer();
PROTOBUF_MUST_USE_RESULT std::string* release_manufacturer();
void set_allocated_manufacturer(std::string* manufacturer);
private:
const std::string& _internal_manufacturer() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_manufacturer(const std::string& value);
std::string* _internal_mutable_manufacturer();
public:
// optional string model = 2;
bool has_model() const;
private:
bool _internal_has_model() const;
public:
void clear_model();
const std::string& model() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_model(ArgT0&& arg0, ArgT... args);
std::string* mutable_model();
PROTOBUF_MUST_USE_RESULT std::string* release_model();
void set_allocated_model(std::string* model);
private:
const std::string& _internal_model() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_model(const std::string& value);
std::string* _internal_mutable_model();
public:
// optional string model_number = 3;
bool has_model_number() const;
private:
bool _internal_has_model_number() const;
public:
void clear_model_number();
const std::string& model_number() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_model_number(ArgT0&& arg0, ArgT... args);
std::string* mutable_model_number();
PROTOBUF_MUST_USE_RESULT std::string* release_model_number();
void set_allocated_model_number(std::string* model_number);
private:
const std::string& _internal_model_number() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_model_number(const std::string& value);
std::string* _internal_mutable_model_number();
public:
// optional string platform = 4;
bool has_platform() const;
private:
bool _internal_has_platform() const;
public:
void clear_platform();
const std::string& platform() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_platform(ArgT0&& arg0, ArgT... args);
std::string* mutable_platform();
PROTOBUF_MUST_USE_RESULT std::string* release_platform();
void set_allocated_platform(std::string* platform);
private:
const std::string& _internal_platform() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_platform(const std::string& value);
std::string* _internal_mutable_platform();
public:
// optional string security_level = 5;
bool has_security_level() const;
private:
bool _internal_has_security_level() const;
public:
void clear_security_level();
const std::string& security_level() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_security_level(ArgT0&& arg0, ArgT... args);
std::string* mutable_security_level();
PROTOBUF_MUST_USE_RESULT std::string* release_security_level();
void set_allocated_security_level(std::string* security_level);
private:
const std::string& _internal_security_level() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_security_level(const std::string& value);
std::string* _internal_mutable_security_level();
public:
// optional string type = 6;
bool has_type() const;
private:
bool _internal_has_type() const;
public:
void clear_type();
const std::string& type() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_type(ArgT0&& arg0, ArgT... args);
std::string* mutable_type();
PROTOBUF_MUST_USE_RESULT std::string* release_type();
void set_allocated_type(std::string* type);
private:
const std::string& _internal_type() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
std::string* _internal_mutable_type();
public:
// optional string version = 7;
bool has_version() const;
private:
bool _internal_has_version() const;
public:
void clear_version();
const std::string& version() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_version(ArgT0&& arg0, ArgT... args);
std::string* mutable_version();
PROTOBUF_MUST_USE_RESULT std::string* release_version();
void set_allocated_version(std::string* version);
private:
const std::string& _internal_version() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value);
std::string* _internal_mutable_version();
public:
// optional bytes digest = 9;
bool has_digest() const;
private:
bool _internal_has_digest() const;
public:
void clear_digest();
const std::string& digest() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_digest(ArgT0&& arg0, ArgT... args);
std::string* mutable_digest();
PROTOBUF_MUST_USE_RESULT std::string* release_digest();
void set_allocated_digest(std::string* digest);
private:
const std::string& _internal_digest() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_digest(const std::string& value);
std::string* _internal_mutable_digest();
public:
// optional bytes certificate_id = 10;
bool has_certificate_id() const;
private:
bool _internal_has_certificate_id() const;
public:
void clear_certificate_id();
const std::string& certificate_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_certificate_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_certificate_id();
PROTOBUF_MUST_USE_RESULT std::string* release_certificate_id();
void set_allocated_certificate_id(std::string* certificate_id);
private:
const std::string& _internal_certificate_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_certificate_id(const std::string& value);
std::string* _internal_mutable_certificate_id();
public:
// @@protoc_insertion_point(class_scope:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo)
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::RepeatedField<int> supported_feature_;
mutable std::atomic<int> _supported_feature_cached_byte_size_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr manufacturer_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_number_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr security_level_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr digest_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr certificate_id_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class PlayReadyLicenseResponse final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PlayReadyLicenseResponse) */ {
public:
inline PlayReadyLicenseResponse() : PlayReadyLicenseResponse(nullptr) {}
~PlayReadyLicenseResponse() override;
explicit constexpr PlayReadyLicenseResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PlayReadyLicenseResponse(const PlayReadyLicenseResponse& from);
PlayReadyLicenseResponse(PlayReadyLicenseResponse&& from) noexcept
: PlayReadyLicenseResponse() {
*this = ::std::move(from);
}
inline PlayReadyLicenseResponse& operator=(const PlayReadyLicenseResponse& from) {
CopyFrom(from);
return *this;
}
inline PlayReadyLicenseResponse& operator=(PlayReadyLicenseResponse&& 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 PlayReadyLicenseResponse& default_instance() {
return *internal_default_instance();
}
static inline const PlayReadyLicenseResponse* internal_default_instance() {
return reinterpret_cast<const PlayReadyLicenseResponse*>(
&_PlayReadyLicenseResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
5;
friend void swap(PlayReadyLicenseResponse& a, PlayReadyLicenseResponse& b) {
a.Swap(&b);
}
inline void Swap(PlayReadyLicenseResponse* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PlayReadyLicenseResponse* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PlayReadyLicenseResponse* New() const final {
return new PlayReadyLicenseResponse();
}
PlayReadyLicenseResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PlayReadyLicenseResponse>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PlayReadyLicenseResponse& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PlayReadyLicenseResponse& 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(PlayReadyLicenseResponse* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PlayReadyLicenseResponse";
}
protected:
explicit PlayReadyLicenseResponse(::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 PlayReadyLicenseResponse_ClientCertificateInfo ClientCertificateInfo;
// accessors -------------------------------------------------------
enum : int {
kResponseFieldNumber = 1,
kStatusMessageFieldNumber = 3,
kPlayreadyClientVersionFieldNumber = 5,
kCertificateSpecifiedMakeFieldNumber = 6,
kCertificateSpecifiedModelFieldNumber = 7,
kClientSpecifiedMakeFieldNumber = 8,
kClientSpecifiedModelFieldNumber = 9,
kClientCertificateInfoFieldNumber = 11,
kStatusHasBeenLoggedFieldNumber = 4,
kApprovedLicenseeFieldNumber = 10,
kExperimentalFieldNumber = 12,
};
// optional string response = 1;
bool has_response() const;
private:
bool _internal_has_response() const;
public:
void clear_response();
const std::string& response() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_response(ArgT0&& arg0, ArgT... args);
std::string* mutable_response();
PROTOBUF_MUST_USE_RESULT std::string* release_response();
void set_allocated_response(std::string* response);
private:
const std::string& _internal_response() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_response(const std::string& value);
std::string* _internal_mutable_response();
public:
// optional string status_message = 3;
bool has_status_message() const;
private:
bool _internal_has_status_message() const;
public:
void clear_status_message();
const std::string& status_message() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_status_message(ArgT0&& arg0, ArgT... args);
std::string* mutable_status_message();
PROTOBUF_MUST_USE_RESULT std::string* release_status_message();
void set_allocated_status_message(std::string* status_message);
private:
const std::string& _internal_status_message() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_status_message(const std::string& value);
std::string* _internal_mutable_status_message();
public:
// optional string playready_client_version = 5;
bool has_playready_client_version() const;
private:
bool _internal_has_playready_client_version() const;
public:
void clear_playready_client_version();
const std::string& playready_client_version() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_playready_client_version(ArgT0&& arg0, ArgT... args);
std::string* mutable_playready_client_version();
PROTOBUF_MUST_USE_RESULT std::string* release_playready_client_version();
void set_allocated_playready_client_version(std::string* playready_client_version);
private:
const std::string& _internal_playready_client_version() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_playready_client_version(const std::string& value);
std::string* _internal_mutable_playready_client_version();
public:
// optional string certificate_specified_make = 6;
bool has_certificate_specified_make() const;
private:
bool _internal_has_certificate_specified_make() const;
public:
void clear_certificate_specified_make();
const std::string& certificate_specified_make() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_certificate_specified_make(ArgT0&& arg0, ArgT... args);
std::string* mutable_certificate_specified_make();
PROTOBUF_MUST_USE_RESULT std::string* release_certificate_specified_make();
void set_allocated_certificate_specified_make(std::string* certificate_specified_make);
private:
const std::string& _internal_certificate_specified_make() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_certificate_specified_make(const std::string& value);
std::string* _internal_mutable_certificate_specified_make();
public:
// optional string certificate_specified_model = 7;
bool has_certificate_specified_model() const;
private:
bool _internal_has_certificate_specified_model() const;
public:
void clear_certificate_specified_model();
const std::string& certificate_specified_model() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_certificate_specified_model(ArgT0&& arg0, ArgT... args);
std::string* mutable_certificate_specified_model();
PROTOBUF_MUST_USE_RESULT std::string* release_certificate_specified_model();
void set_allocated_certificate_specified_model(std::string* certificate_specified_model);
private:
const std::string& _internal_certificate_specified_model() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_certificate_specified_model(const std::string& value);
std::string* _internal_mutable_certificate_specified_model();
public:
// optional string client_specified_make = 8;
bool has_client_specified_make() const;
private:
bool _internal_has_client_specified_make() const;
public:
void clear_client_specified_make();
const std::string& client_specified_make() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_client_specified_make(ArgT0&& arg0, ArgT... args);
std::string* mutable_client_specified_make();
PROTOBUF_MUST_USE_RESULT std::string* release_client_specified_make();
void set_allocated_client_specified_make(std::string* client_specified_make);
private:
const std::string& _internal_client_specified_make() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_specified_make(const std::string& value);
std::string* _internal_mutable_client_specified_make();
public:
// optional string client_specified_model = 9;
bool has_client_specified_model() const;
private:
bool _internal_has_client_specified_model() const;
public:
void clear_client_specified_model();
const std::string& client_specified_model() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_client_specified_model(ArgT0&& arg0, ArgT... args);
std::string* mutable_client_specified_model();
PROTOBUF_MUST_USE_RESULT std::string* release_client_specified_model();
void set_allocated_client_specified_model(std::string* client_specified_model);
private:
const std::string& _internal_client_specified_model() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_specified_model(const std::string& value);
std::string* _internal_mutable_client_specified_model();
public:
// optional .video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo client_certificate_info = 11;
bool has_client_certificate_info() const;
private:
bool _internal_has_client_certificate_info() const;
public:
void clear_client_certificate_info();
const ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo& client_certificate_info() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* release_client_certificate_info();
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* mutable_client_certificate_info();
void set_allocated_client_certificate_info(::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* client_certificate_info);
private:
const ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo& _internal_client_certificate_info() const;
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* _internal_mutable_client_certificate_info();
public:
void unsafe_arena_set_allocated_client_certificate_info(
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* client_certificate_info);
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* unsafe_arena_release_client_certificate_info();
// optional bool status_has_been_logged = 4;
bool has_status_has_been_logged() const;
private:
bool _internal_has_status_has_been_logged() const;
public:
void clear_status_has_been_logged();
bool status_has_been_logged() const;
void set_status_has_been_logged(bool value);
private:
bool _internal_status_has_been_logged() const;
void _internal_set_status_has_been_logged(bool value);
public:
// optional bool approved_licensee = 10;
bool has_approved_licensee() const;
private:
bool _internal_has_approved_licensee() const;
public:
void clear_approved_licensee();
bool approved_licensee() const;
void set_approved_licensee(bool value);
private:
bool _internal_approved_licensee() const;
void _internal_set_approved_licensee(bool value);
public:
// optional bool experimental = 12;
bool has_experimental() const;
private:
bool _internal_has_experimental() const;
public:
void clear_experimental();
bool experimental() const;
void set_experimental(bool value);
private:
bool _internal_experimental() const;
void _internal_set_experimental(bool value);
public:
// @@protoc_insertion_point(class_scope:video_widevine.PlayReadyLicenseResponse)
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 response_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_message_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr playready_client_version_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr certificate_specified_make_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr certificate_specified_model_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_specified_make_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_specified_model_;
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* client_certificate_info_;
bool status_has_been_logged_;
bool approved_licensee_;
bool experimental_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class PackagingRequest final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PackagingRequest) */ {
public:
inline PackagingRequest() : PackagingRequest(nullptr) {}
~PackagingRequest() override;
explicit constexpr PackagingRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PackagingRequest(const PackagingRequest& from);
PackagingRequest(PackagingRequest&& from) noexcept
: PackagingRequest() {
*this = ::std::move(from);
}
inline PackagingRequest& operator=(const PackagingRequest& from) {
CopyFrom(from);
return *this;
}
inline PackagingRequest& operator=(PackagingRequest&& 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 PackagingRequest& default_instance() {
return *internal_default_instance();
}
static inline const PackagingRequest* internal_default_instance() {
return reinterpret_cast<const PackagingRequest*>(
&_PackagingRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
6;
friend void swap(PackagingRequest& a, PackagingRequest& b) {
a.Swap(&b);
}
inline void Swap(PackagingRequest* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PackagingRequest* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PackagingRequest* New() const final {
return new PackagingRequest();
}
PackagingRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PackagingRequest>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PackagingRequest& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PackagingRequest& 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(PackagingRequest* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PackagingRequest";
}
protected:
explicit PackagingRequest(::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 {
kContentKeyInfoFieldNumber = 5,
kProviderFieldNumber = 1,
kGroupIdFieldNumber = 2,
kServiceIdFieldNumber = 3,
kMasterKeyInfoFieldNumber = 4,
};
// repeated .video_widevine.KeyInfo content_key_info = 5;
int content_key_info_size() const;
private:
int _internal_content_key_info_size() const;
public:
void clear_content_key_info();
::video_widevine::KeyInfo* mutable_content_key_info(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyInfo >*
mutable_content_key_info();
private:
const ::video_widevine::KeyInfo& _internal_content_key_info(int index) const;
::video_widevine::KeyInfo* _internal_add_content_key_info();
public:
const ::video_widevine::KeyInfo& content_key_info(int index) const;
::video_widevine::KeyInfo* add_content_key_info();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyInfo >&
content_key_info() const;
// optional string provider = 1;
bool has_provider() const;
private:
bool _internal_has_provider() const;
public:
void clear_provider();
const std::string& provider() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_provider(ArgT0&& arg0, ArgT... args);
std::string* mutable_provider();
PROTOBUF_MUST_USE_RESULT std::string* release_provider();
void set_allocated_provider(std::string* provider);
private:
const std::string& _internal_provider() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_provider(const std::string& value);
std::string* _internal_mutable_provider();
public:
// optional string group_id = 2;
bool has_group_id() const;
private:
bool _internal_has_group_id() const;
public:
void clear_group_id();
const std::string& group_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_group_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_group_id();
PROTOBUF_MUST_USE_RESULT std::string* release_group_id();
void set_allocated_group_id(std::string* group_id);
private:
const std::string& _internal_group_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_group_id(const std::string& value);
std::string* _internal_mutable_group_id();
public:
// optional string service_id = 3;
bool has_service_id() const;
private:
bool _internal_has_service_id() const;
public:
void clear_service_id();
const std::string& service_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_service_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_service_id();
PROTOBUF_MUST_USE_RESULT std::string* release_service_id();
void set_allocated_service_id(std::string* service_id);
private:
const std::string& _internal_service_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_service_id(const std::string& value);
std::string* _internal_mutable_service_id();
public:
// optional .video_widevine.KeyInfo master_key_info = 4;
bool has_master_key_info() const;
private:
bool _internal_has_master_key_info() const;
public:
void clear_master_key_info();
const ::video_widevine::KeyInfo& master_key_info() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::KeyInfo* release_master_key_info();
::video_widevine::KeyInfo* mutable_master_key_info();
void set_allocated_master_key_info(::video_widevine::KeyInfo* master_key_info);
private:
const ::video_widevine::KeyInfo& _internal_master_key_info() const;
::video_widevine::KeyInfo* _internal_mutable_master_key_info();
public:
void unsafe_arena_set_allocated_master_key_info(
::video_widevine::KeyInfo* master_key_info);
::video_widevine::KeyInfo* unsafe_arena_release_master_key_info();
// @@protoc_insertion_point(class_scope:video_widevine.PackagingRequest)
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< ::video_widevine::KeyInfo > content_key_info_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr provider_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr service_id_;
::video_widevine::KeyInfo* master_key_info_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class PackagingResponse_ProtectionInformation final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PackagingResponse.ProtectionInformation) */ {
public:
inline PackagingResponse_ProtectionInformation() : PackagingResponse_ProtectionInformation(nullptr) {}
~PackagingResponse_ProtectionInformation() override;
explicit constexpr PackagingResponse_ProtectionInformation(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PackagingResponse_ProtectionInformation(const PackagingResponse_ProtectionInformation& from);
PackagingResponse_ProtectionInformation(PackagingResponse_ProtectionInformation&& from) noexcept
: PackagingResponse_ProtectionInformation() {
*this = ::std::move(from);
}
inline PackagingResponse_ProtectionInformation& operator=(const PackagingResponse_ProtectionInformation& from) {
CopyFrom(from);
return *this;
}
inline PackagingResponse_ProtectionInformation& operator=(PackagingResponse_ProtectionInformation&& 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 PackagingResponse_ProtectionInformation& default_instance() {
return *internal_default_instance();
}
static inline const PackagingResponse_ProtectionInformation* internal_default_instance() {
return reinterpret_cast<const PackagingResponse_ProtectionInformation*>(
&_PackagingResponse_ProtectionInformation_default_instance_);
}
static constexpr int kIndexInFileMessages =
7;
friend void swap(PackagingResponse_ProtectionInformation& a, PackagingResponse_ProtectionInformation& b) {
a.Swap(&b);
}
inline void Swap(PackagingResponse_ProtectionInformation* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PackagingResponse_ProtectionInformation* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PackagingResponse_ProtectionInformation* New() const final {
return new PackagingResponse_ProtectionInformation();
}
PackagingResponse_ProtectionInformation* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PackagingResponse_ProtectionInformation>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PackagingResponse_ProtectionInformation& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PackagingResponse_ProtectionInformation& 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(PackagingResponse_ProtectionInformation* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PackagingResponse.ProtectionInformation";
}
protected:
explicit PackagingResponse_ProtectionInformation(::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 {
kBase64PsshFieldNumber = 2,
kKeyInfoFieldNumber = 1,
};
// optional string base64_pssh = 2;
bool has_base64_pssh() const;
private:
bool _internal_has_base64_pssh() const;
public:
void clear_base64_pssh();
const std::string& base64_pssh() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_base64_pssh(ArgT0&& arg0, ArgT... args);
std::string* mutable_base64_pssh();
PROTOBUF_MUST_USE_RESULT std::string* release_base64_pssh();
void set_allocated_base64_pssh(std::string* base64_pssh);
private:
const std::string& _internal_base64_pssh() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_base64_pssh(const std::string& value);
std::string* _internal_mutable_base64_pssh();
public:
// optional .video_widevine.KeyInfo key_info = 1;
bool has_key_info() const;
private:
bool _internal_has_key_info() const;
public:
void clear_key_info();
const ::video_widevine::KeyInfo& key_info() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::KeyInfo* release_key_info();
::video_widevine::KeyInfo* mutable_key_info();
void set_allocated_key_info(::video_widevine::KeyInfo* key_info);
private:
const ::video_widevine::KeyInfo& _internal_key_info() const;
::video_widevine::KeyInfo* _internal_mutable_key_info();
public:
void unsafe_arena_set_allocated_key_info(
::video_widevine::KeyInfo* key_info);
::video_widevine::KeyInfo* unsafe_arena_release_key_info();
// @@protoc_insertion_point(class_scope:video_widevine.PackagingResponse.ProtectionInformation)
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 base64_pssh_;
::video_widevine::KeyInfo* key_info_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class PackagingResponse final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.PackagingResponse) */ {
public:
inline PackagingResponse() : PackagingResponse(nullptr) {}
~PackagingResponse() override;
explicit constexpr PackagingResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
PackagingResponse(const PackagingResponse& from);
PackagingResponse(PackagingResponse&& from) noexcept
: PackagingResponse() {
*this = ::std::move(from);
}
inline PackagingResponse& operator=(const PackagingResponse& from) {
CopyFrom(from);
return *this;
}
inline PackagingResponse& operator=(PackagingResponse&& 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 PackagingResponse& default_instance() {
return *internal_default_instance();
}
static inline const PackagingResponse* internal_default_instance() {
return reinterpret_cast<const PackagingResponse*>(
&_PackagingResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
8;
friend void swap(PackagingResponse& a, PackagingResponse& b) {
a.Swap(&b);
}
inline void Swap(PackagingResponse* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(PackagingResponse* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline PackagingResponse* New() const final {
return new PackagingResponse();
}
PackagingResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<PackagingResponse>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const PackagingResponse& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const PackagingResponse& 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(PackagingResponse* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.PackagingResponse";
}
protected:
explicit PackagingResponse(::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 PackagingResponse_ProtectionInformation ProtectionInformation;
// accessors -------------------------------------------------------
enum : int {
kProtectionInfoFieldNumber = 4,
kStatusMessageFieldNumber = 2,
kCustomDataFieldNumber = 3,
};
// repeated .video_widevine.PackagingResponse.ProtectionInformation protection_info = 4;
int protection_info_size() const;
private:
int _internal_protection_info_size() const;
public:
void clear_protection_info();
::video_widevine::PackagingResponse_ProtectionInformation* mutable_protection_info(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::PackagingResponse_ProtectionInformation >*
mutable_protection_info();
private:
const ::video_widevine::PackagingResponse_ProtectionInformation& _internal_protection_info(int index) const;
::video_widevine::PackagingResponse_ProtectionInformation* _internal_add_protection_info();
public:
const ::video_widevine::PackagingResponse_ProtectionInformation& protection_info(int index) const;
::video_widevine::PackagingResponse_ProtectionInformation* add_protection_info();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::PackagingResponse_ProtectionInformation >&
protection_info() const;
// optional string status_message = 2;
bool has_status_message() const;
private:
bool _internal_has_status_message() const;
public:
void clear_status_message();
const std::string& status_message() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_status_message(ArgT0&& arg0, ArgT... args);
std::string* mutable_status_message();
PROTOBUF_MUST_USE_RESULT std::string* release_status_message();
void set_allocated_status_message(std::string* status_message);
private:
const std::string& _internal_status_message() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_status_message(const std::string& value);
std::string* _internal_mutable_status_message();
public:
// optional string custom_data = 3;
bool has_custom_data() const;
private:
bool _internal_has_custom_data() const;
public:
void clear_custom_data();
const std::string& custom_data() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_custom_data(ArgT0&& arg0, ArgT... args);
std::string* mutable_custom_data();
PROTOBUF_MUST_USE_RESULT std::string* release_custom_data();
void set_allocated_custom_data(std::string* custom_data);
private:
const std::string& _internal_custom_data() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_custom_data(const std::string& value);
std::string* _internal_mutable_custom_data();
public:
// @@protoc_insertion_point(class_scope:video_widevine.PackagingResponse)
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< ::video_widevine::PackagingResponse_ProtectionInformation > protection_info_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr status_message_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr custom_data_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class StreamIdInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.StreamIdInfo) */ {
public:
inline StreamIdInfo() : StreamIdInfo(nullptr) {}
~StreamIdInfo() override;
explicit constexpr StreamIdInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
StreamIdInfo(const StreamIdInfo& from);
StreamIdInfo(StreamIdInfo&& from) noexcept
: StreamIdInfo() {
*this = ::std::move(from);
}
inline StreamIdInfo& operator=(const StreamIdInfo& from) {
CopyFrom(from);
return *this;
}
inline StreamIdInfo& operator=(StreamIdInfo&& 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 StreamIdInfo& default_instance() {
return *internal_default_instance();
}
static inline const StreamIdInfo* internal_default_instance() {
return reinterpret_cast<const StreamIdInfo*>(
&_StreamIdInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
9;
friend void swap(StreamIdInfo& a, StreamIdInfo& b) {
a.Swap(&b);
}
inline void Swap(StreamIdInfo* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(StreamIdInfo* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline StreamIdInfo* New() const final {
return new StreamIdInfo();
}
StreamIdInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<StreamIdInfo>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const StreamIdInfo& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const StreamIdInfo& 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(StreamIdInfo* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.StreamIdInfo";
}
protected:
explicit StreamIdInfo(::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 {
kProviderFieldNumber = 1,
kGroupIdFieldNumber = 2,
kServiceIdFieldNumber = 3,
};
// optional string provider = 1;
bool has_provider() const;
private:
bool _internal_has_provider() const;
public:
void clear_provider();
const std::string& provider() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_provider(ArgT0&& arg0, ArgT... args);
std::string* mutable_provider();
PROTOBUF_MUST_USE_RESULT std::string* release_provider();
void set_allocated_provider(std::string* provider);
private:
const std::string& _internal_provider() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_provider(const std::string& value);
std::string* _internal_mutable_provider();
public:
// optional string group_id = 2;
bool has_group_id() const;
private:
bool _internal_has_group_id() const;
public:
void clear_group_id();
const std::string& group_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_group_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_group_id();
PROTOBUF_MUST_USE_RESULT std::string* release_group_id();
void set_allocated_group_id(std::string* group_id);
private:
const std::string& _internal_group_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_group_id(const std::string& value);
std::string* _internal_mutable_group_id();
public:
// optional string service_id = 3;
bool has_service_id() const;
private:
bool _internal_has_service_id() const;
public:
void clear_service_id();
const std::string& service_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_service_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_service_id();
PROTOBUF_MUST_USE_RESULT std::string* release_service_id();
void set_allocated_service_id(std::string* service_id);
private:
const std::string& _internal_service_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_service_id(const std::string& value);
std::string* _internal_mutable_service_id();
public:
// @@protoc_insertion_point(class_scope:video_widevine.StreamIdInfo)
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 provider_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr service_id_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class SecureStopRequest final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.SecureStopRequest) */ {
public:
inline SecureStopRequest() : SecureStopRequest(nullptr) {}
~SecureStopRequest() override;
explicit constexpr SecureStopRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SecureStopRequest(const SecureStopRequest& from);
SecureStopRequest(SecureStopRequest&& from) noexcept
: SecureStopRequest() {
*this = ::std::move(from);
}
inline SecureStopRequest& operator=(const SecureStopRequest& from) {
CopyFrom(from);
return *this;
}
inline SecureStopRequest& operator=(SecureStopRequest&& 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 SecureStopRequest& default_instance() {
return *internal_default_instance();
}
static inline const SecureStopRequest* internal_default_instance() {
return reinterpret_cast<const SecureStopRequest*>(
&_SecureStopRequest_default_instance_);
}
static constexpr int kIndexInFileMessages =
10;
friend void swap(SecureStopRequest& a, SecureStopRequest& b) {
a.Swap(&b);
}
inline void Swap(SecureStopRequest* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SecureStopRequest* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline SecureStopRequest* New() const final {
return new SecureStopRequest();
}
SecureStopRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<SecureStopRequest>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SecureStopRequest& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const SecureStopRequest& 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(SecureStopRequest* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.SecureStopRequest";
}
protected:
explicit SecureStopRequest(::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 {
kChallengeFieldNumber = 1,
kProviderFieldNumber = 2,
kContentIdFieldNumber = 3,
kRequestIdFieldNumber = 4,
};
// optional string challenge = 1;
bool has_challenge() const;
private:
bool _internal_has_challenge() const;
public:
void clear_challenge();
const std::string& challenge() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_challenge(ArgT0&& arg0, ArgT... args);
std::string* mutable_challenge();
PROTOBUF_MUST_USE_RESULT std::string* release_challenge();
void set_allocated_challenge(std::string* challenge);
private:
const std::string& _internal_challenge() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_challenge(const std::string& value);
std::string* _internal_mutable_challenge();
public:
// optional string provider = 2;
bool has_provider() const;
private:
bool _internal_has_provider() const;
public:
void clear_provider();
const std::string& provider() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_provider(ArgT0&& arg0, ArgT... args);
std::string* mutable_provider();
PROTOBUF_MUST_USE_RESULT std::string* release_provider();
void set_allocated_provider(std::string* provider);
private:
const std::string& _internal_provider() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_provider(const std::string& value);
std::string* _internal_mutable_provider();
public:
// optional string content_id = 3;
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 request_id = 4;
bool has_request_id() const;
private:
bool _internal_has_request_id() const;
public:
void clear_request_id();
const std::string& request_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_request_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_request_id();
PROTOBUF_MUST_USE_RESULT std::string* release_request_id();
void set_allocated_request_id(std::string* request_id);
private:
const std::string& _internal_request_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id(const std::string& value);
std::string* _internal_mutable_request_id();
public:
// @@protoc_insertion_point(class_scope:video_widevine.SecureStopRequest)
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 challenge_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr provider_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_id_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class SecureStopResponse_SecureStopRecord final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.SecureStopResponse.SecureStopRecord) */ {
public:
inline SecureStopResponse_SecureStopRecord() : SecureStopResponse_SecureStopRecord(nullptr) {}
~SecureStopResponse_SecureStopRecord() override;
explicit constexpr SecureStopResponse_SecureStopRecord(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SecureStopResponse_SecureStopRecord(const SecureStopResponse_SecureStopRecord& from);
SecureStopResponse_SecureStopRecord(SecureStopResponse_SecureStopRecord&& from) noexcept
: SecureStopResponse_SecureStopRecord() {
*this = ::std::move(from);
}
inline SecureStopResponse_SecureStopRecord& operator=(const SecureStopResponse_SecureStopRecord& from) {
CopyFrom(from);
return *this;
}
inline SecureStopResponse_SecureStopRecord& operator=(SecureStopResponse_SecureStopRecord&& 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 SecureStopResponse_SecureStopRecord& default_instance() {
return *internal_default_instance();
}
static inline const SecureStopResponse_SecureStopRecord* internal_default_instance() {
return reinterpret_cast<const SecureStopResponse_SecureStopRecord*>(
&_SecureStopResponse_SecureStopRecord_default_instance_);
}
static constexpr int kIndexInFileMessages =
11;
friend void swap(SecureStopResponse_SecureStopRecord& a, SecureStopResponse_SecureStopRecord& b) {
a.Swap(&b);
}
inline void Swap(SecureStopResponse_SecureStopRecord* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SecureStopResponse_SecureStopRecord* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline SecureStopResponse_SecureStopRecord* New() const final {
return new SecureStopResponse_SecureStopRecord();
}
SecureStopResponse_SecureStopRecord* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<SecureStopResponse_SecureStopRecord>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SecureStopResponse_SecureStopRecord& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const SecureStopResponse_SecureStopRecord& 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(SecureStopResponse_SecureStopRecord* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.SecureStopResponse.SecureStopRecord";
}
protected:
explicit SecureStopResponse_SecureStopRecord(::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 {
kSessionIdFieldNumber = 1,
kStartTimeSecondsFieldNumber = 2,
kUpdateTimeSecondsFieldNumber = 3,
kStoppedFieldNumber = 4,
};
// optional bytes session_id = 1;
bool has_session_id() const;
private:
bool _internal_has_session_id() const;
public:
void clear_session_id();
const std::string& session_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_session_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_session_id();
PROTOBUF_MUST_USE_RESULT std::string* release_session_id();
void set_allocated_session_id(std::string* session_id);
private:
const std::string& _internal_session_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_session_id(const std::string& value);
std::string* _internal_mutable_session_id();
public:
// optional int64 start_time_seconds = 2;
bool has_start_time_seconds() const;
private:
bool _internal_has_start_time_seconds() const;
public:
void clear_start_time_seconds();
::PROTOBUF_NAMESPACE_ID::int64 start_time_seconds() const;
void set_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_start_time_seconds() const;
void _internal_set_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// optional int64 update_time_seconds = 3;
bool has_update_time_seconds() const;
private:
bool _internal_has_update_time_seconds() const;
public:
void clear_update_time_seconds();
::PROTOBUF_NAMESPACE_ID::int64 update_time_seconds() const;
void set_update_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_update_time_seconds() const;
void _internal_set_update_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// optional bool stopped = 4;
bool has_stopped() const;
private:
bool _internal_has_stopped() const;
public:
void clear_stopped();
bool stopped() const;
void set_stopped(bool value);
private:
bool _internal_stopped() const;
void _internal_set_stopped(bool value);
public:
// @@protoc_insertion_point(class_scope:video_widevine.SecureStopResponse.SecureStopRecord)
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 session_id_;
::PROTOBUF_NAMESPACE_ID::int64 start_time_seconds_;
::PROTOBUF_NAMESPACE_ID::int64 update_time_seconds_;
bool stopped_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class SecureStopResponse_SecureStopChallenge final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.SecureStopResponse.SecureStopChallenge) */ {
public:
inline SecureStopResponse_SecureStopChallenge() : SecureStopResponse_SecureStopChallenge(nullptr) {}
~SecureStopResponse_SecureStopChallenge() override;
explicit constexpr SecureStopResponse_SecureStopChallenge(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SecureStopResponse_SecureStopChallenge(const SecureStopResponse_SecureStopChallenge& from);
SecureStopResponse_SecureStopChallenge(SecureStopResponse_SecureStopChallenge&& from) noexcept
: SecureStopResponse_SecureStopChallenge() {
*this = ::std::move(from);
}
inline SecureStopResponse_SecureStopChallenge& operator=(const SecureStopResponse_SecureStopChallenge& from) {
CopyFrom(from);
return *this;
}
inline SecureStopResponse_SecureStopChallenge& operator=(SecureStopResponse_SecureStopChallenge&& 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 SecureStopResponse_SecureStopChallenge& default_instance() {
return *internal_default_instance();
}
static inline const SecureStopResponse_SecureStopChallenge* internal_default_instance() {
return reinterpret_cast<const SecureStopResponse_SecureStopChallenge*>(
&_SecureStopResponse_SecureStopChallenge_default_instance_);
}
static constexpr int kIndexInFileMessages =
12;
friend void swap(SecureStopResponse_SecureStopChallenge& a, SecureStopResponse_SecureStopChallenge& b) {
a.Swap(&b);
}
inline void Swap(SecureStopResponse_SecureStopChallenge* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SecureStopResponse_SecureStopChallenge* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline SecureStopResponse_SecureStopChallenge* New() const final {
return new SecureStopResponse_SecureStopChallenge();
}
SecureStopResponse_SecureStopChallenge* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<SecureStopResponse_SecureStopChallenge>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SecureStopResponse_SecureStopChallenge& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const SecureStopResponse_SecureStopChallenge& 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(SecureStopResponse_SecureStopChallenge* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.SecureStopResponse.SecureStopChallenge";
}
protected:
explicit SecureStopResponse_SecureStopChallenge(::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 {
kPublisherIdFieldNumber = 1,
kClientCertificateFieldNumber = 2,
};
// optional bytes publisher_id = 1;
bool has_publisher_id() const;
private:
bool _internal_has_publisher_id() const;
public:
void clear_publisher_id();
const std::string& publisher_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_publisher_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_publisher_id();
PROTOBUF_MUST_USE_RESULT std::string* release_publisher_id();
void set_allocated_publisher_id(std::string* publisher_id);
private:
const std::string& _internal_publisher_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_publisher_id(const std::string& value);
std::string* _internal_mutable_publisher_id();
public:
// optional bytes client_certificate = 2;
bool has_client_certificate() const;
private:
bool _internal_has_client_certificate() const;
public:
void clear_client_certificate();
const std::string& client_certificate() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_client_certificate(ArgT0&& arg0, ArgT... args);
std::string* mutable_client_certificate();
PROTOBUF_MUST_USE_RESULT std::string* release_client_certificate();
void set_allocated_client_certificate(std::string* client_certificate);
private:
const std::string& _internal_client_certificate() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_certificate(const std::string& value);
std::string* _internal_mutable_client_certificate();
public:
// @@protoc_insertion_point(class_scope:video_widevine.SecureStopResponse.SecureStopChallenge)
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 publisher_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_certificate_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// -------------------------------------------------------------------
class SecureStopResponse final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.SecureStopResponse) */ {
public:
inline SecureStopResponse() : SecureStopResponse(nullptr) {}
~SecureStopResponse() override;
explicit constexpr SecureStopResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SecureStopResponse(const SecureStopResponse& from);
SecureStopResponse(SecureStopResponse&& from) noexcept
: SecureStopResponse() {
*this = ::std::move(from);
}
inline SecureStopResponse& operator=(const SecureStopResponse& from) {
CopyFrom(from);
return *this;
}
inline SecureStopResponse& operator=(SecureStopResponse&& 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 SecureStopResponse& default_instance() {
return *internal_default_instance();
}
static inline const SecureStopResponse* internal_default_instance() {
return reinterpret_cast<const SecureStopResponse*>(
&_SecureStopResponse_default_instance_);
}
static constexpr int kIndexInFileMessages =
13;
friend void swap(SecureStopResponse& a, SecureStopResponse& b) {
a.Swap(&b);
}
inline void Swap(SecureStopResponse* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SecureStopResponse* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline SecureStopResponse* New() const final {
return new SecureStopResponse();
}
SecureStopResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<SecureStopResponse>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SecureStopResponse& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const SecureStopResponse& 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(SecureStopResponse* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.SecureStopResponse";
}
protected:
explicit SecureStopResponse(::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 SecureStopResponse_SecureStopRecord SecureStopRecord;
typedef SecureStopResponse_SecureStopChallenge SecureStopChallenge;
// accessors -------------------------------------------------------
enum : int {
kSecureStopRecordFieldNumber = 1,
kSecureStopChallengeFieldNumber = 2,
};
// repeated .video_widevine.SecureStopResponse.SecureStopRecord secure_stop_record = 1;
int secure_stop_record_size() const;
private:
int _internal_secure_stop_record_size() const;
public:
void clear_secure_stop_record();
::video_widevine::SecureStopResponse_SecureStopRecord* mutable_secure_stop_record(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::SecureStopResponse_SecureStopRecord >*
mutable_secure_stop_record();
private:
const ::video_widevine::SecureStopResponse_SecureStopRecord& _internal_secure_stop_record(int index) const;
::video_widevine::SecureStopResponse_SecureStopRecord* _internal_add_secure_stop_record();
public:
const ::video_widevine::SecureStopResponse_SecureStopRecord& secure_stop_record(int index) const;
::video_widevine::SecureStopResponse_SecureStopRecord* add_secure_stop_record();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::SecureStopResponse_SecureStopRecord >&
secure_stop_record() const;
// optional .video_widevine.SecureStopResponse.SecureStopChallenge secure_stop_challenge = 2;
bool has_secure_stop_challenge() const;
private:
bool _internal_has_secure_stop_challenge() const;
public:
void clear_secure_stop_challenge();
const ::video_widevine::SecureStopResponse_SecureStopChallenge& secure_stop_challenge() const;
PROTOBUF_MUST_USE_RESULT ::video_widevine::SecureStopResponse_SecureStopChallenge* release_secure_stop_challenge();
::video_widevine::SecureStopResponse_SecureStopChallenge* mutable_secure_stop_challenge();
void set_allocated_secure_stop_challenge(::video_widevine::SecureStopResponse_SecureStopChallenge* secure_stop_challenge);
private:
const ::video_widevine::SecureStopResponse_SecureStopChallenge& _internal_secure_stop_challenge() const;
::video_widevine::SecureStopResponse_SecureStopChallenge* _internal_mutable_secure_stop_challenge();
public:
void unsafe_arena_set_allocated_secure_stop_challenge(
::video_widevine::SecureStopResponse_SecureStopChallenge* secure_stop_challenge);
::video_widevine::SecureStopResponse_SecureStopChallenge* unsafe_arena_release_secure_stop_challenge();
// @@protoc_insertion_point(class_scope:video_widevine.SecureStopResponse)
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< ::video_widevine::SecureStopResponse_SecureStopRecord > secure_stop_record_;
::video_widevine::SecureStopResponse_SecureStopChallenge* secure_stop_challenge_;
friend struct ::TableStruct_protos_2fpublic_2fplayready_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// PlayReadyPolicy
// optional int64 expiration_seconds = 1;
inline bool PlayReadyPolicy::_internal_has_expiration_seconds() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_expiration_seconds() const {
return _internal_has_expiration_seconds();
}
inline void PlayReadyPolicy::clear_expiration_seconds() {
expiration_seconds_ = int64_t{0};
_has_bits_[0] &= ~0x00000001u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::_internal_expiration_seconds() const {
return expiration_seconds_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::expiration_seconds() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.expiration_seconds)
return _internal_expiration_seconds();
}
inline void PlayReadyPolicy::_internal_set_expiration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_has_bits_[0] |= 0x00000001u;
expiration_seconds_ = value;
}
inline void PlayReadyPolicy::set_expiration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_internal_set_expiration_seconds(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.expiration_seconds)
}
// optional int64 first_play_expiration_seconds = 2;
inline bool PlayReadyPolicy::_internal_has_first_play_expiration_seconds() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_first_play_expiration_seconds() const {
return _internal_has_first_play_expiration_seconds();
}
inline void PlayReadyPolicy::clear_first_play_expiration_seconds() {
first_play_expiration_seconds_ = int64_t{0};
_has_bits_[0] &= ~0x00000002u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::_internal_first_play_expiration_seconds() const {
return first_play_expiration_seconds_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::first_play_expiration_seconds() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.first_play_expiration_seconds)
return _internal_first_play_expiration_seconds();
}
inline void PlayReadyPolicy::_internal_set_first_play_expiration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_has_bits_[0] |= 0x00000002u;
first_play_expiration_seconds_ = value;
}
inline void PlayReadyPolicy::set_first_play_expiration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_internal_set_first_play_expiration_seconds(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.first_play_expiration_seconds)
}
// optional int64 DEPRECATED_minimum_security_level = 3 [deprecated = true];
inline bool PlayReadyPolicy::_internal_has_deprecated_minimum_security_level() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_deprecated_minimum_security_level() const {
return _internal_has_deprecated_minimum_security_level();
}
inline void PlayReadyPolicy::clear_deprecated_minimum_security_level() {
deprecated_minimum_security_level_ = int64_t{0};
_has_bits_[0] &= ~0x00000004u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::_internal_deprecated_minimum_security_level() const {
return deprecated_minimum_security_level_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::deprecated_minimum_security_level() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.DEPRECATED_minimum_security_level)
return _internal_deprecated_minimum_security_level();
}
inline void PlayReadyPolicy::_internal_set_deprecated_minimum_security_level(::PROTOBUF_NAMESPACE_ID::int64 value) {
_has_bits_[0] |= 0x00000004u;
deprecated_minimum_security_level_ = value;
}
inline void PlayReadyPolicy::set_deprecated_minimum_security_level(::PROTOBUF_NAMESPACE_ID::int64 value) {
_internal_set_deprecated_minimum_security_level(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.DEPRECATED_minimum_security_level)
}
// optional bool DEPRECATED_digital_video_output_restriction = 4 [deprecated = true];
inline bool PlayReadyPolicy::_internal_has_deprecated_digital_video_output_restriction() const {
bool value = (_has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_deprecated_digital_video_output_restriction() const {
return _internal_has_deprecated_digital_video_output_restriction();
}
inline void PlayReadyPolicy::clear_deprecated_digital_video_output_restriction() {
deprecated_digital_video_output_restriction_ = false;
_has_bits_[0] &= ~0x00000010u;
}
inline bool PlayReadyPolicy::_internal_deprecated_digital_video_output_restriction() const {
return deprecated_digital_video_output_restriction_;
}
inline bool PlayReadyPolicy::deprecated_digital_video_output_restriction() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.DEPRECATED_digital_video_output_restriction)
return _internal_deprecated_digital_video_output_restriction();
}
inline void PlayReadyPolicy::_internal_set_deprecated_digital_video_output_restriction(bool value) {
_has_bits_[0] |= 0x00000010u;
deprecated_digital_video_output_restriction_ = value;
}
inline void PlayReadyPolicy::set_deprecated_digital_video_output_restriction(bool value) {
_internal_set_deprecated_digital_video_output_restriction(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.DEPRECATED_digital_video_output_restriction)
}
// optional bool analog_video_output_restriction = 5;
inline bool PlayReadyPolicy::_internal_has_analog_video_output_restriction() const {
bool value = (_has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_analog_video_output_restriction() const {
return _internal_has_analog_video_output_restriction();
}
inline void PlayReadyPolicy::clear_analog_video_output_restriction() {
analog_video_output_restriction_ = false;
_has_bits_[0] &= ~0x00000020u;
}
inline bool PlayReadyPolicy::_internal_analog_video_output_restriction() const {
return analog_video_output_restriction_;
}
inline bool PlayReadyPolicy::analog_video_output_restriction() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.analog_video_output_restriction)
return _internal_analog_video_output_restriction();
}
inline void PlayReadyPolicy::_internal_set_analog_video_output_restriction(bool value) {
_has_bits_[0] |= 0x00000020u;
analog_video_output_restriction_ = value;
}
inline void PlayReadyPolicy::set_analog_video_output_restriction(bool value) {
_internal_set_analog_video_output_restriction(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.analog_video_output_restriction)
}
// optional .video_widevine.PlayReadyPolicy.SecurityLevel minimum_device_security_level = 6;
inline bool PlayReadyPolicy::_internal_has_minimum_device_security_level() const {
bool value = (_has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_minimum_device_security_level() const {
return _internal_has_minimum_device_security_level();
}
inline void PlayReadyPolicy::clear_minimum_device_security_level() {
minimum_device_security_level_ = 0;
_has_bits_[0] &= ~0x00000008u;
}
inline ::video_widevine::PlayReadyPolicy_SecurityLevel PlayReadyPolicy::_internal_minimum_device_security_level() const {
return static_cast< ::video_widevine::PlayReadyPolicy_SecurityLevel >(minimum_device_security_level_);
}
inline ::video_widevine::PlayReadyPolicy_SecurityLevel PlayReadyPolicy::minimum_device_security_level() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.minimum_device_security_level)
return _internal_minimum_device_security_level();
}
inline void PlayReadyPolicy::_internal_set_minimum_device_security_level(::video_widevine::PlayReadyPolicy_SecurityLevel value) {
assert(::video_widevine::PlayReadyPolicy_SecurityLevel_IsValid(value));
_has_bits_[0] |= 0x00000008u;
minimum_device_security_level_ = value;
}
inline void PlayReadyPolicy::set_minimum_device_security_level(::video_widevine::PlayReadyPolicy_SecurityLevel value) {
_internal_set_minimum_device_security_level(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.minimum_device_security_level)
}
// optional .video_widevine.PlayReadyPolicy.HdcpLevel uncompressed_digital_video_output_restriction = 7;
inline bool PlayReadyPolicy::_internal_has_uncompressed_digital_video_output_restriction() const {
bool value = (_has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_uncompressed_digital_video_output_restriction() const {
return _internal_has_uncompressed_digital_video_output_restriction();
}
inline void PlayReadyPolicy::clear_uncompressed_digital_video_output_restriction() {
uncompressed_digital_video_output_restriction_ = 0;
_has_bits_[0] &= ~0x00000100u;
}
inline ::video_widevine::PlayReadyPolicy_HdcpLevel PlayReadyPolicy::_internal_uncompressed_digital_video_output_restriction() const {
return static_cast< ::video_widevine::PlayReadyPolicy_HdcpLevel >(uncompressed_digital_video_output_restriction_);
}
inline ::video_widevine::PlayReadyPolicy_HdcpLevel PlayReadyPolicy::uncompressed_digital_video_output_restriction() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.uncompressed_digital_video_output_restriction)
return _internal_uncompressed_digital_video_output_restriction();
}
inline void PlayReadyPolicy::_internal_set_uncompressed_digital_video_output_restriction(::video_widevine::PlayReadyPolicy_HdcpLevel value) {
assert(::video_widevine::PlayReadyPolicy_HdcpLevel_IsValid(value));
_has_bits_[0] |= 0x00000100u;
uncompressed_digital_video_output_restriction_ = value;
}
inline void PlayReadyPolicy::set_uncompressed_digital_video_output_restriction(::video_widevine::PlayReadyPolicy_HdcpLevel value) {
_internal_set_uncompressed_digital_video_output_restriction(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.uncompressed_digital_video_output_restriction)
}
// optional bool best_effort = 8;
inline bool PlayReadyPolicy::_internal_has_best_effort() const {
bool value = (_has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_best_effort() const {
return _internal_has_best_effort();
}
inline void PlayReadyPolicy::clear_best_effort() {
best_effort_ = false;
_has_bits_[0] &= ~0x00000040u;
}
inline bool PlayReadyPolicy::_internal_best_effort() const {
return best_effort_;
}
inline bool PlayReadyPolicy::best_effort() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.best_effort)
return _internal_best_effort();
}
inline void PlayReadyPolicy::_internal_set_best_effort(bool value) {
_has_bits_[0] |= 0x00000040u;
best_effort_ = value;
}
inline void PlayReadyPolicy::set_best_effort(bool value) {
_internal_set_best_effort(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.best_effort)
}
// optional bool can_persist = 9;
inline bool PlayReadyPolicy::_internal_has_can_persist() const {
bool value = (_has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_can_persist() const {
return _internal_has_can_persist();
}
inline void PlayReadyPolicy::clear_can_persist() {
can_persist_ = false;
_has_bits_[0] &= ~0x00000080u;
}
inline bool PlayReadyPolicy::_internal_can_persist() const {
return can_persist_;
}
inline bool PlayReadyPolicy::can_persist() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.can_persist)
return _internal_can_persist();
}
inline void PlayReadyPolicy::_internal_set_can_persist(bool value) {
_has_bits_[0] |= 0x00000080u;
can_persist_ = value;
}
inline void PlayReadyPolicy::set_can_persist(bool value) {
_internal_set_can_persist(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.can_persist)
}
// optional .video_widevine.PlayReadyPolicy.CGMS cgms = 10;
inline bool PlayReadyPolicy::_internal_has_cgms() const {
bool value = (_has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_cgms() const {
return _internal_has_cgms();
}
inline void PlayReadyPolicy::clear_cgms() {
cgms_ = 0;
_has_bits_[0] &= ~0x00000200u;
}
inline ::video_widevine::PlayReadyPolicy_CGMS PlayReadyPolicy::_internal_cgms() const {
return static_cast< ::video_widevine::PlayReadyPolicy_CGMS >(cgms_);
}
inline ::video_widevine::PlayReadyPolicy_CGMS PlayReadyPolicy::cgms() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.cgms)
return _internal_cgms();
}
inline void PlayReadyPolicy::_internal_set_cgms(::video_widevine::PlayReadyPolicy_CGMS value) {
assert(::video_widevine::PlayReadyPolicy_CGMS_IsValid(value));
_has_bits_[0] |= 0x00000200u;
cgms_ = value;
}
inline void PlayReadyPolicy::set_cgms(::video_widevine::PlayReadyPolicy_CGMS value) {
_internal_set_cgms(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.cgms)
}
// optional .video_widevine.PlayReadyPolicy.HdcpLevel requested_uncompressed_digital_video_output_restriction = 11;
inline bool PlayReadyPolicy::_internal_has_requested_uncompressed_digital_video_output_restriction() const {
bool value = (_has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_requested_uncompressed_digital_video_output_restriction() const {
return _internal_has_requested_uncompressed_digital_video_output_restriction();
}
inline void PlayReadyPolicy::clear_requested_uncompressed_digital_video_output_restriction() {
requested_uncompressed_digital_video_output_restriction_ = 0;
_has_bits_[0] &= ~0x00000400u;
}
inline ::video_widevine::PlayReadyPolicy_HdcpLevel PlayReadyPolicy::_internal_requested_uncompressed_digital_video_output_restriction() const {
return static_cast< ::video_widevine::PlayReadyPolicy_HdcpLevel >(requested_uncompressed_digital_video_output_restriction_);
}
inline ::video_widevine::PlayReadyPolicy_HdcpLevel PlayReadyPolicy::requested_uncompressed_digital_video_output_restriction() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.requested_uncompressed_digital_video_output_restriction)
return _internal_requested_uncompressed_digital_video_output_restriction();
}
inline void PlayReadyPolicy::_internal_set_requested_uncompressed_digital_video_output_restriction(::video_widevine::PlayReadyPolicy_HdcpLevel value) {
assert(::video_widevine::PlayReadyPolicy_HdcpLevel_IsValid(value));
_has_bits_[0] |= 0x00000400u;
requested_uncompressed_digital_video_output_restriction_ = value;
}
inline void PlayReadyPolicy::set_requested_uncompressed_digital_video_output_restriction(::video_widevine::PlayReadyPolicy_HdcpLevel value) {
_internal_set_requested_uncompressed_digital_video_output_restriction(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.requested_uncompressed_digital_video_output_restriction)
}
// optional .video_widevine.PlayReadyPolicy.CGMS requested_cgms = 12;
inline bool PlayReadyPolicy::_internal_has_requested_cgms() const {
bool value = (_has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_requested_cgms() const {
return _internal_has_requested_cgms();
}
inline void PlayReadyPolicy::clear_requested_cgms() {
requested_cgms_ = 0;
_has_bits_[0] &= ~0x00000800u;
}
inline ::video_widevine::PlayReadyPolicy_CGMS PlayReadyPolicy::_internal_requested_cgms() const {
return static_cast< ::video_widevine::PlayReadyPolicy_CGMS >(requested_cgms_);
}
inline ::video_widevine::PlayReadyPolicy_CGMS PlayReadyPolicy::requested_cgms() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.requested_cgms)
return _internal_requested_cgms();
}
inline void PlayReadyPolicy::_internal_set_requested_cgms(::video_widevine::PlayReadyPolicy_CGMS value) {
assert(::video_widevine::PlayReadyPolicy_CGMS_IsValid(value));
_has_bits_[0] |= 0x00000800u;
requested_cgms_ = value;
}
inline void PlayReadyPolicy::set_requested_cgms(::video_widevine::PlayReadyPolicy_CGMS value) {
_internal_set_requested_cgms(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.requested_cgms)
}
// optional bool can_renew = 13 [default = false];
inline bool PlayReadyPolicy::_internal_has_can_renew() const {
bool value = (_has_bits_[0] & 0x00004000u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_can_renew() const {
return _internal_has_can_renew();
}
inline void PlayReadyPolicy::clear_can_renew() {
can_renew_ = false;
_has_bits_[0] &= ~0x00004000u;
}
inline bool PlayReadyPolicy::_internal_can_renew() const {
return can_renew_;
}
inline bool PlayReadyPolicy::can_renew() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.can_renew)
return _internal_can_renew();
}
inline void PlayReadyPolicy::_internal_set_can_renew(bool value) {
_has_bits_[0] |= 0x00004000u;
can_renew_ = value;
}
inline void PlayReadyPolicy::set_can_renew(bool value) {
_internal_set_can_renew(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.can_renew)
}
// optional bool soft_enforce_rental_duration = 14 [default = false];
inline bool PlayReadyPolicy::_internal_has_soft_enforce_rental_duration() const {
bool value = (_has_bits_[0] & 0x00008000u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_soft_enforce_rental_duration() const {
return _internal_has_soft_enforce_rental_duration();
}
inline void PlayReadyPolicy::clear_soft_enforce_rental_duration() {
soft_enforce_rental_duration_ = false;
_has_bits_[0] &= ~0x00008000u;
}
inline bool PlayReadyPolicy::_internal_soft_enforce_rental_duration() const {
return soft_enforce_rental_duration_;
}
inline bool PlayReadyPolicy::soft_enforce_rental_duration() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.soft_enforce_rental_duration)
return _internal_soft_enforce_rental_duration();
}
inline void PlayReadyPolicy::_internal_set_soft_enforce_rental_duration(bool value) {
_has_bits_[0] |= 0x00008000u;
soft_enforce_rental_duration_ = value;
}
inline void PlayReadyPolicy::set_soft_enforce_rental_duration(bool value) {
_internal_set_soft_enforce_rental_duration(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.soft_enforce_rental_duration)
}
// optional bool soft_enforce_playback_duration = 15 [default = false];
inline bool PlayReadyPolicy::_internal_has_soft_enforce_playback_duration() const {
bool value = (_has_bits_[0] & 0x00010000u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_soft_enforce_playback_duration() const {
return _internal_has_soft_enforce_playback_duration();
}
inline void PlayReadyPolicy::clear_soft_enforce_playback_duration() {
soft_enforce_playback_duration_ = false;
_has_bits_[0] &= ~0x00010000u;
}
inline bool PlayReadyPolicy::_internal_soft_enforce_playback_duration() const {
return soft_enforce_playback_duration_;
}
inline bool PlayReadyPolicy::soft_enforce_playback_duration() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.soft_enforce_playback_duration)
return _internal_soft_enforce_playback_duration();
}
inline void PlayReadyPolicy::_internal_set_soft_enforce_playback_duration(bool value) {
_has_bits_[0] |= 0x00010000u;
soft_enforce_playback_duration_ = value;
}
inline void PlayReadyPolicy::set_soft_enforce_playback_duration(bool value) {
_internal_set_soft_enforce_playback_duration(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.soft_enforce_playback_duration)
}
// optional int64 renewal_recovery_duration_seconds = 16;
inline bool PlayReadyPolicy::_internal_has_renewal_recovery_duration_seconds() const {
bool value = (_has_bits_[0] & 0x00001000u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_renewal_recovery_duration_seconds() const {
return _internal_has_renewal_recovery_duration_seconds();
}
inline void PlayReadyPolicy::clear_renewal_recovery_duration_seconds() {
renewal_recovery_duration_seconds_ = int64_t{0};
_has_bits_[0] &= ~0x00001000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::_internal_renewal_recovery_duration_seconds() const {
return renewal_recovery_duration_seconds_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::renewal_recovery_duration_seconds() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.renewal_recovery_duration_seconds)
return _internal_renewal_recovery_duration_seconds();
}
inline void PlayReadyPolicy::_internal_set_renewal_recovery_duration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_has_bits_[0] |= 0x00001000u;
renewal_recovery_duration_seconds_ = value;
}
inline void PlayReadyPolicy::set_renewal_recovery_duration_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_internal_set_renewal_recovery_duration_seconds(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.renewal_recovery_duration_seconds)
}
// optional int64 renewal_delay_seconds = 17;
inline bool PlayReadyPolicy::_internal_has_renewal_delay_seconds() const {
bool value = (_has_bits_[0] & 0x00002000u) != 0;
return value;
}
inline bool PlayReadyPolicy::has_renewal_delay_seconds() const {
return _internal_has_renewal_delay_seconds();
}
inline void PlayReadyPolicy::clear_renewal_delay_seconds() {
renewal_delay_seconds_ = int64_t{0};
_has_bits_[0] &= ~0x00002000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::_internal_renewal_delay_seconds() const {
return renewal_delay_seconds_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyPolicy::renewal_delay_seconds() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyPolicy.renewal_delay_seconds)
return _internal_renewal_delay_seconds();
}
inline void PlayReadyPolicy::_internal_set_renewal_delay_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_has_bits_[0] |= 0x00002000u;
renewal_delay_seconds_ = value;
}
inline void PlayReadyPolicy::set_renewal_delay_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_internal_set_renewal_delay_seconds(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyPolicy.renewal_delay_seconds)
}
// -------------------------------------------------------------------
// KeyInfo
// optional string key_id_guid = 1;
inline bool KeyInfo::_internal_has_key_id_guid() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool KeyInfo::has_key_id_guid() const {
return _internal_has_key_id_guid();
}
inline void KeyInfo::clear_key_id_guid() {
key_id_guid_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& KeyInfo::key_id_guid() const {
// @@protoc_insertion_point(field_get:video_widevine.KeyInfo.key_id_guid)
return _internal_key_id_guid();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void KeyInfo::set_key_id_guid(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
key_id_guid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.KeyInfo.key_id_guid)
}
inline std::string* KeyInfo::mutable_key_id_guid() {
std::string* _s = _internal_mutable_key_id_guid();
// @@protoc_insertion_point(field_mutable:video_widevine.KeyInfo.key_id_guid)
return _s;
}
inline const std::string& KeyInfo::_internal_key_id_guid() const {
return key_id_guid_.Get();
}
inline void KeyInfo::_internal_set_key_id_guid(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
key_id_guid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* KeyInfo::_internal_mutable_key_id_guid() {
_has_bits_[0] |= 0x00000001u;
return key_id_guid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* KeyInfo::release_key_id_guid() {
// @@protoc_insertion_point(field_release:video_widevine.KeyInfo.key_id_guid)
if (!_internal_has_key_id_guid()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return key_id_guid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void KeyInfo::set_allocated_key_id_guid(std::string* key_id_guid) {
if (key_id_guid != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
key_id_guid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key_id_guid,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.KeyInfo.key_id_guid)
}
// optional string key_base64 = 2;
inline bool KeyInfo::_internal_has_key_base64() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool KeyInfo::has_key_base64() const {
return _internal_has_key_base64();
}
inline void KeyInfo::clear_key_base64() {
key_base64_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& KeyInfo::key_base64() const {
// @@protoc_insertion_point(field_get:video_widevine.KeyInfo.key_base64)
return _internal_key_base64();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void KeyInfo::set_key_base64(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
key_base64_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.KeyInfo.key_base64)
}
inline std::string* KeyInfo::mutable_key_base64() {
std::string* _s = _internal_mutable_key_base64();
// @@protoc_insertion_point(field_mutable:video_widevine.KeyInfo.key_base64)
return _s;
}
inline const std::string& KeyInfo::_internal_key_base64() const {
return key_base64_.Get();
}
inline void KeyInfo::_internal_set_key_base64(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
key_base64_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* KeyInfo::_internal_mutable_key_base64() {
_has_bits_[0] |= 0x00000002u;
return key_base64_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* KeyInfo::release_key_base64() {
// @@protoc_insertion_point(field_release:video_widevine.KeyInfo.key_base64)
if (!_internal_has_key_base64()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return key_base64_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void KeyInfo::set_allocated_key_base64(std::string* key_base64) {
if (key_base64 != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
key_base64_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key_base64,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.KeyInfo.key_base64)
}
// optional .video_widevine.KeyInfo.Type type = 3;
inline bool KeyInfo::_internal_has_type() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool KeyInfo::has_type() const {
return _internal_has_type();
}
inline void KeyInfo::clear_type() {
type_ = 0;
_has_bits_[0] &= ~0x00000004u;
}
inline ::video_widevine::KeyInfo_Type KeyInfo::_internal_type() const {
return static_cast< ::video_widevine::KeyInfo_Type >(type_);
}
inline ::video_widevine::KeyInfo_Type KeyInfo::type() const {
// @@protoc_insertion_point(field_get:video_widevine.KeyInfo.type)
return _internal_type();
}
inline void KeyInfo::_internal_set_type(::video_widevine::KeyInfo_Type value) {
assert(::video_widevine::KeyInfo_Type_IsValid(value));
_has_bits_[0] |= 0x00000004u;
type_ = value;
}
inline void KeyInfo::set_type(::video_widevine::KeyInfo_Type value) {
_internal_set_type(value);
// @@protoc_insertion_point(field_set:video_widevine.KeyInfo.type)
}
// -------------------------------------------------------------------
// PlayReadyLicenseRequest_RootLicenseInfo
// optional string group_id = 1;
inline bool PlayReadyLicenseRequest_RootLicenseInfo::_internal_has_group_id() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest_RootLicenseInfo::has_group_id() const {
return _internal_has_group_id();
}
inline void PlayReadyLicenseRequest_RootLicenseInfo::clear_group_id() {
group_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PlayReadyLicenseRequest_RootLicenseInfo::group_id() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.group_id)
return _internal_group_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest_RootLicenseInfo::set_group_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
group_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.group_id)
}
inline std::string* PlayReadyLicenseRequest_RootLicenseInfo::mutable_group_id() {
std::string* _s = _internal_mutable_group_id();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.group_id)
return _s;
}
inline const std::string& PlayReadyLicenseRequest_RootLicenseInfo::_internal_group_id() const {
return group_id_.Get();
}
inline void PlayReadyLicenseRequest_RootLicenseInfo::_internal_set_group_id(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
group_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest_RootLicenseInfo::_internal_mutable_group_id() {
_has_bits_[0] |= 0x00000001u;
return group_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest_RootLicenseInfo::release_group_id() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.group_id)
if (!_internal_has_group_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return group_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest_RootLicenseInfo::set_allocated_group_id(std::string* group_id) {
if (group_id != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
group_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), group_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.group_id)
}
// optional string service_id = 2;
inline bool PlayReadyLicenseRequest_RootLicenseInfo::_internal_has_service_id() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest_RootLicenseInfo::has_service_id() const {
return _internal_has_service_id();
}
inline void PlayReadyLicenseRequest_RootLicenseInfo::clear_service_id() {
service_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& PlayReadyLicenseRequest_RootLicenseInfo::service_id() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.service_id)
return _internal_service_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest_RootLicenseInfo::set_service_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
service_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.service_id)
}
inline std::string* PlayReadyLicenseRequest_RootLicenseInfo::mutable_service_id() {
std::string* _s = _internal_mutable_service_id();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.service_id)
return _s;
}
inline const std::string& PlayReadyLicenseRequest_RootLicenseInfo::_internal_service_id() const {
return service_id_.Get();
}
inline void PlayReadyLicenseRequest_RootLicenseInfo::_internal_set_service_id(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
service_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest_RootLicenseInfo::_internal_mutable_service_id() {
_has_bits_[0] |= 0x00000002u;
return service_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest_RootLicenseInfo::release_service_id() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.service_id)
if (!_internal_has_service_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return service_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest_RootLicenseInfo::set_allocated_service_id(std::string* service_id) {
if (service_id != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
service_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), service_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.service_id)
}
// optional .video_widevine.KeyInfo master_key_info = 3;
inline bool PlayReadyLicenseRequest_RootLicenseInfo::_internal_has_master_key_info() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
PROTOBUF_ASSUME(!value || master_key_info_ != nullptr);
return value;
}
inline bool PlayReadyLicenseRequest_RootLicenseInfo::has_master_key_info() const {
return _internal_has_master_key_info();
}
inline void PlayReadyLicenseRequest_RootLicenseInfo::clear_master_key_info() {
if (master_key_info_ != nullptr) master_key_info_->Clear();
_has_bits_[0] &= ~0x00000004u;
}
inline const ::video_widevine::KeyInfo& PlayReadyLicenseRequest_RootLicenseInfo::_internal_master_key_info() const {
const ::video_widevine::KeyInfo* p = master_key_info_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::KeyInfo&>(
::video_widevine::_KeyInfo_default_instance_);
}
inline const ::video_widevine::KeyInfo& PlayReadyLicenseRequest_RootLicenseInfo::master_key_info() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.master_key_info)
return _internal_master_key_info();
}
inline void PlayReadyLicenseRequest_RootLicenseInfo::unsafe_arena_set_allocated_master_key_info(
::video_widevine::KeyInfo* master_key_info) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(master_key_info_);
}
master_key_info_ = master_key_info;
if (master_key_info) {
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.master_key_info)
}
inline ::video_widevine::KeyInfo* PlayReadyLicenseRequest_RootLicenseInfo::release_master_key_info() {
_has_bits_[0] &= ~0x00000004u;
::video_widevine::KeyInfo* temp = master_key_info_;
master_key_info_ = 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::KeyInfo* PlayReadyLicenseRequest_RootLicenseInfo::unsafe_arena_release_master_key_info() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.master_key_info)
_has_bits_[0] &= ~0x00000004u;
::video_widevine::KeyInfo* temp = master_key_info_;
master_key_info_ = nullptr;
return temp;
}
inline ::video_widevine::KeyInfo* PlayReadyLicenseRequest_RootLicenseInfo::_internal_mutable_master_key_info() {
_has_bits_[0] |= 0x00000004u;
if (master_key_info_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::KeyInfo>(GetArenaForAllocation());
master_key_info_ = p;
}
return master_key_info_;
}
inline ::video_widevine::KeyInfo* PlayReadyLicenseRequest_RootLicenseInfo::mutable_master_key_info() {
::video_widevine::KeyInfo* _msg = _internal_mutable_master_key_info();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.master_key_info)
return _msg;
}
inline void PlayReadyLicenseRequest_RootLicenseInfo::set_allocated_master_key_info(::video_widevine::KeyInfo* master_key_info) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete master_key_info_;
}
if (master_key_info) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::video_widevine::KeyInfo>::GetOwningArena(master_key_info);
if (message_arena != submessage_arena) {
master_key_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, master_key_info, submessage_arena);
}
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
master_key_info_ = master_key_info;
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.RootLicenseInfo.master_key_info)
}
// -------------------------------------------------------------------
// PlayReadyLicenseRequest
// optional string challenge = 1;
inline bool PlayReadyLicenseRequest::_internal_has_challenge() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_challenge() const {
return _internal_has_challenge();
}
inline void PlayReadyLicenseRequest::clear_challenge() {
challenge_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PlayReadyLicenseRequest::challenge() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.challenge)
return _internal_challenge();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest::set_challenge(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
challenge_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.challenge)
}
inline std::string* PlayReadyLicenseRequest::mutable_challenge() {
std::string* _s = _internal_mutable_challenge();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.challenge)
return _s;
}
inline const std::string& PlayReadyLicenseRequest::_internal_challenge() const {
return challenge_.Get();
}
inline void PlayReadyLicenseRequest::_internal_set_challenge(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
challenge_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::_internal_mutable_challenge() {
_has_bits_[0] |= 0x00000001u;
return challenge_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::release_challenge() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.challenge)
if (!_internal_has_challenge()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return challenge_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest::set_allocated_challenge(std::string* challenge) {
if (challenge != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
challenge_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), challenge,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.challenge)
}
// optional string provider = 2;
inline bool PlayReadyLicenseRequest::_internal_has_provider() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_provider() const {
return _internal_has_provider();
}
inline void PlayReadyLicenseRequest::clear_provider() {
provider_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& PlayReadyLicenseRequest::provider() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.provider)
return _internal_provider();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest::set_provider(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.provider)
}
inline std::string* PlayReadyLicenseRequest::mutable_provider() {
std::string* _s = _internal_mutable_provider();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.provider)
return _s;
}
inline const std::string& PlayReadyLicenseRequest::_internal_provider() const {
return provider_.Get();
}
inline void PlayReadyLicenseRequest::_internal_set_provider(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::_internal_mutable_provider() {
_has_bits_[0] |= 0x00000002u;
return provider_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::release_provider() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.provider)
if (!_internal_has_provider()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return provider_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest::set_allocated_provider(std::string* provider) {
if (provider != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
provider_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), provider,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.provider)
}
// optional string content_id = 3;
inline bool PlayReadyLicenseRequest::_internal_has_content_id() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_content_id() const {
return _internal_has_content_id();
}
inline void PlayReadyLicenseRequest::clear_content_id() {
content_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000004u;
}
inline const std::string& PlayReadyLicenseRequest::content_id() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.content_id)
return _internal_content_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest::set_content_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000004u;
content_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.content_id)
}
inline std::string* PlayReadyLicenseRequest::mutable_content_id() {
std::string* _s = _internal_mutable_content_id();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.content_id)
return _s;
}
inline const std::string& PlayReadyLicenseRequest::_internal_content_id() const {
return content_id_.Get();
}
inline void PlayReadyLicenseRequest::_internal_set_content_id(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
content_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::_internal_mutable_content_id() {
_has_bits_[0] |= 0x00000004u;
return content_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::release_content_id() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.content_id)
if (!_internal_has_content_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
return content_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest::set_allocated_content_id(std::string* content_id) {
if (content_id != nullptr) {
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
content_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), content_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.content_id)
}
// optional string request_id = 4;
inline bool PlayReadyLicenseRequest::_internal_has_request_id() const {
bool value = (_has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_request_id() const {
return _internal_has_request_id();
}
inline void PlayReadyLicenseRequest::clear_request_id() {
request_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000008u;
}
inline const std::string& PlayReadyLicenseRequest::request_id() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.request_id)
return _internal_request_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest::set_request_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000008u;
request_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.request_id)
}
inline std::string* PlayReadyLicenseRequest::mutable_request_id() {
std::string* _s = _internal_mutable_request_id();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.request_id)
return _s;
}
inline const std::string& PlayReadyLicenseRequest::_internal_request_id() const {
return request_id_.Get();
}
inline void PlayReadyLicenseRequest::_internal_set_request_id(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
request_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::_internal_mutable_request_id() {
_has_bits_[0] |= 0x00000008u;
return request_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::release_request_id() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.request_id)
if (!_internal_has_request_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
return request_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest::set_allocated_request_id(std::string* request_id) {
if (request_id != nullptr) {
_has_bits_[0] |= 0x00000008u;
} else {
_has_bits_[0] &= ~0x00000008u;
}
request_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.request_id)
}
// optional string content_key_base64 = 5;
inline bool PlayReadyLicenseRequest::_internal_has_content_key_base64() const {
bool value = (_has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_content_key_base64() const {
return _internal_has_content_key_base64();
}
inline void PlayReadyLicenseRequest::clear_content_key_base64() {
content_key_base64_.ClearToEmpty();
_has_bits_[0] &= ~0x00000010u;
}
inline const std::string& PlayReadyLicenseRequest::content_key_base64() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.content_key_base64)
return _internal_content_key_base64();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest::set_content_key_base64(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000010u;
content_key_base64_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.content_key_base64)
}
inline std::string* PlayReadyLicenseRequest::mutable_content_key_base64() {
std::string* _s = _internal_mutable_content_key_base64();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.content_key_base64)
return _s;
}
inline const std::string& PlayReadyLicenseRequest::_internal_content_key_base64() const {
return content_key_base64_.Get();
}
inline void PlayReadyLicenseRequest::_internal_set_content_key_base64(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
content_key_base64_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::_internal_mutable_content_key_base64() {
_has_bits_[0] |= 0x00000010u;
return content_key_base64_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::release_content_key_base64() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.content_key_base64)
if (!_internal_has_content_key_base64()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
return content_key_base64_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest::set_allocated_content_key_base64(std::string* content_key_base64) {
if (content_key_base64 != nullptr) {
_has_bits_[0] |= 0x00000010u;
} else {
_has_bits_[0] &= ~0x00000010u;
}
content_key_base64_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), content_key_base64,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.content_key_base64)
}
// optional .video_widevine.PlayReadyPolicy policy = 6;
inline bool PlayReadyLicenseRequest::_internal_has_policy() const {
bool value = (_has_bits_[0] & 0x00000100u) != 0;
PROTOBUF_ASSUME(!value || policy_ != nullptr);
return value;
}
inline bool PlayReadyLicenseRequest::has_policy() const {
return _internal_has_policy();
}
inline void PlayReadyLicenseRequest::clear_policy() {
if (policy_ != nullptr) policy_->Clear();
_has_bits_[0] &= ~0x00000100u;
}
inline const ::video_widevine::PlayReadyPolicy& PlayReadyLicenseRequest::_internal_policy() const {
const ::video_widevine::PlayReadyPolicy* p = policy_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::PlayReadyPolicy&>(
::video_widevine::_PlayReadyPolicy_default_instance_);
}
inline const ::video_widevine::PlayReadyPolicy& PlayReadyLicenseRequest::policy() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.policy)
return _internal_policy();
}
inline void PlayReadyLicenseRequest::unsafe_arena_set_allocated_policy(
::video_widevine::PlayReadyPolicy* policy) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(policy_);
}
policy_ = policy;
if (policy) {
_has_bits_[0] |= 0x00000100u;
} else {
_has_bits_[0] &= ~0x00000100u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.PlayReadyLicenseRequest.policy)
}
inline ::video_widevine::PlayReadyPolicy* PlayReadyLicenseRequest::release_policy() {
_has_bits_[0] &= ~0x00000100u;
::video_widevine::PlayReadyPolicy* 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::PlayReadyPolicy* PlayReadyLicenseRequest::unsafe_arena_release_policy() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.policy)
_has_bits_[0] &= ~0x00000100u;
::video_widevine::PlayReadyPolicy* temp = policy_;
policy_ = nullptr;
return temp;
}
inline ::video_widevine::PlayReadyPolicy* PlayReadyLicenseRequest::_internal_mutable_policy() {
_has_bits_[0] |= 0x00000100u;
if (policy_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::PlayReadyPolicy>(GetArenaForAllocation());
policy_ = p;
}
return policy_;
}
inline ::video_widevine::PlayReadyPolicy* PlayReadyLicenseRequest::mutable_policy() {
::video_widevine::PlayReadyPolicy* _msg = _internal_mutable_policy();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.policy)
return _msg;
}
inline void PlayReadyLicenseRequest::set_allocated_policy(::video_widevine::PlayReadyPolicy* policy) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete policy_;
}
if (policy) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::video_widevine::PlayReadyPolicy>::GetOwningArena(policy);
if (message_arena != submessage_arena) {
policy = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, policy, submessage_arena);
}
_has_bits_[0] |= 0x00000100u;
} else {
_has_bits_[0] &= ~0x00000100u;
}
policy_ = policy;
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.policy)
}
// optional bool extract_device_info = 7;
inline bool PlayReadyLicenseRequest::_internal_has_extract_device_info() const {
bool value = (_has_bits_[0] & 0x00001000u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_extract_device_info() const {
return _internal_has_extract_device_info();
}
inline void PlayReadyLicenseRequest::clear_extract_device_info() {
extract_device_info_ = false;
_has_bits_[0] &= ~0x00001000u;
}
inline bool PlayReadyLicenseRequest::_internal_extract_device_info() const {
return extract_device_info_;
}
inline bool PlayReadyLicenseRequest::extract_device_info() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.extract_device_info)
return _internal_extract_device_info();
}
inline void PlayReadyLicenseRequest::_internal_set_extract_device_info(bool value) {
_has_bits_[0] |= 0x00001000u;
extract_device_info_ = value;
}
inline void PlayReadyLicenseRequest::set_extract_device_info(bool value) {
_internal_set_extract_device_info(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.extract_device_info)
}
// optional string client_specified_make = 8;
inline bool PlayReadyLicenseRequest::_internal_has_client_specified_make() const {
bool value = (_has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_client_specified_make() const {
return _internal_has_client_specified_make();
}
inline void PlayReadyLicenseRequest::clear_client_specified_make() {
client_specified_make_.ClearToEmpty();
_has_bits_[0] &= ~0x00000020u;
}
inline const std::string& PlayReadyLicenseRequest::client_specified_make() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.client_specified_make)
return _internal_client_specified_make();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest::set_client_specified_make(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000020u;
client_specified_make_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.client_specified_make)
}
inline std::string* PlayReadyLicenseRequest::mutable_client_specified_make() {
std::string* _s = _internal_mutable_client_specified_make();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.client_specified_make)
return _s;
}
inline const std::string& PlayReadyLicenseRequest::_internal_client_specified_make() const {
return client_specified_make_.Get();
}
inline void PlayReadyLicenseRequest::_internal_set_client_specified_make(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
client_specified_make_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::_internal_mutable_client_specified_make() {
_has_bits_[0] |= 0x00000020u;
return client_specified_make_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::release_client_specified_make() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.client_specified_make)
if (!_internal_has_client_specified_make()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
return client_specified_make_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest::set_allocated_client_specified_make(std::string* client_specified_make) {
if (client_specified_make != nullptr) {
_has_bits_[0] |= 0x00000020u;
} else {
_has_bits_[0] &= ~0x00000020u;
}
client_specified_make_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), client_specified_make,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.client_specified_make)
}
// optional string client_specified_model = 9;
inline bool PlayReadyLicenseRequest::_internal_has_client_specified_model() const {
bool value = (_has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_client_specified_model() const {
return _internal_has_client_specified_model();
}
inline void PlayReadyLicenseRequest::clear_client_specified_model() {
client_specified_model_.ClearToEmpty();
_has_bits_[0] &= ~0x00000040u;
}
inline const std::string& PlayReadyLicenseRequest::client_specified_model() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.client_specified_model)
return _internal_client_specified_model();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest::set_client_specified_model(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000040u;
client_specified_model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.client_specified_model)
}
inline std::string* PlayReadyLicenseRequest::mutable_client_specified_model() {
std::string* _s = _internal_mutable_client_specified_model();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.client_specified_model)
return _s;
}
inline const std::string& PlayReadyLicenseRequest::_internal_client_specified_model() const {
return client_specified_model_.Get();
}
inline void PlayReadyLicenseRequest::_internal_set_client_specified_model(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
client_specified_model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::_internal_mutable_client_specified_model() {
_has_bits_[0] |= 0x00000040u;
return client_specified_model_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::release_client_specified_model() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.client_specified_model)
if (!_internal_has_client_specified_model()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
return client_specified_model_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest::set_allocated_client_specified_model(std::string* client_specified_model) {
if (client_specified_model != nullptr) {
_has_bits_[0] |= 0x00000040u;
} else {
_has_bits_[0] &= ~0x00000040u;
}
client_specified_model_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), client_specified_model,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.client_specified_model)
}
// optional .video_widevine.PlayReadyLicenseRequest.Requester requester = 10;
inline bool PlayReadyLicenseRequest::_internal_has_requester() const {
bool value = (_has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_requester() const {
return _internal_has_requester();
}
inline void PlayReadyLicenseRequest::clear_requester() {
requester_ = 0;
_has_bits_[0] &= ~0x00000400u;
}
inline ::video_widevine::PlayReadyLicenseRequest_Requester PlayReadyLicenseRequest::_internal_requester() const {
return static_cast< ::video_widevine::PlayReadyLicenseRequest_Requester >(requester_);
}
inline ::video_widevine::PlayReadyLicenseRequest_Requester PlayReadyLicenseRequest::requester() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.requester)
return _internal_requester();
}
inline void PlayReadyLicenseRequest::_internal_set_requester(::video_widevine::PlayReadyLicenseRequest_Requester value) {
assert(::video_widevine::PlayReadyLicenseRequest_Requester_IsValid(value));
_has_bits_[0] |= 0x00000400u;
requester_ = value;
}
inline void PlayReadyLicenseRequest::set_requester(::video_widevine::PlayReadyLicenseRequest_Requester value) {
_internal_set_requester(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.requester)
}
// optional .video_widevine.PlayReadyLicenseRequest.RootLicenseInfo root_license_info = 11;
inline bool PlayReadyLicenseRequest::_internal_has_root_license_info() const {
bool value = (_has_bits_[0] & 0x00000200u) != 0;
PROTOBUF_ASSUME(!value || root_license_info_ != nullptr);
return value;
}
inline bool PlayReadyLicenseRequest::has_root_license_info() const {
return _internal_has_root_license_info();
}
inline void PlayReadyLicenseRequest::clear_root_license_info() {
if (root_license_info_ != nullptr) root_license_info_->Clear();
_has_bits_[0] &= ~0x00000200u;
}
inline const ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo& PlayReadyLicenseRequest::_internal_root_license_info() const {
const ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* p = root_license_info_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo&>(
::video_widevine::_PlayReadyLicenseRequest_RootLicenseInfo_default_instance_);
}
inline const ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo& PlayReadyLicenseRequest::root_license_info() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.root_license_info)
return _internal_root_license_info();
}
inline void PlayReadyLicenseRequest::unsafe_arena_set_allocated_root_license_info(
::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* root_license_info) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(root_license_info_);
}
root_license_info_ = root_license_info;
if (root_license_info) {
_has_bits_[0] |= 0x00000200u;
} else {
_has_bits_[0] &= ~0x00000200u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.PlayReadyLicenseRequest.root_license_info)
}
inline ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* PlayReadyLicenseRequest::release_root_license_info() {
_has_bits_[0] &= ~0x00000200u;
::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* temp = root_license_info_;
root_license_info_ = 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::PlayReadyLicenseRequest_RootLicenseInfo* PlayReadyLicenseRequest::unsafe_arena_release_root_license_info() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.root_license_info)
_has_bits_[0] &= ~0x00000200u;
::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* temp = root_license_info_;
root_license_info_ = nullptr;
return temp;
}
inline ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* PlayReadyLicenseRequest::_internal_mutable_root_license_info() {
_has_bits_[0] |= 0x00000200u;
if (root_license_info_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo>(GetArenaForAllocation());
root_license_info_ = p;
}
return root_license_info_;
}
inline ::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* PlayReadyLicenseRequest::mutable_root_license_info() {
::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* _msg = _internal_mutable_root_license_info();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.root_license_info)
return _msg;
}
inline void PlayReadyLicenseRequest::set_allocated_root_license_info(::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo* root_license_info) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete root_license_info_;
}
if (root_license_info) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::video_widevine::PlayReadyLicenseRequest_RootLicenseInfo>::GetOwningArena(root_license_info);
if (message_arena != submessage_arena) {
root_license_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, root_license_info, submessage_arena);
}
_has_bits_[0] |= 0x00000200u;
} else {
_has_bits_[0] &= ~0x00000200u;
}
root_license_info_ = root_license_info;
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.root_license_info)
}
// optional .video_widevine.PlayReadyLicenseRequest.StreamType stream_type = 12;
inline bool PlayReadyLicenseRequest::_internal_has_stream_type() const {
bool value = (_has_bits_[0] & 0x00000800u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_stream_type() const {
return _internal_has_stream_type();
}
inline void PlayReadyLicenseRequest::clear_stream_type() {
stream_type_ = 0;
_has_bits_[0] &= ~0x00000800u;
}
inline ::video_widevine::PlayReadyLicenseRequest_StreamType PlayReadyLicenseRequest::_internal_stream_type() const {
return static_cast< ::video_widevine::PlayReadyLicenseRequest_StreamType >(stream_type_);
}
inline ::video_widevine::PlayReadyLicenseRequest_StreamType PlayReadyLicenseRequest::stream_type() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.stream_type)
return _internal_stream_type();
}
inline void PlayReadyLicenseRequest::_internal_set_stream_type(::video_widevine::PlayReadyLicenseRequest_StreamType value) {
assert(::video_widevine::PlayReadyLicenseRequest_StreamType_IsValid(value));
_has_bits_[0] |= 0x00000800u;
stream_type_ = value;
}
inline void PlayReadyLicenseRequest::set_stream_type(::video_widevine::PlayReadyLicenseRequest_StreamType value) {
_internal_set_stream_type(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.stream_type)
}
// repeated .video_widevine.KeyInfo license_key_info = 13;
inline int PlayReadyLicenseRequest::_internal_license_key_info_size() const {
return license_key_info_.size();
}
inline int PlayReadyLicenseRequest::license_key_info_size() const {
return _internal_license_key_info_size();
}
inline void PlayReadyLicenseRequest::clear_license_key_info() {
license_key_info_.Clear();
}
inline ::video_widevine::KeyInfo* PlayReadyLicenseRequest::mutable_license_key_info(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.license_key_info)
return license_key_info_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyInfo >*
PlayReadyLicenseRequest::mutable_license_key_info() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.PlayReadyLicenseRequest.license_key_info)
return &license_key_info_;
}
inline const ::video_widevine::KeyInfo& PlayReadyLicenseRequest::_internal_license_key_info(int index) const {
return license_key_info_.Get(index);
}
inline const ::video_widevine::KeyInfo& PlayReadyLicenseRequest::license_key_info(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.license_key_info)
return _internal_license_key_info(index);
}
inline ::video_widevine::KeyInfo* PlayReadyLicenseRequest::_internal_add_license_key_info() {
return license_key_info_.Add();
}
inline ::video_widevine::KeyInfo* PlayReadyLicenseRequest::add_license_key_info() {
::video_widevine::KeyInfo* _add = _internal_add_license_key_info();
// @@protoc_insertion_point(field_add:video_widevine.PlayReadyLicenseRequest.license_key_info)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyInfo >&
PlayReadyLicenseRequest::license_key_info() const {
// @@protoc_insertion_point(field_list:video_widevine.PlayReadyLicenseRequest.license_key_info)
return license_key_info_;
}
// optional bool is_external_license_request = 14 [default = false];
inline bool PlayReadyLicenseRequest::_internal_has_is_external_license_request() const {
bool value = (_has_bits_[0] & 0x00002000u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_is_external_license_request() const {
return _internal_has_is_external_license_request();
}
inline void PlayReadyLicenseRequest::clear_is_external_license_request() {
is_external_license_request_ = false;
_has_bits_[0] &= ~0x00002000u;
}
inline bool PlayReadyLicenseRequest::_internal_is_external_license_request() const {
return is_external_license_request_;
}
inline bool PlayReadyLicenseRequest::is_external_license_request() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.is_external_license_request)
return _internal_is_external_license_request();
}
inline void PlayReadyLicenseRequest::_internal_set_is_external_license_request(bool value) {
_has_bits_[0] |= 0x00002000u;
is_external_license_request_ = value;
}
inline void PlayReadyLicenseRequest::set_is_external_license_request(bool value) {
_internal_set_is_external_license_request(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.is_external_license_request)
}
// optional int64 license_start_time_seconds = 15;
inline bool PlayReadyLicenseRequest::_internal_has_license_start_time_seconds() const {
bool value = (_has_bits_[0] & 0x00010000u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_license_start_time_seconds() const {
return _internal_has_license_start_time_seconds();
}
inline void PlayReadyLicenseRequest::clear_license_start_time_seconds() {
license_start_time_seconds_ = int64_t{0};
_has_bits_[0] &= ~0x00010000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyLicenseRequest::_internal_license_start_time_seconds() const {
return license_start_time_seconds_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyLicenseRequest::license_start_time_seconds() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.license_start_time_seconds)
return _internal_license_start_time_seconds();
}
inline void PlayReadyLicenseRequest::_internal_set_license_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_has_bits_[0] |= 0x00010000u;
license_start_time_seconds_ = value;
}
inline void PlayReadyLicenseRequest::set_license_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_internal_set_license_start_time_seconds(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.license_start_time_seconds)
}
// optional .video_widevine.PlayReadyLicenseRequest.ChallengeType challenge_type = 16 [default = CHALLENGE_TYPE_UNKNOWN];
inline bool PlayReadyLicenseRequest::_internal_has_challenge_type() const {
bool value = (_has_bits_[0] & 0x00008000u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_challenge_type() const {
return _internal_has_challenge_type();
}
inline void PlayReadyLicenseRequest::clear_challenge_type() {
challenge_type_ = 0;
_has_bits_[0] &= ~0x00008000u;
}
inline ::video_widevine::PlayReadyLicenseRequest_ChallengeType PlayReadyLicenseRequest::_internal_challenge_type() const {
return static_cast< ::video_widevine::PlayReadyLicenseRequest_ChallengeType >(challenge_type_);
}
inline ::video_widevine::PlayReadyLicenseRequest_ChallengeType PlayReadyLicenseRequest::challenge_type() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.challenge_type)
return _internal_challenge_type();
}
inline void PlayReadyLicenseRequest::_internal_set_challenge_type(::video_widevine::PlayReadyLicenseRequest_ChallengeType value) {
assert(::video_widevine::PlayReadyLicenseRequest_ChallengeType_IsValid(value));
_has_bits_[0] |= 0x00008000u;
challenge_type_ = value;
}
inline void PlayReadyLicenseRequest::set_challenge_type(::video_widevine::PlayReadyLicenseRequest_ChallengeType value) {
_internal_set_challenge_type(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.challenge_type)
}
// optional bool is_renewal_request = 17 [default = false];
inline bool PlayReadyLicenseRequest::_internal_has_is_renewal_request() const {
bool value = (_has_bits_[0] & 0x00004000u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_is_renewal_request() const {
return _internal_has_is_renewal_request();
}
inline void PlayReadyLicenseRequest::clear_is_renewal_request() {
is_renewal_request_ = false;
_has_bits_[0] &= ~0x00004000u;
}
inline bool PlayReadyLicenseRequest::_internal_is_renewal_request() const {
return is_renewal_request_;
}
inline bool PlayReadyLicenseRequest::is_renewal_request() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.is_renewal_request)
return _internal_is_renewal_request();
}
inline void PlayReadyLicenseRequest::_internal_set_is_renewal_request(bool value) {
_has_bits_[0] |= 0x00004000u;
is_renewal_request_ = value;
}
inline void PlayReadyLicenseRequest::set_is_renewal_request(bool value) {
_internal_set_is_renewal_request(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.is_renewal_request)
}
// optional bytes original_license = 18;
inline bool PlayReadyLicenseRequest::_internal_has_original_license() const {
bool value = (_has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_original_license() const {
return _internal_has_original_license();
}
inline void PlayReadyLicenseRequest::clear_original_license() {
original_license_.ClearToEmpty();
_has_bits_[0] &= ~0x00000080u;
}
inline const std::string& PlayReadyLicenseRequest::original_license() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.original_license)
return _internal_original_license();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseRequest::set_original_license(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000080u;
original_license_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.original_license)
}
inline std::string* PlayReadyLicenseRequest::mutable_original_license() {
std::string* _s = _internal_mutable_original_license();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseRequest.original_license)
return _s;
}
inline const std::string& PlayReadyLicenseRequest::_internal_original_license() const {
return original_license_.Get();
}
inline void PlayReadyLicenseRequest::_internal_set_original_license(const std::string& value) {
_has_bits_[0] |= 0x00000080u;
original_license_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::_internal_mutable_original_license() {
_has_bits_[0] |= 0x00000080u;
return original_license_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseRequest::release_original_license() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseRequest.original_license)
if (!_internal_has_original_license()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000080u;
return original_license_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseRequest::set_allocated_original_license(std::string* original_license) {
if (original_license != nullptr) {
_has_bits_[0] |= 0x00000080u;
} else {
_has_bits_[0] &= ~0x00000080u;
}
original_license_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), original_license,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseRequest.original_license)
}
// optional int64 playback_start_time_seconds = 19;
inline bool PlayReadyLicenseRequest::_internal_has_playback_start_time_seconds() const {
bool value = (_has_bits_[0] & 0x00020000u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_playback_start_time_seconds() const {
return _internal_has_playback_start_time_seconds();
}
inline void PlayReadyLicenseRequest::clear_playback_start_time_seconds() {
playback_start_time_seconds_ = int64_t{0};
_has_bits_[0] &= ~0x00020000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyLicenseRequest::_internal_playback_start_time_seconds() const {
return playback_start_time_seconds_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 PlayReadyLicenseRequest::playback_start_time_seconds() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.playback_start_time_seconds)
return _internal_playback_start_time_seconds();
}
inline void PlayReadyLicenseRequest::_internal_set_playback_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_has_bits_[0] |= 0x00020000u;
playback_start_time_seconds_ = value;
}
inline void PlayReadyLicenseRequest::set_playback_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_internal_set_playback_start_time_seconds(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.playback_start_time_seconds)
}
// optional int32 request_version = 20;
inline bool PlayReadyLicenseRequest::_internal_has_request_version() const {
bool value = (_has_bits_[0] & 0x00040000u) != 0;
return value;
}
inline bool PlayReadyLicenseRequest::has_request_version() const {
return _internal_has_request_version();
}
inline void PlayReadyLicenseRequest::clear_request_version() {
request_version_ = 0;
_has_bits_[0] &= ~0x00040000u;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 PlayReadyLicenseRequest::_internal_request_version() const {
return request_version_;
}
inline ::PROTOBUF_NAMESPACE_ID::int32 PlayReadyLicenseRequest::request_version() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseRequest.request_version)
return _internal_request_version();
}
inline void PlayReadyLicenseRequest::_internal_set_request_version(::PROTOBUF_NAMESPACE_ID::int32 value) {
_has_bits_[0] |= 0x00040000u;
request_version_ = value;
}
inline void PlayReadyLicenseRequest::set_request_version(::PROTOBUF_NAMESPACE_ID::int32 value) {
_internal_set_request_version(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseRequest.request_version)
}
// -------------------------------------------------------------------
// PlayReadyLicenseResponse_ClientCertificateInfo
// optional string manufacturer = 1;
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::_internal_has_manufacturer() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::has_manufacturer() const {
return _internal_has_manufacturer();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_manufacturer() {
manufacturer_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::manufacturer() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.manufacturer)
return _internal_manufacturer();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse_ClientCertificateInfo::set_manufacturer(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
manufacturer_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.manufacturer)
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::mutable_manufacturer() {
std::string* _s = _internal_mutable_manufacturer();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.manufacturer)
return _s;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::_internal_manufacturer() const {
return manufacturer_.Get();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_set_manufacturer(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
manufacturer_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_manufacturer() {
_has_bits_[0] |= 0x00000001u;
return manufacturer_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::release_manufacturer() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.manufacturer)
if (!_internal_has_manufacturer()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return manufacturer_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_allocated_manufacturer(std::string* manufacturer) {
if (manufacturer != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
manufacturer_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), manufacturer,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.manufacturer)
}
// optional string model = 2;
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::_internal_has_model() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::has_model() const {
return _internal_has_model();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_model() {
model_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::model() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model)
return _internal_model();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse_ClientCertificateInfo::set_model(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model)
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::mutable_model() {
std::string* _s = _internal_mutable_model();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model)
return _s;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::_internal_model() const {
return model_.Get();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_set_model(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_model() {
_has_bits_[0] |= 0x00000002u;
return model_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::release_model() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model)
if (!_internal_has_model()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return model_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_allocated_model(std::string* model) {
if (model != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
model_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), model,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model)
}
// optional string model_number = 3;
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::_internal_has_model_number() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::has_model_number() const {
return _internal_has_model_number();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_model_number() {
model_number_.ClearToEmpty();
_has_bits_[0] &= ~0x00000004u;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::model_number() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model_number)
return _internal_model_number();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse_ClientCertificateInfo::set_model_number(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000004u;
model_number_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model_number)
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::mutable_model_number() {
std::string* _s = _internal_mutable_model_number();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model_number)
return _s;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::_internal_model_number() const {
return model_number_.Get();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_set_model_number(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
model_number_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_model_number() {
_has_bits_[0] |= 0x00000004u;
return model_number_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::release_model_number() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model_number)
if (!_internal_has_model_number()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
return model_number_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_allocated_model_number(std::string* model_number) {
if (model_number != nullptr) {
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
model_number_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), model_number,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.model_number)
}
// optional string platform = 4;
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::_internal_has_platform() const {
bool value = (_has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::has_platform() const {
return _internal_has_platform();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_platform() {
platform_.ClearToEmpty();
_has_bits_[0] &= ~0x00000008u;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::platform() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.platform)
return _internal_platform();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse_ClientCertificateInfo::set_platform(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000008u;
platform_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.platform)
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::mutable_platform() {
std::string* _s = _internal_mutable_platform();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.platform)
return _s;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::_internal_platform() const {
return platform_.Get();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_set_platform(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
platform_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_platform() {
_has_bits_[0] |= 0x00000008u;
return platform_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::release_platform() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.platform)
if (!_internal_has_platform()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
return platform_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_allocated_platform(std::string* platform) {
if (platform != nullptr) {
_has_bits_[0] |= 0x00000008u;
} else {
_has_bits_[0] &= ~0x00000008u;
}
platform_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), platform,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.platform)
}
// optional string security_level = 5;
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::_internal_has_security_level() const {
bool value = (_has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::has_security_level() const {
return _internal_has_security_level();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_security_level() {
security_level_.ClearToEmpty();
_has_bits_[0] &= ~0x00000010u;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::security_level() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.security_level)
return _internal_security_level();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse_ClientCertificateInfo::set_security_level(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000010u;
security_level_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.security_level)
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::mutable_security_level() {
std::string* _s = _internal_mutable_security_level();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.security_level)
return _s;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::_internal_security_level() const {
return security_level_.Get();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_set_security_level(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
security_level_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_security_level() {
_has_bits_[0] |= 0x00000010u;
return security_level_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::release_security_level() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.security_level)
if (!_internal_has_security_level()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
return security_level_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_allocated_security_level(std::string* security_level) {
if (security_level != nullptr) {
_has_bits_[0] |= 0x00000010u;
} else {
_has_bits_[0] &= ~0x00000010u;
}
security_level_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), security_level,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.security_level)
}
// optional string type = 6;
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::_internal_has_type() const {
bool value = (_has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::has_type() const {
return _internal_has_type();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_type() {
type_.ClearToEmpty();
_has_bits_[0] &= ~0x00000020u;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::type() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.type)
return _internal_type();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse_ClientCertificateInfo::set_type(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000020u;
type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.type)
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::mutable_type() {
std::string* _s = _internal_mutable_type();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.type)
return _s;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::_internal_type() const {
return type_.Get();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_set_type(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_type() {
_has_bits_[0] |= 0x00000020u;
return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::release_type() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.type)
if (!_internal_has_type()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
return type_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_allocated_type(std::string* type) {
if (type != nullptr) {
_has_bits_[0] |= 0x00000020u;
} else {
_has_bits_[0] &= ~0x00000020u;
}
type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.type)
}
// optional string version = 7;
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::_internal_has_version() const {
bool value = (_has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::has_version() const {
return _internal_has_version();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_version() {
version_.ClearToEmpty();
_has_bits_[0] &= ~0x00000040u;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::version() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.version)
return _internal_version();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse_ClientCertificateInfo::set_version(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000040u;
version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.version)
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::mutable_version() {
std::string* _s = _internal_mutable_version();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.version)
return _s;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::_internal_version() const {
return version_.Get();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_set_version(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_version() {
_has_bits_[0] |= 0x00000040u;
return version_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::release_version() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.version)
if (!_internal_has_version()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
return version_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_allocated_version(std::string* version) {
if (version != nullptr) {
_has_bits_[0] |= 0x00000040u;
} else {
_has_bits_[0] &= ~0x00000040u;
}
version_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.version)
}
// repeated .video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.SupportedFeatures supported_feature = 8 [packed = true];
inline int PlayReadyLicenseResponse_ClientCertificateInfo::_internal_supported_feature_size() const {
return supported_feature_.size();
}
inline int PlayReadyLicenseResponse_ClientCertificateInfo::supported_feature_size() const {
return _internal_supported_feature_size();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_supported_feature() {
supported_feature_.Clear();
}
inline ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures PlayReadyLicenseResponse_ClientCertificateInfo::_internal_supported_feature(int index) const {
return static_cast< ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures >(supported_feature_.Get(index));
}
inline ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures PlayReadyLicenseResponse_ClientCertificateInfo::supported_feature(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.supported_feature)
return _internal_supported_feature(index);
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_supported_feature(int index, ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures value) {
assert(::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_IsValid(value));
supported_feature_.Set(index, value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.supported_feature)
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_add_supported_feature(::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures value) {
assert(::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_IsValid(value));
supported_feature_.Add(value);
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::add_supported_feature(::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures value) {
_internal_add_supported_feature(value);
// @@protoc_insertion_point(field_add:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.supported_feature)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
PlayReadyLicenseResponse_ClientCertificateInfo::supported_feature() const {
// @@protoc_insertion_point(field_list:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.supported_feature)
return supported_feature_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_supported_feature() {
return &supported_feature_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
PlayReadyLicenseResponse_ClientCertificateInfo::mutable_supported_feature() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.supported_feature)
return _internal_mutable_supported_feature();
}
// optional bytes digest = 9;
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::_internal_has_digest() const {
bool value = (_has_bits_[0] & 0x00000080u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::has_digest() const {
return _internal_has_digest();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_digest() {
digest_.ClearToEmpty();
_has_bits_[0] &= ~0x00000080u;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::digest() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.digest)
return _internal_digest();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse_ClientCertificateInfo::set_digest(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000080u;
digest_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.digest)
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::mutable_digest() {
std::string* _s = _internal_mutable_digest();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.digest)
return _s;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::_internal_digest() const {
return digest_.Get();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_set_digest(const std::string& value) {
_has_bits_[0] |= 0x00000080u;
digest_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_digest() {
_has_bits_[0] |= 0x00000080u;
return digest_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::release_digest() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.digest)
if (!_internal_has_digest()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000080u;
return digest_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_allocated_digest(std::string* digest) {
if (digest != nullptr) {
_has_bits_[0] |= 0x00000080u;
} else {
_has_bits_[0] &= ~0x00000080u;
}
digest_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), digest,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.digest)
}
// optional bytes certificate_id = 10;
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::_internal_has_certificate_id() const {
bool value = (_has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse_ClientCertificateInfo::has_certificate_id() const {
return _internal_has_certificate_id();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::clear_certificate_id() {
certificate_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000100u;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::certificate_id() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.certificate_id)
return _internal_certificate_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse_ClientCertificateInfo::set_certificate_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000100u;
certificate_id_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.certificate_id)
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::mutable_certificate_id() {
std::string* _s = _internal_mutable_certificate_id();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.certificate_id)
return _s;
}
inline const std::string& PlayReadyLicenseResponse_ClientCertificateInfo::_internal_certificate_id() const {
return certificate_id_.Get();
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::_internal_set_certificate_id(const std::string& value) {
_has_bits_[0] |= 0x00000100u;
certificate_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::_internal_mutable_certificate_id() {
_has_bits_[0] |= 0x00000100u;
return certificate_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse_ClientCertificateInfo::release_certificate_id() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.certificate_id)
if (!_internal_has_certificate_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000100u;
return certificate_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse_ClientCertificateInfo::set_allocated_certificate_id(std::string* certificate_id) {
if (certificate_id != nullptr) {
_has_bits_[0] |= 0x00000100u;
} else {
_has_bits_[0] &= ~0x00000100u;
}
certificate_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), certificate_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo.certificate_id)
}
// -------------------------------------------------------------------
// PlayReadyLicenseResponse
// optional string response = 1;
inline bool PlayReadyLicenseResponse::_internal_has_response() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_response() const {
return _internal_has_response();
}
inline void PlayReadyLicenseResponse::clear_response() {
response_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PlayReadyLicenseResponse::response() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.response)
return _internal_response();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse::set_response(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.response)
}
inline std::string* PlayReadyLicenseResponse::mutable_response() {
std::string* _s = _internal_mutable_response();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.response)
return _s;
}
inline const std::string& PlayReadyLicenseResponse::_internal_response() const {
return response_.Get();
}
inline void PlayReadyLicenseResponse::_internal_set_response(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::_internal_mutable_response() {
_has_bits_[0] |= 0x00000001u;
return response_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::release_response() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.response)
if (!_internal_has_response()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return response_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse::set_allocated_response(std::string* response) {
if (response != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
response_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.response)
}
// optional string status_message = 3;
inline bool PlayReadyLicenseResponse::_internal_has_status_message() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_status_message() const {
return _internal_has_status_message();
}
inline void PlayReadyLicenseResponse::clear_status_message() {
status_message_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& PlayReadyLicenseResponse::status_message() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.status_message)
return _internal_status_message();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse::set_status_message(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
status_message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.status_message)
}
inline std::string* PlayReadyLicenseResponse::mutable_status_message() {
std::string* _s = _internal_mutable_status_message();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.status_message)
return _s;
}
inline const std::string& PlayReadyLicenseResponse::_internal_status_message() const {
return status_message_.Get();
}
inline void PlayReadyLicenseResponse::_internal_set_status_message(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
status_message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::_internal_mutable_status_message() {
_has_bits_[0] |= 0x00000002u;
return status_message_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::release_status_message() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.status_message)
if (!_internal_has_status_message()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return status_message_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse::set_allocated_status_message(std::string* status_message) {
if (status_message != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
status_message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status_message,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.status_message)
}
// optional bool status_has_been_logged = 4;
inline bool PlayReadyLicenseResponse::_internal_has_status_has_been_logged() const {
bool value = (_has_bits_[0] & 0x00000100u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_status_has_been_logged() const {
return _internal_has_status_has_been_logged();
}
inline void PlayReadyLicenseResponse::clear_status_has_been_logged() {
status_has_been_logged_ = false;
_has_bits_[0] &= ~0x00000100u;
}
inline bool PlayReadyLicenseResponse::_internal_status_has_been_logged() const {
return status_has_been_logged_;
}
inline bool PlayReadyLicenseResponse::status_has_been_logged() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.status_has_been_logged)
return _internal_status_has_been_logged();
}
inline void PlayReadyLicenseResponse::_internal_set_status_has_been_logged(bool value) {
_has_bits_[0] |= 0x00000100u;
status_has_been_logged_ = value;
}
inline void PlayReadyLicenseResponse::set_status_has_been_logged(bool value) {
_internal_set_status_has_been_logged(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.status_has_been_logged)
}
// optional string playready_client_version = 5;
inline bool PlayReadyLicenseResponse::_internal_has_playready_client_version() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_playready_client_version() const {
return _internal_has_playready_client_version();
}
inline void PlayReadyLicenseResponse::clear_playready_client_version() {
playready_client_version_.ClearToEmpty();
_has_bits_[0] &= ~0x00000004u;
}
inline const std::string& PlayReadyLicenseResponse::playready_client_version() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.playready_client_version)
return _internal_playready_client_version();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse::set_playready_client_version(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000004u;
playready_client_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.playready_client_version)
}
inline std::string* PlayReadyLicenseResponse::mutable_playready_client_version() {
std::string* _s = _internal_mutable_playready_client_version();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.playready_client_version)
return _s;
}
inline const std::string& PlayReadyLicenseResponse::_internal_playready_client_version() const {
return playready_client_version_.Get();
}
inline void PlayReadyLicenseResponse::_internal_set_playready_client_version(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
playready_client_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::_internal_mutable_playready_client_version() {
_has_bits_[0] |= 0x00000004u;
return playready_client_version_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::release_playready_client_version() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.playready_client_version)
if (!_internal_has_playready_client_version()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
return playready_client_version_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse::set_allocated_playready_client_version(std::string* playready_client_version) {
if (playready_client_version != nullptr) {
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
playready_client_version_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), playready_client_version,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.playready_client_version)
}
// optional string certificate_specified_make = 6;
inline bool PlayReadyLicenseResponse::_internal_has_certificate_specified_make() const {
bool value = (_has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_certificate_specified_make() const {
return _internal_has_certificate_specified_make();
}
inline void PlayReadyLicenseResponse::clear_certificate_specified_make() {
certificate_specified_make_.ClearToEmpty();
_has_bits_[0] &= ~0x00000008u;
}
inline const std::string& PlayReadyLicenseResponse::certificate_specified_make() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.certificate_specified_make)
return _internal_certificate_specified_make();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse::set_certificate_specified_make(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000008u;
certificate_specified_make_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.certificate_specified_make)
}
inline std::string* PlayReadyLicenseResponse::mutable_certificate_specified_make() {
std::string* _s = _internal_mutable_certificate_specified_make();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.certificate_specified_make)
return _s;
}
inline const std::string& PlayReadyLicenseResponse::_internal_certificate_specified_make() const {
return certificate_specified_make_.Get();
}
inline void PlayReadyLicenseResponse::_internal_set_certificate_specified_make(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
certificate_specified_make_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::_internal_mutable_certificate_specified_make() {
_has_bits_[0] |= 0x00000008u;
return certificate_specified_make_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::release_certificate_specified_make() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.certificate_specified_make)
if (!_internal_has_certificate_specified_make()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
return certificate_specified_make_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse::set_allocated_certificate_specified_make(std::string* certificate_specified_make) {
if (certificate_specified_make != nullptr) {
_has_bits_[0] |= 0x00000008u;
} else {
_has_bits_[0] &= ~0x00000008u;
}
certificate_specified_make_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), certificate_specified_make,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.certificate_specified_make)
}
// optional string certificate_specified_model = 7;
inline bool PlayReadyLicenseResponse::_internal_has_certificate_specified_model() const {
bool value = (_has_bits_[0] & 0x00000010u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_certificate_specified_model() const {
return _internal_has_certificate_specified_model();
}
inline void PlayReadyLicenseResponse::clear_certificate_specified_model() {
certificate_specified_model_.ClearToEmpty();
_has_bits_[0] &= ~0x00000010u;
}
inline const std::string& PlayReadyLicenseResponse::certificate_specified_model() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.certificate_specified_model)
return _internal_certificate_specified_model();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse::set_certificate_specified_model(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000010u;
certificate_specified_model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.certificate_specified_model)
}
inline std::string* PlayReadyLicenseResponse::mutable_certificate_specified_model() {
std::string* _s = _internal_mutable_certificate_specified_model();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.certificate_specified_model)
return _s;
}
inline const std::string& PlayReadyLicenseResponse::_internal_certificate_specified_model() const {
return certificate_specified_model_.Get();
}
inline void PlayReadyLicenseResponse::_internal_set_certificate_specified_model(const std::string& value) {
_has_bits_[0] |= 0x00000010u;
certificate_specified_model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::_internal_mutable_certificate_specified_model() {
_has_bits_[0] |= 0x00000010u;
return certificate_specified_model_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::release_certificate_specified_model() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.certificate_specified_model)
if (!_internal_has_certificate_specified_model()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000010u;
return certificate_specified_model_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse::set_allocated_certificate_specified_model(std::string* certificate_specified_model) {
if (certificate_specified_model != nullptr) {
_has_bits_[0] |= 0x00000010u;
} else {
_has_bits_[0] &= ~0x00000010u;
}
certificate_specified_model_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), certificate_specified_model,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.certificate_specified_model)
}
// optional string client_specified_make = 8;
inline bool PlayReadyLicenseResponse::_internal_has_client_specified_make() const {
bool value = (_has_bits_[0] & 0x00000020u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_client_specified_make() const {
return _internal_has_client_specified_make();
}
inline void PlayReadyLicenseResponse::clear_client_specified_make() {
client_specified_make_.ClearToEmpty();
_has_bits_[0] &= ~0x00000020u;
}
inline const std::string& PlayReadyLicenseResponse::client_specified_make() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.client_specified_make)
return _internal_client_specified_make();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse::set_client_specified_make(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000020u;
client_specified_make_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.client_specified_make)
}
inline std::string* PlayReadyLicenseResponse::mutable_client_specified_make() {
std::string* _s = _internal_mutable_client_specified_make();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.client_specified_make)
return _s;
}
inline const std::string& PlayReadyLicenseResponse::_internal_client_specified_make() const {
return client_specified_make_.Get();
}
inline void PlayReadyLicenseResponse::_internal_set_client_specified_make(const std::string& value) {
_has_bits_[0] |= 0x00000020u;
client_specified_make_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::_internal_mutable_client_specified_make() {
_has_bits_[0] |= 0x00000020u;
return client_specified_make_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::release_client_specified_make() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.client_specified_make)
if (!_internal_has_client_specified_make()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000020u;
return client_specified_make_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse::set_allocated_client_specified_make(std::string* client_specified_make) {
if (client_specified_make != nullptr) {
_has_bits_[0] |= 0x00000020u;
} else {
_has_bits_[0] &= ~0x00000020u;
}
client_specified_make_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), client_specified_make,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.client_specified_make)
}
// optional string client_specified_model = 9;
inline bool PlayReadyLicenseResponse::_internal_has_client_specified_model() const {
bool value = (_has_bits_[0] & 0x00000040u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_client_specified_model() const {
return _internal_has_client_specified_model();
}
inline void PlayReadyLicenseResponse::clear_client_specified_model() {
client_specified_model_.ClearToEmpty();
_has_bits_[0] &= ~0x00000040u;
}
inline const std::string& PlayReadyLicenseResponse::client_specified_model() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.client_specified_model)
return _internal_client_specified_model();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PlayReadyLicenseResponse::set_client_specified_model(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000040u;
client_specified_model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.client_specified_model)
}
inline std::string* PlayReadyLicenseResponse::mutable_client_specified_model() {
std::string* _s = _internal_mutable_client_specified_model();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.client_specified_model)
return _s;
}
inline const std::string& PlayReadyLicenseResponse::_internal_client_specified_model() const {
return client_specified_model_.Get();
}
inline void PlayReadyLicenseResponse::_internal_set_client_specified_model(const std::string& value) {
_has_bits_[0] |= 0x00000040u;
client_specified_model_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::_internal_mutable_client_specified_model() {
_has_bits_[0] |= 0x00000040u;
return client_specified_model_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PlayReadyLicenseResponse::release_client_specified_model() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.client_specified_model)
if (!_internal_has_client_specified_model()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000040u;
return client_specified_model_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PlayReadyLicenseResponse::set_allocated_client_specified_model(std::string* client_specified_model) {
if (client_specified_model != nullptr) {
_has_bits_[0] |= 0x00000040u;
} else {
_has_bits_[0] &= ~0x00000040u;
}
client_specified_model_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), client_specified_model,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.client_specified_model)
}
// optional bool approved_licensee = 10;
inline bool PlayReadyLicenseResponse::_internal_has_approved_licensee() const {
bool value = (_has_bits_[0] & 0x00000200u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_approved_licensee() const {
return _internal_has_approved_licensee();
}
inline void PlayReadyLicenseResponse::clear_approved_licensee() {
approved_licensee_ = false;
_has_bits_[0] &= ~0x00000200u;
}
inline bool PlayReadyLicenseResponse::_internal_approved_licensee() const {
return approved_licensee_;
}
inline bool PlayReadyLicenseResponse::approved_licensee() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.approved_licensee)
return _internal_approved_licensee();
}
inline void PlayReadyLicenseResponse::_internal_set_approved_licensee(bool value) {
_has_bits_[0] |= 0x00000200u;
approved_licensee_ = value;
}
inline void PlayReadyLicenseResponse::set_approved_licensee(bool value) {
_internal_set_approved_licensee(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.approved_licensee)
}
// optional .video_widevine.PlayReadyLicenseResponse.ClientCertificateInfo client_certificate_info = 11;
inline bool PlayReadyLicenseResponse::_internal_has_client_certificate_info() const {
bool value = (_has_bits_[0] & 0x00000080u) != 0;
PROTOBUF_ASSUME(!value || client_certificate_info_ != nullptr);
return value;
}
inline bool PlayReadyLicenseResponse::has_client_certificate_info() const {
return _internal_has_client_certificate_info();
}
inline void PlayReadyLicenseResponse::clear_client_certificate_info() {
if (client_certificate_info_ != nullptr) client_certificate_info_->Clear();
_has_bits_[0] &= ~0x00000080u;
}
inline const ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo& PlayReadyLicenseResponse::_internal_client_certificate_info() const {
const ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* p = client_certificate_info_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo&>(
::video_widevine::_PlayReadyLicenseResponse_ClientCertificateInfo_default_instance_);
}
inline const ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo& PlayReadyLicenseResponse::client_certificate_info() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.client_certificate_info)
return _internal_client_certificate_info();
}
inline void PlayReadyLicenseResponse::unsafe_arena_set_allocated_client_certificate_info(
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* client_certificate_info) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(client_certificate_info_);
}
client_certificate_info_ = client_certificate_info;
if (client_certificate_info) {
_has_bits_[0] |= 0x00000080u;
} else {
_has_bits_[0] &= ~0x00000080u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.PlayReadyLicenseResponse.client_certificate_info)
}
inline ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* PlayReadyLicenseResponse::release_client_certificate_info() {
_has_bits_[0] &= ~0x00000080u;
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* temp = client_certificate_info_;
client_certificate_info_ = 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::PlayReadyLicenseResponse_ClientCertificateInfo* PlayReadyLicenseResponse::unsafe_arena_release_client_certificate_info() {
// @@protoc_insertion_point(field_release:video_widevine.PlayReadyLicenseResponse.client_certificate_info)
_has_bits_[0] &= ~0x00000080u;
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* temp = client_certificate_info_;
client_certificate_info_ = nullptr;
return temp;
}
inline ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* PlayReadyLicenseResponse::_internal_mutable_client_certificate_info() {
_has_bits_[0] |= 0x00000080u;
if (client_certificate_info_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo>(GetArenaForAllocation());
client_certificate_info_ = p;
}
return client_certificate_info_;
}
inline ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* PlayReadyLicenseResponse::mutable_client_certificate_info() {
::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* _msg = _internal_mutable_client_certificate_info();
// @@protoc_insertion_point(field_mutable:video_widevine.PlayReadyLicenseResponse.client_certificate_info)
return _msg;
}
inline void PlayReadyLicenseResponse::set_allocated_client_certificate_info(::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo* client_certificate_info) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete client_certificate_info_;
}
if (client_certificate_info) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo>::GetOwningArena(client_certificate_info);
if (message_arena != submessage_arena) {
client_certificate_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, client_certificate_info, submessage_arena);
}
_has_bits_[0] |= 0x00000080u;
} else {
_has_bits_[0] &= ~0x00000080u;
}
client_certificate_info_ = client_certificate_info;
// @@protoc_insertion_point(field_set_allocated:video_widevine.PlayReadyLicenseResponse.client_certificate_info)
}
// optional bool experimental = 12;
inline bool PlayReadyLicenseResponse::_internal_has_experimental() const {
bool value = (_has_bits_[0] & 0x00000400u) != 0;
return value;
}
inline bool PlayReadyLicenseResponse::has_experimental() const {
return _internal_has_experimental();
}
inline void PlayReadyLicenseResponse::clear_experimental() {
experimental_ = false;
_has_bits_[0] &= ~0x00000400u;
}
inline bool PlayReadyLicenseResponse::_internal_experimental() const {
return experimental_;
}
inline bool PlayReadyLicenseResponse::experimental() const {
// @@protoc_insertion_point(field_get:video_widevine.PlayReadyLicenseResponse.experimental)
return _internal_experimental();
}
inline void PlayReadyLicenseResponse::_internal_set_experimental(bool value) {
_has_bits_[0] |= 0x00000400u;
experimental_ = value;
}
inline void PlayReadyLicenseResponse::set_experimental(bool value) {
_internal_set_experimental(value);
// @@protoc_insertion_point(field_set:video_widevine.PlayReadyLicenseResponse.experimental)
}
// -------------------------------------------------------------------
// PackagingRequest
// optional string provider = 1;
inline bool PackagingRequest::_internal_has_provider() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PackagingRequest::has_provider() const {
return _internal_has_provider();
}
inline void PackagingRequest::clear_provider() {
provider_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PackagingRequest::provider() const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingRequest.provider)
return _internal_provider();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PackagingRequest::set_provider(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PackagingRequest.provider)
}
inline std::string* PackagingRequest::mutable_provider() {
std::string* _s = _internal_mutable_provider();
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingRequest.provider)
return _s;
}
inline const std::string& PackagingRequest::_internal_provider() const {
return provider_.Get();
}
inline void PackagingRequest::_internal_set_provider(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PackagingRequest::_internal_mutable_provider() {
_has_bits_[0] |= 0x00000001u;
return provider_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PackagingRequest::release_provider() {
// @@protoc_insertion_point(field_release:video_widevine.PackagingRequest.provider)
if (!_internal_has_provider()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return provider_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PackagingRequest::set_allocated_provider(std::string* provider) {
if (provider != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
provider_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), provider,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PackagingRequest.provider)
}
// optional string group_id = 2;
inline bool PackagingRequest::_internal_has_group_id() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool PackagingRequest::has_group_id() const {
return _internal_has_group_id();
}
inline void PackagingRequest::clear_group_id() {
group_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& PackagingRequest::group_id() const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingRequest.group_id)
return _internal_group_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PackagingRequest::set_group_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
group_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PackagingRequest.group_id)
}
inline std::string* PackagingRequest::mutable_group_id() {
std::string* _s = _internal_mutable_group_id();
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingRequest.group_id)
return _s;
}
inline const std::string& PackagingRequest::_internal_group_id() const {
return group_id_.Get();
}
inline void PackagingRequest::_internal_set_group_id(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
group_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PackagingRequest::_internal_mutable_group_id() {
_has_bits_[0] |= 0x00000002u;
return group_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PackagingRequest::release_group_id() {
// @@protoc_insertion_point(field_release:video_widevine.PackagingRequest.group_id)
if (!_internal_has_group_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return group_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PackagingRequest::set_allocated_group_id(std::string* group_id) {
if (group_id != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
group_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), group_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PackagingRequest.group_id)
}
// optional string service_id = 3;
inline bool PackagingRequest::_internal_has_service_id() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool PackagingRequest::has_service_id() const {
return _internal_has_service_id();
}
inline void PackagingRequest::clear_service_id() {
service_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000004u;
}
inline const std::string& PackagingRequest::service_id() const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingRequest.service_id)
return _internal_service_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PackagingRequest::set_service_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000004u;
service_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PackagingRequest.service_id)
}
inline std::string* PackagingRequest::mutable_service_id() {
std::string* _s = _internal_mutable_service_id();
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingRequest.service_id)
return _s;
}
inline const std::string& PackagingRequest::_internal_service_id() const {
return service_id_.Get();
}
inline void PackagingRequest::_internal_set_service_id(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
service_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PackagingRequest::_internal_mutable_service_id() {
_has_bits_[0] |= 0x00000004u;
return service_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PackagingRequest::release_service_id() {
// @@protoc_insertion_point(field_release:video_widevine.PackagingRequest.service_id)
if (!_internal_has_service_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
return service_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PackagingRequest::set_allocated_service_id(std::string* service_id) {
if (service_id != nullptr) {
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
service_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), service_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PackagingRequest.service_id)
}
// optional .video_widevine.KeyInfo master_key_info = 4;
inline bool PackagingRequest::_internal_has_master_key_info() const {
bool value = (_has_bits_[0] & 0x00000008u) != 0;
PROTOBUF_ASSUME(!value || master_key_info_ != nullptr);
return value;
}
inline bool PackagingRequest::has_master_key_info() const {
return _internal_has_master_key_info();
}
inline void PackagingRequest::clear_master_key_info() {
if (master_key_info_ != nullptr) master_key_info_->Clear();
_has_bits_[0] &= ~0x00000008u;
}
inline const ::video_widevine::KeyInfo& PackagingRequest::_internal_master_key_info() const {
const ::video_widevine::KeyInfo* p = master_key_info_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::KeyInfo&>(
::video_widevine::_KeyInfo_default_instance_);
}
inline const ::video_widevine::KeyInfo& PackagingRequest::master_key_info() const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingRequest.master_key_info)
return _internal_master_key_info();
}
inline void PackagingRequest::unsafe_arena_set_allocated_master_key_info(
::video_widevine::KeyInfo* master_key_info) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(master_key_info_);
}
master_key_info_ = master_key_info;
if (master_key_info) {
_has_bits_[0] |= 0x00000008u;
} else {
_has_bits_[0] &= ~0x00000008u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.PackagingRequest.master_key_info)
}
inline ::video_widevine::KeyInfo* PackagingRequest::release_master_key_info() {
_has_bits_[0] &= ~0x00000008u;
::video_widevine::KeyInfo* temp = master_key_info_;
master_key_info_ = 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::KeyInfo* PackagingRequest::unsafe_arena_release_master_key_info() {
// @@protoc_insertion_point(field_release:video_widevine.PackagingRequest.master_key_info)
_has_bits_[0] &= ~0x00000008u;
::video_widevine::KeyInfo* temp = master_key_info_;
master_key_info_ = nullptr;
return temp;
}
inline ::video_widevine::KeyInfo* PackagingRequest::_internal_mutable_master_key_info() {
_has_bits_[0] |= 0x00000008u;
if (master_key_info_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::KeyInfo>(GetArenaForAllocation());
master_key_info_ = p;
}
return master_key_info_;
}
inline ::video_widevine::KeyInfo* PackagingRequest::mutable_master_key_info() {
::video_widevine::KeyInfo* _msg = _internal_mutable_master_key_info();
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingRequest.master_key_info)
return _msg;
}
inline void PackagingRequest::set_allocated_master_key_info(::video_widevine::KeyInfo* master_key_info) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete master_key_info_;
}
if (master_key_info) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::video_widevine::KeyInfo>::GetOwningArena(master_key_info);
if (message_arena != submessage_arena) {
master_key_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, master_key_info, submessage_arena);
}
_has_bits_[0] |= 0x00000008u;
} else {
_has_bits_[0] &= ~0x00000008u;
}
master_key_info_ = master_key_info;
// @@protoc_insertion_point(field_set_allocated:video_widevine.PackagingRequest.master_key_info)
}
// repeated .video_widevine.KeyInfo content_key_info = 5;
inline int PackagingRequest::_internal_content_key_info_size() const {
return content_key_info_.size();
}
inline int PackagingRequest::content_key_info_size() const {
return _internal_content_key_info_size();
}
inline void PackagingRequest::clear_content_key_info() {
content_key_info_.Clear();
}
inline ::video_widevine::KeyInfo* PackagingRequest::mutable_content_key_info(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingRequest.content_key_info)
return content_key_info_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyInfo >*
PackagingRequest::mutable_content_key_info() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.PackagingRequest.content_key_info)
return &content_key_info_;
}
inline const ::video_widevine::KeyInfo& PackagingRequest::_internal_content_key_info(int index) const {
return content_key_info_.Get(index);
}
inline const ::video_widevine::KeyInfo& PackagingRequest::content_key_info(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingRequest.content_key_info)
return _internal_content_key_info(index);
}
inline ::video_widevine::KeyInfo* PackagingRequest::_internal_add_content_key_info() {
return content_key_info_.Add();
}
inline ::video_widevine::KeyInfo* PackagingRequest::add_content_key_info() {
::video_widevine::KeyInfo* _add = _internal_add_content_key_info();
// @@protoc_insertion_point(field_add:video_widevine.PackagingRequest.content_key_info)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::KeyInfo >&
PackagingRequest::content_key_info() const {
// @@protoc_insertion_point(field_list:video_widevine.PackagingRequest.content_key_info)
return content_key_info_;
}
// -------------------------------------------------------------------
// PackagingResponse_ProtectionInformation
// optional .video_widevine.KeyInfo key_info = 1;
inline bool PackagingResponse_ProtectionInformation::_internal_has_key_info() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
PROTOBUF_ASSUME(!value || key_info_ != nullptr);
return value;
}
inline bool PackagingResponse_ProtectionInformation::has_key_info() const {
return _internal_has_key_info();
}
inline void PackagingResponse_ProtectionInformation::clear_key_info() {
if (key_info_ != nullptr) key_info_->Clear();
_has_bits_[0] &= ~0x00000002u;
}
inline const ::video_widevine::KeyInfo& PackagingResponse_ProtectionInformation::_internal_key_info() const {
const ::video_widevine::KeyInfo* p = key_info_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::KeyInfo&>(
::video_widevine::_KeyInfo_default_instance_);
}
inline const ::video_widevine::KeyInfo& PackagingResponse_ProtectionInformation::key_info() const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingResponse.ProtectionInformation.key_info)
return _internal_key_info();
}
inline void PackagingResponse_ProtectionInformation::unsafe_arena_set_allocated_key_info(
::video_widevine::KeyInfo* key_info) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(key_info_);
}
key_info_ = key_info;
if (key_info) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.PackagingResponse.ProtectionInformation.key_info)
}
inline ::video_widevine::KeyInfo* PackagingResponse_ProtectionInformation::release_key_info() {
_has_bits_[0] &= ~0x00000002u;
::video_widevine::KeyInfo* temp = key_info_;
key_info_ = 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::KeyInfo* PackagingResponse_ProtectionInformation::unsafe_arena_release_key_info() {
// @@protoc_insertion_point(field_release:video_widevine.PackagingResponse.ProtectionInformation.key_info)
_has_bits_[0] &= ~0x00000002u;
::video_widevine::KeyInfo* temp = key_info_;
key_info_ = nullptr;
return temp;
}
inline ::video_widevine::KeyInfo* PackagingResponse_ProtectionInformation::_internal_mutable_key_info() {
_has_bits_[0] |= 0x00000002u;
if (key_info_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::KeyInfo>(GetArenaForAllocation());
key_info_ = p;
}
return key_info_;
}
inline ::video_widevine::KeyInfo* PackagingResponse_ProtectionInformation::mutable_key_info() {
::video_widevine::KeyInfo* _msg = _internal_mutable_key_info();
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingResponse.ProtectionInformation.key_info)
return _msg;
}
inline void PackagingResponse_ProtectionInformation::set_allocated_key_info(::video_widevine::KeyInfo* key_info) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete key_info_;
}
if (key_info) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::video_widevine::KeyInfo>::GetOwningArena(key_info);
if (message_arena != submessage_arena) {
key_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, key_info, submessage_arena);
}
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
key_info_ = key_info;
// @@protoc_insertion_point(field_set_allocated:video_widevine.PackagingResponse.ProtectionInformation.key_info)
}
// optional string base64_pssh = 2;
inline bool PackagingResponse_ProtectionInformation::_internal_has_base64_pssh() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PackagingResponse_ProtectionInformation::has_base64_pssh() const {
return _internal_has_base64_pssh();
}
inline void PackagingResponse_ProtectionInformation::clear_base64_pssh() {
base64_pssh_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PackagingResponse_ProtectionInformation::base64_pssh() const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingResponse.ProtectionInformation.base64_pssh)
return _internal_base64_pssh();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PackagingResponse_ProtectionInformation::set_base64_pssh(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
base64_pssh_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PackagingResponse.ProtectionInformation.base64_pssh)
}
inline std::string* PackagingResponse_ProtectionInformation::mutable_base64_pssh() {
std::string* _s = _internal_mutable_base64_pssh();
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingResponse.ProtectionInformation.base64_pssh)
return _s;
}
inline const std::string& PackagingResponse_ProtectionInformation::_internal_base64_pssh() const {
return base64_pssh_.Get();
}
inline void PackagingResponse_ProtectionInformation::_internal_set_base64_pssh(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
base64_pssh_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PackagingResponse_ProtectionInformation::_internal_mutable_base64_pssh() {
_has_bits_[0] |= 0x00000001u;
return base64_pssh_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PackagingResponse_ProtectionInformation::release_base64_pssh() {
// @@protoc_insertion_point(field_release:video_widevine.PackagingResponse.ProtectionInformation.base64_pssh)
if (!_internal_has_base64_pssh()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return base64_pssh_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PackagingResponse_ProtectionInformation::set_allocated_base64_pssh(std::string* base64_pssh) {
if (base64_pssh != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
base64_pssh_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), base64_pssh,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PackagingResponse.ProtectionInformation.base64_pssh)
}
// -------------------------------------------------------------------
// PackagingResponse
// optional string status_message = 2;
inline bool PackagingResponse::_internal_has_status_message() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool PackagingResponse::has_status_message() const {
return _internal_has_status_message();
}
inline void PackagingResponse::clear_status_message() {
status_message_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& PackagingResponse::status_message() const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingResponse.status_message)
return _internal_status_message();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PackagingResponse::set_status_message(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
status_message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PackagingResponse.status_message)
}
inline std::string* PackagingResponse::mutable_status_message() {
std::string* _s = _internal_mutable_status_message();
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingResponse.status_message)
return _s;
}
inline const std::string& PackagingResponse::_internal_status_message() const {
return status_message_.Get();
}
inline void PackagingResponse::_internal_set_status_message(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
status_message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PackagingResponse::_internal_mutable_status_message() {
_has_bits_[0] |= 0x00000001u;
return status_message_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PackagingResponse::release_status_message() {
// @@protoc_insertion_point(field_release:video_widevine.PackagingResponse.status_message)
if (!_internal_has_status_message()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return status_message_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PackagingResponse::set_allocated_status_message(std::string* status_message) {
if (status_message != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
status_message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), status_message,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PackagingResponse.status_message)
}
// optional string custom_data = 3;
inline bool PackagingResponse::_internal_has_custom_data() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool PackagingResponse::has_custom_data() const {
return _internal_has_custom_data();
}
inline void PackagingResponse::clear_custom_data() {
custom_data_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& PackagingResponse::custom_data() const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingResponse.custom_data)
return _internal_custom_data();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void PackagingResponse::set_custom_data(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
custom_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.PackagingResponse.custom_data)
}
inline std::string* PackagingResponse::mutable_custom_data() {
std::string* _s = _internal_mutable_custom_data();
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingResponse.custom_data)
return _s;
}
inline const std::string& PackagingResponse::_internal_custom_data() const {
return custom_data_.Get();
}
inline void PackagingResponse::_internal_set_custom_data(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
custom_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* PackagingResponse::_internal_mutable_custom_data() {
_has_bits_[0] |= 0x00000002u;
return custom_data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* PackagingResponse::release_custom_data() {
// @@protoc_insertion_point(field_release:video_widevine.PackagingResponse.custom_data)
if (!_internal_has_custom_data()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return custom_data_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void PackagingResponse::set_allocated_custom_data(std::string* custom_data) {
if (custom_data != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
custom_data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), custom_data,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.PackagingResponse.custom_data)
}
// repeated .video_widevine.PackagingResponse.ProtectionInformation protection_info = 4;
inline int PackagingResponse::_internal_protection_info_size() const {
return protection_info_.size();
}
inline int PackagingResponse::protection_info_size() const {
return _internal_protection_info_size();
}
inline void PackagingResponse::clear_protection_info() {
protection_info_.Clear();
}
inline ::video_widevine::PackagingResponse_ProtectionInformation* PackagingResponse::mutable_protection_info(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.PackagingResponse.protection_info)
return protection_info_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::PackagingResponse_ProtectionInformation >*
PackagingResponse::mutable_protection_info() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.PackagingResponse.protection_info)
return &protection_info_;
}
inline const ::video_widevine::PackagingResponse_ProtectionInformation& PackagingResponse::_internal_protection_info(int index) const {
return protection_info_.Get(index);
}
inline const ::video_widevine::PackagingResponse_ProtectionInformation& PackagingResponse::protection_info(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.PackagingResponse.protection_info)
return _internal_protection_info(index);
}
inline ::video_widevine::PackagingResponse_ProtectionInformation* PackagingResponse::_internal_add_protection_info() {
return protection_info_.Add();
}
inline ::video_widevine::PackagingResponse_ProtectionInformation* PackagingResponse::add_protection_info() {
::video_widevine::PackagingResponse_ProtectionInformation* _add = _internal_add_protection_info();
// @@protoc_insertion_point(field_add:video_widevine.PackagingResponse.protection_info)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::PackagingResponse_ProtectionInformation >&
PackagingResponse::protection_info() const {
// @@protoc_insertion_point(field_list:video_widevine.PackagingResponse.protection_info)
return protection_info_;
}
// -------------------------------------------------------------------
// StreamIdInfo
// optional string provider = 1;
inline bool StreamIdInfo::_internal_has_provider() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool StreamIdInfo::has_provider() const {
return _internal_has_provider();
}
inline void StreamIdInfo::clear_provider() {
provider_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& StreamIdInfo::provider() const {
// @@protoc_insertion_point(field_get:video_widevine.StreamIdInfo.provider)
return _internal_provider();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void StreamIdInfo::set_provider(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.StreamIdInfo.provider)
}
inline std::string* StreamIdInfo::mutable_provider() {
std::string* _s = _internal_mutable_provider();
// @@protoc_insertion_point(field_mutable:video_widevine.StreamIdInfo.provider)
return _s;
}
inline const std::string& StreamIdInfo::_internal_provider() const {
return provider_.Get();
}
inline void StreamIdInfo::_internal_set_provider(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StreamIdInfo::_internal_mutable_provider() {
_has_bits_[0] |= 0x00000001u;
return provider_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StreamIdInfo::release_provider() {
// @@protoc_insertion_point(field_release:video_widevine.StreamIdInfo.provider)
if (!_internal_has_provider()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return provider_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StreamIdInfo::set_allocated_provider(std::string* provider) {
if (provider != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
provider_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), provider,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.StreamIdInfo.provider)
}
// optional string group_id = 2;
inline bool StreamIdInfo::_internal_has_group_id() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool StreamIdInfo::has_group_id() const {
return _internal_has_group_id();
}
inline void StreamIdInfo::clear_group_id() {
group_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& StreamIdInfo::group_id() const {
// @@protoc_insertion_point(field_get:video_widevine.StreamIdInfo.group_id)
return _internal_group_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void StreamIdInfo::set_group_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
group_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.StreamIdInfo.group_id)
}
inline std::string* StreamIdInfo::mutable_group_id() {
std::string* _s = _internal_mutable_group_id();
// @@protoc_insertion_point(field_mutable:video_widevine.StreamIdInfo.group_id)
return _s;
}
inline const std::string& StreamIdInfo::_internal_group_id() const {
return group_id_.Get();
}
inline void StreamIdInfo::_internal_set_group_id(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
group_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StreamIdInfo::_internal_mutable_group_id() {
_has_bits_[0] |= 0x00000002u;
return group_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StreamIdInfo::release_group_id() {
// @@protoc_insertion_point(field_release:video_widevine.StreamIdInfo.group_id)
if (!_internal_has_group_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return group_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StreamIdInfo::set_allocated_group_id(std::string* group_id) {
if (group_id != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
group_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), group_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.StreamIdInfo.group_id)
}
// optional string service_id = 3;
inline bool StreamIdInfo::_internal_has_service_id() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool StreamIdInfo::has_service_id() const {
return _internal_has_service_id();
}
inline void StreamIdInfo::clear_service_id() {
service_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000004u;
}
inline const std::string& StreamIdInfo::service_id() const {
// @@protoc_insertion_point(field_get:video_widevine.StreamIdInfo.service_id)
return _internal_service_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void StreamIdInfo::set_service_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000004u;
service_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.StreamIdInfo.service_id)
}
inline std::string* StreamIdInfo::mutable_service_id() {
std::string* _s = _internal_mutable_service_id();
// @@protoc_insertion_point(field_mutable:video_widevine.StreamIdInfo.service_id)
return _s;
}
inline const std::string& StreamIdInfo::_internal_service_id() const {
return service_id_.Get();
}
inline void StreamIdInfo::_internal_set_service_id(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
service_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* StreamIdInfo::_internal_mutable_service_id() {
_has_bits_[0] |= 0x00000004u;
return service_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* StreamIdInfo::release_service_id() {
// @@protoc_insertion_point(field_release:video_widevine.StreamIdInfo.service_id)
if (!_internal_has_service_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
return service_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void StreamIdInfo::set_allocated_service_id(std::string* service_id) {
if (service_id != nullptr) {
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
service_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), service_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.StreamIdInfo.service_id)
}
// -------------------------------------------------------------------
// SecureStopRequest
// optional string challenge = 1;
inline bool SecureStopRequest::_internal_has_challenge() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool SecureStopRequest::has_challenge() const {
return _internal_has_challenge();
}
inline void SecureStopRequest::clear_challenge() {
challenge_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& SecureStopRequest::challenge() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopRequest.challenge)
return _internal_challenge();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SecureStopRequest::set_challenge(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
challenge_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.SecureStopRequest.challenge)
}
inline std::string* SecureStopRequest::mutable_challenge() {
std::string* _s = _internal_mutable_challenge();
// @@protoc_insertion_point(field_mutable:video_widevine.SecureStopRequest.challenge)
return _s;
}
inline const std::string& SecureStopRequest::_internal_challenge() const {
return challenge_.Get();
}
inline void SecureStopRequest::_internal_set_challenge(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
challenge_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SecureStopRequest::_internal_mutable_challenge() {
_has_bits_[0] |= 0x00000001u;
return challenge_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SecureStopRequest::release_challenge() {
// @@protoc_insertion_point(field_release:video_widevine.SecureStopRequest.challenge)
if (!_internal_has_challenge()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return challenge_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SecureStopRequest::set_allocated_challenge(std::string* challenge) {
if (challenge != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
challenge_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), challenge,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.SecureStopRequest.challenge)
}
// optional string provider = 2;
inline bool SecureStopRequest::_internal_has_provider() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool SecureStopRequest::has_provider() const {
return _internal_has_provider();
}
inline void SecureStopRequest::clear_provider() {
provider_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& SecureStopRequest::provider() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopRequest.provider)
return _internal_provider();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SecureStopRequest::set_provider(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.SecureStopRequest.provider)
}
inline std::string* SecureStopRequest::mutable_provider() {
std::string* _s = _internal_mutable_provider();
// @@protoc_insertion_point(field_mutable:video_widevine.SecureStopRequest.provider)
return _s;
}
inline const std::string& SecureStopRequest::_internal_provider() const {
return provider_.Get();
}
inline void SecureStopRequest::_internal_set_provider(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
provider_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SecureStopRequest::_internal_mutable_provider() {
_has_bits_[0] |= 0x00000002u;
return provider_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SecureStopRequest::release_provider() {
// @@protoc_insertion_point(field_release:video_widevine.SecureStopRequest.provider)
if (!_internal_has_provider()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return provider_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SecureStopRequest::set_allocated_provider(std::string* provider) {
if (provider != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
provider_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), provider,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.SecureStopRequest.provider)
}
// optional string content_id = 3;
inline bool SecureStopRequest::_internal_has_content_id() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool SecureStopRequest::has_content_id() const {
return _internal_has_content_id();
}
inline void SecureStopRequest::clear_content_id() {
content_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000004u;
}
inline const std::string& SecureStopRequest::content_id() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopRequest.content_id)
return _internal_content_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SecureStopRequest::set_content_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000004u;
content_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.SecureStopRequest.content_id)
}
inline std::string* SecureStopRequest::mutable_content_id() {
std::string* _s = _internal_mutable_content_id();
// @@protoc_insertion_point(field_mutable:video_widevine.SecureStopRequest.content_id)
return _s;
}
inline const std::string& SecureStopRequest::_internal_content_id() const {
return content_id_.Get();
}
inline void SecureStopRequest::_internal_set_content_id(const std::string& value) {
_has_bits_[0] |= 0x00000004u;
content_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SecureStopRequest::_internal_mutable_content_id() {
_has_bits_[0] |= 0x00000004u;
return content_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SecureStopRequest::release_content_id() {
// @@protoc_insertion_point(field_release:video_widevine.SecureStopRequest.content_id)
if (!_internal_has_content_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000004u;
return content_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SecureStopRequest::set_allocated_content_id(std::string* content_id) {
if (content_id != nullptr) {
_has_bits_[0] |= 0x00000004u;
} else {
_has_bits_[0] &= ~0x00000004u;
}
content_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), content_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.SecureStopRequest.content_id)
}
// optional string request_id = 4;
inline bool SecureStopRequest::_internal_has_request_id() const {
bool value = (_has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool SecureStopRequest::has_request_id() const {
return _internal_has_request_id();
}
inline void SecureStopRequest::clear_request_id() {
request_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000008u;
}
inline const std::string& SecureStopRequest::request_id() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopRequest.request_id)
return _internal_request_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SecureStopRequest::set_request_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000008u;
request_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.SecureStopRequest.request_id)
}
inline std::string* SecureStopRequest::mutable_request_id() {
std::string* _s = _internal_mutable_request_id();
// @@protoc_insertion_point(field_mutable:video_widevine.SecureStopRequest.request_id)
return _s;
}
inline const std::string& SecureStopRequest::_internal_request_id() const {
return request_id_.Get();
}
inline void SecureStopRequest::_internal_set_request_id(const std::string& value) {
_has_bits_[0] |= 0x00000008u;
request_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SecureStopRequest::_internal_mutable_request_id() {
_has_bits_[0] |= 0x00000008u;
return request_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SecureStopRequest::release_request_id() {
// @@protoc_insertion_point(field_release:video_widevine.SecureStopRequest.request_id)
if (!_internal_has_request_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000008u;
return request_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SecureStopRequest::set_allocated_request_id(std::string* request_id) {
if (request_id != nullptr) {
_has_bits_[0] |= 0x00000008u;
} else {
_has_bits_[0] &= ~0x00000008u;
}
request_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.SecureStopRequest.request_id)
}
// -------------------------------------------------------------------
// SecureStopResponse_SecureStopRecord
// optional bytes session_id = 1;
inline bool SecureStopResponse_SecureStopRecord::_internal_has_session_id() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool SecureStopResponse_SecureStopRecord::has_session_id() const {
return _internal_has_session_id();
}
inline void SecureStopResponse_SecureStopRecord::clear_session_id() {
session_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& SecureStopResponse_SecureStopRecord::session_id() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopResponse.SecureStopRecord.session_id)
return _internal_session_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SecureStopResponse_SecureStopRecord::set_session_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
session_id_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.SecureStopResponse.SecureStopRecord.session_id)
}
inline std::string* SecureStopResponse_SecureStopRecord::mutable_session_id() {
std::string* _s = _internal_mutable_session_id();
// @@protoc_insertion_point(field_mutable:video_widevine.SecureStopResponse.SecureStopRecord.session_id)
return _s;
}
inline const std::string& SecureStopResponse_SecureStopRecord::_internal_session_id() const {
return session_id_.Get();
}
inline void SecureStopResponse_SecureStopRecord::_internal_set_session_id(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
session_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SecureStopResponse_SecureStopRecord::_internal_mutable_session_id() {
_has_bits_[0] |= 0x00000001u;
return session_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SecureStopResponse_SecureStopRecord::release_session_id() {
// @@protoc_insertion_point(field_release:video_widevine.SecureStopResponse.SecureStopRecord.session_id)
if (!_internal_has_session_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return session_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SecureStopResponse_SecureStopRecord::set_allocated_session_id(std::string* session_id) {
if (session_id != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
session_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), session_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.SecureStopResponse.SecureStopRecord.session_id)
}
// optional int64 start_time_seconds = 2;
inline bool SecureStopResponse_SecureStopRecord::_internal_has_start_time_seconds() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool SecureStopResponse_SecureStopRecord::has_start_time_seconds() const {
return _internal_has_start_time_seconds();
}
inline void SecureStopResponse_SecureStopRecord::clear_start_time_seconds() {
start_time_seconds_ = int64_t{0};
_has_bits_[0] &= ~0x00000002u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 SecureStopResponse_SecureStopRecord::_internal_start_time_seconds() const {
return start_time_seconds_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 SecureStopResponse_SecureStopRecord::start_time_seconds() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopResponse.SecureStopRecord.start_time_seconds)
return _internal_start_time_seconds();
}
inline void SecureStopResponse_SecureStopRecord::_internal_set_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_has_bits_[0] |= 0x00000002u;
start_time_seconds_ = value;
}
inline void SecureStopResponse_SecureStopRecord::set_start_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_internal_set_start_time_seconds(value);
// @@protoc_insertion_point(field_set:video_widevine.SecureStopResponse.SecureStopRecord.start_time_seconds)
}
// optional int64 update_time_seconds = 3;
inline bool SecureStopResponse_SecureStopRecord::_internal_has_update_time_seconds() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool SecureStopResponse_SecureStopRecord::has_update_time_seconds() const {
return _internal_has_update_time_seconds();
}
inline void SecureStopResponse_SecureStopRecord::clear_update_time_seconds() {
update_time_seconds_ = int64_t{0};
_has_bits_[0] &= ~0x00000004u;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 SecureStopResponse_SecureStopRecord::_internal_update_time_seconds() const {
return update_time_seconds_;
}
inline ::PROTOBUF_NAMESPACE_ID::int64 SecureStopResponse_SecureStopRecord::update_time_seconds() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopResponse.SecureStopRecord.update_time_seconds)
return _internal_update_time_seconds();
}
inline void SecureStopResponse_SecureStopRecord::_internal_set_update_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_has_bits_[0] |= 0x00000004u;
update_time_seconds_ = value;
}
inline void SecureStopResponse_SecureStopRecord::set_update_time_seconds(::PROTOBUF_NAMESPACE_ID::int64 value) {
_internal_set_update_time_seconds(value);
// @@protoc_insertion_point(field_set:video_widevine.SecureStopResponse.SecureStopRecord.update_time_seconds)
}
// optional bool stopped = 4;
inline bool SecureStopResponse_SecureStopRecord::_internal_has_stopped() const {
bool value = (_has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool SecureStopResponse_SecureStopRecord::has_stopped() const {
return _internal_has_stopped();
}
inline void SecureStopResponse_SecureStopRecord::clear_stopped() {
stopped_ = false;
_has_bits_[0] &= ~0x00000008u;
}
inline bool SecureStopResponse_SecureStopRecord::_internal_stopped() const {
return stopped_;
}
inline bool SecureStopResponse_SecureStopRecord::stopped() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopResponse.SecureStopRecord.stopped)
return _internal_stopped();
}
inline void SecureStopResponse_SecureStopRecord::_internal_set_stopped(bool value) {
_has_bits_[0] |= 0x00000008u;
stopped_ = value;
}
inline void SecureStopResponse_SecureStopRecord::set_stopped(bool value) {
_internal_set_stopped(value);
// @@protoc_insertion_point(field_set:video_widevine.SecureStopResponse.SecureStopRecord.stopped)
}
// -------------------------------------------------------------------
// SecureStopResponse_SecureStopChallenge
// optional bytes publisher_id = 1;
inline bool SecureStopResponse_SecureStopChallenge::_internal_has_publisher_id() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool SecureStopResponse_SecureStopChallenge::has_publisher_id() const {
return _internal_has_publisher_id();
}
inline void SecureStopResponse_SecureStopChallenge::clear_publisher_id() {
publisher_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& SecureStopResponse_SecureStopChallenge::publisher_id() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopResponse.SecureStopChallenge.publisher_id)
return _internal_publisher_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SecureStopResponse_SecureStopChallenge::set_publisher_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
publisher_id_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.SecureStopResponse.SecureStopChallenge.publisher_id)
}
inline std::string* SecureStopResponse_SecureStopChallenge::mutable_publisher_id() {
std::string* _s = _internal_mutable_publisher_id();
// @@protoc_insertion_point(field_mutable:video_widevine.SecureStopResponse.SecureStopChallenge.publisher_id)
return _s;
}
inline const std::string& SecureStopResponse_SecureStopChallenge::_internal_publisher_id() const {
return publisher_id_.Get();
}
inline void SecureStopResponse_SecureStopChallenge::_internal_set_publisher_id(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
publisher_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SecureStopResponse_SecureStopChallenge::_internal_mutable_publisher_id() {
_has_bits_[0] |= 0x00000001u;
return publisher_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SecureStopResponse_SecureStopChallenge::release_publisher_id() {
// @@protoc_insertion_point(field_release:video_widevine.SecureStopResponse.SecureStopChallenge.publisher_id)
if (!_internal_has_publisher_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return publisher_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SecureStopResponse_SecureStopChallenge::set_allocated_publisher_id(std::string* publisher_id) {
if (publisher_id != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
publisher_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), publisher_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.SecureStopResponse.SecureStopChallenge.publisher_id)
}
// optional bytes client_certificate = 2;
inline bool SecureStopResponse_SecureStopChallenge::_internal_has_client_certificate() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool SecureStopResponse_SecureStopChallenge::has_client_certificate() const {
return _internal_has_client_certificate();
}
inline void SecureStopResponse_SecureStopChallenge::clear_client_certificate() {
client_certificate_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& SecureStopResponse_SecureStopChallenge::client_certificate() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopResponse.SecureStopChallenge.client_certificate)
return _internal_client_certificate();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SecureStopResponse_SecureStopChallenge::set_client_certificate(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
client_certificate_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.SecureStopResponse.SecureStopChallenge.client_certificate)
}
inline std::string* SecureStopResponse_SecureStopChallenge::mutable_client_certificate() {
std::string* _s = _internal_mutable_client_certificate();
// @@protoc_insertion_point(field_mutable:video_widevine.SecureStopResponse.SecureStopChallenge.client_certificate)
return _s;
}
inline const std::string& SecureStopResponse_SecureStopChallenge::_internal_client_certificate() const {
return client_certificate_.Get();
}
inline void SecureStopResponse_SecureStopChallenge::_internal_set_client_certificate(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
client_certificate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* SecureStopResponse_SecureStopChallenge::_internal_mutable_client_certificate() {
_has_bits_[0] |= 0x00000002u;
return client_certificate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* SecureStopResponse_SecureStopChallenge::release_client_certificate() {
// @@protoc_insertion_point(field_release:video_widevine.SecureStopResponse.SecureStopChallenge.client_certificate)
if (!_internal_has_client_certificate()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return client_certificate_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void SecureStopResponse_SecureStopChallenge::set_allocated_client_certificate(std::string* client_certificate) {
if (client_certificate != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
client_certificate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), client_certificate,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.SecureStopResponse.SecureStopChallenge.client_certificate)
}
// -------------------------------------------------------------------
// SecureStopResponse
// repeated .video_widevine.SecureStopResponse.SecureStopRecord secure_stop_record = 1;
inline int SecureStopResponse::_internal_secure_stop_record_size() const {
return secure_stop_record_.size();
}
inline int SecureStopResponse::secure_stop_record_size() const {
return _internal_secure_stop_record_size();
}
inline void SecureStopResponse::clear_secure_stop_record() {
secure_stop_record_.Clear();
}
inline ::video_widevine::SecureStopResponse_SecureStopRecord* SecureStopResponse::mutable_secure_stop_record(int index) {
// @@protoc_insertion_point(field_mutable:video_widevine.SecureStopResponse.secure_stop_record)
return secure_stop_record_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::SecureStopResponse_SecureStopRecord >*
SecureStopResponse::mutable_secure_stop_record() {
// @@protoc_insertion_point(field_mutable_list:video_widevine.SecureStopResponse.secure_stop_record)
return &secure_stop_record_;
}
inline const ::video_widevine::SecureStopResponse_SecureStopRecord& SecureStopResponse::_internal_secure_stop_record(int index) const {
return secure_stop_record_.Get(index);
}
inline const ::video_widevine::SecureStopResponse_SecureStopRecord& SecureStopResponse::secure_stop_record(int index) const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopResponse.secure_stop_record)
return _internal_secure_stop_record(index);
}
inline ::video_widevine::SecureStopResponse_SecureStopRecord* SecureStopResponse::_internal_add_secure_stop_record() {
return secure_stop_record_.Add();
}
inline ::video_widevine::SecureStopResponse_SecureStopRecord* SecureStopResponse::add_secure_stop_record() {
::video_widevine::SecureStopResponse_SecureStopRecord* _add = _internal_add_secure_stop_record();
// @@protoc_insertion_point(field_add:video_widevine.SecureStopResponse.secure_stop_record)
return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::video_widevine::SecureStopResponse_SecureStopRecord >&
SecureStopResponse::secure_stop_record() const {
// @@protoc_insertion_point(field_list:video_widevine.SecureStopResponse.secure_stop_record)
return secure_stop_record_;
}
// optional .video_widevine.SecureStopResponse.SecureStopChallenge secure_stop_challenge = 2;
inline bool SecureStopResponse::_internal_has_secure_stop_challenge() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
PROTOBUF_ASSUME(!value || secure_stop_challenge_ != nullptr);
return value;
}
inline bool SecureStopResponse::has_secure_stop_challenge() const {
return _internal_has_secure_stop_challenge();
}
inline void SecureStopResponse::clear_secure_stop_challenge() {
if (secure_stop_challenge_ != nullptr) secure_stop_challenge_->Clear();
_has_bits_[0] &= ~0x00000001u;
}
inline const ::video_widevine::SecureStopResponse_SecureStopChallenge& SecureStopResponse::_internal_secure_stop_challenge() const {
const ::video_widevine::SecureStopResponse_SecureStopChallenge* p = secure_stop_challenge_;
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::SecureStopResponse_SecureStopChallenge&>(
::video_widevine::_SecureStopResponse_SecureStopChallenge_default_instance_);
}
inline const ::video_widevine::SecureStopResponse_SecureStopChallenge& SecureStopResponse::secure_stop_challenge() const {
// @@protoc_insertion_point(field_get:video_widevine.SecureStopResponse.secure_stop_challenge)
return _internal_secure_stop_challenge();
}
inline void SecureStopResponse::unsafe_arena_set_allocated_secure_stop_challenge(
::video_widevine::SecureStopResponse_SecureStopChallenge* secure_stop_challenge) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(secure_stop_challenge_);
}
secure_stop_challenge_ = secure_stop_challenge;
if (secure_stop_challenge) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.SecureStopResponse.secure_stop_challenge)
}
inline ::video_widevine::SecureStopResponse_SecureStopChallenge* SecureStopResponse::release_secure_stop_challenge() {
_has_bits_[0] &= ~0x00000001u;
::video_widevine::SecureStopResponse_SecureStopChallenge* temp = secure_stop_challenge_;
secure_stop_challenge_ = 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::SecureStopResponse_SecureStopChallenge* SecureStopResponse::unsafe_arena_release_secure_stop_challenge() {
// @@protoc_insertion_point(field_release:video_widevine.SecureStopResponse.secure_stop_challenge)
_has_bits_[0] &= ~0x00000001u;
::video_widevine::SecureStopResponse_SecureStopChallenge* temp = secure_stop_challenge_;
secure_stop_challenge_ = nullptr;
return temp;
}
inline ::video_widevine::SecureStopResponse_SecureStopChallenge* SecureStopResponse::_internal_mutable_secure_stop_challenge() {
_has_bits_[0] |= 0x00000001u;
if (secure_stop_challenge_ == nullptr) {
auto* p = CreateMaybeMessage<::video_widevine::SecureStopResponse_SecureStopChallenge>(GetArenaForAllocation());
secure_stop_challenge_ = p;
}
return secure_stop_challenge_;
}
inline ::video_widevine::SecureStopResponse_SecureStopChallenge* SecureStopResponse::mutable_secure_stop_challenge() {
::video_widevine::SecureStopResponse_SecureStopChallenge* _msg = _internal_mutable_secure_stop_challenge();
// @@protoc_insertion_point(field_mutable:video_widevine.SecureStopResponse.secure_stop_challenge)
return _msg;
}
inline void SecureStopResponse::set_allocated_secure_stop_challenge(::video_widevine::SecureStopResponse_SecureStopChallenge* secure_stop_challenge) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete secure_stop_challenge_;
}
if (secure_stop_challenge) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::video_widevine::SecureStopResponse_SecureStopChallenge>::GetOwningArena(secure_stop_challenge);
if (message_arena != submessage_arena) {
secure_stop_challenge = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, secure_stop_challenge, submessage_arena);
}
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
secure_stop_challenge_ = secure_stop_challenge;
// @@protoc_insertion_point(field_set_allocated:video_widevine.SecureStopResponse.secure_stop_challenge)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace video_widevine
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::video_widevine::PlayReadyPolicy_HdcpLevel> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::PlayReadyPolicy_HdcpLevel>() {
return ::video_widevine::PlayReadyPolicy_HdcpLevel_descriptor();
}
template <> struct is_proto_enum< ::video_widevine::PlayReadyPolicy_CGMS> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::PlayReadyPolicy_CGMS>() {
return ::video_widevine::PlayReadyPolicy_CGMS_descriptor();
}
template <> struct is_proto_enum< ::video_widevine::PlayReadyPolicy_SecurityLevel> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::PlayReadyPolicy_SecurityLevel>() {
return ::video_widevine::PlayReadyPolicy_SecurityLevel_descriptor();
}
template <> struct is_proto_enum< ::video_widevine::KeyInfo_Type> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::KeyInfo_Type>() {
return ::video_widevine::KeyInfo_Type_descriptor();
}
template <> struct is_proto_enum< ::video_widevine::PlayReadyLicenseRequest_Requester> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::PlayReadyLicenseRequest_Requester>() {
return ::video_widevine::PlayReadyLicenseRequest_Requester_descriptor();
}
template <> struct is_proto_enum< ::video_widevine::PlayReadyLicenseRequest_StreamType> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::PlayReadyLicenseRequest_StreamType>() {
return ::video_widevine::PlayReadyLicenseRequest_StreamType_descriptor();
}
template <> struct is_proto_enum< ::video_widevine::PlayReadyLicenseRequest_ChallengeType> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::PlayReadyLicenseRequest_ChallengeType>() {
return ::video_widevine::PlayReadyLicenseRequest_ChallengeType_descriptor();
}
template <> struct is_proto_enum< ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures>() {
return ::video_widevine::PlayReadyLicenseResponse_ClientCertificateInfo_SupportedFeatures_descriptor();
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fplayready_2eproto