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

532 lines
22 KiB
C++
Executable File

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protos/public/root_of_trust_id.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2froot_5fof_5ftrust_5fid_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2froot_5fof_5ftrust_5fid_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3017000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3017003 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_protos_2fpublic_2froot_5fof_5ftrust_5fid_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_2froot_5fof_5ftrust_5fid_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[1]
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_2froot_5fof_5ftrust_5fid_2eproto;
namespace video_widevine {
class RootOfTrustId;
struct RootOfTrustIdDefaultTypeInternal;
extern RootOfTrustIdDefaultTypeInternal _RootOfTrustId_default_instance_;
} // namespace video_widevine
PROTOBUF_NAMESPACE_OPEN
template<> ::video_widevine::RootOfTrustId* Arena::CreateMaybeMessage<::video_widevine::RootOfTrustId>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace video_widevine {
enum RootOfTrustId_RootOfTrustIdVersion : int {
RootOfTrustId_RootOfTrustIdVersion_ROOT_OF_TRUST_ID_VERSION_UNSPECIFIED = 0,
RootOfTrustId_RootOfTrustIdVersion_ROOT_OF_TRUST_ID_VERSION_1 = 1
};
bool RootOfTrustId_RootOfTrustIdVersion_IsValid(int value);
constexpr RootOfTrustId_RootOfTrustIdVersion RootOfTrustId_RootOfTrustIdVersion_RootOfTrustIdVersion_MIN = RootOfTrustId_RootOfTrustIdVersion_ROOT_OF_TRUST_ID_VERSION_UNSPECIFIED;
constexpr RootOfTrustId_RootOfTrustIdVersion RootOfTrustId_RootOfTrustIdVersion_RootOfTrustIdVersion_MAX = RootOfTrustId_RootOfTrustIdVersion_ROOT_OF_TRUST_ID_VERSION_1;
constexpr int RootOfTrustId_RootOfTrustIdVersion_RootOfTrustIdVersion_ARRAYSIZE = RootOfTrustId_RootOfTrustIdVersion_RootOfTrustIdVersion_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RootOfTrustId_RootOfTrustIdVersion_descriptor();
template<typename T>
inline const std::string& RootOfTrustId_RootOfTrustIdVersion_Name(T enum_t_value) {
static_assert(::std::is_same<T, RootOfTrustId_RootOfTrustIdVersion>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function RootOfTrustId_RootOfTrustIdVersion_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
RootOfTrustId_RootOfTrustIdVersion_descriptor(), enum_t_value);
}
inline bool RootOfTrustId_RootOfTrustIdVersion_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RootOfTrustId_RootOfTrustIdVersion* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<RootOfTrustId_RootOfTrustIdVersion>(
RootOfTrustId_RootOfTrustIdVersion_descriptor(), name, value);
}
// ===================================================================
class RootOfTrustId final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:video_widevine.RootOfTrustId) */ {
public:
inline RootOfTrustId() : RootOfTrustId(nullptr) {}
~RootOfTrustId() override;
explicit constexpr RootOfTrustId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
RootOfTrustId(const RootOfTrustId& from);
RootOfTrustId(RootOfTrustId&& from) noexcept
: RootOfTrustId() {
*this = ::std::move(from);
}
inline RootOfTrustId& operator=(const RootOfTrustId& from) {
CopyFrom(from);
return *this;
}
inline RootOfTrustId& operator=(RootOfTrustId&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
}
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const RootOfTrustId& default_instance() {
return *internal_default_instance();
}
static inline const RootOfTrustId* internal_default_instance() {
return reinterpret_cast<const RootOfTrustId*>(
&_RootOfTrustId_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(RootOfTrustId& a, RootOfTrustId& b) {
a.Swap(&b);
}
inline void Swap(RootOfTrustId* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(RootOfTrustId* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline RootOfTrustId* New() const final {
return new RootOfTrustId();
}
RootOfTrustId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<RootOfTrustId>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const RootOfTrustId& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const RootOfTrustId& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(RootOfTrustId* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "video_widevine.RootOfTrustId";
}
protected:
explicit RootOfTrustId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
typedef RootOfTrustId_RootOfTrustIdVersion RootOfTrustIdVersion;
static constexpr RootOfTrustIdVersion ROOT_OF_TRUST_ID_VERSION_UNSPECIFIED =
RootOfTrustId_RootOfTrustIdVersion_ROOT_OF_TRUST_ID_VERSION_UNSPECIFIED;
static constexpr RootOfTrustIdVersion ROOT_OF_TRUST_ID_VERSION_1 =
RootOfTrustId_RootOfTrustIdVersion_ROOT_OF_TRUST_ID_VERSION_1;
static inline bool RootOfTrustIdVersion_IsValid(int value) {
return RootOfTrustId_RootOfTrustIdVersion_IsValid(value);
}
static constexpr RootOfTrustIdVersion RootOfTrustIdVersion_MIN =
RootOfTrustId_RootOfTrustIdVersion_RootOfTrustIdVersion_MIN;
static constexpr RootOfTrustIdVersion RootOfTrustIdVersion_MAX =
RootOfTrustId_RootOfTrustIdVersion_RootOfTrustIdVersion_MAX;
static constexpr int RootOfTrustIdVersion_ARRAYSIZE =
RootOfTrustId_RootOfTrustIdVersion_RootOfTrustIdVersion_ARRAYSIZE;
static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
RootOfTrustIdVersion_descriptor() {
return RootOfTrustId_RootOfTrustIdVersion_descriptor();
}
template<typename T>
static inline const std::string& RootOfTrustIdVersion_Name(T enum_t_value) {
static_assert(::std::is_same<T, RootOfTrustIdVersion>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function RootOfTrustIdVersion_Name.");
return RootOfTrustId_RootOfTrustIdVersion_Name(enum_t_value);
}
static inline bool RootOfTrustIdVersion_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
RootOfTrustIdVersion* value) {
return RootOfTrustId_RootOfTrustIdVersion_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kEncryptedUniqueIdFieldNumber = 3,
kUniqueIdHashFieldNumber = 4,
kVersionFieldNumber = 1,
kKeyIdFieldNumber = 2,
};
// optional bytes encrypted_unique_id = 3;
bool has_encrypted_unique_id() const;
private:
bool _internal_has_encrypted_unique_id() const;
public:
void clear_encrypted_unique_id();
const std::string& encrypted_unique_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_encrypted_unique_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_encrypted_unique_id();
PROTOBUF_MUST_USE_RESULT std::string* release_encrypted_unique_id();
void set_allocated_encrypted_unique_id(std::string* encrypted_unique_id);
private:
const std::string& _internal_encrypted_unique_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_encrypted_unique_id(const std::string& value);
std::string* _internal_mutable_encrypted_unique_id();
public:
// optional bytes unique_id_hash = 4;
bool has_unique_id_hash() const;
private:
bool _internal_has_unique_id_hash() const;
public:
void clear_unique_id_hash();
const std::string& unique_id_hash() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_unique_id_hash(ArgT0&& arg0, ArgT... args);
std::string* mutable_unique_id_hash();
PROTOBUF_MUST_USE_RESULT std::string* release_unique_id_hash();
void set_allocated_unique_id_hash(std::string* unique_id_hash);
private:
const std::string& _internal_unique_id_hash() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_unique_id_hash(const std::string& value);
std::string* _internal_mutable_unique_id_hash();
public:
// optional .video_widevine.RootOfTrustId.RootOfTrustIdVersion version = 1;
bool has_version() const;
private:
bool _internal_has_version() const;
public:
void clear_version();
::video_widevine::RootOfTrustId_RootOfTrustIdVersion version() const;
void set_version(::video_widevine::RootOfTrustId_RootOfTrustIdVersion value);
private:
::video_widevine::RootOfTrustId_RootOfTrustIdVersion _internal_version() const;
void _internal_set_version(::video_widevine::RootOfTrustId_RootOfTrustIdVersion value);
public:
// optional uint32 key_id = 2;
bool has_key_id() const;
private:
bool _internal_has_key_id() const;
public:
void clear_key_id();
::PROTOBUF_NAMESPACE_ID::uint32 key_id() const;
void set_key_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
private:
::PROTOBUF_NAMESPACE_ID::uint32 _internal_key_id() const;
void _internal_set_key_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
public:
// @@protoc_insertion_point(class_scope:video_widevine.RootOfTrustId)
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 encrypted_unique_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr unique_id_hash_;
int version_;
::PROTOBUF_NAMESPACE_ID::uint32 key_id_;
friend struct ::TableStruct_protos_2fpublic_2froot_5fof_5ftrust_5fid_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// RootOfTrustId
// optional .video_widevine.RootOfTrustId.RootOfTrustIdVersion version = 1;
inline bool RootOfTrustId::_internal_has_version() const {
bool value = (_has_bits_[0] & 0x00000004u) != 0;
return value;
}
inline bool RootOfTrustId::has_version() const {
return _internal_has_version();
}
inline void RootOfTrustId::clear_version() {
version_ = 0;
_has_bits_[0] &= ~0x00000004u;
}
inline ::video_widevine::RootOfTrustId_RootOfTrustIdVersion RootOfTrustId::_internal_version() const {
return static_cast< ::video_widevine::RootOfTrustId_RootOfTrustIdVersion >(version_);
}
inline ::video_widevine::RootOfTrustId_RootOfTrustIdVersion RootOfTrustId::version() const {
// @@protoc_insertion_point(field_get:video_widevine.RootOfTrustId.version)
return _internal_version();
}
inline void RootOfTrustId::_internal_set_version(::video_widevine::RootOfTrustId_RootOfTrustIdVersion value) {
assert(::video_widevine::RootOfTrustId_RootOfTrustIdVersion_IsValid(value));
_has_bits_[0] |= 0x00000004u;
version_ = value;
}
inline void RootOfTrustId::set_version(::video_widevine::RootOfTrustId_RootOfTrustIdVersion value) {
_internal_set_version(value);
// @@protoc_insertion_point(field_set:video_widevine.RootOfTrustId.version)
}
// optional uint32 key_id = 2;
inline bool RootOfTrustId::_internal_has_key_id() const {
bool value = (_has_bits_[0] & 0x00000008u) != 0;
return value;
}
inline bool RootOfTrustId::has_key_id() const {
return _internal_has_key_id();
}
inline void RootOfTrustId::clear_key_id() {
key_id_ = 0u;
_has_bits_[0] &= ~0x00000008u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 RootOfTrustId::_internal_key_id() const {
return key_id_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 RootOfTrustId::key_id() const {
// @@protoc_insertion_point(field_get:video_widevine.RootOfTrustId.key_id)
return _internal_key_id();
}
inline void RootOfTrustId::_internal_set_key_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
_has_bits_[0] |= 0x00000008u;
key_id_ = value;
}
inline void RootOfTrustId::set_key_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
_internal_set_key_id(value);
// @@protoc_insertion_point(field_set:video_widevine.RootOfTrustId.key_id)
}
// optional bytes encrypted_unique_id = 3;
inline bool RootOfTrustId::_internal_has_encrypted_unique_id() const {
bool value = (_has_bits_[0] & 0x00000001u) != 0;
return value;
}
inline bool RootOfTrustId::has_encrypted_unique_id() const {
return _internal_has_encrypted_unique_id();
}
inline void RootOfTrustId::clear_encrypted_unique_id() {
encrypted_unique_id_.ClearToEmpty();
_has_bits_[0] &= ~0x00000001u;
}
inline const std::string& RootOfTrustId::encrypted_unique_id() const {
// @@protoc_insertion_point(field_get:video_widevine.RootOfTrustId.encrypted_unique_id)
return _internal_encrypted_unique_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void RootOfTrustId::set_encrypted_unique_id(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000001u;
encrypted_unique_id_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.RootOfTrustId.encrypted_unique_id)
}
inline std::string* RootOfTrustId::mutable_encrypted_unique_id() {
std::string* _s = _internal_mutable_encrypted_unique_id();
// @@protoc_insertion_point(field_mutable:video_widevine.RootOfTrustId.encrypted_unique_id)
return _s;
}
inline const std::string& RootOfTrustId::_internal_encrypted_unique_id() const {
return encrypted_unique_id_.Get();
}
inline void RootOfTrustId::_internal_set_encrypted_unique_id(const std::string& value) {
_has_bits_[0] |= 0x00000001u;
encrypted_unique_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* RootOfTrustId::_internal_mutable_encrypted_unique_id() {
_has_bits_[0] |= 0x00000001u;
return encrypted_unique_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* RootOfTrustId::release_encrypted_unique_id() {
// @@protoc_insertion_point(field_release:video_widevine.RootOfTrustId.encrypted_unique_id)
if (!_internal_has_encrypted_unique_id()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000001u;
return encrypted_unique_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void RootOfTrustId::set_allocated_encrypted_unique_id(std::string* encrypted_unique_id) {
if (encrypted_unique_id != nullptr) {
_has_bits_[0] |= 0x00000001u;
} else {
_has_bits_[0] &= ~0x00000001u;
}
encrypted_unique_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), encrypted_unique_id,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.RootOfTrustId.encrypted_unique_id)
}
// optional bytes unique_id_hash = 4;
inline bool RootOfTrustId::_internal_has_unique_id_hash() const {
bool value = (_has_bits_[0] & 0x00000002u) != 0;
return value;
}
inline bool RootOfTrustId::has_unique_id_hash() const {
return _internal_has_unique_id_hash();
}
inline void RootOfTrustId::clear_unique_id_hash() {
unique_id_hash_.ClearToEmpty();
_has_bits_[0] &= ~0x00000002u;
}
inline const std::string& RootOfTrustId::unique_id_hash() const {
// @@protoc_insertion_point(field_get:video_widevine.RootOfTrustId.unique_id_hash)
return _internal_unique_id_hash();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void RootOfTrustId::set_unique_id_hash(ArgT0&& arg0, ArgT... args) {
_has_bits_[0] |= 0x00000002u;
unique_id_hash_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:video_widevine.RootOfTrustId.unique_id_hash)
}
inline std::string* RootOfTrustId::mutable_unique_id_hash() {
std::string* _s = _internal_mutable_unique_id_hash();
// @@protoc_insertion_point(field_mutable:video_widevine.RootOfTrustId.unique_id_hash)
return _s;
}
inline const std::string& RootOfTrustId::_internal_unique_id_hash() const {
return unique_id_hash_.Get();
}
inline void RootOfTrustId::_internal_set_unique_id_hash(const std::string& value) {
_has_bits_[0] |= 0x00000002u;
unique_id_hash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* RootOfTrustId::_internal_mutable_unique_id_hash() {
_has_bits_[0] |= 0x00000002u;
return unique_id_hash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* RootOfTrustId::release_unique_id_hash() {
// @@protoc_insertion_point(field_release:video_widevine.RootOfTrustId.unique_id_hash)
if (!_internal_has_unique_id_hash()) {
return nullptr;
}
_has_bits_[0] &= ~0x00000002u;
return unique_id_hash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void RootOfTrustId::set_allocated_unique_id_hash(std::string* unique_id_hash) {
if (unique_id_hash != nullptr) {
_has_bits_[0] |= 0x00000002u;
} else {
_has_bits_[0] &= ~0x00000002u;
}
unique_id_hash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), unique_id_hash,
GetArenaForAllocation());
// @@protoc_insertion_point(field_set_allocated:video_widevine.RootOfTrustId.unique_id_hash)
}
#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::RootOfTrustId_RootOfTrustIdVersion> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::RootOfTrustId_RootOfTrustIdVersion>() {
return ::video_widevine::RootOfTrustId_RootOfTrustIdVersion_descriptor();
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2froot_5fof_5ftrust_5fid_2eproto