#include "components/optimization_guide/proto/models.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/port_def.inc>
PROTOBUF_PRAGMA_INIT_SEG
_pb;
_pbi;
namespace optimization_guide {
namespace proto {
PROTOBUF_CONSTEXPR Model::Model(
::_pbi::ConstantInitialized): … { … }
struct ModelDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelDefaultTypeInternal _Model_default_instance_;
PROTOBUF_CONSTEXPR GetModelsRequest::GetModelsRequest(
::_pbi::ConstantInitialized): … { … }
struct GetModelsRequestDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetModelsRequestDefaultTypeInternal _GetModelsRequest_default_instance_;
PROTOBUF_CONSTEXPR GetModelsResponse::GetModelsResponse(
::_pbi::ConstantInitialized): … { … }
struct GetModelsResponseDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetModelsResponseDefaultTypeInternal _GetModelsResponse_default_instance_;
PROTOBUF_CONSTEXPR PredictionModel::PredictionModel(
::_pbi::ConstantInitialized): … { … }
struct PredictionModelDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PredictionModelDefaultTypeInternal _PredictionModel_default_instance_;
PROTOBUF_CONSTEXPR AdditionalModelFile::AdditionalModelFile(
::_pbi::ConstantInitialized): … { … }
struct AdditionalModelFileDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AdditionalModelFileDefaultTypeInternal _AdditionalModelFile_default_instance_;
PROTOBUF_CONSTEXPR ModelInfo::ModelInfo(
::_pbi::ConstantInitialized): … { … }
struct ModelInfoDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelInfoDefaultTypeInternal _ModelInfo_default_instance_;
PROTOBUF_CONSTEXPR ModelCacheKey::ModelCacheKey(
::_pbi::ConstantInitialized): … { … }
struct ModelCacheKeyDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelCacheKeyDefaultTypeInternal _ModelCacheKey_default_instance_;
}
}
namespace optimization_guide {
namespace proto {
bool OptimizationTarget_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> OptimizationTarget_strings[51] = …;
static const char OptimizationTarget_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry OptimizationTarget_entries[] = …;
static const int OptimizationTarget_entries_by_number[] = …;
const std::string& OptimizationTarget_Name(
OptimizationTarget value) { … }
bool OptimizationTarget_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OptimizationTarget* value) { … }
bool ModelEngineVersion_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> ModelEngineVersion_strings[18] = …;
static const char ModelEngineVersion_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ModelEngineVersion_entries[] = …;
static const int ModelEngineVersion_entries_by_number[] = …;
const std::string& ModelEngineVersion_Name(
ModelEngineVersion value) { … }
bool ModelEngineVersion_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ModelEngineVersion* value) { … }
class Model::_Internal { … };
Model::Model(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
Model::Model(const Model& from)
: … { … }
inline void Model::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
Model::~Model() { … }
inline void Model::SharedDtor() { … }
void Model::SetCachedSize(int size) const { … }
void Model::clear_model() { … }
void Model::Clear() { … }
const char* Model::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* Model::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t Model::ByteSizeLong() const { … }
void Model::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void Model::MergeFrom(const Model& from) { … }
void Model::CopyFrom(const Model& from) { … }
bool Model::IsInitialized() const { … }
void Model::InternalSwap(Model* other) { … }
std::string Model::GetTypeName() const { … }
class GetModelsRequest::_Internal { … };
const ::optimization_guide::proto::OriginInfo&
GetModelsRequest::_Internal::origin_info(const GetModelsRequest* msg) { … }
void GetModelsRequest::clear_origin_info() { … }
GetModelsRequest::GetModelsRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
GetModelsRequest::GetModelsRequest(const GetModelsRequest& from)
: … { … }
inline void GetModelsRequest::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
GetModelsRequest::~GetModelsRequest() { … }
inline void GetModelsRequest::SharedDtor() { … }
void GetModelsRequest::SetCachedSize(int size) const { … }
void GetModelsRequest::Clear() { … }
const char* GetModelsRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* GetModelsRequest::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t GetModelsRequest::ByteSizeLong() const { … }
void GetModelsRequest::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void GetModelsRequest::MergeFrom(const GetModelsRequest& from) { … }
void GetModelsRequest::CopyFrom(const GetModelsRequest& from) { … }
bool GetModelsRequest::IsInitialized() const { … }
void GetModelsRequest::InternalSwap(GetModelsRequest* other) { … }
std::string GetModelsRequest::GetTypeName() const { … }
class GetModelsResponse::_Internal { … };
GetModelsResponse::GetModelsResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
GetModelsResponse::GetModelsResponse(const GetModelsResponse& from)
: … { … }
inline void GetModelsResponse::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
GetModelsResponse::~GetModelsResponse() { … }
inline void GetModelsResponse::SharedDtor() { … }
void GetModelsResponse::SetCachedSize(int size) const { … }
void GetModelsResponse::Clear() { … }
const char* GetModelsResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* GetModelsResponse::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t GetModelsResponse::ByteSizeLong() const { … }
void GetModelsResponse::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void GetModelsResponse::MergeFrom(const GetModelsResponse& from) { … }
void GetModelsResponse::CopyFrom(const GetModelsResponse& from) { … }
bool GetModelsResponse::IsInitialized() const { … }
void GetModelsResponse::InternalSwap(GetModelsResponse* other) { … }
std::string GetModelsResponse::GetTypeName() const { … }
class PredictionModel::_Internal { … };
const ::optimization_guide::proto::ModelInfo&
PredictionModel::_Internal::model_info(const PredictionModel* msg) { … }
const ::optimization_guide::proto::Model&
PredictionModel::_Internal::model(const PredictionModel* msg) { … }
PredictionModel::PredictionModel(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
PredictionModel::PredictionModel(const PredictionModel& from)
: … { … }
inline void PredictionModel::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
PredictionModel::~PredictionModel() { … }
inline void PredictionModel::SharedDtor() { … }
void PredictionModel::SetCachedSize(int size) const { … }
void PredictionModel::Clear() { … }
const char* PredictionModel::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* PredictionModel::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t PredictionModel::ByteSizeLong() const { … }
void PredictionModel::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void PredictionModel::MergeFrom(const PredictionModel& from) { … }
void PredictionModel::CopyFrom(const PredictionModel& from) { … }
bool PredictionModel::IsInitialized() const { … }
void PredictionModel::InternalSwap(PredictionModel* other) { … }
std::string PredictionModel::GetTypeName() const { … }
class AdditionalModelFile::_Internal { … };
AdditionalModelFile::AdditionalModelFile(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
AdditionalModelFile::AdditionalModelFile(const AdditionalModelFile& from)
: … { … }
inline void AdditionalModelFile::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
AdditionalModelFile::~AdditionalModelFile() { … }
inline void AdditionalModelFile::SharedDtor() { … }
void AdditionalModelFile::SetCachedSize(int size) const { … }
void AdditionalModelFile::Clear() { … }
const char* AdditionalModelFile::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* AdditionalModelFile::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t AdditionalModelFile::ByteSizeLong() const { … }
void AdditionalModelFile::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void AdditionalModelFile::MergeFrom(const AdditionalModelFile& from) { … }
void AdditionalModelFile::CopyFrom(const AdditionalModelFile& from) { … }
bool AdditionalModelFile::IsInitialized() const { … }
void AdditionalModelFile::InternalSwap(AdditionalModelFile* other) { … }
std::string AdditionalModelFile::GetTypeName() const { … }
class ModelInfo::_Internal { … };
const ::optimization_guide::proto::Duration&
ModelInfo::_Internal::valid_duration(const ModelInfo* msg) { … }
const ::optimization_guide::proto::Any&
ModelInfo::_Internal::model_metadata(const ModelInfo* msg) { … }
const ::optimization_guide::proto::ModelCacheKey&
ModelInfo::_Internal::model_cache_key(const ModelInfo* msg) { … }
void ModelInfo::clear_valid_duration() { … }
void ModelInfo::clear_model_metadata() { … }
ModelInfo::ModelInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
ModelInfo::ModelInfo(const ModelInfo& from)
: … { … }
inline void ModelInfo::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
ModelInfo::~ModelInfo() { … }
inline void ModelInfo::SharedDtor() { … }
void ModelInfo::SetCachedSize(int size) const { … }
void ModelInfo::Clear() { … }
const char* ModelInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* ModelInfo::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t ModelInfo::ByteSizeLong() const { … }
void ModelInfo::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void ModelInfo::MergeFrom(const ModelInfo& from) { … }
void ModelInfo::CopyFrom(const ModelInfo& from) { … }
bool ModelInfo::IsInitialized() const { … }
void ModelInfo::InternalSwap(ModelInfo* other) { … }
std::string ModelInfo::GetTypeName() const { … }
class ModelCacheKey::_Internal { … };
ModelCacheKey::ModelCacheKey(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
ModelCacheKey::ModelCacheKey(const ModelCacheKey& from)
: … { … }
inline void ModelCacheKey::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
ModelCacheKey::~ModelCacheKey() { … }
inline void ModelCacheKey::SharedDtor() { … }
void ModelCacheKey::SetCachedSize(int size) const { … }
void ModelCacheKey::Clear() { … }
const char* ModelCacheKey::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* ModelCacheKey::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t ModelCacheKey::ByteSizeLong() const { … }
void ModelCacheKey::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void ModelCacheKey::MergeFrom(const ModelCacheKey& from) { … }
void ModelCacheKey::CopyFrom(const ModelCacheKey& from) { … }
bool ModelCacheKey::IsInitialized() const { … }
void ModelCacheKey::InternalSwap(ModelCacheKey* other) { … }
std::string ModelCacheKey::GetTypeName() const { … }
}
}
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::Model*
Arena::CreateMaybeMessage< ::optimization_guide::proto::Model >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::GetModelsRequest*
Arena::CreateMaybeMessage< ::optimization_guide::proto::GetModelsRequest >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::GetModelsResponse*
Arena::CreateMaybeMessage< ::optimization_guide::proto::GetModelsResponse >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::PredictionModel*
Arena::CreateMaybeMessage< ::optimization_guide::proto::PredictionModel >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::AdditionalModelFile*
Arena::CreateMaybeMessage< ::optimization_guide::proto::AdditionalModelFile >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::ModelInfo*
Arena::CreateMaybeMessage< ::optimization_guide::proto::ModelInfo >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::ModelCacheKey*
Arena::CreateMaybeMessage< ::optimization_guide::proto::ModelCacheKey >(Arena* arena) { … }
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>