6081 lines
280 KiB
C++
6081 lines
280 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: protos/public/certificate_provisioning.proto
|
|
|
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fcertificate_5fprovisioning_2eproto
|
|
#define GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fcertificate_5fprovisioning_2eproto
|
|
|
|
#include <limits>
|
|
#include <string>
|
|
|
|
#include <google/protobuf/port_def.inc>
|
|
#if PROTOBUF_VERSION < 3014000
|
|
#error This file was generated by a newer version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please update
|
|
#error your headers.
|
|
#endif
|
|
#if 3014000 < PROTOBUF_MIN_PROTOC_VERSION
|
|
#error This file was generated by an older version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please
|
|
#error regenerate this file with a newer version of protoc.
|
|
#endif
|
|
|
|
#include <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>
|
|
#include "protos/public/client_identification.pb.h"
|
|
#include "protos/public/hash_algorithm.pb.h"
|
|
#include "protos/public/remote_attestation.pb.h"
|
|
// @@protoc_insertion_point(includes)
|
|
#include <google/protobuf/port_def.inc>
|
|
#define PROTOBUF_INTERNAL_EXPORT_protos_2fpublic_2fcertificate_5fprovisioning_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_2fcertificate_5fprovisioning_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[12]
|
|
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_2fcertificate_5fprovisioning_2eproto;
|
|
namespace video_widevine {
|
|
class ProvisioningContext;
|
|
class ProvisioningContextDefaultTypeInternal;
|
|
extern ProvisioningContextDefaultTypeInternal _ProvisioningContext_default_instance_;
|
|
class ProvisioningContextKeyData;
|
|
class ProvisioningContextKeyDataDefaultTypeInternal;
|
|
extern ProvisioningContextKeyDataDefaultTypeInternal _ProvisioningContextKeyData_default_instance_;
|
|
class ProvisioningOptions;
|
|
class ProvisioningOptionsDefaultTypeInternal;
|
|
extern ProvisioningOptionsDefaultTypeInternal _ProvisioningOptions_default_instance_;
|
|
class ProvisioningRequest;
|
|
class ProvisioningRequestDefaultTypeInternal;
|
|
extern ProvisioningRequestDefaultTypeInternal _ProvisioningRequest_default_instance_;
|
|
class ProvisioningRequest_AndroidAttestationOtaKeyboxRequest;
|
|
class ProvisioningRequest_AndroidAttestationOtaKeyboxRequestDefaultTypeInternal;
|
|
extern ProvisioningRequest_AndroidAttestationOtaKeyboxRequestDefaultTypeInternal _ProvisioningRequest_AndroidAttestationOtaKeyboxRequest_default_instance_;
|
|
class ProvisioningRequest_EncryptedSessionKeys;
|
|
class ProvisioningRequest_EncryptedSessionKeysDefaultTypeInternal;
|
|
extern ProvisioningRequest_EncryptedSessionKeysDefaultTypeInternal _ProvisioningRequest_EncryptedSessionKeys_default_instance_;
|
|
class ProvisioningRequest_EncryptedSessionKeys_SessionKeys;
|
|
class ProvisioningRequest_EncryptedSessionKeys_SessionKeysDefaultTypeInternal;
|
|
extern ProvisioningRequest_EncryptedSessionKeys_SessionKeysDefaultTypeInternal _ProvisioningRequest_EncryptedSessionKeys_SessionKeys_default_instance_;
|
|
class ProvisioningResponse;
|
|
class ProvisioningResponseDefaultTypeInternal;
|
|
extern ProvisioningResponseDefaultTypeInternal _ProvisioningResponse_default_instance_;
|
|
class ProvisioningResponse_AndroidAttestationOtaKeyboxResponse;
|
|
class ProvisioningResponse_AndroidAttestationOtaKeyboxResponseDefaultTypeInternal;
|
|
extern ProvisioningResponse_AndroidAttestationOtaKeyboxResponseDefaultTypeInternal _ProvisioningResponse_AndroidAttestationOtaKeyboxResponse_default_instance_;
|
|
class ProvisioningResponse_OtaKeybox;
|
|
class ProvisioningResponse_OtaKeyboxDefaultTypeInternal;
|
|
extern ProvisioningResponse_OtaKeyboxDefaultTypeInternal _ProvisioningResponse_OtaKeybox_default_instance_;
|
|
class SignedProvisioningContext;
|
|
class SignedProvisioningContextDefaultTypeInternal;
|
|
extern SignedProvisioningContextDefaultTypeInternal _SignedProvisioningContext_default_instance_;
|
|
class SignedProvisioningMessage;
|
|
class SignedProvisioningMessageDefaultTypeInternal;
|
|
extern SignedProvisioningMessageDefaultTypeInternal _SignedProvisioningMessage_default_instance_;
|
|
} // namespace video_widevine
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
template<> ::video_widevine::ProvisioningContext* Arena::CreateMaybeMessage<::video_widevine::ProvisioningContext>(Arena*);
|
|
template<> ::video_widevine::ProvisioningContextKeyData* Arena::CreateMaybeMessage<::video_widevine::ProvisioningContextKeyData>(Arena*);
|
|
template<> ::video_widevine::ProvisioningOptions* Arena::CreateMaybeMessage<::video_widevine::ProvisioningOptions>(Arena*);
|
|
template<> ::video_widevine::ProvisioningRequest* Arena::CreateMaybeMessage<::video_widevine::ProvisioningRequest>(Arena*);
|
|
template<> ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* Arena::CreateMaybeMessage<::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest>(Arena*);
|
|
template<> ::video_widevine::ProvisioningRequest_EncryptedSessionKeys* Arena::CreateMaybeMessage<::video_widevine::ProvisioningRequest_EncryptedSessionKeys>(Arena*);
|
|
template<> ::video_widevine::ProvisioningRequest_EncryptedSessionKeys_SessionKeys* Arena::CreateMaybeMessage<::video_widevine::ProvisioningRequest_EncryptedSessionKeys_SessionKeys>(Arena*);
|
|
template<> ::video_widevine::ProvisioningResponse* Arena::CreateMaybeMessage<::video_widevine::ProvisioningResponse>(Arena*);
|
|
template<> ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* Arena::CreateMaybeMessage<::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse>(Arena*);
|
|
template<> ::video_widevine::ProvisioningResponse_OtaKeybox* Arena::CreateMaybeMessage<::video_widevine::ProvisioningResponse_OtaKeybox>(Arena*);
|
|
template<> ::video_widevine::SignedProvisioningContext* Arena::CreateMaybeMessage<::video_widevine::SignedProvisioningContext>(Arena*);
|
|
template<> ::video_widevine::SignedProvisioningMessage* Arena::CreateMaybeMessage<::video_widevine::SignedProvisioningMessage>(Arena*);
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
namespace video_widevine {
|
|
|
|
enum ProvisioningOptions_CertificateType : int {
|
|
ProvisioningOptions_CertificateType_WIDEVINE_DRM = 0,
|
|
ProvisioningOptions_CertificateType_X509 = 1,
|
|
ProvisioningOptions_CertificateType_WIDEVINE_KEYBOX = 2
|
|
};
|
|
bool ProvisioningOptions_CertificateType_IsValid(int value);
|
|
constexpr ProvisioningOptions_CertificateType ProvisioningOptions_CertificateType_CertificateType_MIN = ProvisioningOptions_CertificateType_WIDEVINE_DRM;
|
|
constexpr ProvisioningOptions_CertificateType ProvisioningOptions_CertificateType_CertificateType_MAX = ProvisioningOptions_CertificateType_WIDEVINE_KEYBOX;
|
|
constexpr int ProvisioningOptions_CertificateType_CertificateType_ARRAYSIZE = ProvisioningOptions_CertificateType_CertificateType_MAX + 1;
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ProvisioningOptions_CertificateType_descriptor();
|
|
template<typename T>
|
|
inline const std::string& ProvisioningOptions_CertificateType_Name(T enum_t_value) {
|
|
static_assert(::std::is_same<T, ProvisioningOptions_CertificateType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to function ProvisioningOptions_CertificateType_Name.");
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
|
|
ProvisioningOptions_CertificateType_descriptor(), enum_t_value);
|
|
}
|
|
inline bool ProvisioningOptions_CertificateType_Parse(
|
|
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProvisioningOptions_CertificateType* value) {
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ProvisioningOptions_CertificateType>(
|
|
ProvisioningOptions_CertificateType_descriptor(), name, value);
|
|
}
|
|
enum ProvisioningResponse_ProvisioningStatus : int {
|
|
ProvisioningResponse_ProvisioningStatus_NO_ERROR = 0,
|
|
ProvisioningResponse_ProvisioningStatus_REVOKED_DEVICE_CREDENTIALS = 1,
|
|
ProvisioningResponse_ProvisioningStatus_REVOKED_DEVICE_SERIES = 2
|
|
};
|
|
bool ProvisioningResponse_ProvisioningStatus_IsValid(int value);
|
|
constexpr ProvisioningResponse_ProvisioningStatus ProvisioningResponse_ProvisioningStatus_ProvisioningStatus_MIN = ProvisioningResponse_ProvisioningStatus_NO_ERROR;
|
|
constexpr ProvisioningResponse_ProvisioningStatus ProvisioningResponse_ProvisioningStatus_ProvisioningStatus_MAX = ProvisioningResponse_ProvisioningStatus_REVOKED_DEVICE_SERIES;
|
|
constexpr int ProvisioningResponse_ProvisioningStatus_ProvisioningStatus_ARRAYSIZE = ProvisioningResponse_ProvisioningStatus_ProvisioningStatus_MAX + 1;
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ProvisioningResponse_ProvisioningStatus_descriptor();
|
|
template<typename T>
|
|
inline const std::string& ProvisioningResponse_ProvisioningStatus_Name(T enum_t_value) {
|
|
static_assert(::std::is_same<T, ProvisioningResponse_ProvisioningStatus>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to function ProvisioningResponse_ProvisioningStatus_Name.");
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
|
|
ProvisioningResponse_ProvisioningStatus_descriptor(), enum_t_value);
|
|
}
|
|
inline bool ProvisioningResponse_ProvisioningStatus_Parse(
|
|
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ProvisioningResponse_ProvisioningStatus* value) {
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ProvisioningResponse_ProvisioningStatus>(
|
|
ProvisioningResponse_ProvisioningStatus_descriptor(), name, value);
|
|
}
|
|
enum SignedProvisioningMessage_ProvisioningProtocolVersion : int {
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_VERSION_UNSPECIFIED = 0,
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_VERSION_1 = 1,
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_VERSION_1_1 = 2
|
|
};
|
|
bool SignedProvisioningMessage_ProvisioningProtocolVersion_IsValid(int value);
|
|
constexpr SignedProvisioningMessage_ProvisioningProtocolVersion SignedProvisioningMessage_ProvisioningProtocolVersion_ProvisioningProtocolVersion_MIN = SignedProvisioningMessage_ProvisioningProtocolVersion_VERSION_UNSPECIFIED;
|
|
constexpr SignedProvisioningMessage_ProvisioningProtocolVersion SignedProvisioningMessage_ProvisioningProtocolVersion_ProvisioningProtocolVersion_MAX = SignedProvisioningMessage_ProvisioningProtocolVersion_VERSION_1_1;
|
|
constexpr int SignedProvisioningMessage_ProvisioningProtocolVersion_ProvisioningProtocolVersion_ARRAYSIZE = SignedProvisioningMessage_ProvisioningProtocolVersion_ProvisioningProtocolVersion_MAX + 1;
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SignedProvisioningMessage_ProvisioningProtocolVersion_descriptor();
|
|
template<typename T>
|
|
inline const std::string& SignedProvisioningMessage_ProvisioningProtocolVersion_Name(T enum_t_value) {
|
|
static_assert(::std::is_same<T, SignedProvisioningMessage_ProvisioningProtocolVersion>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to function SignedProvisioningMessage_ProvisioningProtocolVersion_Name.");
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_descriptor(), enum_t_value);
|
|
}
|
|
inline bool SignedProvisioningMessage_ProvisioningProtocolVersion_Parse(
|
|
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SignedProvisioningMessage_ProvisioningProtocolVersion* value) {
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SignedProvisioningMessage_ProvisioningProtocolVersion>(
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_descriptor(), name, value);
|
|
}
|
|
enum SignedProvisioningMessage_ProvisioningType : int {
|
|
SignedProvisioningMessage_ProvisioningType_PROVISIONING_TYPE_UNSPECIFIED = 0,
|
|
SignedProvisioningMessage_ProvisioningType_SERVICE_CERTIFICATE_REQUEST = 1,
|
|
SignedProvisioningMessage_ProvisioningType_PROVISIONING_20 = 2,
|
|
SignedProvisioningMessage_ProvisioningType_PROVISIONING_30 = 3,
|
|
SignedProvisioningMessage_ProvisioningType_PROVISIONING_40 = 5
|
|
};
|
|
bool SignedProvisioningMessage_ProvisioningType_IsValid(int value);
|
|
constexpr SignedProvisioningMessage_ProvisioningType SignedProvisioningMessage_ProvisioningType_ProvisioningType_MIN = SignedProvisioningMessage_ProvisioningType_PROVISIONING_TYPE_UNSPECIFIED;
|
|
constexpr SignedProvisioningMessage_ProvisioningType SignedProvisioningMessage_ProvisioningType_ProvisioningType_MAX = SignedProvisioningMessage_ProvisioningType_PROVISIONING_40;
|
|
constexpr int SignedProvisioningMessage_ProvisioningType_ProvisioningType_ARRAYSIZE = SignedProvisioningMessage_ProvisioningType_ProvisioningType_MAX + 1;
|
|
|
|
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SignedProvisioningMessage_ProvisioningType_descriptor();
|
|
template<typename T>
|
|
inline const std::string& SignedProvisioningMessage_ProvisioningType_Name(T enum_t_value) {
|
|
static_assert(::std::is_same<T, SignedProvisioningMessage_ProvisioningType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to function SignedProvisioningMessage_ProvisioningType_Name.");
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
|
|
SignedProvisioningMessage_ProvisioningType_descriptor(), enum_t_value);
|
|
}
|
|
inline bool SignedProvisioningMessage_ProvisioningType_Parse(
|
|
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SignedProvisioningMessage_ProvisioningType* value) {
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SignedProvisioningMessage_ProvisioningType>(
|
|
SignedProvisioningMessage_ProvisioningType_descriptor(), name, value);
|
|
}
|
|
// ===================================================================
|
|
|
|
class ProvisioningOptions PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningOptions) */ {
|
|
public:
|
|
inline ProvisioningOptions() : ProvisioningOptions(nullptr) {}
|
|
virtual ~ProvisioningOptions();
|
|
|
|
ProvisioningOptions(const ProvisioningOptions& from);
|
|
ProvisioningOptions(ProvisioningOptions&& from) noexcept
|
|
: ProvisioningOptions() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningOptions& operator=(const ProvisioningOptions& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningOptions& operator=(ProvisioningOptions&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningOptions& default_instance();
|
|
|
|
static inline const ProvisioningOptions* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningOptions*>(
|
|
&_ProvisioningOptions_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
0;
|
|
|
|
friend void swap(ProvisioningOptions& a, ProvisioningOptions& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningOptions* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningOptions* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningOptions* New() const final {
|
|
return CreateMaybeMessage<ProvisioningOptions>(nullptr);
|
|
}
|
|
|
|
ProvisioningOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningOptions>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningOptions& from);
|
|
void MergeFrom(const ProvisioningOptions& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningOptions* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningOptions";
|
|
}
|
|
protected:
|
|
explicit ProvisioningOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
typedef ProvisioningOptions_CertificateType CertificateType;
|
|
static constexpr CertificateType WIDEVINE_DRM =
|
|
ProvisioningOptions_CertificateType_WIDEVINE_DRM;
|
|
static constexpr CertificateType X509 =
|
|
ProvisioningOptions_CertificateType_X509;
|
|
static constexpr CertificateType WIDEVINE_KEYBOX =
|
|
ProvisioningOptions_CertificateType_WIDEVINE_KEYBOX;
|
|
static inline bool CertificateType_IsValid(int value) {
|
|
return ProvisioningOptions_CertificateType_IsValid(value);
|
|
}
|
|
static constexpr CertificateType CertificateType_MIN =
|
|
ProvisioningOptions_CertificateType_CertificateType_MIN;
|
|
static constexpr CertificateType CertificateType_MAX =
|
|
ProvisioningOptions_CertificateType_CertificateType_MAX;
|
|
static constexpr int CertificateType_ARRAYSIZE =
|
|
ProvisioningOptions_CertificateType_CertificateType_ARRAYSIZE;
|
|
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
|
|
CertificateType_descriptor() {
|
|
return ProvisioningOptions_CertificateType_descriptor();
|
|
}
|
|
template<typename T>
|
|
static inline const std::string& CertificateType_Name(T enum_t_value) {
|
|
static_assert(::std::is_same<T, CertificateType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to function CertificateType_Name.");
|
|
return ProvisioningOptions_CertificateType_Name(enum_t_value);
|
|
}
|
|
static inline bool CertificateType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
|
|
CertificateType* value) {
|
|
return ProvisioningOptions_CertificateType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kCertificateAuthorityFieldNumber = 2,
|
|
kCertificateTypeFieldNumber = 1,
|
|
kSystemIdFieldNumber = 3,
|
|
};
|
|
// optional string certificate_authority = 2;
|
|
bool has_certificate_authority() const;
|
|
private:
|
|
bool _internal_has_certificate_authority() const;
|
|
public:
|
|
void clear_certificate_authority();
|
|
const std::string& certificate_authority() const;
|
|
void set_certificate_authority(const std::string& value);
|
|
void set_certificate_authority(std::string&& value);
|
|
void set_certificate_authority(const char* value);
|
|
void set_certificate_authority(const char* value, size_t size);
|
|
std::string* mutable_certificate_authority();
|
|
std::string* release_certificate_authority();
|
|
void set_allocated_certificate_authority(std::string* certificate_authority);
|
|
private:
|
|
const std::string& _internal_certificate_authority() const;
|
|
void _internal_set_certificate_authority(const std::string& value);
|
|
std::string* _internal_mutable_certificate_authority();
|
|
public:
|
|
|
|
// optional .video_widevine.ProvisioningOptions.CertificateType certificate_type = 1 [default = WIDEVINE_DRM];
|
|
bool has_certificate_type() const;
|
|
private:
|
|
bool _internal_has_certificate_type() const;
|
|
public:
|
|
void clear_certificate_type();
|
|
::video_widevine::ProvisioningOptions_CertificateType certificate_type() const;
|
|
void set_certificate_type(::video_widevine::ProvisioningOptions_CertificateType value);
|
|
private:
|
|
::video_widevine::ProvisioningOptions_CertificateType _internal_certificate_type() const;
|
|
void _internal_set_certificate_type(::video_widevine::ProvisioningOptions_CertificateType value);
|
|
public:
|
|
|
|
// optional uint32 system_id = 3;
|
|
bool has_system_id() const;
|
|
private:
|
|
bool _internal_has_system_id() const;
|
|
public:
|
|
void clear_system_id();
|
|
::PROTOBUF_NAMESPACE_ID::uint32 system_id() const;
|
|
void set_system_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
|
|
private:
|
|
::PROTOBUF_NAMESPACE_ID::uint32 _internal_system_id() const;
|
|
void _internal_set_system_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningOptions)
|
|
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 certificate_authority_;
|
|
int certificate_type_;
|
|
::PROTOBUF_NAMESPACE_ID::uint32 system_id_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ProvisioningRequest_EncryptedSessionKeys_SessionKeys PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys) */ {
|
|
public:
|
|
inline ProvisioningRequest_EncryptedSessionKeys_SessionKeys() : ProvisioningRequest_EncryptedSessionKeys_SessionKeys(nullptr) {}
|
|
virtual ~ProvisioningRequest_EncryptedSessionKeys_SessionKeys();
|
|
|
|
ProvisioningRequest_EncryptedSessionKeys_SessionKeys(const ProvisioningRequest_EncryptedSessionKeys_SessionKeys& from);
|
|
ProvisioningRequest_EncryptedSessionKeys_SessionKeys(ProvisioningRequest_EncryptedSessionKeys_SessionKeys&& from) noexcept
|
|
: ProvisioningRequest_EncryptedSessionKeys_SessionKeys() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningRequest_EncryptedSessionKeys_SessionKeys& operator=(const ProvisioningRequest_EncryptedSessionKeys_SessionKeys& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningRequest_EncryptedSessionKeys_SessionKeys& operator=(ProvisioningRequest_EncryptedSessionKeys_SessionKeys&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningRequest_EncryptedSessionKeys_SessionKeys& default_instance();
|
|
|
|
static inline const ProvisioningRequest_EncryptedSessionKeys_SessionKeys* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningRequest_EncryptedSessionKeys_SessionKeys*>(
|
|
&_ProvisioningRequest_EncryptedSessionKeys_SessionKeys_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
1;
|
|
|
|
friend void swap(ProvisioningRequest_EncryptedSessionKeys_SessionKeys& a, ProvisioningRequest_EncryptedSessionKeys_SessionKeys& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningRequest_EncryptedSessionKeys_SessionKeys* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningRequest_EncryptedSessionKeys_SessionKeys* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningRequest_EncryptedSessionKeys_SessionKeys* New() const final {
|
|
return CreateMaybeMessage<ProvisioningRequest_EncryptedSessionKeys_SessionKeys>(nullptr);
|
|
}
|
|
|
|
ProvisioningRequest_EncryptedSessionKeys_SessionKeys* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningRequest_EncryptedSessionKeys_SessionKeys>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningRequest_EncryptedSessionKeys_SessionKeys& from);
|
|
void MergeFrom(const ProvisioningRequest_EncryptedSessionKeys_SessionKeys& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningRequest_EncryptedSessionKeys_SessionKeys* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys";
|
|
}
|
|
protected:
|
|
explicit ProvisioningRequest_EncryptedSessionKeys_SessionKeys(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kEncryptionKeyFieldNumber = 1,
|
|
kMacKeyFieldNumber = 2,
|
|
};
|
|
// optional bytes encryption_key = 1;
|
|
bool has_encryption_key() const;
|
|
private:
|
|
bool _internal_has_encryption_key() const;
|
|
public:
|
|
void clear_encryption_key();
|
|
const std::string& encryption_key() const;
|
|
void set_encryption_key(const std::string& value);
|
|
void set_encryption_key(std::string&& value);
|
|
void set_encryption_key(const char* value);
|
|
void set_encryption_key(const void* value, size_t size);
|
|
std::string* mutable_encryption_key();
|
|
std::string* release_encryption_key();
|
|
void set_allocated_encryption_key(std::string* encryption_key);
|
|
private:
|
|
const std::string& _internal_encryption_key() const;
|
|
void _internal_set_encryption_key(const std::string& value);
|
|
std::string* _internal_mutable_encryption_key();
|
|
public:
|
|
|
|
// optional bytes mac_key = 2;
|
|
bool has_mac_key() const;
|
|
private:
|
|
bool _internal_has_mac_key() const;
|
|
public:
|
|
void clear_mac_key();
|
|
const std::string& mac_key() const;
|
|
void set_mac_key(const std::string& value);
|
|
void set_mac_key(std::string&& value);
|
|
void set_mac_key(const char* value);
|
|
void set_mac_key(const void* value, size_t size);
|
|
std::string* mutable_mac_key();
|
|
std::string* release_mac_key();
|
|
void set_allocated_mac_key(std::string* mac_key);
|
|
private:
|
|
const std::string& _internal_mac_key() const;
|
|
void _internal_set_mac_key(const std::string& value);
|
|
std::string* _internal_mutable_mac_key();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys)
|
|
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 encryption_key_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mac_key_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ProvisioningRequest_EncryptedSessionKeys PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningRequest.EncryptedSessionKeys) */ {
|
|
public:
|
|
inline ProvisioningRequest_EncryptedSessionKeys() : ProvisioningRequest_EncryptedSessionKeys(nullptr) {}
|
|
virtual ~ProvisioningRequest_EncryptedSessionKeys();
|
|
|
|
ProvisioningRequest_EncryptedSessionKeys(const ProvisioningRequest_EncryptedSessionKeys& from);
|
|
ProvisioningRequest_EncryptedSessionKeys(ProvisioningRequest_EncryptedSessionKeys&& from) noexcept
|
|
: ProvisioningRequest_EncryptedSessionKeys() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningRequest_EncryptedSessionKeys& operator=(const ProvisioningRequest_EncryptedSessionKeys& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningRequest_EncryptedSessionKeys& operator=(ProvisioningRequest_EncryptedSessionKeys&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningRequest_EncryptedSessionKeys& default_instance();
|
|
|
|
static inline const ProvisioningRequest_EncryptedSessionKeys* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningRequest_EncryptedSessionKeys*>(
|
|
&_ProvisioningRequest_EncryptedSessionKeys_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
2;
|
|
|
|
friend void swap(ProvisioningRequest_EncryptedSessionKeys& a, ProvisioningRequest_EncryptedSessionKeys& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningRequest_EncryptedSessionKeys* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningRequest_EncryptedSessionKeys* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningRequest_EncryptedSessionKeys* New() const final {
|
|
return CreateMaybeMessage<ProvisioningRequest_EncryptedSessionKeys>(nullptr);
|
|
}
|
|
|
|
ProvisioningRequest_EncryptedSessionKeys* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningRequest_EncryptedSessionKeys>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningRequest_EncryptedSessionKeys& from);
|
|
void MergeFrom(const ProvisioningRequest_EncryptedSessionKeys& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningRequest_EncryptedSessionKeys* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningRequest.EncryptedSessionKeys";
|
|
}
|
|
protected:
|
|
explicit ProvisioningRequest_EncryptedSessionKeys(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
typedef ProvisioningRequest_EncryptedSessionKeys_SessionKeys SessionKeys;
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kCertificateSerialNumberFieldNumber = 1,
|
|
kEncryptedSessionKeysFieldNumber = 2,
|
|
};
|
|
// optional bytes certificate_serial_number = 1;
|
|
bool has_certificate_serial_number() const;
|
|
private:
|
|
bool _internal_has_certificate_serial_number() const;
|
|
public:
|
|
void clear_certificate_serial_number();
|
|
const std::string& certificate_serial_number() const;
|
|
void set_certificate_serial_number(const std::string& value);
|
|
void set_certificate_serial_number(std::string&& value);
|
|
void set_certificate_serial_number(const char* value);
|
|
void set_certificate_serial_number(const void* value, size_t size);
|
|
std::string* mutable_certificate_serial_number();
|
|
std::string* release_certificate_serial_number();
|
|
void set_allocated_certificate_serial_number(std::string* certificate_serial_number);
|
|
private:
|
|
const std::string& _internal_certificate_serial_number() const;
|
|
void _internal_set_certificate_serial_number(const std::string& value);
|
|
std::string* _internal_mutable_certificate_serial_number();
|
|
public:
|
|
|
|
// optional bytes encrypted_session_keys = 2;
|
|
bool has_encrypted_session_keys() const;
|
|
private:
|
|
bool _internal_has_encrypted_session_keys() const;
|
|
public:
|
|
void clear_encrypted_session_keys();
|
|
const std::string& encrypted_session_keys() const;
|
|
void set_encrypted_session_keys(const std::string& value);
|
|
void set_encrypted_session_keys(std::string&& value);
|
|
void set_encrypted_session_keys(const char* value);
|
|
void set_encrypted_session_keys(const void* value, size_t size);
|
|
std::string* mutable_encrypted_session_keys();
|
|
std::string* release_encrypted_session_keys();
|
|
void set_allocated_encrypted_session_keys(std::string* encrypted_session_keys);
|
|
private:
|
|
const std::string& _internal_encrypted_session_keys() const;
|
|
void _internal_set_encrypted_session_keys(const std::string& value);
|
|
std::string* _internal_mutable_encrypted_session_keys();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningRequest.EncryptedSessionKeys)
|
|
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 certificate_serial_number_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encrypted_session_keys_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ProvisioningRequest_AndroidAttestationOtaKeyboxRequest PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest) */ {
|
|
public:
|
|
inline ProvisioningRequest_AndroidAttestationOtaKeyboxRequest() : ProvisioningRequest_AndroidAttestationOtaKeyboxRequest(nullptr) {}
|
|
virtual ~ProvisioningRequest_AndroidAttestationOtaKeyboxRequest();
|
|
|
|
ProvisioningRequest_AndroidAttestationOtaKeyboxRequest(const ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& from);
|
|
ProvisioningRequest_AndroidAttestationOtaKeyboxRequest(ProvisioningRequest_AndroidAttestationOtaKeyboxRequest&& from) noexcept
|
|
: ProvisioningRequest_AndroidAttestationOtaKeyboxRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& operator=(const ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& operator=(ProvisioningRequest_AndroidAttestationOtaKeyboxRequest&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& default_instance();
|
|
|
|
static inline const ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningRequest_AndroidAttestationOtaKeyboxRequest*>(
|
|
&_ProvisioningRequest_AndroidAttestationOtaKeyboxRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
3;
|
|
|
|
friend void swap(ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& a, ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* New() const final {
|
|
return CreateMaybeMessage<ProvisioningRequest_AndroidAttestationOtaKeyboxRequest>(nullptr);
|
|
}
|
|
|
|
ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningRequest_AndroidAttestationOtaKeyboxRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& from);
|
|
void MergeFrom(const ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest";
|
|
}
|
|
protected:
|
|
explicit ProvisioningRequest_AndroidAttestationOtaKeyboxRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kOtaRequestFieldNumber = 1,
|
|
};
|
|
// optional bytes ota_request = 1;
|
|
bool has_ota_request() const;
|
|
private:
|
|
bool _internal_has_ota_request() const;
|
|
public:
|
|
void clear_ota_request();
|
|
const std::string& ota_request() const;
|
|
void set_ota_request(const std::string& value);
|
|
void set_ota_request(std::string&& value);
|
|
void set_ota_request(const char* value);
|
|
void set_ota_request(const void* value, size_t size);
|
|
std::string* mutable_ota_request();
|
|
std::string* release_ota_request();
|
|
void set_allocated_ota_request(std::string* ota_request);
|
|
private:
|
|
const std::string& _internal_ota_request() const;
|
|
void _internal_set_ota_request(const std::string& value);
|
|
std::string* _internal_mutable_ota_request();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest)
|
|
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 ota_request_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ProvisioningRequest PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningRequest) */ {
|
|
public:
|
|
inline ProvisioningRequest() : ProvisioningRequest(nullptr) {}
|
|
virtual ~ProvisioningRequest();
|
|
|
|
ProvisioningRequest(const ProvisioningRequest& from);
|
|
ProvisioningRequest(ProvisioningRequest&& from) noexcept
|
|
: ProvisioningRequest() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningRequest& operator=(const ProvisioningRequest& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningRequest& operator=(ProvisioningRequest&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningRequest& default_instance();
|
|
|
|
enum ClearOrEncryptedClientIdCase {
|
|
kClientId = 1,
|
|
kEncryptedClientId = 5,
|
|
CLEAR_OR_ENCRYPTED_CLIENT_ID_NOT_SET = 0,
|
|
};
|
|
|
|
enum SpoidParamCase {
|
|
kStableId = 4,
|
|
kProviderId = 6,
|
|
kSpoid = 7,
|
|
SPOID_PARAM_NOT_SET = 0,
|
|
};
|
|
|
|
static inline const ProvisioningRequest* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningRequest*>(
|
|
&_ProvisioningRequest_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
4;
|
|
|
|
friend void swap(ProvisioningRequest& a, ProvisioningRequest& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningRequest* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningRequest* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningRequest* New() const final {
|
|
return CreateMaybeMessage<ProvisioningRequest>(nullptr);
|
|
}
|
|
|
|
ProvisioningRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningRequest>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningRequest& from);
|
|
void MergeFrom(const ProvisioningRequest& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningRequest* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningRequest";
|
|
}
|
|
protected:
|
|
explicit ProvisioningRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
typedef ProvisioningRequest_EncryptedSessionKeys EncryptedSessionKeys;
|
|
typedef ProvisioningRequest_AndroidAttestationOtaKeyboxRequest AndroidAttestationOtaKeyboxRequest;
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kNonceFieldNumber = 2,
|
|
kOptionsFieldNumber = 3,
|
|
kEncryptedSessionKeysFieldNumber = 8,
|
|
kAndroidOtaKeyboxRequestFieldNumber = 9,
|
|
kClientIdFieldNumber = 1,
|
|
kEncryptedClientIdFieldNumber = 5,
|
|
kStableIdFieldNumber = 4,
|
|
kProviderIdFieldNumber = 6,
|
|
kSpoidFieldNumber = 7,
|
|
};
|
|
// optional bytes nonce = 2;
|
|
bool has_nonce() const;
|
|
private:
|
|
bool _internal_has_nonce() const;
|
|
public:
|
|
void clear_nonce();
|
|
const std::string& nonce() const;
|
|
void set_nonce(const std::string& value);
|
|
void set_nonce(std::string&& value);
|
|
void set_nonce(const char* value);
|
|
void set_nonce(const void* value, size_t size);
|
|
std::string* mutable_nonce();
|
|
std::string* release_nonce();
|
|
void set_allocated_nonce(std::string* nonce);
|
|
private:
|
|
const std::string& _internal_nonce() const;
|
|
void _internal_set_nonce(const std::string& value);
|
|
std::string* _internal_mutable_nonce();
|
|
public:
|
|
|
|
// optional .video_widevine.ProvisioningOptions options = 3;
|
|
bool has_options() const;
|
|
private:
|
|
bool _internal_has_options() const;
|
|
public:
|
|
void clear_options();
|
|
const ::video_widevine::ProvisioningOptions& options() const;
|
|
::video_widevine::ProvisioningOptions* release_options();
|
|
::video_widevine::ProvisioningOptions* mutable_options();
|
|
void set_allocated_options(::video_widevine::ProvisioningOptions* options);
|
|
private:
|
|
const ::video_widevine::ProvisioningOptions& _internal_options() const;
|
|
::video_widevine::ProvisioningOptions* _internal_mutable_options();
|
|
public:
|
|
void unsafe_arena_set_allocated_options(
|
|
::video_widevine::ProvisioningOptions* options);
|
|
::video_widevine::ProvisioningOptions* unsafe_arena_release_options();
|
|
|
|
// optional .video_widevine.ProvisioningRequest.EncryptedSessionKeys encrypted_session_keys = 8;
|
|
bool has_encrypted_session_keys() const;
|
|
private:
|
|
bool _internal_has_encrypted_session_keys() const;
|
|
public:
|
|
void clear_encrypted_session_keys();
|
|
const ::video_widevine::ProvisioningRequest_EncryptedSessionKeys& encrypted_session_keys() const;
|
|
::video_widevine::ProvisioningRequest_EncryptedSessionKeys* release_encrypted_session_keys();
|
|
::video_widevine::ProvisioningRequest_EncryptedSessionKeys* mutable_encrypted_session_keys();
|
|
void set_allocated_encrypted_session_keys(::video_widevine::ProvisioningRequest_EncryptedSessionKeys* encrypted_session_keys);
|
|
private:
|
|
const ::video_widevine::ProvisioningRequest_EncryptedSessionKeys& _internal_encrypted_session_keys() const;
|
|
::video_widevine::ProvisioningRequest_EncryptedSessionKeys* _internal_mutable_encrypted_session_keys();
|
|
public:
|
|
void unsafe_arena_set_allocated_encrypted_session_keys(
|
|
::video_widevine::ProvisioningRequest_EncryptedSessionKeys* encrypted_session_keys);
|
|
::video_widevine::ProvisioningRequest_EncryptedSessionKeys* unsafe_arena_release_encrypted_session_keys();
|
|
|
|
// optional .video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest android_ota_keybox_request = 9;
|
|
bool has_android_ota_keybox_request() const;
|
|
private:
|
|
bool _internal_has_android_ota_keybox_request() const;
|
|
public:
|
|
void clear_android_ota_keybox_request();
|
|
const ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& android_ota_keybox_request() const;
|
|
::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* release_android_ota_keybox_request();
|
|
::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* mutable_android_ota_keybox_request();
|
|
void set_allocated_android_ota_keybox_request(::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* android_ota_keybox_request);
|
|
private:
|
|
const ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& _internal_android_ota_keybox_request() const;
|
|
::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* _internal_mutable_android_ota_keybox_request();
|
|
public:
|
|
void unsafe_arena_set_allocated_android_ota_keybox_request(
|
|
::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* android_ota_keybox_request);
|
|
::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* unsafe_arena_release_android_ota_keybox_request();
|
|
|
|
// .video_widevine.ClientIdentification client_id = 1;
|
|
bool has_client_id() const;
|
|
private:
|
|
bool _internal_has_client_id() const;
|
|
public:
|
|
void clear_client_id();
|
|
const ::video_widevine::ClientIdentification& client_id() const;
|
|
::video_widevine::ClientIdentification* release_client_id();
|
|
::video_widevine::ClientIdentification* mutable_client_id();
|
|
void set_allocated_client_id(::video_widevine::ClientIdentification* client_id);
|
|
private:
|
|
const ::video_widevine::ClientIdentification& _internal_client_id() const;
|
|
::video_widevine::ClientIdentification* _internal_mutable_client_id();
|
|
public:
|
|
void unsafe_arena_set_allocated_client_id(
|
|
::video_widevine::ClientIdentification* client_id);
|
|
::video_widevine::ClientIdentification* unsafe_arena_release_client_id();
|
|
|
|
// .video_widevine.EncryptedClientIdentification encrypted_client_id = 5;
|
|
bool has_encrypted_client_id() const;
|
|
private:
|
|
bool _internal_has_encrypted_client_id() const;
|
|
public:
|
|
void clear_encrypted_client_id();
|
|
const ::video_widevine::EncryptedClientIdentification& encrypted_client_id() const;
|
|
::video_widevine::EncryptedClientIdentification* release_encrypted_client_id();
|
|
::video_widevine::EncryptedClientIdentification* mutable_encrypted_client_id();
|
|
void set_allocated_encrypted_client_id(::video_widevine::EncryptedClientIdentification* encrypted_client_id);
|
|
private:
|
|
const ::video_widevine::EncryptedClientIdentification& _internal_encrypted_client_id() const;
|
|
::video_widevine::EncryptedClientIdentification* _internal_mutable_encrypted_client_id();
|
|
public:
|
|
void unsafe_arena_set_allocated_encrypted_client_id(
|
|
::video_widevine::EncryptedClientIdentification* encrypted_client_id);
|
|
::video_widevine::EncryptedClientIdentification* unsafe_arena_release_encrypted_client_id();
|
|
|
|
// bytes stable_id = 4;
|
|
bool has_stable_id() const;
|
|
private:
|
|
bool _internal_has_stable_id() const;
|
|
public:
|
|
void clear_stable_id();
|
|
const std::string& stable_id() const;
|
|
void set_stable_id(const std::string& value);
|
|
void set_stable_id(std::string&& value);
|
|
void set_stable_id(const char* value);
|
|
void set_stable_id(const void* value, size_t size);
|
|
std::string* mutable_stable_id();
|
|
std::string* release_stable_id();
|
|
void set_allocated_stable_id(std::string* stable_id);
|
|
private:
|
|
const std::string& _internal_stable_id() const;
|
|
void _internal_set_stable_id(const std::string& value);
|
|
std::string* _internal_mutable_stable_id();
|
|
public:
|
|
|
|
// bytes provider_id = 6;
|
|
bool has_provider_id() const;
|
|
private:
|
|
bool _internal_has_provider_id() const;
|
|
public:
|
|
void clear_provider_id();
|
|
const std::string& provider_id() const;
|
|
void set_provider_id(const std::string& value);
|
|
void set_provider_id(std::string&& value);
|
|
void set_provider_id(const char* value);
|
|
void set_provider_id(const void* value, size_t size);
|
|
std::string* mutable_provider_id();
|
|
std::string* release_provider_id();
|
|
void set_allocated_provider_id(std::string* provider_id);
|
|
private:
|
|
const std::string& _internal_provider_id() const;
|
|
void _internal_set_provider_id(const std::string& value);
|
|
std::string* _internal_mutable_provider_id();
|
|
public:
|
|
|
|
// bytes spoid = 7;
|
|
bool has_spoid() const;
|
|
private:
|
|
bool _internal_has_spoid() const;
|
|
public:
|
|
void clear_spoid();
|
|
const std::string& spoid() const;
|
|
void set_spoid(const std::string& value);
|
|
void set_spoid(std::string&& value);
|
|
void set_spoid(const char* value);
|
|
void set_spoid(const void* value, size_t size);
|
|
std::string* mutable_spoid();
|
|
std::string* release_spoid();
|
|
void set_allocated_spoid(std::string* spoid);
|
|
private:
|
|
const std::string& _internal_spoid() const;
|
|
void _internal_set_spoid(const std::string& value);
|
|
std::string* _internal_mutable_spoid();
|
|
public:
|
|
|
|
void clear_clear_or_encrypted_client_id();
|
|
ClearOrEncryptedClientIdCase clear_or_encrypted_client_id_case() const;
|
|
void clear_spoid_param();
|
|
SpoidParamCase spoid_param_case() const;
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningRequest)
|
|
private:
|
|
class _Internal;
|
|
void set_has_client_id();
|
|
void set_has_encrypted_client_id();
|
|
void set_has_stable_id();
|
|
void set_has_provider_id();
|
|
void set_has_spoid();
|
|
|
|
inline bool has_clear_or_encrypted_client_id() const;
|
|
inline void clear_has_clear_or_encrypted_client_id();
|
|
|
|
inline bool has_spoid_param() const;
|
|
inline void clear_has_spoid_param();
|
|
|
|
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 nonce_;
|
|
::video_widevine::ProvisioningOptions* options_;
|
|
::video_widevine::ProvisioningRequest_EncryptedSessionKeys* encrypted_session_keys_;
|
|
::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* android_ota_keybox_request_;
|
|
union ClearOrEncryptedClientIdUnion {
|
|
ClearOrEncryptedClientIdUnion() {}
|
|
::video_widevine::ClientIdentification* client_id_;
|
|
::video_widevine::EncryptedClientIdentification* encrypted_client_id_;
|
|
} clear_or_encrypted_client_id_;
|
|
union SpoidParamUnion {
|
|
SpoidParamUnion() {}
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr stable_id_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr provider_id_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr spoid_;
|
|
} spoid_param_;
|
|
::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[2];
|
|
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ProvisioningResponse_OtaKeybox PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningResponse.OtaKeybox) */ {
|
|
public:
|
|
inline ProvisioningResponse_OtaKeybox() : ProvisioningResponse_OtaKeybox(nullptr) {}
|
|
virtual ~ProvisioningResponse_OtaKeybox();
|
|
|
|
ProvisioningResponse_OtaKeybox(const ProvisioningResponse_OtaKeybox& from);
|
|
ProvisioningResponse_OtaKeybox(ProvisioningResponse_OtaKeybox&& from) noexcept
|
|
: ProvisioningResponse_OtaKeybox() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningResponse_OtaKeybox& operator=(const ProvisioningResponse_OtaKeybox& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningResponse_OtaKeybox& operator=(ProvisioningResponse_OtaKeybox&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningResponse_OtaKeybox& default_instance();
|
|
|
|
static inline const ProvisioningResponse_OtaKeybox* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningResponse_OtaKeybox*>(
|
|
&_ProvisioningResponse_OtaKeybox_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
5;
|
|
|
|
friend void swap(ProvisioningResponse_OtaKeybox& a, ProvisioningResponse_OtaKeybox& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningResponse_OtaKeybox* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningResponse_OtaKeybox* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningResponse_OtaKeybox* New() const final {
|
|
return CreateMaybeMessage<ProvisioningResponse_OtaKeybox>(nullptr);
|
|
}
|
|
|
|
ProvisioningResponse_OtaKeybox* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningResponse_OtaKeybox>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningResponse_OtaKeybox& from);
|
|
void MergeFrom(const ProvisioningResponse_OtaKeybox& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningResponse_OtaKeybox* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningResponse.OtaKeybox";
|
|
}
|
|
protected:
|
|
explicit ProvisioningResponse_OtaKeybox(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDeviceKeyEncryptionIvFieldNumber = 1,
|
|
kEncryptedDeviceKeyFieldNumber = 2,
|
|
kDeviceCaTokenFieldNumber = 3,
|
|
};
|
|
// optional bytes device_key_encryption_iv = 1;
|
|
bool has_device_key_encryption_iv() const;
|
|
private:
|
|
bool _internal_has_device_key_encryption_iv() const;
|
|
public:
|
|
void clear_device_key_encryption_iv();
|
|
const std::string& device_key_encryption_iv() const;
|
|
void set_device_key_encryption_iv(const std::string& value);
|
|
void set_device_key_encryption_iv(std::string&& value);
|
|
void set_device_key_encryption_iv(const char* value);
|
|
void set_device_key_encryption_iv(const void* value, size_t size);
|
|
std::string* mutable_device_key_encryption_iv();
|
|
std::string* release_device_key_encryption_iv();
|
|
void set_allocated_device_key_encryption_iv(std::string* device_key_encryption_iv);
|
|
private:
|
|
const std::string& _internal_device_key_encryption_iv() const;
|
|
void _internal_set_device_key_encryption_iv(const std::string& value);
|
|
std::string* _internal_mutable_device_key_encryption_iv();
|
|
public:
|
|
|
|
// optional bytes encrypted_device_key = 2;
|
|
bool has_encrypted_device_key() const;
|
|
private:
|
|
bool _internal_has_encrypted_device_key() const;
|
|
public:
|
|
void clear_encrypted_device_key();
|
|
const std::string& encrypted_device_key() const;
|
|
void set_encrypted_device_key(const std::string& value);
|
|
void set_encrypted_device_key(std::string&& value);
|
|
void set_encrypted_device_key(const char* value);
|
|
void set_encrypted_device_key(const void* value, size_t size);
|
|
std::string* mutable_encrypted_device_key();
|
|
std::string* release_encrypted_device_key();
|
|
void set_allocated_encrypted_device_key(std::string* encrypted_device_key);
|
|
private:
|
|
const std::string& _internal_encrypted_device_key() const;
|
|
void _internal_set_encrypted_device_key(const std::string& value);
|
|
std::string* _internal_mutable_encrypted_device_key();
|
|
public:
|
|
|
|
// optional bytes device_ca_token = 3;
|
|
bool has_device_ca_token() const;
|
|
private:
|
|
bool _internal_has_device_ca_token() const;
|
|
public:
|
|
void clear_device_ca_token();
|
|
const std::string& device_ca_token() const;
|
|
void set_device_ca_token(const std::string& value);
|
|
void set_device_ca_token(std::string&& value);
|
|
void set_device_ca_token(const char* value);
|
|
void set_device_ca_token(const void* value, size_t size);
|
|
std::string* mutable_device_ca_token();
|
|
std::string* release_device_ca_token();
|
|
void set_allocated_device_ca_token(std::string* device_ca_token);
|
|
private:
|
|
const std::string& _internal_device_ca_token() const;
|
|
void _internal_set_device_ca_token(const std::string& value);
|
|
std::string* _internal_mutable_device_ca_token();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningResponse.OtaKeybox)
|
|
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 device_key_encryption_iv_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encrypted_device_key_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_ca_token_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ProvisioningResponse_AndroidAttestationOtaKeyboxResponse PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse) */ {
|
|
public:
|
|
inline ProvisioningResponse_AndroidAttestationOtaKeyboxResponse() : ProvisioningResponse_AndroidAttestationOtaKeyboxResponse(nullptr) {}
|
|
virtual ~ProvisioningResponse_AndroidAttestationOtaKeyboxResponse();
|
|
|
|
ProvisioningResponse_AndroidAttestationOtaKeyboxResponse(const ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& from);
|
|
ProvisioningResponse_AndroidAttestationOtaKeyboxResponse(ProvisioningResponse_AndroidAttestationOtaKeyboxResponse&& from) noexcept
|
|
: ProvisioningResponse_AndroidAttestationOtaKeyboxResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& operator=(const ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& operator=(ProvisioningResponse_AndroidAttestationOtaKeyboxResponse&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& default_instance();
|
|
|
|
static inline const ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningResponse_AndroidAttestationOtaKeyboxResponse*>(
|
|
&_ProvisioningResponse_AndroidAttestationOtaKeyboxResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
6;
|
|
|
|
friend void swap(ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& a, ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* New() const final {
|
|
return CreateMaybeMessage<ProvisioningResponse_AndroidAttestationOtaKeyboxResponse>(nullptr);
|
|
}
|
|
|
|
ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningResponse_AndroidAttestationOtaKeyboxResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& from);
|
|
void MergeFrom(const ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse";
|
|
}
|
|
protected:
|
|
explicit ProvisioningResponse_AndroidAttestationOtaKeyboxResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kOtaResponseFieldNumber = 1,
|
|
};
|
|
// optional bytes ota_response = 1;
|
|
bool has_ota_response() const;
|
|
private:
|
|
bool _internal_has_ota_response() const;
|
|
public:
|
|
void clear_ota_response();
|
|
const std::string& ota_response() const;
|
|
void set_ota_response(const std::string& value);
|
|
void set_ota_response(std::string&& value);
|
|
void set_ota_response(const char* value);
|
|
void set_ota_response(const void* value, size_t size);
|
|
std::string* mutable_ota_response();
|
|
std::string* release_ota_response();
|
|
void set_allocated_ota_response(std::string* ota_response);
|
|
private:
|
|
const std::string& _internal_ota_response() const;
|
|
void _internal_set_ota_response(const std::string& value);
|
|
std::string* _internal_mutable_ota_response();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse)
|
|
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 ota_response_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ProvisioningResponse PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningResponse) */ {
|
|
public:
|
|
inline ProvisioningResponse() : ProvisioningResponse(nullptr) {}
|
|
virtual ~ProvisioningResponse();
|
|
|
|
ProvisioningResponse(const ProvisioningResponse& from);
|
|
ProvisioningResponse(ProvisioningResponse&& from) noexcept
|
|
: ProvisioningResponse() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningResponse& operator=(const ProvisioningResponse& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningResponse& operator=(ProvisioningResponse&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningResponse& default_instance();
|
|
|
|
static inline const ProvisioningResponse* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningResponse*>(
|
|
&_ProvisioningResponse_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
7;
|
|
|
|
friend void swap(ProvisioningResponse& a, ProvisioningResponse& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningResponse* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningResponse* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningResponse* New() const final {
|
|
return CreateMaybeMessage<ProvisioningResponse>(nullptr);
|
|
}
|
|
|
|
ProvisioningResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningResponse>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningResponse& from);
|
|
void MergeFrom(const ProvisioningResponse& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningResponse* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningResponse";
|
|
}
|
|
protected:
|
|
explicit ProvisioningResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
typedef ProvisioningResponse_OtaKeybox OtaKeybox;
|
|
typedef ProvisioningResponse_AndroidAttestationOtaKeyboxResponse AndroidAttestationOtaKeyboxResponse;
|
|
|
|
typedef ProvisioningResponse_ProvisioningStatus ProvisioningStatus;
|
|
static constexpr ProvisioningStatus NO_ERROR =
|
|
ProvisioningResponse_ProvisioningStatus_NO_ERROR;
|
|
static constexpr ProvisioningStatus REVOKED_DEVICE_CREDENTIALS =
|
|
ProvisioningResponse_ProvisioningStatus_REVOKED_DEVICE_CREDENTIALS;
|
|
static constexpr ProvisioningStatus REVOKED_DEVICE_SERIES =
|
|
ProvisioningResponse_ProvisioningStatus_REVOKED_DEVICE_SERIES;
|
|
static inline bool ProvisioningStatus_IsValid(int value) {
|
|
return ProvisioningResponse_ProvisioningStatus_IsValid(value);
|
|
}
|
|
static constexpr ProvisioningStatus ProvisioningStatus_MIN =
|
|
ProvisioningResponse_ProvisioningStatus_ProvisioningStatus_MIN;
|
|
static constexpr ProvisioningStatus ProvisioningStatus_MAX =
|
|
ProvisioningResponse_ProvisioningStatus_ProvisioningStatus_MAX;
|
|
static constexpr int ProvisioningStatus_ARRAYSIZE =
|
|
ProvisioningResponse_ProvisioningStatus_ProvisioningStatus_ARRAYSIZE;
|
|
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
|
|
ProvisioningStatus_descriptor() {
|
|
return ProvisioningResponse_ProvisioningStatus_descriptor();
|
|
}
|
|
template<typename T>
|
|
static inline const std::string& ProvisioningStatus_Name(T enum_t_value) {
|
|
static_assert(::std::is_same<T, ProvisioningStatus>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to function ProvisioningStatus_Name.");
|
|
return ProvisioningResponse_ProvisioningStatus_Name(enum_t_value);
|
|
}
|
|
static inline bool ProvisioningStatus_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
|
|
ProvisioningStatus* value) {
|
|
return ProvisioningResponse_ProvisioningStatus_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kDeviceRsaKeyFieldNumber = 1,
|
|
kDeviceRsaKeyIvFieldNumber = 2,
|
|
kDeviceCertificateFieldNumber = 3,
|
|
kNonceFieldNumber = 4,
|
|
kWrappingKeyFieldNumber = 5,
|
|
kOtaKeyboxFieldNumber = 6,
|
|
kAndroidOtaKeyboxResponseFieldNumber = 8,
|
|
kStatusFieldNumber = 7,
|
|
};
|
|
// optional bytes device_rsa_key = 1;
|
|
bool has_device_rsa_key() const;
|
|
private:
|
|
bool _internal_has_device_rsa_key() const;
|
|
public:
|
|
void clear_device_rsa_key();
|
|
const std::string& device_rsa_key() const;
|
|
void set_device_rsa_key(const std::string& value);
|
|
void set_device_rsa_key(std::string&& value);
|
|
void set_device_rsa_key(const char* value);
|
|
void set_device_rsa_key(const void* value, size_t size);
|
|
std::string* mutable_device_rsa_key();
|
|
std::string* release_device_rsa_key();
|
|
void set_allocated_device_rsa_key(std::string* device_rsa_key);
|
|
private:
|
|
const std::string& _internal_device_rsa_key() const;
|
|
void _internal_set_device_rsa_key(const std::string& value);
|
|
std::string* _internal_mutable_device_rsa_key();
|
|
public:
|
|
|
|
// optional bytes device_rsa_key_iv = 2;
|
|
bool has_device_rsa_key_iv() const;
|
|
private:
|
|
bool _internal_has_device_rsa_key_iv() const;
|
|
public:
|
|
void clear_device_rsa_key_iv();
|
|
const std::string& device_rsa_key_iv() const;
|
|
void set_device_rsa_key_iv(const std::string& value);
|
|
void set_device_rsa_key_iv(std::string&& value);
|
|
void set_device_rsa_key_iv(const char* value);
|
|
void set_device_rsa_key_iv(const void* value, size_t size);
|
|
std::string* mutable_device_rsa_key_iv();
|
|
std::string* release_device_rsa_key_iv();
|
|
void set_allocated_device_rsa_key_iv(std::string* device_rsa_key_iv);
|
|
private:
|
|
const std::string& _internal_device_rsa_key_iv() const;
|
|
void _internal_set_device_rsa_key_iv(const std::string& value);
|
|
std::string* _internal_mutable_device_rsa_key_iv();
|
|
public:
|
|
|
|
// optional bytes device_certificate = 3;
|
|
bool has_device_certificate() const;
|
|
private:
|
|
bool _internal_has_device_certificate() const;
|
|
public:
|
|
void clear_device_certificate();
|
|
const std::string& device_certificate() const;
|
|
void set_device_certificate(const std::string& value);
|
|
void set_device_certificate(std::string&& value);
|
|
void set_device_certificate(const char* value);
|
|
void set_device_certificate(const void* value, size_t size);
|
|
std::string* mutable_device_certificate();
|
|
std::string* release_device_certificate();
|
|
void set_allocated_device_certificate(std::string* device_certificate);
|
|
private:
|
|
const std::string& _internal_device_certificate() const;
|
|
void _internal_set_device_certificate(const std::string& value);
|
|
std::string* _internal_mutable_device_certificate();
|
|
public:
|
|
|
|
// optional bytes nonce = 4;
|
|
bool has_nonce() const;
|
|
private:
|
|
bool _internal_has_nonce() const;
|
|
public:
|
|
void clear_nonce();
|
|
const std::string& nonce() const;
|
|
void set_nonce(const std::string& value);
|
|
void set_nonce(std::string&& value);
|
|
void set_nonce(const char* value);
|
|
void set_nonce(const void* value, size_t size);
|
|
std::string* mutable_nonce();
|
|
std::string* release_nonce();
|
|
void set_allocated_nonce(std::string* nonce);
|
|
private:
|
|
const std::string& _internal_nonce() const;
|
|
void _internal_set_nonce(const std::string& value);
|
|
std::string* _internal_mutable_nonce();
|
|
public:
|
|
|
|
// optional bytes wrapping_key = 5;
|
|
bool has_wrapping_key() const;
|
|
private:
|
|
bool _internal_has_wrapping_key() const;
|
|
public:
|
|
void clear_wrapping_key();
|
|
const std::string& wrapping_key() const;
|
|
void set_wrapping_key(const std::string& value);
|
|
void set_wrapping_key(std::string&& value);
|
|
void set_wrapping_key(const char* value);
|
|
void set_wrapping_key(const void* value, size_t size);
|
|
std::string* mutable_wrapping_key();
|
|
std::string* release_wrapping_key();
|
|
void set_allocated_wrapping_key(std::string* wrapping_key);
|
|
private:
|
|
const std::string& _internal_wrapping_key() const;
|
|
void _internal_set_wrapping_key(const std::string& value);
|
|
std::string* _internal_mutable_wrapping_key();
|
|
public:
|
|
|
|
// optional .video_widevine.ProvisioningResponse.OtaKeybox ota_keybox = 6;
|
|
bool has_ota_keybox() const;
|
|
private:
|
|
bool _internal_has_ota_keybox() const;
|
|
public:
|
|
void clear_ota_keybox();
|
|
const ::video_widevine::ProvisioningResponse_OtaKeybox& ota_keybox() const;
|
|
::video_widevine::ProvisioningResponse_OtaKeybox* release_ota_keybox();
|
|
::video_widevine::ProvisioningResponse_OtaKeybox* mutable_ota_keybox();
|
|
void set_allocated_ota_keybox(::video_widevine::ProvisioningResponse_OtaKeybox* ota_keybox);
|
|
private:
|
|
const ::video_widevine::ProvisioningResponse_OtaKeybox& _internal_ota_keybox() const;
|
|
::video_widevine::ProvisioningResponse_OtaKeybox* _internal_mutable_ota_keybox();
|
|
public:
|
|
void unsafe_arena_set_allocated_ota_keybox(
|
|
::video_widevine::ProvisioningResponse_OtaKeybox* ota_keybox);
|
|
::video_widevine::ProvisioningResponse_OtaKeybox* unsafe_arena_release_ota_keybox();
|
|
|
|
// optional .video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse android_ota_keybox_response = 8;
|
|
bool has_android_ota_keybox_response() const;
|
|
private:
|
|
bool _internal_has_android_ota_keybox_response() const;
|
|
public:
|
|
void clear_android_ota_keybox_response();
|
|
const ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& android_ota_keybox_response() const;
|
|
::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* release_android_ota_keybox_response();
|
|
::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* mutable_android_ota_keybox_response();
|
|
void set_allocated_android_ota_keybox_response(::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* android_ota_keybox_response);
|
|
private:
|
|
const ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& _internal_android_ota_keybox_response() const;
|
|
::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* _internal_mutable_android_ota_keybox_response();
|
|
public:
|
|
void unsafe_arena_set_allocated_android_ota_keybox_response(
|
|
::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* android_ota_keybox_response);
|
|
::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* unsafe_arena_release_android_ota_keybox_response();
|
|
|
|
// optional .video_widevine.ProvisioningResponse.ProvisioningStatus status = 7;
|
|
bool has_status() const;
|
|
private:
|
|
bool _internal_has_status() const;
|
|
public:
|
|
void clear_status();
|
|
::video_widevine::ProvisioningResponse_ProvisioningStatus status() const;
|
|
void set_status(::video_widevine::ProvisioningResponse_ProvisioningStatus value);
|
|
private:
|
|
::video_widevine::ProvisioningResponse_ProvisioningStatus _internal_status() const;
|
|
void _internal_set_status(::video_widevine::ProvisioningResponse_ProvisioningStatus value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningResponse)
|
|
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 device_rsa_key_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_rsa_key_iv_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_certificate_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr nonce_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr wrapping_key_;
|
|
::video_widevine::ProvisioningResponse_OtaKeybox* ota_keybox_;
|
|
::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* android_ota_keybox_response_;
|
|
int status_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ProvisioningContext PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningContext) */ {
|
|
public:
|
|
inline ProvisioningContext() : ProvisioningContext(nullptr) {}
|
|
virtual ~ProvisioningContext();
|
|
|
|
ProvisioningContext(const ProvisioningContext& from);
|
|
ProvisioningContext(ProvisioningContext&& from) noexcept
|
|
: ProvisioningContext() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningContext& operator=(const ProvisioningContext& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningContext& operator=(ProvisioningContext&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningContext& default_instance();
|
|
|
|
static inline const ProvisioningContext* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningContext*>(
|
|
&_ProvisioningContext_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
8;
|
|
|
|
friend void swap(ProvisioningContext& a, ProvisioningContext& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningContext* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningContext* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningContext* New() const final {
|
|
return CreateMaybeMessage<ProvisioningContext>(nullptr);
|
|
}
|
|
|
|
ProvisioningContext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningContext>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningContext& from);
|
|
void MergeFrom(const ProvisioningContext& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningContext* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningContext";
|
|
}
|
|
protected:
|
|
explicit ProvisioningContext(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kKeyDataFieldNumber = 1,
|
|
kContextDataFieldNumber = 2,
|
|
};
|
|
// optional bytes key_data = 1;
|
|
bool has_key_data() const;
|
|
private:
|
|
bool _internal_has_key_data() const;
|
|
public:
|
|
void clear_key_data();
|
|
const std::string& key_data() const;
|
|
void set_key_data(const std::string& value);
|
|
void set_key_data(std::string&& value);
|
|
void set_key_data(const char* value);
|
|
void set_key_data(const void* value, size_t size);
|
|
std::string* mutable_key_data();
|
|
std::string* release_key_data();
|
|
void set_allocated_key_data(std::string* key_data);
|
|
private:
|
|
const std::string& _internal_key_data() const;
|
|
void _internal_set_key_data(const std::string& value);
|
|
std::string* _internal_mutable_key_data();
|
|
public:
|
|
|
|
// optional bytes context_data = 2;
|
|
bool has_context_data() const;
|
|
private:
|
|
bool _internal_has_context_data() const;
|
|
public:
|
|
void clear_context_data();
|
|
const std::string& context_data() const;
|
|
void set_context_data(const std::string& value);
|
|
void set_context_data(std::string&& value);
|
|
void set_context_data(const char* value);
|
|
void set_context_data(const void* value, size_t size);
|
|
std::string* mutable_context_data();
|
|
std::string* release_context_data();
|
|
void set_allocated_context_data(std::string* context_data);
|
|
private:
|
|
const std::string& _internal_context_data() const;
|
|
void _internal_set_context_data(const std::string& value);
|
|
std::string* _internal_mutable_context_data();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningContext)
|
|
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_data_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr context_data_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class SignedProvisioningContext PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.SignedProvisioningContext) */ {
|
|
public:
|
|
inline SignedProvisioningContext() : SignedProvisioningContext(nullptr) {}
|
|
virtual ~SignedProvisioningContext();
|
|
|
|
SignedProvisioningContext(const SignedProvisioningContext& from);
|
|
SignedProvisioningContext(SignedProvisioningContext&& from) noexcept
|
|
: SignedProvisioningContext() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline SignedProvisioningContext& operator=(const SignedProvisioningContext& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SignedProvisioningContext& operator=(SignedProvisioningContext&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const SignedProvisioningContext& default_instance();
|
|
|
|
static inline const SignedProvisioningContext* internal_default_instance() {
|
|
return reinterpret_cast<const SignedProvisioningContext*>(
|
|
&_SignedProvisioningContext_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
9;
|
|
|
|
friend void swap(SignedProvisioningContext& a, SignedProvisioningContext& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(SignedProvisioningContext* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SignedProvisioningContext* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline SignedProvisioningContext* New() const final {
|
|
return CreateMaybeMessage<SignedProvisioningContext>(nullptr);
|
|
}
|
|
|
|
SignedProvisioningContext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<SignedProvisioningContext>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const SignedProvisioningContext& from);
|
|
void MergeFrom(const SignedProvisioningContext& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(SignedProvisioningContext* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.SignedProvisioningContext";
|
|
}
|
|
protected:
|
|
explicit SignedProvisioningContext(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kProvisioningContextFieldNumber = 1,
|
|
kSignatureFieldNumber = 2,
|
|
kHashAlgorithmFieldNumber = 3,
|
|
};
|
|
// optional bytes provisioning_context = 1;
|
|
bool has_provisioning_context() const;
|
|
private:
|
|
bool _internal_has_provisioning_context() const;
|
|
public:
|
|
void clear_provisioning_context();
|
|
const std::string& provisioning_context() const;
|
|
void set_provisioning_context(const std::string& value);
|
|
void set_provisioning_context(std::string&& value);
|
|
void set_provisioning_context(const char* value);
|
|
void set_provisioning_context(const void* value, size_t size);
|
|
std::string* mutable_provisioning_context();
|
|
std::string* release_provisioning_context();
|
|
void set_allocated_provisioning_context(std::string* provisioning_context);
|
|
private:
|
|
const std::string& _internal_provisioning_context() const;
|
|
void _internal_set_provisioning_context(const std::string& value);
|
|
std::string* _internal_mutable_provisioning_context();
|
|
public:
|
|
|
|
// optional bytes signature = 2;
|
|
bool has_signature() const;
|
|
private:
|
|
bool _internal_has_signature() const;
|
|
public:
|
|
void clear_signature();
|
|
const std::string& signature() const;
|
|
void set_signature(const std::string& value);
|
|
void set_signature(std::string&& value);
|
|
void set_signature(const char* value);
|
|
void set_signature(const void* value, size_t size);
|
|
std::string* mutable_signature();
|
|
std::string* release_signature();
|
|
void set_allocated_signature(std::string* signature);
|
|
private:
|
|
const std::string& _internal_signature() const;
|
|
void _internal_set_signature(const std::string& value);
|
|
std::string* _internal_mutable_signature();
|
|
public:
|
|
|
|
// optional .video_widevine.HashAlgorithmProto hash_algorithm = 3;
|
|
bool has_hash_algorithm() const;
|
|
private:
|
|
bool _internal_has_hash_algorithm() const;
|
|
public:
|
|
void clear_hash_algorithm();
|
|
::video_widevine::HashAlgorithmProto hash_algorithm() const;
|
|
void set_hash_algorithm(::video_widevine::HashAlgorithmProto value);
|
|
private:
|
|
::video_widevine::HashAlgorithmProto _internal_hash_algorithm() const;
|
|
void _internal_set_hash_algorithm(::video_widevine::HashAlgorithmProto value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.SignedProvisioningContext)
|
|
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 provisioning_context_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_;
|
|
int hash_algorithm_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class ProvisioningContextKeyData PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.ProvisioningContextKeyData) */ {
|
|
public:
|
|
inline ProvisioningContextKeyData() : ProvisioningContextKeyData(nullptr) {}
|
|
virtual ~ProvisioningContextKeyData();
|
|
|
|
ProvisioningContextKeyData(const ProvisioningContextKeyData& from);
|
|
ProvisioningContextKeyData(ProvisioningContextKeyData&& from) noexcept
|
|
: ProvisioningContextKeyData() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline ProvisioningContextKeyData& operator=(const ProvisioningContextKeyData& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline ProvisioningContextKeyData& operator=(ProvisioningContextKeyData&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const ProvisioningContextKeyData& default_instance();
|
|
|
|
static inline const ProvisioningContextKeyData* internal_default_instance() {
|
|
return reinterpret_cast<const ProvisioningContextKeyData*>(
|
|
&_ProvisioningContextKeyData_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
10;
|
|
|
|
friend void swap(ProvisioningContextKeyData& a, ProvisioningContextKeyData& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(ProvisioningContextKeyData* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(ProvisioningContextKeyData* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline ProvisioningContextKeyData* New() const final {
|
|
return CreateMaybeMessage<ProvisioningContextKeyData>(nullptr);
|
|
}
|
|
|
|
ProvisioningContextKeyData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<ProvisioningContextKeyData>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const ProvisioningContextKeyData& from);
|
|
void MergeFrom(const ProvisioningContextKeyData& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(ProvisioningContextKeyData* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.ProvisioningContextKeyData";
|
|
}
|
|
protected:
|
|
explicit ProvisioningContextKeyData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kEncryptionKeyFieldNumber = 1,
|
|
kEncryptionIvFieldNumber = 2,
|
|
};
|
|
// optional bytes encryption_key = 1;
|
|
bool has_encryption_key() const;
|
|
private:
|
|
bool _internal_has_encryption_key() const;
|
|
public:
|
|
void clear_encryption_key();
|
|
const std::string& encryption_key() const;
|
|
void set_encryption_key(const std::string& value);
|
|
void set_encryption_key(std::string&& value);
|
|
void set_encryption_key(const char* value);
|
|
void set_encryption_key(const void* value, size_t size);
|
|
std::string* mutable_encryption_key();
|
|
std::string* release_encryption_key();
|
|
void set_allocated_encryption_key(std::string* encryption_key);
|
|
private:
|
|
const std::string& _internal_encryption_key() const;
|
|
void _internal_set_encryption_key(const std::string& value);
|
|
std::string* _internal_mutable_encryption_key();
|
|
public:
|
|
|
|
// optional bytes encryption_iv = 2;
|
|
bool has_encryption_iv() const;
|
|
private:
|
|
bool _internal_has_encryption_iv() const;
|
|
public:
|
|
void clear_encryption_iv();
|
|
const std::string& encryption_iv() const;
|
|
void set_encryption_iv(const std::string& value);
|
|
void set_encryption_iv(std::string&& value);
|
|
void set_encryption_iv(const char* value);
|
|
void set_encryption_iv(const void* value, size_t size);
|
|
std::string* mutable_encryption_iv();
|
|
std::string* release_encryption_iv();
|
|
void set_allocated_encryption_iv(std::string* encryption_iv);
|
|
private:
|
|
const std::string& _internal_encryption_iv() const;
|
|
void _internal_set_encryption_iv(const std::string& value);
|
|
std::string* _internal_mutable_encryption_iv();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.ProvisioningContextKeyData)
|
|
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 encryption_key_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encryption_iv_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class SignedProvisioningMessage PROTOBUF_FINAL :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.SignedProvisioningMessage) */ {
|
|
public:
|
|
inline SignedProvisioningMessage() : SignedProvisioningMessage(nullptr) {}
|
|
virtual ~SignedProvisioningMessage();
|
|
|
|
SignedProvisioningMessage(const SignedProvisioningMessage& from);
|
|
SignedProvisioningMessage(SignedProvisioningMessage&& from) noexcept
|
|
: SignedProvisioningMessage() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline SignedProvisioningMessage& operator=(const SignedProvisioningMessage& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline SignedProvisioningMessage& operator=(SignedProvisioningMessage&& from) noexcept {
|
|
if (GetArena() == from.GetArena()) {
|
|
if (this != &from) InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return GetMetadataStatic().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return GetMetadataStatic().reflection;
|
|
}
|
|
static const SignedProvisioningMessage& default_instance();
|
|
|
|
static inline const SignedProvisioningMessage* internal_default_instance() {
|
|
return reinterpret_cast<const SignedProvisioningMessage*>(
|
|
&_SignedProvisioningMessage_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
11;
|
|
|
|
friend void swap(SignedProvisioningMessage& a, SignedProvisioningMessage& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(SignedProvisioningMessage* other) {
|
|
if (other == this) return;
|
|
if (GetArena() == other->GetArena()) {
|
|
InternalSwap(other);
|
|
} else {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(SignedProvisioningMessage* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetArena() == other->GetArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
inline SignedProvisioningMessage* New() const final {
|
|
return CreateMaybeMessage<SignedProvisioningMessage>(nullptr);
|
|
}
|
|
|
|
SignedProvisioningMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
|
|
return CreateMaybeMessage<SignedProvisioningMessage>(arena);
|
|
}
|
|
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
|
|
void CopyFrom(const SignedProvisioningMessage& from);
|
|
void MergeFrom(const SignedProvisioningMessage& from);
|
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
|
bool IsInitialized() const final;
|
|
|
|
size_t ByteSizeLong() const final;
|
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
|
|
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _cached_size_.Get(); }
|
|
|
|
private:
|
|
inline void SharedCtor();
|
|
inline void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(SignedProvisioningMessage* other);
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "video_widevine.SignedProvisioningMessage";
|
|
}
|
|
protected:
|
|
explicit SignedProvisioningMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
private:
|
|
static void ArenaDtor(void* object);
|
|
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
|
|
public:
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
private:
|
|
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
|
|
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto);
|
|
return ::descriptor_table_protos_2fpublic_2fcertificate_5fprovisioning_2eproto.file_level_metadata[kIndexInFileMessages];
|
|
}
|
|
|
|
public:
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
typedef SignedProvisioningMessage_ProvisioningProtocolVersion ProvisioningProtocolVersion;
|
|
static constexpr ProvisioningProtocolVersion VERSION_UNSPECIFIED =
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_VERSION_UNSPECIFIED;
|
|
static constexpr ProvisioningProtocolVersion VERSION_1 =
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_VERSION_1;
|
|
static constexpr ProvisioningProtocolVersion VERSION_1_1 =
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_VERSION_1_1;
|
|
static inline bool ProvisioningProtocolVersion_IsValid(int value) {
|
|
return SignedProvisioningMessage_ProvisioningProtocolVersion_IsValid(value);
|
|
}
|
|
static constexpr ProvisioningProtocolVersion ProvisioningProtocolVersion_MIN =
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_ProvisioningProtocolVersion_MIN;
|
|
static constexpr ProvisioningProtocolVersion ProvisioningProtocolVersion_MAX =
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_ProvisioningProtocolVersion_MAX;
|
|
static constexpr int ProvisioningProtocolVersion_ARRAYSIZE =
|
|
SignedProvisioningMessage_ProvisioningProtocolVersion_ProvisioningProtocolVersion_ARRAYSIZE;
|
|
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
|
|
ProvisioningProtocolVersion_descriptor() {
|
|
return SignedProvisioningMessage_ProvisioningProtocolVersion_descriptor();
|
|
}
|
|
template<typename T>
|
|
static inline const std::string& ProvisioningProtocolVersion_Name(T enum_t_value) {
|
|
static_assert(::std::is_same<T, ProvisioningProtocolVersion>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to function ProvisioningProtocolVersion_Name.");
|
|
return SignedProvisioningMessage_ProvisioningProtocolVersion_Name(enum_t_value);
|
|
}
|
|
static inline bool ProvisioningProtocolVersion_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
|
|
ProvisioningProtocolVersion* value) {
|
|
return SignedProvisioningMessage_ProvisioningProtocolVersion_Parse(name, value);
|
|
}
|
|
|
|
typedef SignedProvisioningMessage_ProvisioningType ProvisioningType;
|
|
static constexpr ProvisioningType PROVISIONING_TYPE_UNSPECIFIED =
|
|
SignedProvisioningMessage_ProvisioningType_PROVISIONING_TYPE_UNSPECIFIED;
|
|
static constexpr ProvisioningType SERVICE_CERTIFICATE_REQUEST =
|
|
SignedProvisioningMessage_ProvisioningType_SERVICE_CERTIFICATE_REQUEST;
|
|
static constexpr ProvisioningType PROVISIONING_20 =
|
|
SignedProvisioningMessage_ProvisioningType_PROVISIONING_20;
|
|
static constexpr ProvisioningType PROVISIONING_30 =
|
|
SignedProvisioningMessage_ProvisioningType_PROVISIONING_30;
|
|
static constexpr ProvisioningType PROVISIONING_40 =
|
|
SignedProvisioningMessage_ProvisioningType_PROVISIONING_40;
|
|
static inline bool ProvisioningType_IsValid(int value) {
|
|
return SignedProvisioningMessage_ProvisioningType_IsValid(value);
|
|
}
|
|
static constexpr ProvisioningType ProvisioningType_MIN =
|
|
SignedProvisioningMessage_ProvisioningType_ProvisioningType_MIN;
|
|
static constexpr ProvisioningType ProvisioningType_MAX =
|
|
SignedProvisioningMessage_ProvisioningType_ProvisioningType_MAX;
|
|
static constexpr int ProvisioningType_ARRAYSIZE =
|
|
SignedProvisioningMessage_ProvisioningType_ProvisioningType_ARRAYSIZE;
|
|
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
|
|
ProvisioningType_descriptor() {
|
|
return SignedProvisioningMessage_ProvisioningType_descriptor();
|
|
}
|
|
template<typename T>
|
|
static inline const std::string& ProvisioningType_Name(T enum_t_value) {
|
|
static_assert(::std::is_same<T, ProvisioningType>::value ||
|
|
::std::is_integral<T>::value,
|
|
"Incorrect type passed to function ProvisioningType_Name.");
|
|
return SignedProvisioningMessage_ProvisioningType_Name(enum_t_value);
|
|
}
|
|
static inline bool ProvisioningType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
|
|
ProvisioningType* value) {
|
|
return SignedProvisioningMessage_ProvisioningType_Parse(name, value);
|
|
}
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kMessageFieldNumber = 1,
|
|
kSignatureFieldNumber = 2,
|
|
kOemcryptoCoreMessageFieldNumber = 6,
|
|
kSignedProvisioningContextFieldNumber = 4,
|
|
kRemoteAttestationFieldNumber = 5,
|
|
kHashAlgorithmFieldNumber = 7,
|
|
kProtocolVersionFieldNumber = 8,
|
|
kProvisioningTypeFieldNumber = 3,
|
|
};
|
|
// optional bytes message = 1;
|
|
bool has_message() const;
|
|
private:
|
|
bool _internal_has_message() const;
|
|
public:
|
|
void clear_message();
|
|
const std::string& message() const;
|
|
void set_message(const std::string& value);
|
|
void set_message(std::string&& value);
|
|
void set_message(const char* value);
|
|
void set_message(const void* value, size_t size);
|
|
std::string* mutable_message();
|
|
std::string* release_message();
|
|
void set_allocated_message(std::string* message);
|
|
private:
|
|
const std::string& _internal_message() const;
|
|
void _internal_set_message(const std::string& value);
|
|
std::string* _internal_mutable_message();
|
|
public:
|
|
|
|
// optional bytes signature = 2;
|
|
bool has_signature() const;
|
|
private:
|
|
bool _internal_has_signature() const;
|
|
public:
|
|
void clear_signature();
|
|
const std::string& signature() const;
|
|
void set_signature(const std::string& value);
|
|
void set_signature(std::string&& value);
|
|
void set_signature(const char* value);
|
|
void set_signature(const void* value, size_t size);
|
|
std::string* mutable_signature();
|
|
std::string* release_signature();
|
|
void set_allocated_signature(std::string* signature);
|
|
private:
|
|
const std::string& _internal_signature() const;
|
|
void _internal_set_signature(const std::string& value);
|
|
std::string* _internal_mutable_signature();
|
|
public:
|
|
|
|
// optional bytes oemcrypto_core_message = 6;
|
|
bool has_oemcrypto_core_message() const;
|
|
private:
|
|
bool _internal_has_oemcrypto_core_message() const;
|
|
public:
|
|
void clear_oemcrypto_core_message();
|
|
const std::string& oemcrypto_core_message() const;
|
|
void set_oemcrypto_core_message(const std::string& value);
|
|
void set_oemcrypto_core_message(std::string&& value);
|
|
void set_oemcrypto_core_message(const char* value);
|
|
void set_oemcrypto_core_message(const void* value, size_t size);
|
|
std::string* mutable_oemcrypto_core_message();
|
|
std::string* release_oemcrypto_core_message();
|
|
void set_allocated_oemcrypto_core_message(std::string* oemcrypto_core_message);
|
|
private:
|
|
const std::string& _internal_oemcrypto_core_message() const;
|
|
void _internal_set_oemcrypto_core_message(const std::string& value);
|
|
std::string* _internal_mutable_oemcrypto_core_message();
|
|
public:
|
|
|
|
// optional .video_widevine.SignedProvisioningContext signed_provisioning_context = 4;
|
|
bool has_signed_provisioning_context() const;
|
|
private:
|
|
bool _internal_has_signed_provisioning_context() const;
|
|
public:
|
|
void clear_signed_provisioning_context();
|
|
const ::video_widevine::SignedProvisioningContext& signed_provisioning_context() const;
|
|
::video_widevine::SignedProvisioningContext* release_signed_provisioning_context();
|
|
::video_widevine::SignedProvisioningContext* mutable_signed_provisioning_context();
|
|
void set_allocated_signed_provisioning_context(::video_widevine::SignedProvisioningContext* signed_provisioning_context);
|
|
private:
|
|
const ::video_widevine::SignedProvisioningContext& _internal_signed_provisioning_context() const;
|
|
::video_widevine::SignedProvisioningContext* _internal_mutable_signed_provisioning_context();
|
|
public:
|
|
void unsafe_arena_set_allocated_signed_provisioning_context(
|
|
::video_widevine::SignedProvisioningContext* signed_provisioning_context);
|
|
::video_widevine::SignedProvisioningContext* unsafe_arena_release_signed_provisioning_context();
|
|
|
|
// optional .video_widevine.RemoteAttestation remote_attestation = 5;
|
|
bool has_remote_attestation() const;
|
|
private:
|
|
bool _internal_has_remote_attestation() const;
|
|
public:
|
|
void clear_remote_attestation();
|
|
const ::video_widevine::RemoteAttestation& remote_attestation() const;
|
|
::video_widevine::RemoteAttestation* release_remote_attestation();
|
|
::video_widevine::RemoteAttestation* mutable_remote_attestation();
|
|
void set_allocated_remote_attestation(::video_widevine::RemoteAttestation* remote_attestation);
|
|
private:
|
|
const ::video_widevine::RemoteAttestation& _internal_remote_attestation() const;
|
|
::video_widevine::RemoteAttestation* _internal_mutable_remote_attestation();
|
|
public:
|
|
void unsafe_arena_set_allocated_remote_attestation(
|
|
::video_widevine::RemoteAttestation* remote_attestation);
|
|
::video_widevine::RemoteAttestation* unsafe_arena_release_remote_attestation();
|
|
|
|
// optional .video_widevine.HashAlgorithmProto hash_algorithm = 7;
|
|
bool has_hash_algorithm() const;
|
|
private:
|
|
bool _internal_has_hash_algorithm() const;
|
|
public:
|
|
void clear_hash_algorithm();
|
|
::video_widevine::HashAlgorithmProto hash_algorithm() const;
|
|
void set_hash_algorithm(::video_widevine::HashAlgorithmProto value);
|
|
private:
|
|
::video_widevine::HashAlgorithmProto _internal_hash_algorithm() const;
|
|
void _internal_set_hash_algorithm(::video_widevine::HashAlgorithmProto value);
|
|
public:
|
|
|
|
// optional .video_widevine.SignedProvisioningMessage.ProvisioningProtocolVersion protocol_version = 8;
|
|
bool has_protocol_version() const;
|
|
private:
|
|
bool _internal_has_protocol_version() const;
|
|
public:
|
|
void clear_protocol_version();
|
|
::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion protocol_version() const;
|
|
void set_protocol_version(::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion value);
|
|
private:
|
|
::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion _internal_protocol_version() const;
|
|
void _internal_set_protocol_version(::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion value);
|
|
public:
|
|
|
|
// optional .video_widevine.SignedProvisioningMessage.ProvisioningType provisioning_type = 3 [default = PROVISIONING_20];
|
|
bool has_provisioning_type() const;
|
|
private:
|
|
bool _internal_has_provisioning_type() const;
|
|
public:
|
|
void clear_provisioning_type();
|
|
::video_widevine::SignedProvisioningMessage_ProvisioningType provisioning_type() const;
|
|
void set_provisioning_type(::video_widevine::SignedProvisioningMessage_ProvisioningType value);
|
|
private:
|
|
::video_widevine::SignedProvisioningMessage_ProvisioningType _internal_provisioning_type() const;
|
|
void _internal_set_provisioning_type(::video_widevine::SignedProvisioningMessage_ProvisioningType value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:video_widevine.SignedProvisioningMessage)
|
|
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 message_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr signature_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr oemcrypto_core_message_;
|
|
::video_widevine::SignedProvisioningContext* signed_provisioning_context_;
|
|
::video_widevine::RemoteAttestation* remote_attestation_;
|
|
int hash_algorithm_;
|
|
int protocol_version_;
|
|
int provisioning_type_;
|
|
friend struct ::TableStruct_protos_2fpublic_2fcertificate_5fprovisioning_2eproto;
|
|
};
|
|
// ===================================================================
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// ProvisioningOptions
|
|
|
|
// optional .video_widevine.ProvisioningOptions.CertificateType certificate_type = 1 [default = WIDEVINE_DRM];
|
|
inline bool ProvisioningOptions::_internal_has_certificate_type() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningOptions::has_certificate_type() const {
|
|
return _internal_has_certificate_type();
|
|
}
|
|
inline void ProvisioningOptions::clear_certificate_type() {
|
|
certificate_type_ = 0;
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline ::video_widevine::ProvisioningOptions_CertificateType ProvisioningOptions::_internal_certificate_type() const {
|
|
return static_cast< ::video_widevine::ProvisioningOptions_CertificateType >(certificate_type_);
|
|
}
|
|
inline ::video_widevine::ProvisioningOptions_CertificateType ProvisioningOptions::certificate_type() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningOptions.certificate_type)
|
|
return _internal_certificate_type();
|
|
}
|
|
inline void ProvisioningOptions::_internal_set_certificate_type(::video_widevine::ProvisioningOptions_CertificateType value) {
|
|
assert(::video_widevine::ProvisioningOptions_CertificateType_IsValid(value));
|
|
_has_bits_[0] |= 0x00000002u;
|
|
certificate_type_ = value;
|
|
}
|
|
inline void ProvisioningOptions::set_certificate_type(::video_widevine::ProvisioningOptions_CertificateType value) {
|
|
_internal_set_certificate_type(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningOptions.certificate_type)
|
|
}
|
|
|
|
// optional string certificate_authority = 2;
|
|
inline bool ProvisioningOptions::_internal_has_certificate_authority() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningOptions::has_certificate_authority() const {
|
|
return _internal_has_certificate_authority();
|
|
}
|
|
inline void ProvisioningOptions::clear_certificate_authority() {
|
|
certificate_authority_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningOptions::certificate_authority() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningOptions.certificate_authority)
|
|
return _internal_certificate_authority();
|
|
}
|
|
inline void ProvisioningOptions::set_certificate_authority(const std::string& value) {
|
|
_internal_set_certificate_authority(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningOptions.certificate_authority)
|
|
}
|
|
inline std::string* ProvisioningOptions::mutable_certificate_authority() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningOptions.certificate_authority)
|
|
return _internal_mutable_certificate_authority();
|
|
}
|
|
inline const std::string& ProvisioningOptions::_internal_certificate_authority() const {
|
|
return certificate_authority_.Get();
|
|
}
|
|
inline void ProvisioningOptions::_internal_set_certificate_authority(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
certificate_authority_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningOptions::set_certificate_authority(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
certificate_authority_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningOptions.certificate_authority)
|
|
}
|
|
inline void ProvisioningOptions::set_certificate_authority(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
certificate_authority_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningOptions.certificate_authority)
|
|
}
|
|
inline void ProvisioningOptions::set_certificate_authority(const char* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
certificate_authority_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningOptions.certificate_authority)
|
|
}
|
|
inline std::string* ProvisioningOptions::_internal_mutable_certificate_authority() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return certificate_authority_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningOptions::release_certificate_authority() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningOptions.certificate_authority)
|
|
if (!_internal_has_certificate_authority()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return certificate_authority_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningOptions::set_allocated_certificate_authority(std::string* certificate_authority) {
|
|
if (certificate_authority != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
certificate_authority_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), certificate_authority,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningOptions.certificate_authority)
|
|
}
|
|
|
|
// optional uint32 system_id = 3;
|
|
inline bool ProvisioningOptions::_internal_has_system_id() const {
|
|
bool value = (_has_bits_[0] & 0x00000004u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningOptions::has_system_id() const {
|
|
return _internal_has_system_id();
|
|
}
|
|
inline void ProvisioningOptions::clear_system_id() {
|
|
system_id_ = 0u;
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::uint32 ProvisioningOptions::_internal_system_id() const {
|
|
return system_id_;
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::uint32 ProvisioningOptions::system_id() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningOptions.system_id)
|
|
return _internal_system_id();
|
|
}
|
|
inline void ProvisioningOptions::_internal_set_system_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
system_id_ = value;
|
|
}
|
|
inline void ProvisioningOptions::set_system_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
|
|
_internal_set_system_id(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningOptions.system_id)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ProvisioningRequest_EncryptedSessionKeys_SessionKeys
|
|
|
|
// optional bytes encryption_key = 1;
|
|
inline bool ProvisioningRequest_EncryptedSessionKeys_SessionKeys::_internal_has_encryption_key() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningRequest_EncryptedSessionKeys_SessionKeys::has_encryption_key() const {
|
|
return _internal_has_encryption_key();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::clear_encryption_key() {
|
|
encryption_key_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningRequest_EncryptedSessionKeys_SessionKeys::encryption_key() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.encryption_key)
|
|
return _internal_encryption_key();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_encryption_key(const std::string& value) {
|
|
_internal_set_encryption_key(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.encryption_key)
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys_SessionKeys::mutable_encryption_key() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.encryption_key)
|
|
return _internal_mutable_encryption_key();
|
|
}
|
|
inline const std::string& ProvisioningRequest_EncryptedSessionKeys_SessionKeys::_internal_encryption_key() const {
|
|
return encryption_key_.Get();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::_internal_set_encryption_key(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
encryption_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_encryption_key(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
encryption_key_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.encryption_key)
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_encryption_key(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
encryption_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.encryption_key)
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_encryption_key(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
encryption_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.encryption_key)
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys_SessionKeys::_internal_mutable_encryption_key() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return encryption_key_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys_SessionKeys::release_encryption_key() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.encryption_key)
|
|
if (!_internal_has_encryption_key()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return encryption_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_allocated_encryption_key(std::string* encryption_key) {
|
|
if (encryption_key != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
encryption_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), encryption_key,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.encryption_key)
|
|
}
|
|
|
|
// optional bytes mac_key = 2;
|
|
inline bool ProvisioningRequest_EncryptedSessionKeys_SessionKeys::_internal_has_mac_key() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningRequest_EncryptedSessionKeys_SessionKeys::has_mac_key() const {
|
|
return _internal_has_mac_key();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::clear_mac_key() {
|
|
mac_key_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const std::string& ProvisioningRequest_EncryptedSessionKeys_SessionKeys::mac_key() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.mac_key)
|
|
return _internal_mac_key();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_mac_key(const std::string& value) {
|
|
_internal_set_mac_key(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.mac_key)
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys_SessionKeys::mutable_mac_key() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.mac_key)
|
|
return _internal_mutable_mac_key();
|
|
}
|
|
inline const std::string& ProvisioningRequest_EncryptedSessionKeys_SessionKeys::_internal_mac_key() const {
|
|
return mac_key_.Get();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::_internal_set_mac_key(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
mac_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_mac_key(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
mac_key_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.mac_key)
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_mac_key(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000002u;
|
|
mac_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.mac_key)
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_mac_key(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
mac_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.mac_key)
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys_SessionKeys::_internal_mutable_mac_key() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
return mac_key_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys_SessionKeys::release_mac_key() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.mac_key)
|
|
if (!_internal_has_mac_key()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
return mac_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys_SessionKeys::set_allocated_mac_key(std::string* mac_key) {
|
|
if (mac_key != nullptr) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
mac_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mac_key,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.EncryptedSessionKeys.SessionKeys.mac_key)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ProvisioningRequest_EncryptedSessionKeys
|
|
|
|
// optional bytes certificate_serial_number = 1;
|
|
inline bool ProvisioningRequest_EncryptedSessionKeys::_internal_has_certificate_serial_number() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningRequest_EncryptedSessionKeys::has_certificate_serial_number() const {
|
|
return _internal_has_certificate_serial_number();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::clear_certificate_serial_number() {
|
|
certificate_serial_number_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningRequest_EncryptedSessionKeys::certificate_serial_number() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.EncryptedSessionKeys.certificate_serial_number)
|
|
return _internal_certificate_serial_number();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_certificate_serial_number(const std::string& value) {
|
|
_internal_set_certificate_serial_number(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.EncryptedSessionKeys.certificate_serial_number)
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys::mutable_certificate_serial_number() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.EncryptedSessionKeys.certificate_serial_number)
|
|
return _internal_mutable_certificate_serial_number();
|
|
}
|
|
inline const std::string& ProvisioningRequest_EncryptedSessionKeys::_internal_certificate_serial_number() const {
|
|
return certificate_serial_number_.Get();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::_internal_set_certificate_serial_number(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
certificate_serial_number_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_certificate_serial_number(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
certificate_serial_number_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningRequest.EncryptedSessionKeys.certificate_serial_number)
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_certificate_serial_number(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
certificate_serial_number_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningRequest.EncryptedSessionKeys.certificate_serial_number)
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_certificate_serial_number(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
certificate_serial_number_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningRequest.EncryptedSessionKeys.certificate_serial_number)
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys::_internal_mutable_certificate_serial_number() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return certificate_serial_number_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys::release_certificate_serial_number() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.EncryptedSessionKeys.certificate_serial_number)
|
|
if (!_internal_has_certificate_serial_number()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return certificate_serial_number_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_allocated_certificate_serial_number(std::string* certificate_serial_number) {
|
|
if (certificate_serial_number != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
certificate_serial_number_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), certificate_serial_number,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.EncryptedSessionKeys.certificate_serial_number)
|
|
}
|
|
|
|
// optional bytes encrypted_session_keys = 2;
|
|
inline bool ProvisioningRequest_EncryptedSessionKeys::_internal_has_encrypted_session_keys() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningRequest_EncryptedSessionKeys::has_encrypted_session_keys() const {
|
|
return _internal_has_encrypted_session_keys();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::clear_encrypted_session_keys() {
|
|
encrypted_session_keys_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const std::string& ProvisioningRequest_EncryptedSessionKeys::encrypted_session_keys() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.EncryptedSessionKeys.encrypted_session_keys)
|
|
return _internal_encrypted_session_keys();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_encrypted_session_keys(const std::string& value) {
|
|
_internal_set_encrypted_session_keys(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.EncryptedSessionKeys.encrypted_session_keys)
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys::mutable_encrypted_session_keys() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.EncryptedSessionKeys.encrypted_session_keys)
|
|
return _internal_mutable_encrypted_session_keys();
|
|
}
|
|
inline const std::string& ProvisioningRequest_EncryptedSessionKeys::_internal_encrypted_session_keys() const {
|
|
return encrypted_session_keys_.Get();
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::_internal_set_encrypted_session_keys(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encrypted_session_keys_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_encrypted_session_keys(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encrypted_session_keys_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningRequest.EncryptedSessionKeys.encrypted_session_keys)
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_encrypted_session_keys(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encrypted_session_keys_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningRequest.EncryptedSessionKeys.encrypted_session_keys)
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_encrypted_session_keys(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encrypted_session_keys_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningRequest.EncryptedSessionKeys.encrypted_session_keys)
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys::_internal_mutable_encrypted_session_keys() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
return encrypted_session_keys_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningRequest_EncryptedSessionKeys::release_encrypted_session_keys() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.EncryptedSessionKeys.encrypted_session_keys)
|
|
if (!_internal_has_encrypted_session_keys()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
return encrypted_session_keys_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningRequest_EncryptedSessionKeys::set_allocated_encrypted_session_keys(std::string* encrypted_session_keys) {
|
|
if (encrypted_session_keys != nullptr) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
encrypted_session_keys_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), encrypted_session_keys,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.EncryptedSessionKeys.encrypted_session_keys)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ProvisioningRequest_AndroidAttestationOtaKeyboxRequest
|
|
|
|
// optional bytes ota_request = 1;
|
|
inline bool ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::_internal_has_ota_request() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::has_ota_request() const {
|
|
return _internal_has_ota_request();
|
|
}
|
|
inline void ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::clear_ota_request() {
|
|
ota_request_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::ota_request() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest.ota_request)
|
|
return _internal_ota_request();
|
|
}
|
|
inline void ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::set_ota_request(const std::string& value) {
|
|
_internal_set_ota_request(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest.ota_request)
|
|
}
|
|
inline std::string* ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::mutable_ota_request() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest.ota_request)
|
|
return _internal_mutable_ota_request();
|
|
}
|
|
inline const std::string& ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::_internal_ota_request() const {
|
|
return ota_request_.Get();
|
|
}
|
|
inline void ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::_internal_set_ota_request(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
ota_request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::set_ota_request(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
ota_request_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest.ota_request)
|
|
}
|
|
inline void ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::set_ota_request(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
ota_request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest.ota_request)
|
|
}
|
|
inline void ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::set_ota_request(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
ota_request_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest.ota_request)
|
|
}
|
|
inline std::string* ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::_internal_mutable_ota_request() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return ota_request_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::release_ota_request() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest.ota_request)
|
|
if (!_internal_has_ota_request()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return ota_request_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningRequest_AndroidAttestationOtaKeyboxRequest::set_allocated_ota_request(std::string* ota_request) {
|
|
if (ota_request != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
ota_request_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ota_request,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest.ota_request)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ProvisioningRequest
|
|
|
|
// .video_widevine.ClientIdentification client_id = 1;
|
|
inline bool ProvisioningRequest::_internal_has_client_id() const {
|
|
return clear_or_encrypted_client_id_case() == kClientId;
|
|
}
|
|
inline bool ProvisioningRequest::has_client_id() const {
|
|
return _internal_has_client_id();
|
|
}
|
|
inline void ProvisioningRequest::set_has_client_id() {
|
|
_oneof_case_[0] = kClientId;
|
|
}
|
|
inline ::video_widevine::ClientIdentification* ProvisioningRequest::release_client_id() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.client_id)
|
|
if (_internal_has_client_id()) {
|
|
clear_has_clear_or_encrypted_client_id();
|
|
::video_widevine::ClientIdentification* temp = clear_or_encrypted_client_id_.client_id_;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
clear_or_encrypted_client_id_.client_id_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::video_widevine::ClientIdentification& ProvisioningRequest::_internal_client_id() const {
|
|
return _internal_has_client_id()
|
|
? *clear_or_encrypted_client_id_.client_id_
|
|
: reinterpret_cast< ::video_widevine::ClientIdentification&>(::video_widevine::_ClientIdentification_default_instance_);
|
|
}
|
|
inline const ::video_widevine::ClientIdentification& ProvisioningRequest::client_id() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.client_id)
|
|
return _internal_client_id();
|
|
}
|
|
inline ::video_widevine::ClientIdentification* ProvisioningRequest::unsafe_arena_release_client_id() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:video_widevine.ProvisioningRequest.client_id)
|
|
if (_internal_has_client_id()) {
|
|
clear_has_clear_or_encrypted_client_id();
|
|
::video_widevine::ClientIdentification* temp = clear_or_encrypted_client_id_.client_id_;
|
|
clear_or_encrypted_client_id_.client_id_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ProvisioningRequest::unsafe_arena_set_allocated_client_id(::video_widevine::ClientIdentification* client_id) {
|
|
clear_clear_or_encrypted_client_id();
|
|
if (client_id) {
|
|
set_has_client_id();
|
|
clear_or_encrypted_client_id_.client_id_ = client_id;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.ProvisioningRequest.client_id)
|
|
}
|
|
inline ::video_widevine::ClientIdentification* ProvisioningRequest::_internal_mutable_client_id() {
|
|
if (!_internal_has_client_id()) {
|
|
clear_clear_or_encrypted_client_id();
|
|
set_has_client_id();
|
|
clear_or_encrypted_client_id_.client_id_ = CreateMaybeMessage< ::video_widevine::ClientIdentification >(GetArena());
|
|
}
|
|
return clear_or_encrypted_client_id_.client_id_;
|
|
}
|
|
inline ::video_widevine::ClientIdentification* ProvisioningRequest::mutable_client_id() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.client_id)
|
|
return _internal_mutable_client_id();
|
|
}
|
|
|
|
// .video_widevine.EncryptedClientIdentification encrypted_client_id = 5;
|
|
inline bool ProvisioningRequest::_internal_has_encrypted_client_id() const {
|
|
return clear_or_encrypted_client_id_case() == kEncryptedClientId;
|
|
}
|
|
inline bool ProvisioningRequest::has_encrypted_client_id() const {
|
|
return _internal_has_encrypted_client_id();
|
|
}
|
|
inline void ProvisioningRequest::set_has_encrypted_client_id() {
|
|
_oneof_case_[0] = kEncryptedClientId;
|
|
}
|
|
inline ::video_widevine::EncryptedClientIdentification* ProvisioningRequest::release_encrypted_client_id() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.encrypted_client_id)
|
|
if (_internal_has_encrypted_client_id()) {
|
|
clear_has_clear_or_encrypted_client_id();
|
|
::video_widevine::EncryptedClientIdentification* temp = clear_or_encrypted_client_id_.encrypted_client_id_;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
clear_or_encrypted_client_id_.encrypted_client_id_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline const ::video_widevine::EncryptedClientIdentification& ProvisioningRequest::_internal_encrypted_client_id() const {
|
|
return _internal_has_encrypted_client_id()
|
|
? *clear_or_encrypted_client_id_.encrypted_client_id_
|
|
: reinterpret_cast< ::video_widevine::EncryptedClientIdentification&>(::video_widevine::_EncryptedClientIdentification_default_instance_);
|
|
}
|
|
inline const ::video_widevine::EncryptedClientIdentification& ProvisioningRequest::encrypted_client_id() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.encrypted_client_id)
|
|
return _internal_encrypted_client_id();
|
|
}
|
|
inline ::video_widevine::EncryptedClientIdentification* ProvisioningRequest::unsafe_arena_release_encrypted_client_id() {
|
|
// @@protoc_insertion_point(field_unsafe_arena_release:video_widevine.ProvisioningRequest.encrypted_client_id)
|
|
if (_internal_has_encrypted_client_id()) {
|
|
clear_has_clear_or_encrypted_client_id();
|
|
::video_widevine::EncryptedClientIdentification* temp = clear_or_encrypted_client_id_.encrypted_client_id_;
|
|
clear_or_encrypted_client_id_.encrypted_client_id_ = nullptr;
|
|
return temp;
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ProvisioningRequest::unsafe_arena_set_allocated_encrypted_client_id(::video_widevine::EncryptedClientIdentification* encrypted_client_id) {
|
|
clear_clear_or_encrypted_client_id();
|
|
if (encrypted_client_id) {
|
|
set_has_encrypted_client_id();
|
|
clear_or_encrypted_client_id_.encrypted_client_id_ = encrypted_client_id;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.ProvisioningRequest.encrypted_client_id)
|
|
}
|
|
inline ::video_widevine::EncryptedClientIdentification* ProvisioningRequest::_internal_mutable_encrypted_client_id() {
|
|
if (!_internal_has_encrypted_client_id()) {
|
|
clear_clear_or_encrypted_client_id();
|
|
set_has_encrypted_client_id();
|
|
clear_or_encrypted_client_id_.encrypted_client_id_ = CreateMaybeMessage< ::video_widevine::EncryptedClientIdentification >(GetArena());
|
|
}
|
|
return clear_or_encrypted_client_id_.encrypted_client_id_;
|
|
}
|
|
inline ::video_widevine::EncryptedClientIdentification* ProvisioningRequest::mutable_encrypted_client_id() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.encrypted_client_id)
|
|
return _internal_mutable_encrypted_client_id();
|
|
}
|
|
|
|
// optional bytes nonce = 2;
|
|
inline bool ProvisioningRequest::_internal_has_nonce() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningRequest::has_nonce() const {
|
|
return _internal_has_nonce();
|
|
}
|
|
inline void ProvisioningRequest::clear_nonce() {
|
|
nonce_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningRequest::nonce() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.nonce)
|
|
return _internal_nonce();
|
|
}
|
|
inline void ProvisioningRequest::set_nonce(const std::string& value) {
|
|
_internal_set_nonce(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.nonce)
|
|
}
|
|
inline std::string* ProvisioningRequest::mutable_nonce() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.nonce)
|
|
return _internal_mutable_nonce();
|
|
}
|
|
inline const std::string& ProvisioningRequest::_internal_nonce() const {
|
|
return nonce_.Get();
|
|
}
|
|
inline void ProvisioningRequest::_internal_set_nonce(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
nonce_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningRequest::set_nonce(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
nonce_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningRequest.nonce)
|
|
}
|
|
inline void ProvisioningRequest::set_nonce(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
nonce_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningRequest.nonce)
|
|
}
|
|
inline void ProvisioningRequest::set_nonce(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
nonce_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningRequest.nonce)
|
|
}
|
|
inline std::string* ProvisioningRequest::_internal_mutable_nonce() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return nonce_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningRequest::release_nonce() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.nonce)
|
|
if (!_internal_has_nonce()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return nonce_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningRequest::set_allocated_nonce(std::string* nonce) {
|
|
if (nonce != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
nonce_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), nonce,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.nonce)
|
|
}
|
|
|
|
// optional .video_widevine.ProvisioningOptions options = 3;
|
|
inline bool ProvisioningRequest::_internal_has_options() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
PROTOBUF_ASSUME(!value || options_ != nullptr);
|
|
return value;
|
|
}
|
|
inline bool ProvisioningRequest::has_options() const {
|
|
return _internal_has_options();
|
|
}
|
|
inline void ProvisioningRequest::clear_options() {
|
|
if (options_ != nullptr) options_->Clear();
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const ::video_widevine::ProvisioningOptions& ProvisioningRequest::_internal_options() const {
|
|
const ::video_widevine::ProvisioningOptions* p = options_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::ProvisioningOptions&>(
|
|
::video_widevine::_ProvisioningOptions_default_instance_);
|
|
}
|
|
inline const ::video_widevine::ProvisioningOptions& ProvisioningRequest::options() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.options)
|
|
return _internal_options();
|
|
}
|
|
inline void ProvisioningRequest::unsafe_arena_set_allocated_options(
|
|
::video_widevine::ProvisioningOptions* options) {
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(options_);
|
|
}
|
|
options_ = options;
|
|
if (options) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.ProvisioningRequest.options)
|
|
}
|
|
inline ::video_widevine::ProvisioningOptions* ProvisioningRequest::release_options() {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
::video_widevine::ProvisioningOptions* temp = options_;
|
|
options_ = nullptr;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningOptions* ProvisioningRequest::unsafe_arena_release_options() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.options)
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
::video_widevine::ProvisioningOptions* temp = options_;
|
|
options_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningOptions* ProvisioningRequest::_internal_mutable_options() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
if (options_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::video_widevine::ProvisioningOptions>(GetArena());
|
|
options_ = p;
|
|
}
|
|
return options_;
|
|
}
|
|
inline ::video_widevine::ProvisioningOptions* ProvisioningRequest::mutable_options() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.options)
|
|
return _internal_mutable_options();
|
|
}
|
|
inline void ProvisioningRequest::set_allocated_options(::video_widevine::ProvisioningOptions* options) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
|
|
if (message_arena == nullptr) {
|
|
delete options_;
|
|
}
|
|
if (options) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::GetArena(options);
|
|
if (message_arena != submessage_arena) {
|
|
options = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, options, submessage_arena);
|
|
}
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
options_ = options;
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.options)
|
|
}
|
|
|
|
// bytes stable_id = 4;
|
|
inline bool ProvisioningRequest::_internal_has_stable_id() const {
|
|
return spoid_param_case() == kStableId;
|
|
}
|
|
inline bool ProvisioningRequest::has_stable_id() const {
|
|
return _internal_has_stable_id();
|
|
}
|
|
inline void ProvisioningRequest::set_has_stable_id() {
|
|
_oneof_case_[1] = kStableId;
|
|
}
|
|
inline void ProvisioningRequest::clear_stable_id() {
|
|
if (_internal_has_stable_id()) {
|
|
spoid_param_.stable_id_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
clear_has_spoid_param();
|
|
}
|
|
}
|
|
inline const std::string& ProvisioningRequest::stable_id() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.stable_id)
|
|
return _internal_stable_id();
|
|
}
|
|
inline void ProvisioningRequest::set_stable_id(const std::string& value) {
|
|
_internal_set_stable_id(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.stable_id)
|
|
}
|
|
inline std::string* ProvisioningRequest::mutable_stable_id() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.stable_id)
|
|
return _internal_mutable_stable_id();
|
|
}
|
|
inline const std::string& ProvisioningRequest::_internal_stable_id() const {
|
|
if (_internal_has_stable_id()) {
|
|
return spoid_param_.stable_id_.Get();
|
|
}
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
|
|
}
|
|
inline void ProvisioningRequest::_internal_set_stable_id(const std::string& value) {
|
|
if (!_internal_has_stable_id()) {
|
|
clear_spoid_param();
|
|
set_has_stable_id();
|
|
spoid_param_.stable_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.stable_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningRequest::set_stable_id(std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.stable_id)
|
|
if (!_internal_has_stable_id()) {
|
|
clear_spoid_param();
|
|
set_has_stable_id();
|
|
spoid_param_.stable_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.stable_id_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningRequest.stable_id)
|
|
}
|
|
inline void ProvisioningRequest::set_stable_id(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
if (!_internal_has_stable_id()) {
|
|
clear_spoid_param();
|
|
set_has_stable_id();
|
|
spoid_param_.stable_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.stable_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
|
|
::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningRequest.stable_id)
|
|
}
|
|
inline void ProvisioningRequest::set_stable_id(const void* value,
|
|
size_t size) {
|
|
if (!_internal_has_stable_id()) {
|
|
clear_spoid_param();
|
|
set_has_stable_id();
|
|
spoid_param_.stable_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.stable_id_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size),
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningRequest.stable_id)
|
|
}
|
|
inline std::string* ProvisioningRequest::_internal_mutable_stable_id() {
|
|
if (!_internal_has_stable_id()) {
|
|
clear_spoid_param();
|
|
set_has_stable_id();
|
|
spoid_param_.stable_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
return spoid_param_.stable_id_.Mutable(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningRequest::release_stable_id() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.stable_id)
|
|
if (_internal_has_stable_id()) {
|
|
clear_has_spoid_param();
|
|
return spoid_param_.stable_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ProvisioningRequest::set_allocated_stable_id(std::string* stable_id) {
|
|
if (has_spoid_param()) {
|
|
clear_spoid_param();
|
|
}
|
|
if (stable_id != nullptr) {
|
|
set_has_stable_id();
|
|
spoid_param_.stable_id_.UnsafeSetDefault(stable_id);
|
|
::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena();
|
|
if (arena != nullptr) {
|
|
arena->Own(stable_id);
|
|
}
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.stable_id)
|
|
}
|
|
|
|
// bytes provider_id = 6;
|
|
inline bool ProvisioningRequest::_internal_has_provider_id() const {
|
|
return spoid_param_case() == kProviderId;
|
|
}
|
|
inline bool ProvisioningRequest::has_provider_id() const {
|
|
return _internal_has_provider_id();
|
|
}
|
|
inline void ProvisioningRequest::set_has_provider_id() {
|
|
_oneof_case_[1] = kProviderId;
|
|
}
|
|
inline void ProvisioningRequest::clear_provider_id() {
|
|
if (_internal_has_provider_id()) {
|
|
spoid_param_.provider_id_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
clear_has_spoid_param();
|
|
}
|
|
}
|
|
inline const std::string& ProvisioningRequest::provider_id() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.provider_id)
|
|
return _internal_provider_id();
|
|
}
|
|
inline void ProvisioningRequest::set_provider_id(const std::string& value) {
|
|
_internal_set_provider_id(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.provider_id)
|
|
}
|
|
inline std::string* ProvisioningRequest::mutable_provider_id() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.provider_id)
|
|
return _internal_mutable_provider_id();
|
|
}
|
|
inline const std::string& ProvisioningRequest::_internal_provider_id() const {
|
|
if (_internal_has_provider_id()) {
|
|
return spoid_param_.provider_id_.Get();
|
|
}
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
|
|
}
|
|
inline void ProvisioningRequest::_internal_set_provider_id(const std::string& value) {
|
|
if (!_internal_has_provider_id()) {
|
|
clear_spoid_param();
|
|
set_has_provider_id();
|
|
spoid_param_.provider_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.provider_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningRequest::set_provider_id(std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.provider_id)
|
|
if (!_internal_has_provider_id()) {
|
|
clear_spoid_param();
|
|
set_has_provider_id();
|
|
spoid_param_.provider_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.provider_id_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningRequest.provider_id)
|
|
}
|
|
inline void ProvisioningRequest::set_provider_id(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
if (!_internal_has_provider_id()) {
|
|
clear_spoid_param();
|
|
set_has_provider_id();
|
|
spoid_param_.provider_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.provider_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
|
|
::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningRequest.provider_id)
|
|
}
|
|
inline void ProvisioningRequest::set_provider_id(const void* value,
|
|
size_t size) {
|
|
if (!_internal_has_provider_id()) {
|
|
clear_spoid_param();
|
|
set_has_provider_id();
|
|
spoid_param_.provider_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.provider_id_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size),
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningRequest.provider_id)
|
|
}
|
|
inline std::string* ProvisioningRequest::_internal_mutable_provider_id() {
|
|
if (!_internal_has_provider_id()) {
|
|
clear_spoid_param();
|
|
set_has_provider_id();
|
|
spoid_param_.provider_id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
return spoid_param_.provider_id_.Mutable(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningRequest::release_provider_id() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.provider_id)
|
|
if (_internal_has_provider_id()) {
|
|
clear_has_spoid_param();
|
|
return spoid_param_.provider_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ProvisioningRequest::set_allocated_provider_id(std::string* provider_id) {
|
|
if (has_spoid_param()) {
|
|
clear_spoid_param();
|
|
}
|
|
if (provider_id != nullptr) {
|
|
set_has_provider_id();
|
|
spoid_param_.provider_id_.UnsafeSetDefault(provider_id);
|
|
::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena();
|
|
if (arena != nullptr) {
|
|
arena->Own(provider_id);
|
|
}
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.provider_id)
|
|
}
|
|
|
|
// bytes spoid = 7;
|
|
inline bool ProvisioningRequest::_internal_has_spoid() const {
|
|
return spoid_param_case() == kSpoid;
|
|
}
|
|
inline bool ProvisioningRequest::has_spoid() const {
|
|
return _internal_has_spoid();
|
|
}
|
|
inline void ProvisioningRequest::set_has_spoid() {
|
|
_oneof_case_[1] = kSpoid;
|
|
}
|
|
inline void ProvisioningRequest::clear_spoid() {
|
|
if (_internal_has_spoid()) {
|
|
spoid_param_.spoid_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
clear_has_spoid_param();
|
|
}
|
|
}
|
|
inline const std::string& ProvisioningRequest::spoid() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.spoid)
|
|
return _internal_spoid();
|
|
}
|
|
inline void ProvisioningRequest::set_spoid(const std::string& value) {
|
|
_internal_set_spoid(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.spoid)
|
|
}
|
|
inline std::string* ProvisioningRequest::mutable_spoid() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.spoid)
|
|
return _internal_mutable_spoid();
|
|
}
|
|
inline const std::string& ProvisioningRequest::_internal_spoid() const {
|
|
if (_internal_has_spoid()) {
|
|
return spoid_param_.spoid_.Get();
|
|
}
|
|
return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
|
|
}
|
|
inline void ProvisioningRequest::_internal_set_spoid(const std::string& value) {
|
|
if (!_internal_has_spoid()) {
|
|
clear_spoid_param();
|
|
set_has_spoid();
|
|
spoid_param_.spoid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.spoid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningRequest::set_spoid(std::string&& value) {
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningRequest.spoid)
|
|
if (!_internal_has_spoid()) {
|
|
clear_spoid_param();
|
|
set_has_spoid();
|
|
spoid_param_.spoid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.spoid_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningRequest.spoid)
|
|
}
|
|
inline void ProvisioningRequest::set_spoid(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
if (!_internal_has_spoid()) {
|
|
clear_spoid_param();
|
|
set_has_spoid();
|
|
spoid_param_.spoid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.spoid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
|
|
::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningRequest.spoid)
|
|
}
|
|
inline void ProvisioningRequest::set_spoid(const void* value,
|
|
size_t size) {
|
|
if (!_internal_has_spoid()) {
|
|
clear_spoid_param();
|
|
set_has_spoid();
|
|
spoid_param_.spoid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
spoid_param_.spoid_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size),
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningRequest.spoid)
|
|
}
|
|
inline std::string* ProvisioningRequest::_internal_mutable_spoid() {
|
|
if (!_internal_has_spoid()) {
|
|
clear_spoid_param();
|
|
set_has_spoid();
|
|
spoid_param_.spoid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
|
|
}
|
|
return spoid_param_.spoid_.Mutable(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningRequest::release_spoid() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.spoid)
|
|
if (_internal_has_spoid()) {
|
|
clear_has_spoid_param();
|
|
return spoid_param_.spoid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
} else {
|
|
return nullptr;
|
|
}
|
|
}
|
|
inline void ProvisioningRequest::set_allocated_spoid(std::string* spoid) {
|
|
if (has_spoid_param()) {
|
|
clear_spoid_param();
|
|
}
|
|
if (spoid != nullptr) {
|
|
set_has_spoid();
|
|
spoid_param_.spoid_.UnsafeSetDefault(spoid);
|
|
::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena();
|
|
if (arena != nullptr) {
|
|
arena->Own(spoid);
|
|
}
|
|
}
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.spoid)
|
|
}
|
|
|
|
// optional .video_widevine.ProvisioningRequest.EncryptedSessionKeys encrypted_session_keys = 8;
|
|
inline bool ProvisioningRequest::_internal_has_encrypted_session_keys() const {
|
|
bool value = (_has_bits_[0] & 0x00000004u) != 0;
|
|
PROTOBUF_ASSUME(!value || encrypted_session_keys_ != nullptr);
|
|
return value;
|
|
}
|
|
inline bool ProvisioningRequest::has_encrypted_session_keys() const {
|
|
return _internal_has_encrypted_session_keys();
|
|
}
|
|
inline void ProvisioningRequest::clear_encrypted_session_keys() {
|
|
if (encrypted_session_keys_ != nullptr) encrypted_session_keys_->Clear();
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const ::video_widevine::ProvisioningRequest_EncryptedSessionKeys& ProvisioningRequest::_internal_encrypted_session_keys() const {
|
|
const ::video_widevine::ProvisioningRequest_EncryptedSessionKeys* p = encrypted_session_keys_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::ProvisioningRequest_EncryptedSessionKeys&>(
|
|
::video_widevine::_ProvisioningRequest_EncryptedSessionKeys_default_instance_);
|
|
}
|
|
inline const ::video_widevine::ProvisioningRequest_EncryptedSessionKeys& ProvisioningRequest::encrypted_session_keys() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.encrypted_session_keys)
|
|
return _internal_encrypted_session_keys();
|
|
}
|
|
inline void ProvisioningRequest::unsafe_arena_set_allocated_encrypted_session_keys(
|
|
::video_widevine::ProvisioningRequest_EncryptedSessionKeys* encrypted_session_keys) {
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(encrypted_session_keys_);
|
|
}
|
|
encrypted_session_keys_ = encrypted_session_keys;
|
|
if (encrypted_session_keys) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.ProvisioningRequest.encrypted_session_keys)
|
|
}
|
|
inline ::video_widevine::ProvisioningRequest_EncryptedSessionKeys* ProvisioningRequest::release_encrypted_session_keys() {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
::video_widevine::ProvisioningRequest_EncryptedSessionKeys* temp = encrypted_session_keys_;
|
|
encrypted_session_keys_ = nullptr;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningRequest_EncryptedSessionKeys* ProvisioningRequest::unsafe_arena_release_encrypted_session_keys() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.encrypted_session_keys)
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
::video_widevine::ProvisioningRequest_EncryptedSessionKeys* temp = encrypted_session_keys_;
|
|
encrypted_session_keys_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningRequest_EncryptedSessionKeys* ProvisioningRequest::_internal_mutable_encrypted_session_keys() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
if (encrypted_session_keys_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::video_widevine::ProvisioningRequest_EncryptedSessionKeys>(GetArena());
|
|
encrypted_session_keys_ = p;
|
|
}
|
|
return encrypted_session_keys_;
|
|
}
|
|
inline ::video_widevine::ProvisioningRequest_EncryptedSessionKeys* ProvisioningRequest::mutable_encrypted_session_keys() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.encrypted_session_keys)
|
|
return _internal_mutable_encrypted_session_keys();
|
|
}
|
|
inline void ProvisioningRequest::set_allocated_encrypted_session_keys(::video_widevine::ProvisioningRequest_EncryptedSessionKeys* encrypted_session_keys) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
|
|
if (message_arena == nullptr) {
|
|
delete encrypted_session_keys_;
|
|
}
|
|
if (encrypted_session_keys) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::GetArena(encrypted_session_keys);
|
|
if (message_arena != submessage_arena) {
|
|
encrypted_session_keys = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, encrypted_session_keys, submessage_arena);
|
|
}
|
|
_has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
encrypted_session_keys_ = encrypted_session_keys;
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.encrypted_session_keys)
|
|
}
|
|
|
|
// optional .video_widevine.ProvisioningRequest.AndroidAttestationOtaKeyboxRequest android_ota_keybox_request = 9;
|
|
inline bool ProvisioningRequest::_internal_has_android_ota_keybox_request() const {
|
|
bool value = (_has_bits_[0] & 0x00000008u) != 0;
|
|
PROTOBUF_ASSUME(!value || android_ota_keybox_request_ != nullptr);
|
|
return value;
|
|
}
|
|
inline bool ProvisioningRequest::has_android_ota_keybox_request() const {
|
|
return _internal_has_android_ota_keybox_request();
|
|
}
|
|
inline void ProvisioningRequest::clear_android_ota_keybox_request() {
|
|
if (android_ota_keybox_request_ != nullptr) android_ota_keybox_request_->Clear();
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline const ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& ProvisioningRequest::_internal_android_ota_keybox_request() const {
|
|
const ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* p = android_ota_keybox_request_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest&>(
|
|
::video_widevine::_ProvisioningRequest_AndroidAttestationOtaKeyboxRequest_default_instance_);
|
|
}
|
|
inline const ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest& ProvisioningRequest::android_ota_keybox_request() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningRequest.android_ota_keybox_request)
|
|
return _internal_android_ota_keybox_request();
|
|
}
|
|
inline void ProvisioningRequest::unsafe_arena_set_allocated_android_ota_keybox_request(
|
|
::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* android_ota_keybox_request) {
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(android_ota_keybox_request_);
|
|
}
|
|
android_ota_keybox_request_ = android_ota_keybox_request;
|
|
if (android_ota_keybox_request) {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.ProvisioningRequest.android_ota_keybox_request)
|
|
}
|
|
inline ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* ProvisioningRequest::release_android_ota_keybox_request() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* temp = android_ota_keybox_request_;
|
|
android_ota_keybox_request_ = nullptr;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* ProvisioningRequest::unsafe_arena_release_android_ota_keybox_request() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningRequest.android_ota_keybox_request)
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* temp = android_ota_keybox_request_;
|
|
android_ota_keybox_request_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* ProvisioningRequest::_internal_mutable_android_ota_keybox_request() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
if (android_ota_keybox_request_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest>(GetArena());
|
|
android_ota_keybox_request_ = p;
|
|
}
|
|
return android_ota_keybox_request_;
|
|
}
|
|
inline ::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* ProvisioningRequest::mutable_android_ota_keybox_request() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningRequest.android_ota_keybox_request)
|
|
return _internal_mutable_android_ota_keybox_request();
|
|
}
|
|
inline void ProvisioningRequest::set_allocated_android_ota_keybox_request(::video_widevine::ProvisioningRequest_AndroidAttestationOtaKeyboxRequest* android_ota_keybox_request) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
|
|
if (message_arena == nullptr) {
|
|
delete android_ota_keybox_request_;
|
|
}
|
|
if (android_ota_keybox_request) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::GetArena(android_ota_keybox_request);
|
|
if (message_arena != submessage_arena) {
|
|
android_ota_keybox_request = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, android_ota_keybox_request, submessage_arena);
|
|
}
|
|
_has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
android_ota_keybox_request_ = android_ota_keybox_request;
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningRequest.android_ota_keybox_request)
|
|
}
|
|
|
|
inline bool ProvisioningRequest::has_clear_or_encrypted_client_id() const {
|
|
return clear_or_encrypted_client_id_case() != CLEAR_OR_ENCRYPTED_CLIENT_ID_NOT_SET;
|
|
}
|
|
inline void ProvisioningRequest::clear_has_clear_or_encrypted_client_id() {
|
|
_oneof_case_[0] = CLEAR_OR_ENCRYPTED_CLIENT_ID_NOT_SET;
|
|
}
|
|
inline bool ProvisioningRequest::has_spoid_param() const {
|
|
return spoid_param_case() != SPOID_PARAM_NOT_SET;
|
|
}
|
|
inline void ProvisioningRequest::clear_has_spoid_param() {
|
|
_oneof_case_[1] = SPOID_PARAM_NOT_SET;
|
|
}
|
|
inline ProvisioningRequest::ClearOrEncryptedClientIdCase ProvisioningRequest::clear_or_encrypted_client_id_case() const {
|
|
return ProvisioningRequest::ClearOrEncryptedClientIdCase(_oneof_case_[0]);
|
|
}
|
|
inline ProvisioningRequest::SpoidParamCase ProvisioningRequest::spoid_param_case() const {
|
|
return ProvisioningRequest::SpoidParamCase(_oneof_case_[1]);
|
|
}
|
|
// -------------------------------------------------------------------
|
|
|
|
// ProvisioningResponse_OtaKeybox
|
|
|
|
// optional bytes device_key_encryption_iv = 1;
|
|
inline bool ProvisioningResponse_OtaKeybox::_internal_has_device_key_encryption_iv() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse_OtaKeybox::has_device_key_encryption_iv() const {
|
|
return _internal_has_device_key_encryption_iv();
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::clear_device_key_encryption_iv() {
|
|
device_key_encryption_iv_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningResponse_OtaKeybox::device_key_encryption_iv() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.OtaKeybox.device_key_encryption_iv)
|
|
return _internal_device_key_encryption_iv();
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_device_key_encryption_iv(const std::string& value) {
|
|
_internal_set_device_key_encryption_iv(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.OtaKeybox.device_key_encryption_iv)
|
|
}
|
|
inline std::string* ProvisioningResponse_OtaKeybox::mutable_device_key_encryption_iv() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.OtaKeybox.device_key_encryption_iv)
|
|
return _internal_mutable_device_key_encryption_iv();
|
|
}
|
|
inline const std::string& ProvisioningResponse_OtaKeybox::_internal_device_key_encryption_iv() const {
|
|
return device_key_encryption_iv_.Get();
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::_internal_set_device_key_encryption_iv(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
device_key_encryption_iv_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_device_key_encryption_iv(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
device_key_encryption_iv_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningResponse.OtaKeybox.device_key_encryption_iv)
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_device_key_encryption_iv(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
device_key_encryption_iv_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningResponse.OtaKeybox.device_key_encryption_iv)
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_device_key_encryption_iv(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
device_key_encryption_iv_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningResponse.OtaKeybox.device_key_encryption_iv)
|
|
}
|
|
inline std::string* ProvisioningResponse_OtaKeybox::_internal_mutable_device_key_encryption_iv() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return device_key_encryption_iv_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningResponse_OtaKeybox::release_device_key_encryption_iv() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.OtaKeybox.device_key_encryption_iv)
|
|
if (!_internal_has_device_key_encryption_iv()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return device_key_encryption_iv_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_allocated_device_key_encryption_iv(std::string* device_key_encryption_iv) {
|
|
if (device_key_encryption_iv != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
device_key_encryption_iv_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_key_encryption_iv,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.OtaKeybox.device_key_encryption_iv)
|
|
}
|
|
|
|
// optional bytes encrypted_device_key = 2;
|
|
inline bool ProvisioningResponse_OtaKeybox::_internal_has_encrypted_device_key() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse_OtaKeybox::has_encrypted_device_key() const {
|
|
return _internal_has_encrypted_device_key();
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::clear_encrypted_device_key() {
|
|
encrypted_device_key_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const std::string& ProvisioningResponse_OtaKeybox::encrypted_device_key() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.OtaKeybox.encrypted_device_key)
|
|
return _internal_encrypted_device_key();
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_encrypted_device_key(const std::string& value) {
|
|
_internal_set_encrypted_device_key(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.OtaKeybox.encrypted_device_key)
|
|
}
|
|
inline std::string* ProvisioningResponse_OtaKeybox::mutable_encrypted_device_key() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.OtaKeybox.encrypted_device_key)
|
|
return _internal_mutable_encrypted_device_key();
|
|
}
|
|
inline const std::string& ProvisioningResponse_OtaKeybox::_internal_encrypted_device_key() const {
|
|
return encrypted_device_key_.Get();
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::_internal_set_encrypted_device_key(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encrypted_device_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_encrypted_device_key(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encrypted_device_key_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningResponse.OtaKeybox.encrypted_device_key)
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_encrypted_device_key(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encrypted_device_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningResponse.OtaKeybox.encrypted_device_key)
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_encrypted_device_key(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encrypted_device_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningResponse.OtaKeybox.encrypted_device_key)
|
|
}
|
|
inline std::string* ProvisioningResponse_OtaKeybox::_internal_mutable_encrypted_device_key() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
return encrypted_device_key_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningResponse_OtaKeybox::release_encrypted_device_key() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.OtaKeybox.encrypted_device_key)
|
|
if (!_internal_has_encrypted_device_key()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
return encrypted_device_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_allocated_encrypted_device_key(std::string* encrypted_device_key) {
|
|
if (encrypted_device_key != nullptr) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
encrypted_device_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), encrypted_device_key,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.OtaKeybox.encrypted_device_key)
|
|
}
|
|
|
|
// optional bytes device_ca_token = 3;
|
|
inline bool ProvisioningResponse_OtaKeybox::_internal_has_device_ca_token() const {
|
|
bool value = (_has_bits_[0] & 0x00000004u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse_OtaKeybox::has_device_ca_token() const {
|
|
return _internal_has_device_ca_token();
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::clear_device_ca_token() {
|
|
device_ca_token_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const std::string& ProvisioningResponse_OtaKeybox::device_ca_token() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.OtaKeybox.device_ca_token)
|
|
return _internal_device_ca_token();
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_device_ca_token(const std::string& value) {
|
|
_internal_set_device_ca_token(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.OtaKeybox.device_ca_token)
|
|
}
|
|
inline std::string* ProvisioningResponse_OtaKeybox::mutable_device_ca_token() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.OtaKeybox.device_ca_token)
|
|
return _internal_mutable_device_ca_token();
|
|
}
|
|
inline const std::string& ProvisioningResponse_OtaKeybox::_internal_device_ca_token() const {
|
|
return device_ca_token_.Get();
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::_internal_set_device_ca_token(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
device_ca_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_device_ca_token(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
device_ca_token_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningResponse.OtaKeybox.device_ca_token)
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_device_ca_token(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000004u;
|
|
device_ca_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningResponse.OtaKeybox.device_ca_token)
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_device_ca_token(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
device_ca_token_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningResponse.OtaKeybox.device_ca_token)
|
|
}
|
|
inline std::string* ProvisioningResponse_OtaKeybox::_internal_mutable_device_ca_token() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
return device_ca_token_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningResponse_OtaKeybox::release_device_ca_token() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.OtaKeybox.device_ca_token)
|
|
if (!_internal_has_device_ca_token()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
return device_ca_token_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningResponse_OtaKeybox::set_allocated_device_ca_token(std::string* device_ca_token) {
|
|
if (device_ca_token != nullptr) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
device_ca_token_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_ca_token,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.OtaKeybox.device_ca_token)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ProvisioningResponse_AndroidAttestationOtaKeyboxResponse
|
|
|
|
// optional bytes ota_response = 1;
|
|
inline bool ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::_internal_has_ota_response() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::has_ota_response() const {
|
|
return _internal_has_ota_response();
|
|
}
|
|
inline void ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::clear_ota_response() {
|
|
ota_response_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::ota_response() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse.ota_response)
|
|
return _internal_ota_response();
|
|
}
|
|
inline void ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::set_ota_response(const std::string& value) {
|
|
_internal_set_ota_response(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse.ota_response)
|
|
}
|
|
inline std::string* ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::mutable_ota_response() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse.ota_response)
|
|
return _internal_mutable_ota_response();
|
|
}
|
|
inline const std::string& ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::_internal_ota_response() const {
|
|
return ota_response_.Get();
|
|
}
|
|
inline void ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::_internal_set_ota_response(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
ota_response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::set_ota_response(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
ota_response_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse.ota_response)
|
|
}
|
|
inline void ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::set_ota_response(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
ota_response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse.ota_response)
|
|
}
|
|
inline void ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::set_ota_response(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
ota_response_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse.ota_response)
|
|
}
|
|
inline std::string* ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::_internal_mutable_ota_response() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return ota_response_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::release_ota_response() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse.ota_response)
|
|
if (!_internal_has_ota_response()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return ota_response_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningResponse_AndroidAttestationOtaKeyboxResponse::set_allocated_ota_response(std::string* ota_response) {
|
|
if (ota_response != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
ota_response_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ota_response,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse.ota_response)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ProvisioningResponse
|
|
|
|
// optional bytes device_rsa_key = 1;
|
|
inline bool ProvisioningResponse::_internal_has_device_rsa_key() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse::has_device_rsa_key() const {
|
|
return _internal_has_device_rsa_key();
|
|
}
|
|
inline void ProvisioningResponse::clear_device_rsa_key() {
|
|
device_rsa_key_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningResponse::device_rsa_key() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.device_rsa_key)
|
|
return _internal_device_rsa_key();
|
|
}
|
|
inline void ProvisioningResponse::set_device_rsa_key(const std::string& value) {
|
|
_internal_set_device_rsa_key(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.device_rsa_key)
|
|
}
|
|
inline std::string* ProvisioningResponse::mutable_device_rsa_key() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.device_rsa_key)
|
|
return _internal_mutable_device_rsa_key();
|
|
}
|
|
inline const std::string& ProvisioningResponse::_internal_device_rsa_key() const {
|
|
return device_rsa_key_.Get();
|
|
}
|
|
inline void ProvisioningResponse::_internal_set_device_rsa_key(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
device_rsa_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_device_rsa_key(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
device_rsa_key_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningResponse.device_rsa_key)
|
|
}
|
|
inline void ProvisioningResponse::set_device_rsa_key(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
device_rsa_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningResponse.device_rsa_key)
|
|
}
|
|
inline void ProvisioningResponse::set_device_rsa_key(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
device_rsa_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningResponse.device_rsa_key)
|
|
}
|
|
inline std::string* ProvisioningResponse::_internal_mutable_device_rsa_key() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return device_rsa_key_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningResponse::release_device_rsa_key() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.device_rsa_key)
|
|
if (!_internal_has_device_rsa_key()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return device_rsa_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_allocated_device_rsa_key(std::string* device_rsa_key) {
|
|
if (device_rsa_key != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
device_rsa_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_rsa_key,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.device_rsa_key)
|
|
}
|
|
|
|
// optional bytes device_rsa_key_iv = 2;
|
|
inline bool ProvisioningResponse::_internal_has_device_rsa_key_iv() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse::has_device_rsa_key_iv() const {
|
|
return _internal_has_device_rsa_key_iv();
|
|
}
|
|
inline void ProvisioningResponse::clear_device_rsa_key_iv() {
|
|
device_rsa_key_iv_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const std::string& ProvisioningResponse::device_rsa_key_iv() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.device_rsa_key_iv)
|
|
return _internal_device_rsa_key_iv();
|
|
}
|
|
inline void ProvisioningResponse::set_device_rsa_key_iv(const std::string& value) {
|
|
_internal_set_device_rsa_key_iv(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.device_rsa_key_iv)
|
|
}
|
|
inline std::string* ProvisioningResponse::mutable_device_rsa_key_iv() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.device_rsa_key_iv)
|
|
return _internal_mutable_device_rsa_key_iv();
|
|
}
|
|
inline const std::string& ProvisioningResponse::_internal_device_rsa_key_iv() const {
|
|
return device_rsa_key_iv_.Get();
|
|
}
|
|
inline void ProvisioningResponse::_internal_set_device_rsa_key_iv(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
device_rsa_key_iv_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_device_rsa_key_iv(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
device_rsa_key_iv_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningResponse.device_rsa_key_iv)
|
|
}
|
|
inline void ProvisioningResponse::set_device_rsa_key_iv(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000002u;
|
|
device_rsa_key_iv_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningResponse.device_rsa_key_iv)
|
|
}
|
|
inline void ProvisioningResponse::set_device_rsa_key_iv(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
device_rsa_key_iv_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningResponse.device_rsa_key_iv)
|
|
}
|
|
inline std::string* ProvisioningResponse::_internal_mutable_device_rsa_key_iv() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
return device_rsa_key_iv_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningResponse::release_device_rsa_key_iv() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.device_rsa_key_iv)
|
|
if (!_internal_has_device_rsa_key_iv()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
return device_rsa_key_iv_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_allocated_device_rsa_key_iv(std::string* device_rsa_key_iv) {
|
|
if (device_rsa_key_iv != nullptr) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
device_rsa_key_iv_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_rsa_key_iv,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.device_rsa_key_iv)
|
|
}
|
|
|
|
// optional bytes device_certificate = 3;
|
|
inline bool ProvisioningResponse::_internal_has_device_certificate() const {
|
|
bool value = (_has_bits_[0] & 0x00000004u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse::has_device_certificate() const {
|
|
return _internal_has_device_certificate();
|
|
}
|
|
inline void ProvisioningResponse::clear_device_certificate() {
|
|
device_certificate_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const std::string& ProvisioningResponse::device_certificate() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.device_certificate)
|
|
return _internal_device_certificate();
|
|
}
|
|
inline void ProvisioningResponse::set_device_certificate(const std::string& value) {
|
|
_internal_set_device_certificate(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.device_certificate)
|
|
}
|
|
inline std::string* ProvisioningResponse::mutable_device_certificate() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.device_certificate)
|
|
return _internal_mutable_device_certificate();
|
|
}
|
|
inline const std::string& ProvisioningResponse::_internal_device_certificate() const {
|
|
return device_certificate_.Get();
|
|
}
|
|
inline void ProvisioningResponse::_internal_set_device_certificate(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
device_certificate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_device_certificate(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
device_certificate_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningResponse.device_certificate)
|
|
}
|
|
inline void ProvisioningResponse::set_device_certificate(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000004u;
|
|
device_certificate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningResponse.device_certificate)
|
|
}
|
|
inline void ProvisioningResponse::set_device_certificate(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
device_certificate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningResponse.device_certificate)
|
|
}
|
|
inline std::string* ProvisioningResponse::_internal_mutable_device_certificate() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
return device_certificate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningResponse::release_device_certificate() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.device_certificate)
|
|
if (!_internal_has_device_certificate()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
return device_certificate_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_allocated_device_certificate(std::string* device_certificate) {
|
|
if (device_certificate != nullptr) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
device_certificate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_certificate,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.device_certificate)
|
|
}
|
|
|
|
// optional bytes nonce = 4;
|
|
inline bool ProvisioningResponse::_internal_has_nonce() const {
|
|
bool value = (_has_bits_[0] & 0x00000008u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse::has_nonce() const {
|
|
return _internal_has_nonce();
|
|
}
|
|
inline void ProvisioningResponse::clear_nonce() {
|
|
nonce_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline const std::string& ProvisioningResponse::nonce() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.nonce)
|
|
return _internal_nonce();
|
|
}
|
|
inline void ProvisioningResponse::set_nonce(const std::string& value) {
|
|
_internal_set_nonce(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.nonce)
|
|
}
|
|
inline std::string* ProvisioningResponse::mutable_nonce() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.nonce)
|
|
return _internal_mutable_nonce();
|
|
}
|
|
inline const std::string& ProvisioningResponse::_internal_nonce() const {
|
|
return nonce_.Get();
|
|
}
|
|
inline void ProvisioningResponse::_internal_set_nonce(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
nonce_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_nonce(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
nonce_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningResponse.nonce)
|
|
}
|
|
inline void ProvisioningResponse::set_nonce(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000008u;
|
|
nonce_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningResponse.nonce)
|
|
}
|
|
inline void ProvisioningResponse::set_nonce(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
nonce_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningResponse.nonce)
|
|
}
|
|
inline std::string* ProvisioningResponse::_internal_mutable_nonce() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
return nonce_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningResponse::release_nonce() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.nonce)
|
|
if (!_internal_has_nonce()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
return nonce_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_allocated_nonce(std::string* nonce) {
|
|
if (nonce != nullptr) {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
nonce_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), nonce,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.nonce)
|
|
}
|
|
|
|
// optional bytes wrapping_key = 5;
|
|
inline bool ProvisioningResponse::_internal_has_wrapping_key() const {
|
|
bool value = (_has_bits_[0] & 0x00000010u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse::has_wrapping_key() const {
|
|
return _internal_has_wrapping_key();
|
|
}
|
|
inline void ProvisioningResponse::clear_wrapping_key() {
|
|
wrapping_key_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
inline const std::string& ProvisioningResponse::wrapping_key() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.wrapping_key)
|
|
return _internal_wrapping_key();
|
|
}
|
|
inline void ProvisioningResponse::set_wrapping_key(const std::string& value) {
|
|
_internal_set_wrapping_key(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.wrapping_key)
|
|
}
|
|
inline std::string* ProvisioningResponse::mutable_wrapping_key() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.wrapping_key)
|
|
return _internal_mutable_wrapping_key();
|
|
}
|
|
inline const std::string& ProvisioningResponse::_internal_wrapping_key() const {
|
|
return wrapping_key_.Get();
|
|
}
|
|
inline void ProvisioningResponse::_internal_set_wrapping_key(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
wrapping_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_wrapping_key(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
wrapping_key_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningResponse.wrapping_key)
|
|
}
|
|
inline void ProvisioningResponse::set_wrapping_key(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000010u;
|
|
wrapping_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningResponse.wrapping_key)
|
|
}
|
|
inline void ProvisioningResponse::set_wrapping_key(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
wrapping_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningResponse.wrapping_key)
|
|
}
|
|
inline std::string* ProvisioningResponse::_internal_mutable_wrapping_key() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
return wrapping_key_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningResponse::release_wrapping_key() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.wrapping_key)
|
|
if (!_internal_has_wrapping_key()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
return wrapping_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningResponse::set_allocated_wrapping_key(std::string* wrapping_key) {
|
|
if (wrapping_key != nullptr) {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
wrapping_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), wrapping_key,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.wrapping_key)
|
|
}
|
|
|
|
// optional .video_widevine.ProvisioningResponse.OtaKeybox ota_keybox = 6;
|
|
inline bool ProvisioningResponse::_internal_has_ota_keybox() const {
|
|
bool value = (_has_bits_[0] & 0x00000020u) != 0;
|
|
PROTOBUF_ASSUME(!value || ota_keybox_ != nullptr);
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse::has_ota_keybox() const {
|
|
return _internal_has_ota_keybox();
|
|
}
|
|
inline void ProvisioningResponse::clear_ota_keybox() {
|
|
if (ota_keybox_ != nullptr) ota_keybox_->Clear();
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline const ::video_widevine::ProvisioningResponse_OtaKeybox& ProvisioningResponse::_internal_ota_keybox() const {
|
|
const ::video_widevine::ProvisioningResponse_OtaKeybox* p = ota_keybox_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::ProvisioningResponse_OtaKeybox&>(
|
|
::video_widevine::_ProvisioningResponse_OtaKeybox_default_instance_);
|
|
}
|
|
inline const ::video_widevine::ProvisioningResponse_OtaKeybox& ProvisioningResponse::ota_keybox() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.ota_keybox)
|
|
return _internal_ota_keybox();
|
|
}
|
|
inline void ProvisioningResponse::unsafe_arena_set_allocated_ota_keybox(
|
|
::video_widevine::ProvisioningResponse_OtaKeybox* ota_keybox) {
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ota_keybox_);
|
|
}
|
|
ota_keybox_ = ota_keybox;
|
|
if (ota_keybox) {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.ProvisioningResponse.ota_keybox)
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_OtaKeybox* ProvisioningResponse::release_ota_keybox() {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
::video_widevine::ProvisioningResponse_OtaKeybox* temp = ota_keybox_;
|
|
ota_keybox_ = nullptr;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_OtaKeybox* ProvisioningResponse::unsafe_arena_release_ota_keybox() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.ota_keybox)
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
::video_widevine::ProvisioningResponse_OtaKeybox* temp = ota_keybox_;
|
|
ota_keybox_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_OtaKeybox* ProvisioningResponse::_internal_mutable_ota_keybox() {
|
|
_has_bits_[0] |= 0x00000020u;
|
|
if (ota_keybox_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::video_widevine::ProvisioningResponse_OtaKeybox>(GetArena());
|
|
ota_keybox_ = p;
|
|
}
|
|
return ota_keybox_;
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_OtaKeybox* ProvisioningResponse::mutable_ota_keybox() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.ota_keybox)
|
|
return _internal_mutable_ota_keybox();
|
|
}
|
|
inline void ProvisioningResponse::set_allocated_ota_keybox(::video_widevine::ProvisioningResponse_OtaKeybox* ota_keybox) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
|
|
if (message_arena == nullptr) {
|
|
delete ota_keybox_;
|
|
}
|
|
if (ota_keybox) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::GetArena(ota_keybox);
|
|
if (message_arena != submessage_arena) {
|
|
ota_keybox = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, ota_keybox, submessage_arena);
|
|
}
|
|
_has_bits_[0] |= 0x00000020u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
ota_keybox_ = ota_keybox;
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.ota_keybox)
|
|
}
|
|
|
|
// optional .video_widevine.ProvisioningResponse.ProvisioningStatus status = 7;
|
|
inline bool ProvisioningResponse::_internal_has_status() const {
|
|
bool value = (_has_bits_[0] & 0x00000080u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse::has_status() const {
|
|
return _internal_has_status();
|
|
}
|
|
inline void ProvisioningResponse::clear_status() {
|
|
status_ = 0;
|
|
_has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_ProvisioningStatus ProvisioningResponse::_internal_status() const {
|
|
return static_cast< ::video_widevine::ProvisioningResponse_ProvisioningStatus >(status_);
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_ProvisioningStatus ProvisioningResponse::status() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.status)
|
|
return _internal_status();
|
|
}
|
|
inline void ProvisioningResponse::_internal_set_status(::video_widevine::ProvisioningResponse_ProvisioningStatus value) {
|
|
assert(::video_widevine::ProvisioningResponse_ProvisioningStatus_IsValid(value));
|
|
_has_bits_[0] |= 0x00000080u;
|
|
status_ = value;
|
|
}
|
|
inline void ProvisioningResponse::set_status(::video_widevine::ProvisioningResponse_ProvisioningStatus value) {
|
|
_internal_set_status(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningResponse.status)
|
|
}
|
|
|
|
// optional .video_widevine.ProvisioningResponse.AndroidAttestationOtaKeyboxResponse android_ota_keybox_response = 8;
|
|
inline bool ProvisioningResponse::_internal_has_android_ota_keybox_response() const {
|
|
bool value = (_has_bits_[0] & 0x00000040u) != 0;
|
|
PROTOBUF_ASSUME(!value || android_ota_keybox_response_ != nullptr);
|
|
return value;
|
|
}
|
|
inline bool ProvisioningResponse::has_android_ota_keybox_response() const {
|
|
return _internal_has_android_ota_keybox_response();
|
|
}
|
|
inline void ProvisioningResponse::clear_android_ota_keybox_response() {
|
|
if (android_ota_keybox_response_ != nullptr) android_ota_keybox_response_->Clear();
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline const ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& ProvisioningResponse::_internal_android_ota_keybox_response() const {
|
|
const ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* p = android_ota_keybox_response_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse&>(
|
|
::video_widevine::_ProvisioningResponse_AndroidAttestationOtaKeyboxResponse_default_instance_);
|
|
}
|
|
inline const ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse& ProvisioningResponse::android_ota_keybox_response() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningResponse.android_ota_keybox_response)
|
|
return _internal_android_ota_keybox_response();
|
|
}
|
|
inline void ProvisioningResponse::unsafe_arena_set_allocated_android_ota_keybox_response(
|
|
::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* android_ota_keybox_response) {
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(android_ota_keybox_response_);
|
|
}
|
|
android_ota_keybox_response_ = android_ota_keybox_response;
|
|
if (android_ota_keybox_response) {
|
|
_has_bits_[0] |= 0x00000040u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.ProvisioningResponse.android_ota_keybox_response)
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* ProvisioningResponse::release_android_ota_keybox_response() {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* temp = android_ota_keybox_response_;
|
|
android_ota_keybox_response_ = nullptr;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* ProvisioningResponse::unsafe_arena_release_android_ota_keybox_response() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningResponse.android_ota_keybox_response)
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* temp = android_ota_keybox_response_;
|
|
android_ota_keybox_response_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* ProvisioningResponse::_internal_mutable_android_ota_keybox_response() {
|
|
_has_bits_[0] |= 0x00000040u;
|
|
if (android_ota_keybox_response_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse>(GetArena());
|
|
android_ota_keybox_response_ = p;
|
|
}
|
|
return android_ota_keybox_response_;
|
|
}
|
|
inline ::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* ProvisioningResponse::mutable_android_ota_keybox_response() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningResponse.android_ota_keybox_response)
|
|
return _internal_mutable_android_ota_keybox_response();
|
|
}
|
|
inline void ProvisioningResponse::set_allocated_android_ota_keybox_response(::video_widevine::ProvisioningResponse_AndroidAttestationOtaKeyboxResponse* android_ota_keybox_response) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
|
|
if (message_arena == nullptr) {
|
|
delete android_ota_keybox_response_;
|
|
}
|
|
if (android_ota_keybox_response) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::GetArena(android_ota_keybox_response);
|
|
if (message_arena != submessage_arena) {
|
|
android_ota_keybox_response = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, android_ota_keybox_response, submessage_arena);
|
|
}
|
|
_has_bits_[0] |= 0x00000040u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
android_ota_keybox_response_ = android_ota_keybox_response;
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningResponse.android_ota_keybox_response)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ProvisioningContext
|
|
|
|
// optional bytes key_data = 1;
|
|
inline bool ProvisioningContext::_internal_has_key_data() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningContext::has_key_data() const {
|
|
return _internal_has_key_data();
|
|
}
|
|
inline void ProvisioningContext::clear_key_data() {
|
|
key_data_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningContext::key_data() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningContext.key_data)
|
|
return _internal_key_data();
|
|
}
|
|
inline void ProvisioningContext::set_key_data(const std::string& value) {
|
|
_internal_set_key_data(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningContext.key_data)
|
|
}
|
|
inline std::string* ProvisioningContext::mutable_key_data() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningContext.key_data)
|
|
return _internal_mutable_key_data();
|
|
}
|
|
inline const std::string& ProvisioningContext::_internal_key_data() const {
|
|
return key_data_.Get();
|
|
}
|
|
inline void ProvisioningContext::_internal_set_key_data(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
key_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningContext::set_key_data(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
key_data_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningContext.key_data)
|
|
}
|
|
inline void ProvisioningContext::set_key_data(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
key_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningContext.key_data)
|
|
}
|
|
inline void ProvisioningContext::set_key_data(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
key_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningContext.key_data)
|
|
}
|
|
inline std::string* ProvisioningContext::_internal_mutable_key_data() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return key_data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningContext::release_key_data() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningContext.key_data)
|
|
if (!_internal_has_key_data()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return key_data_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningContext::set_allocated_key_data(std::string* key_data) {
|
|
if (key_data != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
key_data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key_data,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningContext.key_data)
|
|
}
|
|
|
|
// optional bytes context_data = 2;
|
|
inline bool ProvisioningContext::_internal_has_context_data() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningContext::has_context_data() const {
|
|
return _internal_has_context_data();
|
|
}
|
|
inline void ProvisioningContext::clear_context_data() {
|
|
context_data_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const std::string& ProvisioningContext::context_data() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningContext.context_data)
|
|
return _internal_context_data();
|
|
}
|
|
inline void ProvisioningContext::set_context_data(const std::string& value) {
|
|
_internal_set_context_data(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningContext.context_data)
|
|
}
|
|
inline std::string* ProvisioningContext::mutable_context_data() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningContext.context_data)
|
|
return _internal_mutable_context_data();
|
|
}
|
|
inline const std::string& ProvisioningContext::_internal_context_data() const {
|
|
return context_data_.Get();
|
|
}
|
|
inline void ProvisioningContext::_internal_set_context_data(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
context_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningContext::set_context_data(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
context_data_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningContext.context_data)
|
|
}
|
|
inline void ProvisioningContext::set_context_data(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000002u;
|
|
context_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningContext.context_data)
|
|
}
|
|
inline void ProvisioningContext::set_context_data(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
context_data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningContext.context_data)
|
|
}
|
|
inline std::string* ProvisioningContext::_internal_mutable_context_data() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
return context_data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningContext::release_context_data() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningContext.context_data)
|
|
if (!_internal_has_context_data()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
return context_data_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningContext::set_allocated_context_data(std::string* context_data) {
|
|
if (context_data != nullptr) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
context_data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), context_data,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningContext.context_data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SignedProvisioningContext
|
|
|
|
// optional bytes provisioning_context = 1;
|
|
inline bool SignedProvisioningContext::_internal_has_provisioning_context() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningContext::has_provisioning_context() const {
|
|
return _internal_has_provisioning_context();
|
|
}
|
|
inline void SignedProvisioningContext::clear_provisioning_context() {
|
|
provisioning_context_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& SignedProvisioningContext::provisioning_context() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningContext.provisioning_context)
|
|
return _internal_provisioning_context();
|
|
}
|
|
inline void SignedProvisioningContext::set_provisioning_context(const std::string& value) {
|
|
_internal_set_provisioning_context(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.SignedProvisioningContext.provisioning_context)
|
|
}
|
|
inline std::string* SignedProvisioningContext::mutable_provisioning_context() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.SignedProvisioningContext.provisioning_context)
|
|
return _internal_mutable_provisioning_context();
|
|
}
|
|
inline const std::string& SignedProvisioningContext::_internal_provisioning_context() const {
|
|
return provisioning_context_.Get();
|
|
}
|
|
inline void SignedProvisioningContext::_internal_set_provisioning_context(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
provisioning_context_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void SignedProvisioningContext::set_provisioning_context(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
provisioning_context_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.SignedProvisioningContext.provisioning_context)
|
|
}
|
|
inline void SignedProvisioningContext::set_provisioning_context(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
provisioning_context_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.SignedProvisioningContext.provisioning_context)
|
|
}
|
|
inline void SignedProvisioningContext::set_provisioning_context(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
provisioning_context_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.SignedProvisioningContext.provisioning_context)
|
|
}
|
|
inline std::string* SignedProvisioningContext::_internal_mutable_provisioning_context() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return provisioning_context_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* SignedProvisioningContext::release_provisioning_context() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.SignedProvisioningContext.provisioning_context)
|
|
if (!_internal_has_provisioning_context()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return provisioning_context_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void SignedProvisioningContext::set_allocated_provisioning_context(std::string* provisioning_context) {
|
|
if (provisioning_context != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
provisioning_context_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), provisioning_context,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.SignedProvisioningContext.provisioning_context)
|
|
}
|
|
|
|
// optional bytes signature = 2;
|
|
inline bool SignedProvisioningContext::_internal_has_signature() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningContext::has_signature() const {
|
|
return _internal_has_signature();
|
|
}
|
|
inline void SignedProvisioningContext::clear_signature() {
|
|
signature_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const std::string& SignedProvisioningContext::signature() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningContext.signature)
|
|
return _internal_signature();
|
|
}
|
|
inline void SignedProvisioningContext::set_signature(const std::string& value) {
|
|
_internal_set_signature(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.SignedProvisioningContext.signature)
|
|
}
|
|
inline std::string* SignedProvisioningContext::mutable_signature() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.SignedProvisioningContext.signature)
|
|
return _internal_mutable_signature();
|
|
}
|
|
inline const std::string& SignedProvisioningContext::_internal_signature() const {
|
|
return signature_.Get();
|
|
}
|
|
inline void SignedProvisioningContext::_internal_set_signature(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
signature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void SignedProvisioningContext::set_signature(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
signature_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.SignedProvisioningContext.signature)
|
|
}
|
|
inline void SignedProvisioningContext::set_signature(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000002u;
|
|
signature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.SignedProvisioningContext.signature)
|
|
}
|
|
inline void SignedProvisioningContext::set_signature(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
signature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.SignedProvisioningContext.signature)
|
|
}
|
|
inline std::string* SignedProvisioningContext::_internal_mutable_signature() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
return signature_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* SignedProvisioningContext::release_signature() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.SignedProvisioningContext.signature)
|
|
if (!_internal_has_signature()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
return signature_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void SignedProvisioningContext::set_allocated_signature(std::string* signature) {
|
|
if (signature != nullptr) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
signature_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), signature,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.SignedProvisioningContext.signature)
|
|
}
|
|
|
|
// optional .video_widevine.HashAlgorithmProto hash_algorithm = 3;
|
|
inline bool SignedProvisioningContext::_internal_has_hash_algorithm() const {
|
|
bool value = (_has_bits_[0] & 0x00000004u) != 0;
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningContext::has_hash_algorithm() const {
|
|
return _internal_has_hash_algorithm();
|
|
}
|
|
inline void SignedProvisioningContext::clear_hash_algorithm() {
|
|
hash_algorithm_ = 0;
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline ::video_widevine::HashAlgorithmProto SignedProvisioningContext::_internal_hash_algorithm() const {
|
|
return static_cast< ::video_widevine::HashAlgorithmProto >(hash_algorithm_);
|
|
}
|
|
inline ::video_widevine::HashAlgorithmProto SignedProvisioningContext::hash_algorithm() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningContext.hash_algorithm)
|
|
return _internal_hash_algorithm();
|
|
}
|
|
inline void SignedProvisioningContext::_internal_set_hash_algorithm(::video_widevine::HashAlgorithmProto value) {
|
|
assert(::video_widevine::HashAlgorithmProto_IsValid(value));
|
|
_has_bits_[0] |= 0x00000004u;
|
|
hash_algorithm_ = value;
|
|
}
|
|
inline void SignedProvisioningContext::set_hash_algorithm(::video_widevine::HashAlgorithmProto value) {
|
|
_internal_set_hash_algorithm(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.SignedProvisioningContext.hash_algorithm)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// ProvisioningContextKeyData
|
|
|
|
// optional bytes encryption_key = 1;
|
|
inline bool ProvisioningContextKeyData::_internal_has_encryption_key() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningContextKeyData::has_encryption_key() const {
|
|
return _internal_has_encryption_key();
|
|
}
|
|
inline void ProvisioningContextKeyData::clear_encryption_key() {
|
|
encryption_key_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& ProvisioningContextKeyData::encryption_key() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningContextKeyData.encryption_key)
|
|
return _internal_encryption_key();
|
|
}
|
|
inline void ProvisioningContextKeyData::set_encryption_key(const std::string& value) {
|
|
_internal_set_encryption_key(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningContextKeyData.encryption_key)
|
|
}
|
|
inline std::string* ProvisioningContextKeyData::mutable_encryption_key() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningContextKeyData.encryption_key)
|
|
return _internal_mutable_encryption_key();
|
|
}
|
|
inline const std::string& ProvisioningContextKeyData::_internal_encryption_key() const {
|
|
return encryption_key_.Get();
|
|
}
|
|
inline void ProvisioningContextKeyData::_internal_set_encryption_key(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
encryption_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningContextKeyData::set_encryption_key(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
encryption_key_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningContextKeyData.encryption_key)
|
|
}
|
|
inline void ProvisioningContextKeyData::set_encryption_key(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
encryption_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningContextKeyData.encryption_key)
|
|
}
|
|
inline void ProvisioningContextKeyData::set_encryption_key(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
encryption_key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningContextKeyData.encryption_key)
|
|
}
|
|
inline std::string* ProvisioningContextKeyData::_internal_mutable_encryption_key() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return encryption_key_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningContextKeyData::release_encryption_key() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningContextKeyData.encryption_key)
|
|
if (!_internal_has_encryption_key()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return encryption_key_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningContextKeyData::set_allocated_encryption_key(std::string* encryption_key) {
|
|
if (encryption_key != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
encryption_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), encryption_key,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningContextKeyData.encryption_key)
|
|
}
|
|
|
|
// optional bytes encryption_iv = 2;
|
|
inline bool ProvisioningContextKeyData::_internal_has_encryption_iv() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool ProvisioningContextKeyData::has_encryption_iv() const {
|
|
return _internal_has_encryption_iv();
|
|
}
|
|
inline void ProvisioningContextKeyData::clear_encryption_iv() {
|
|
encryption_iv_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const std::string& ProvisioningContextKeyData::encryption_iv() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.ProvisioningContextKeyData.encryption_iv)
|
|
return _internal_encryption_iv();
|
|
}
|
|
inline void ProvisioningContextKeyData::set_encryption_iv(const std::string& value) {
|
|
_internal_set_encryption_iv(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.ProvisioningContextKeyData.encryption_iv)
|
|
}
|
|
inline std::string* ProvisioningContextKeyData::mutable_encryption_iv() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.ProvisioningContextKeyData.encryption_iv)
|
|
return _internal_mutable_encryption_iv();
|
|
}
|
|
inline const std::string& ProvisioningContextKeyData::_internal_encryption_iv() const {
|
|
return encryption_iv_.Get();
|
|
}
|
|
inline void ProvisioningContextKeyData::_internal_set_encryption_iv(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encryption_iv_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void ProvisioningContextKeyData::set_encryption_iv(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encryption_iv_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.ProvisioningContextKeyData.encryption_iv)
|
|
}
|
|
inline void ProvisioningContextKeyData::set_encryption_iv(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encryption_iv_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.ProvisioningContextKeyData.encryption_iv)
|
|
}
|
|
inline void ProvisioningContextKeyData::set_encryption_iv(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
encryption_iv_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.ProvisioningContextKeyData.encryption_iv)
|
|
}
|
|
inline std::string* ProvisioningContextKeyData::_internal_mutable_encryption_iv() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
return encryption_iv_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* ProvisioningContextKeyData::release_encryption_iv() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.ProvisioningContextKeyData.encryption_iv)
|
|
if (!_internal_has_encryption_iv()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
return encryption_iv_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void ProvisioningContextKeyData::set_allocated_encryption_iv(std::string* encryption_iv) {
|
|
if (encryption_iv != nullptr) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
encryption_iv_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), encryption_iv,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.ProvisioningContextKeyData.encryption_iv)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// SignedProvisioningMessage
|
|
|
|
// optional bytes message = 1;
|
|
inline bool SignedProvisioningMessage::_internal_has_message() const {
|
|
bool value = (_has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningMessage::has_message() const {
|
|
return _internal_has_message();
|
|
}
|
|
inline void SignedProvisioningMessage::clear_message() {
|
|
message_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& SignedProvisioningMessage::message() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningMessage.message)
|
|
return _internal_message();
|
|
}
|
|
inline void SignedProvisioningMessage::set_message(const std::string& value) {
|
|
_internal_set_message(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.SignedProvisioningMessage.message)
|
|
}
|
|
inline std::string* SignedProvisioningMessage::mutable_message() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.SignedProvisioningMessage.message)
|
|
return _internal_mutable_message();
|
|
}
|
|
inline const std::string& SignedProvisioningMessage::_internal_message() const {
|
|
return message_.Get();
|
|
}
|
|
inline void SignedProvisioningMessage::_internal_set_message(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void SignedProvisioningMessage::set_message(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
message_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.SignedProvisioningMessage.message)
|
|
}
|
|
inline void SignedProvisioningMessage::set_message(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000001u;
|
|
message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.SignedProvisioningMessage.message)
|
|
}
|
|
inline void SignedProvisioningMessage::set_message(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.SignedProvisioningMessage.message)
|
|
}
|
|
inline std::string* SignedProvisioningMessage::_internal_mutable_message() {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
return message_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* SignedProvisioningMessage::release_message() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.SignedProvisioningMessage.message)
|
|
if (!_internal_has_message()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
return message_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void SignedProvisioningMessage::set_allocated_message(std::string* message) {
|
|
if (message != nullptr) {
|
|
_has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), message,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.SignedProvisioningMessage.message)
|
|
}
|
|
|
|
// optional bytes signature = 2;
|
|
inline bool SignedProvisioningMessage::_internal_has_signature() const {
|
|
bool value = (_has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningMessage::has_signature() const {
|
|
return _internal_has_signature();
|
|
}
|
|
inline void SignedProvisioningMessage::clear_signature() {
|
|
signature_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const std::string& SignedProvisioningMessage::signature() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningMessage.signature)
|
|
return _internal_signature();
|
|
}
|
|
inline void SignedProvisioningMessage::set_signature(const std::string& value) {
|
|
_internal_set_signature(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.SignedProvisioningMessage.signature)
|
|
}
|
|
inline std::string* SignedProvisioningMessage::mutable_signature() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.SignedProvisioningMessage.signature)
|
|
return _internal_mutable_signature();
|
|
}
|
|
inline const std::string& SignedProvisioningMessage::_internal_signature() const {
|
|
return signature_.Get();
|
|
}
|
|
inline void SignedProvisioningMessage::_internal_set_signature(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
signature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void SignedProvisioningMessage::set_signature(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
signature_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.SignedProvisioningMessage.signature)
|
|
}
|
|
inline void SignedProvisioningMessage::set_signature(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000002u;
|
|
signature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.SignedProvisioningMessage.signature)
|
|
}
|
|
inline void SignedProvisioningMessage::set_signature(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
signature_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.SignedProvisioningMessage.signature)
|
|
}
|
|
inline std::string* SignedProvisioningMessage::_internal_mutable_signature() {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
return signature_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* SignedProvisioningMessage::release_signature() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.SignedProvisioningMessage.signature)
|
|
if (!_internal_has_signature()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
return signature_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void SignedProvisioningMessage::set_allocated_signature(std::string* signature) {
|
|
if (signature != nullptr) {
|
|
_has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
signature_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), signature,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.SignedProvisioningMessage.signature)
|
|
}
|
|
|
|
// optional .video_widevine.SignedProvisioningMessage.ProvisioningType provisioning_type = 3 [default = PROVISIONING_20];
|
|
inline bool SignedProvisioningMessage::_internal_has_provisioning_type() const {
|
|
bool value = (_has_bits_[0] & 0x00000080u) != 0;
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningMessage::has_provisioning_type() const {
|
|
return _internal_has_provisioning_type();
|
|
}
|
|
inline void SignedProvisioningMessage::clear_provisioning_type() {
|
|
provisioning_type_ = 2;
|
|
_has_bits_[0] &= ~0x00000080u;
|
|
}
|
|
inline ::video_widevine::SignedProvisioningMessage_ProvisioningType SignedProvisioningMessage::_internal_provisioning_type() const {
|
|
return static_cast< ::video_widevine::SignedProvisioningMessage_ProvisioningType >(provisioning_type_);
|
|
}
|
|
inline ::video_widevine::SignedProvisioningMessage_ProvisioningType SignedProvisioningMessage::provisioning_type() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningMessage.provisioning_type)
|
|
return _internal_provisioning_type();
|
|
}
|
|
inline void SignedProvisioningMessage::_internal_set_provisioning_type(::video_widevine::SignedProvisioningMessage_ProvisioningType value) {
|
|
assert(::video_widevine::SignedProvisioningMessage_ProvisioningType_IsValid(value));
|
|
_has_bits_[0] |= 0x00000080u;
|
|
provisioning_type_ = value;
|
|
}
|
|
inline void SignedProvisioningMessage::set_provisioning_type(::video_widevine::SignedProvisioningMessage_ProvisioningType value) {
|
|
_internal_set_provisioning_type(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.SignedProvisioningMessage.provisioning_type)
|
|
}
|
|
|
|
// optional .video_widevine.SignedProvisioningContext signed_provisioning_context = 4;
|
|
inline bool SignedProvisioningMessage::_internal_has_signed_provisioning_context() const {
|
|
bool value = (_has_bits_[0] & 0x00000008u) != 0;
|
|
PROTOBUF_ASSUME(!value || signed_provisioning_context_ != nullptr);
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningMessage::has_signed_provisioning_context() const {
|
|
return _internal_has_signed_provisioning_context();
|
|
}
|
|
inline void SignedProvisioningMessage::clear_signed_provisioning_context() {
|
|
if (signed_provisioning_context_ != nullptr) signed_provisioning_context_->Clear();
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
inline const ::video_widevine::SignedProvisioningContext& SignedProvisioningMessage::_internal_signed_provisioning_context() const {
|
|
const ::video_widevine::SignedProvisioningContext* p = signed_provisioning_context_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::SignedProvisioningContext&>(
|
|
::video_widevine::_SignedProvisioningContext_default_instance_);
|
|
}
|
|
inline const ::video_widevine::SignedProvisioningContext& SignedProvisioningMessage::signed_provisioning_context() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningMessage.signed_provisioning_context)
|
|
return _internal_signed_provisioning_context();
|
|
}
|
|
inline void SignedProvisioningMessage::unsafe_arena_set_allocated_signed_provisioning_context(
|
|
::video_widevine::SignedProvisioningContext* signed_provisioning_context) {
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(signed_provisioning_context_);
|
|
}
|
|
signed_provisioning_context_ = signed_provisioning_context;
|
|
if (signed_provisioning_context) {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.SignedProvisioningMessage.signed_provisioning_context)
|
|
}
|
|
inline ::video_widevine::SignedProvisioningContext* SignedProvisioningMessage::release_signed_provisioning_context() {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
::video_widevine::SignedProvisioningContext* temp = signed_provisioning_context_;
|
|
signed_provisioning_context_ = nullptr;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::SignedProvisioningContext* SignedProvisioningMessage::unsafe_arena_release_signed_provisioning_context() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.SignedProvisioningMessage.signed_provisioning_context)
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
::video_widevine::SignedProvisioningContext* temp = signed_provisioning_context_;
|
|
signed_provisioning_context_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::SignedProvisioningContext* SignedProvisioningMessage::_internal_mutable_signed_provisioning_context() {
|
|
_has_bits_[0] |= 0x00000008u;
|
|
if (signed_provisioning_context_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::video_widevine::SignedProvisioningContext>(GetArena());
|
|
signed_provisioning_context_ = p;
|
|
}
|
|
return signed_provisioning_context_;
|
|
}
|
|
inline ::video_widevine::SignedProvisioningContext* SignedProvisioningMessage::mutable_signed_provisioning_context() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.SignedProvisioningMessage.signed_provisioning_context)
|
|
return _internal_mutable_signed_provisioning_context();
|
|
}
|
|
inline void SignedProvisioningMessage::set_allocated_signed_provisioning_context(::video_widevine::SignedProvisioningContext* signed_provisioning_context) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
|
|
if (message_arena == nullptr) {
|
|
delete signed_provisioning_context_;
|
|
}
|
|
if (signed_provisioning_context) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
::PROTOBUF_NAMESPACE_ID::Arena::GetArena(signed_provisioning_context);
|
|
if (message_arena != submessage_arena) {
|
|
signed_provisioning_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, signed_provisioning_context, submessage_arena);
|
|
}
|
|
_has_bits_[0] |= 0x00000008u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000008u;
|
|
}
|
|
signed_provisioning_context_ = signed_provisioning_context;
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.SignedProvisioningMessage.signed_provisioning_context)
|
|
}
|
|
|
|
// optional .video_widevine.RemoteAttestation remote_attestation = 5;
|
|
inline bool SignedProvisioningMessage::_internal_has_remote_attestation() const {
|
|
bool value = (_has_bits_[0] & 0x00000010u) != 0;
|
|
PROTOBUF_ASSUME(!value || remote_attestation_ != nullptr);
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningMessage::has_remote_attestation() const {
|
|
return _internal_has_remote_attestation();
|
|
}
|
|
inline const ::video_widevine::RemoteAttestation& SignedProvisioningMessage::_internal_remote_attestation() const {
|
|
const ::video_widevine::RemoteAttestation* p = remote_attestation_;
|
|
return p != nullptr ? *p : reinterpret_cast<const ::video_widevine::RemoteAttestation&>(
|
|
::video_widevine::_RemoteAttestation_default_instance_);
|
|
}
|
|
inline const ::video_widevine::RemoteAttestation& SignedProvisioningMessage::remote_attestation() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningMessage.remote_attestation)
|
|
return _internal_remote_attestation();
|
|
}
|
|
inline void SignedProvisioningMessage::unsafe_arena_set_allocated_remote_attestation(
|
|
::video_widevine::RemoteAttestation* remote_attestation) {
|
|
if (GetArena() == nullptr) {
|
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(remote_attestation_);
|
|
}
|
|
remote_attestation_ = remote_attestation;
|
|
if (remote_attestation) {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:video_widevine.SignedProvisioningMessage.remote_attestation)
|
|
}
|
|
inline ::video_widevine::RemoteAttestation* SignedProvisioningMessage::release_remote_attestation() {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
::video_widevine::RemoteAttestation* temp = remote_attestation_;
|
|
remote_attestation_ = nullptr;
|
|
if (GetArena() != nullptr) {
|
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
|
}
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::RemoteAttestation* SignedProvisioningMessage::unsafe_arena_release_remote_attestation() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.SignedProvisioningMessage.remote_attestation)
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
::video_widevine::RemoteAttestation* temp = remote_attestation_;
|
|
remote_attestation_ = nullptr;
|
|
return temp;
|
|
}
|
|
inline ::video_widevine::RemoteAttestation* SignedProvisioningMessage::_internal_mutable_remote_attestation() {
|
|
_has_bits_[0] |= 0x00000010u;
|
|
if (remote_attestation_ == nullptr) {
|
|
auto* p = CreateMaybeMessage<::video_widevine::RemoteAttestation>(GetArena());
|
|
remote_attestation_ = p;
|
|
}
|
|
return remote_attestation_;
|
|
}
|
|
inline ::video_widevine::RemoteAttestation* SignedProvisioningMessage::mutable_remote_attestation() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.SignedProvisioningMessage.remote_attestation)
|
|
return _internal_mutable_remote_attestation();
|
|
}
|
|
inline void SignedProvisioningMessage::set_allocated_remote_attestation(::video_widevine::RemoteAttestation* remote_attestation) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
|
|
if (message_arena == nullptr) {
|
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(remote_attestation_);
|
|
}
|
|
if (remote_attestation) {
|
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
|
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(remote_attestation)->GetArena();
|
|
if (message_arena != submessage_arena) {
|
|
remote_attestation = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
|
message_arena, remote_attestation, submessage_arena);
|
|
}
|
|
_has_bits_[0] |= 0x00000010u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000010u;
|
|
}
|
|
remote_attestation_ = remote_attestation;
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.SignedProvisioningMessage.remote_attestation)
|
|
}
|
|
|
|
// optional bytes oemcrypto_core_message = 6;
|
|
inline bool SignedProvisioningMessage::_internal_has_oemcrypto_core_message() const {
|
|
bool value = (_has_bits_[0] & 0x00000004u) != 0;
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningMessage::has_oemcrypto_core_message() const {
|
|
return _internal_has_oemcrypto_core_message();
|
|
}
|
|
inline void SignedProvisioningMessage::clear_oemcrypto_core_message() {
|
|
oemcrypto_core_message_.ClearToEmpty();
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const std::string& SignedProvisioningMessage::oemcrypto_core_message() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningMessage.oemcrypto_core_message)
|
|
return _internal_oemcrypto_core_message();
|
|
}
|
|
inline void SignedProvisioningMessage::set_oemcrypto_core_message(const std::string& value) {
|
|
_internal_set_oemcrypto_core_message(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.SignedProvisioningMessage.oemcrypto_core_message)
|
|
}
|
|
inline std::string* SignedProvisioningMessage::mutable_oemcrypto_core_message() {
|
|
// @@protoc_insertion_point(field_mutable:video_widevine.SignedProvisioningMessage.oemcrypto_core_message)
|
|
return _internal_mutable_oemcrypto_core_message();
|
|
}
|
|
inline const std::string& SignedProvisioningMessage::_internal_oemcrypto_core_message() const {
|
|
return oemcrypto_core_message_.Get();
|
|
}
|
|
inline void SignedProvisioningMessage::_internal_set_oemcrypto_core_message(const std::string& value) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
oemcrypto_core_message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
|
|
}
|
|
inline void SignedProvisioningMessage::set_oemcrypto_core_message(std::string&& value) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
oemcrypto_core_message_.Set(
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_rvalue:video_widevine.SignedProvisioningMessage.oemcrypto_core_message)
|
|
}
|
|
inline void SignedProvisioningMessage::set_oemcrypto_core_message(const char* value) {
|
|
GOOGLE_DCHECK(value != nullptr);
|
|
_has_bits_[0] |= 0x00000004u;
|
|
oemcrypto_core_message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
|
|
// @@protoc_insertion_point(field_set_char:video_widevine.SignedProvisioningMessage.oemcrypto_core_message)
|
|
}
|
|
inline void SignedProvisioningMessage::set_oemcrypto_core_message(const void* value,
|
|
size_t size) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
oemcrypto_core_message_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
|
|
reinterpret_cast<const char*>(value), size), GetArena());
|
|
// @@protoc_insertion_point(field_set_pointer:video_widevine.SignedProvisioningMessage.oemcrypto_core_message)
|
|
}
|
|
inline std::string* SignedProvisioningMessage::_internal_mutable_oemcrypto_core_message() {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
return oemcrypto_core_message_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
|
|
}
|
|
inline std::string* SignedProvisioningMessage::release_oemcrypto_core_message() {
|
|
// @@protoc_insertion_point(field_release:video_widevine.SignedProvisioningMessage.oemcrypto_core_message)
|
|
if (!_internal_has_oemcrypto_core_message()) {
|
|
return nullptr;
|
|
}
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
return oemcrypto_core_message_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
|
|
}
|
|
inline void SignedProvisioningMessage::set_allocated_oemcrypto_core_message(std::string* oemcrypto_core_message) {
|
|
if (oemcrypto_core_message != nullptr) {
|
|
_has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
oemcrypto_core_message_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), oemcrypto_core_message,
|
|
GetArena());
|
|
// @@protoc_insertion_point(field_set_allocated:video_widevine.SignedProvisioningMessage.oemcrypto_core_message)
|
|
}
|
|
|
|
// optional .video_widevine.HashAlgorithmProto hash_algorithm = 7;
|
|
inline bool SignedProvisioningMessage::_internal_has_hash_algorithm() const {
|
|
bool value = (_has_bits_[0] & 0x00000020u) != 0;
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningMessage::has_hash_algorithm() const {
|
|
return _internal_has_hash_algorithm();
|
|
}
|
|
inline void SignedProvisioningMessage::clear_hash_algorithm() {
|
|
hash_algorithm_ = 0;
|
|
_has_bits_[0] &= ~0x00000020u;
|
|
}
|
|
inline ::video_widevine::HashAlgorithmProto SignedProvisioningMessage::_internal_hash_algorithm() const {
|
|
return static_cast< ::video_widevine::HashAlgorithmProto >(hash_algorithm_);
|
|
}
|
|
inline ::video_widevine::HashAlgorithmProto SignedProvisioningMessage::hash_algorithm() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningMessage.hash_algorithm)
|
|
return _internal_hash_algorithm();
|
|
}
|
|
inline void SignedProvisioningMessage::_internal_set_hash_algorithm(::video_widevine::HashAlgorithmProto value) {
|
|
assert(::video_widevine::HashAlgorithmProto_IsValid(value));
|
|
_has_bits_[0] |= 0x00000020u;
|
|
hash_algorithm_ = value;
|
|
}
|
|
inline void SignedProvisioningMessage::set_hash_algorithm(::video_widevine::HashAlgorithmProto value) {
|
|
_internal_set_hash_algorithm(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.SignedProvisioningMessage.hash_algorithm)
|
|
}
|
|
|
|
// optional .video_widevine.SignedProvisioningMessage.ProvisioningProtocolVersion protocol_version = 8;
|
|
inline bool SignedProvisioningMessage::_internal_has_protocol_version() const {
|
|
bool value = (_has_bits_[0] & 0x00000040u) != 0;
|
|
return value;
|
|
}
|
|
inline bool SignedProvisioningMessage::has_protocol_version() const {
|
|
return _internal_has_protocol_version();
|
|
}
|
|
inline void SignedProvisioningMessage::clear_protocol_version() {
|
|
protocol_version_ = 0;
|
|
_has_bits_[0] &= ~0x00000040u;
|
|
}
|
|
inline ::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion SignedProvisioningMessage::_internal_protocol_version() const {
|
|
return static_cast< ::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion >(protocol_version_);
|
|
}
|
|
inline ::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion SignedProvisioningMessage::protocol_version() const {
|
|
// @@protoc_insertion_point(field_get:video_widevine.SignedProvisioningMessage.protocol_version)
|
|
return _internal_protocol_version();
|
|
}
|
|
inline void SignedProvisioningMessage::_internal_set_protocol_version(::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion value) {
|
|
assert(::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion_IsValid(value));
|
|
_has_bits_[0] |= 0x00000040u;
|
|
protocol_version_ = value;
|
|
}
|
|
inline void SignedProvisioningMessage::set_protocol_version(::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion value) {
|
|
_internal_set_protocol_version(value);
|
|
// @@protoc_insertion_point(field_set:video_widevine.SignedProvisioningMessage.protocol_version)
|
|
}
|
|
|
|
#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::ProvisioningOptions_CertificateType> : ::std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::ProvisioningOptions_CertificateType>() {
|
|
return ::video_widevine::ProvisioningOptions_CertificateType_descriptor();
|
|
}
|
|
template <> struct is_proto_enum< ::video_widevine::ProvisioningResponse_ProvisioningStatus> : ::std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::ProvisioningResponse_ProvisioningStatus>() {
|
|
return ::video_widevine::ProvisioningResponse_ProvisioningStatus_descriptor();
|
|
}
|
|
template <> struct is_proto_enum< ::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion> : ::std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion>() {
|
|
return ::video_widevine::SignedProvisioningMessage_ProvisioningProtocolVersion_descriptor();
|
|
}
|
|
template <> struct is_proto_enum< ::video_widevine::SignedProvisioningMessage_ProvisioningType> : ::std::true_type {};
|
|
template <>
|
|
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::SignedProvisioningMessage_ProvisioningType>() {
|
|
return ::video_widevine::SignedProvisioningMessage_ProvisioningType_descriptor();
|
|
}
|
|
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include <google/protobuf/port_undef.inc>
|
|
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fcertificate_5fprovisioning_2eproto
|