// 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 #include #include #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 #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #include #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 inline const std::string& HashAlgorithmProto_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::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_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 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_protos_2fpublic_2fhash_5falgorithm_2eproto