Files
wvpl_license_sdk/ubuntu/protos/public/hash_algorithm.pb.h

120 lines
4.8 KiB
C++
Executable File

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protos/public/hash_algorithm.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fhash_5falgorithm_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fhash_5falgorithm_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/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_protos_2fpublic_2fhash_5falgorithm_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_2fhash_5falgorithm_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_2fhash_5falgorithm_2eproto;
PROTOBUF_NAMESPACE_OPEN
PROTOBUF_NAMESPACE_CLOSE
namespace video_widevine {
enum HashAlgorithmProto : int {
HASH_ALGORITHM_UNSPECIFIED = 0,
HASH_ALGORITHM_SHA_1 = 1,
HASH_ALGORITHM_SHA_256 = 2,
HASH_ALGORITHM_SHA_384 = 3,
HashAlgorithmProto_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
HashAlgorithmProto_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
bool HashAlgorithmProto_IsValid(int value);
constexpr HashAlgorithmProto HashAlgorithmProto_MIN = HASH_ALGORITHM_UNSPECIFIED;
constexpr HashAlgorithmProto HashAlgorithmProto_MAX = HASH_ALGORITHM_SHA_384;
constexpr int HashAlgorithmProto_ARRAYSIZE = HashAlgorithmProto_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* HashAlgorithmProto_descriptor();
template<typename T>
inline const std::string& HashAlgorithmProto_Name(T enum_t_value) {
static_assert(::std::is_same<T, HashAlgorithmProto>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function HashAlgorithmProto_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
HashAlgorithmProto_descriptor(), enum_t_value);
}
inline bool HashAlgorithmProto_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HashAlgorithmProto* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<HashAlgorithmProto>(
HashAlgorithmProto_descriptor(), name, value);
}
// ===================================================================
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
#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::HashAlgorithmProto> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::video_widevine::HashAlgorithmProto>() {
return ::video_widevine::HashAlgorithmProto_descriptor();
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fhash_5falgorithm_2eproto