#include "components/optimization_guide/proto/on_device_model_execution_config.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 OnDeviceModelExecutionConfig::OnDeviceModelExecutionConfig(
::_pbi::ConstantInitialized): … { … }
struct OnDeviceModelExecutionConfigDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OnDeviceModelExecutionConfigDefaultTypeInternal _OnDeviceModelExecutionConfig_default_instance_;
PROTOBUF_CONSTEXPR OnDeviceModelExecutionFeatureConfig::OnDeviceModelExecutionFeatureConfig(
::_pbi::ConstantInitialized): … { … }
struct OnDeviceModelExecutionFeatureConfigDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OnDeviceModelExecutionFeatureConfigDefaultTypeInternal _OnDeviceModelExecutionFeatureConfig_default_instance_;
PROTOBUF_CONSTEXPR OnDeviceModelExecutionInputConfig::OnDeviceModelExecutionInputConfig(
::_pbi::ConstantInitialized): … { … }
struct OnDeviceModelExecutionInputConfigDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OnDeviceModelExecutionInputConfigDefaultTypeInternal _OnDeviceModelExecutionInputConfig_default_instance_;
PROTOBUF_CONSTEXPR OnDeviceModelExecutionOutputConfig::OnDeviceModelExecutionOutputConfig(
::_pbi::ConstantInitialized): … { … }
struct OnDeviceModelExecutionOutputConfigDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OnDeviceModelExecutionOutputConfigDefaultTypeInternal _OnDeviceModelExecutionOutputConfig_default_instance_;
PROTOBUF_CONSTEXPR TextSafetyFallbackConfig::TextSafetyFallbackConfig(
::_pbi::ConstantInitialized): … { … }
struct TextSafetyFallbackConfigDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TextSafetyFallbackConfigDefaultTypeInternal _TextSafetyFallbackConfig_default_instance_;
PROTOBUF_CONSTEXPR OnDeviceModelValidationConfig::OnDeviceModelValidationConfig(
::_pbi::ConstantInitialized): … { … }
struct OnDeviceModelValidationConfigDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OnDeviceModelValidationConfigDefaultTypeInternal _OnDeviceModelValidationConfig_default_instance_;
PROTOBUF_CONSTEXPR ValidationPrompt::ValidationPrompt(
::_pbi::ConstantInitialized): … { … }
struct ValidationPromptDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ValidationPromptDefaultTypeInternal _ValidationPrompt_default_instance_;
PROTOBUF_CONSTEXPR SamplingParams::SamplingParams(
::_pbi::ConstantInitialized): … { … }
struct SamplingParamsDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SamplingParamsDefaultTypeInternal _SamplingParams_default_instance_;
}
}
namespace optimization_guide {
namespace proto {
class OnDeviceModelExecutionConfig::_Internal { … };
const ::optimization_guide::proto::OnDeviceModelValidationConfig&
OnDeviceModelExecutionConfig::_Internal::validation_config(const OnDeviceModelExecutionConfig* msg) { … }
OnDeviceModelExecutionConfig::OnDeviceModelExecutionConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
OnDeviceModelExecutionConfig::OnDeviceModelExecutionConfig(const OnDeviceModelExecutionConfig& from)
: … { … }
inline void OnDeviceModelExecutionConfig::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
OnDeviceModelExecutionConfig::~OnDeviceModelExecutionConfig() { … }
inline void OnDeviceModelExecutionConfig::SharedDtor() { … }
void OnDeviceModelExecutionConfig::SetCachedSize(int size) const { … }
void OnDeviceModelExecutionConfig::Clear() { … }
const char* OnDeviceModelExecutionConfig::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* OnDeviceModelExecutionConfig::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t OnDeviceModelExecutionConfig::ByteSizeLong() const { … }
void OnDeviceModelExecutionConfig::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void OnDeviceModelExecutionConfig::MergeFrom(const OnDeviceModelExecutionConfig& from) { … }
void OnDeviceModelExecutionConfig::CopyFrom(const OnDeviceModelExecutionConfig& from) { … }
bool OnDeviceModelExecutionConfig::IsInitialized() const { … }
void OnDeviceModelExecutionConfig::InternalSwap(OnDeviceModelExecutionConfig* other) { … }
std::string OnDeviceModelExecutionConfig::GetTypeName() const { … }
class OnDeviceModelExecutionFeatureConfig::_Internal { … };
const ::optimization_guide::proto::OnDeviceModelExecutionInputConfig&
OnDeviceModelExecutionFeatureConfig::_Internal::input_config(const OnDeviceModelExecutionFeatureConfig* msg) { … }
const ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig&
OnDeviceModelExecutionFeatureConfig::_Internal::output_config(const OnDeviceModelExecutionFeatureConfig* msg) { … }
const ::optimization_guide::proto::TextSafetyFallbackConfig&
OnDeviceModelExecutionFeatureConfig::_Internal::text_safety_fallback_config(const OnDeviceModelExecutionFeatureConfig* msg) { … }
const ::optimization_guide::proto::SamplingParams&
OnDeviceModelExecutionFeatureConfig::_Internal::sampling_params(const OnDeviceModelExecutionFeatureConfig* msg) { … }
OnDeviceModelExecutionFeatureConfig::OnDeviceModelExecutionFeatureConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
OnDeviceModelExecutionFeatureConfig::OnDeviceModelExecutionFeatureConfig(const OnDeviceModelExecutionFeatureConfig& from)
: … { … }
inline void OnDeviceModelExecutionFeatureConfig::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
OnDeviceModelExecutionFeatureConfig::~OnDeviceModelExecutionFeatureConfig() { … }
inline void OnDeviceModelExecutionFeatureConfig::SharedDtor() { … }
void OnDeviceModelExecutionFeatureConfig::SetCachedSize(int size) const { … }
void OnDeviceModelExecutionFeatureConfig::Clear() { … }
const char* OnDeviceModelExecutionFeatureConfig::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* OnDeviceModelExecutionFeatureConfig::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t OnDeviceModelExecutionFeatureConfig::ByteSizeLong() const { … }
void OnDeviceModelExecutionFeatureConfig::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void OnDeviceModelExecutionFeatureConfig::MergeFrom(const OnDeviceModelExecutionFeatureConfig& from) { … }
void OnDeviceModelExecutionFeatureConfig::CopyFrom(const OnDeviceModelExecutionFeatureConfig& from) { … }
bool OnDeviceModelExecutionFeatureConfig::IsInitialized() const { … }
void OnDeviceModelExecutionFeatureConfig::InternalSwap(OnDeviceModelExecutionFeatureConfig* other) { … }
std::string OnDeviceModelExecutionFeatureConfig::GetTypeName() const { … }
class OnDeviceModelExecutionInputConfig::_Internal { … };
void OnDeviceModelExecutionInputConfig::clear_input_context_substitutions() { … }
void OnDeviceModelExecutionInputConfig::clear_execute_substitutions() { … }
OnDeviceModelExecutionInputConfig::OnDeviceModelExecutionInputConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
OnDeviceModelExecutionInputConfig::OnDeviceModelExecutionInputConfig(const OnDeviceModelExecutionInputConfig& from)
: … { … }
inline void OnDeviceModelExecutionInputConfig::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
OnDeviceModelExecutionInputConfig::~OnDeviceModelExecutionInputConfig() { … }
inline void OnDeviceModelExecutionInputConfig::SharedDtor() { … }
void OnDeviceModelExecutionInputConfig::SetCachedSize(int size) const { … }
void OnDeviceModelExecutionInputConfig::Clear() { … }
const char* OnDeviceModelExecutionInputConfig::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* OnDeviceModelExecutionInputConfig::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t OnDeviceModelExecutionInputConfig::ByteSizeLong() const { … }
void OnDeviceModelExecutionInputConfig::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void OnDeviceModelExecutionInputConfig::MergeFrom(const OnDeviceModelExecutionInputConfig& from) { … }
void OnDeviceModelExecutionInputConfig::CopyFrom(const OnDeviceModelExecutionInputConfig& from) { … }
bool OnDeviceModelExecutionInputConfig::IsInitialized() const { … }
void OnDeviceModelExecutionInputConfig::InternalSwap(OnDeviceModelExecutionInputConfig* other) { … }
std::string OnDeviceModelExecutionInputConfig::GetTypeName() const { … }
class OnDeviceModelExecutionOutputConfig::_Internal { … };
const ::optimization_guide::proto::ProtoField&
OnDeviceModelExecutionOutputConfig::_Internal::proto_field(const OnDeviceModelExecutionOutputConfig* msg) { … }
const ::optimization_guide::proto::RedactRules&
OnDeviceModelExecutionOutputConfig::_Internal::redact_rules(const OnDeviceModelExecutionOutputConfig* msg) { … }
void OnDeviceModelExecutionOutputConfig::clear_proto_field() { … }
void OnDeviceModelExecutionOutputConfig::clear_redact_rules() { … }
OnDeviceModelExecutionOutputConfig::OnDeviceModelExecutionOutputConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
OnDeviceModelExecutionOutputConfig::OnDeviceModelExecutionOutputConfig(const OnDeviceModelExecutionOutputConfig& from)
: … { … }
inline void OnDeviceModelExecutionOutputConfig::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
OnDeviceModelExecutionOutputConfig::~OnDeviceModelExecutionOutputConfig() { … }
inline void OnDeviceModelExecutionOutputConfig::SharedDtor() { … }
void OnDeviceModelExecutionOutputConfig::SetCachedSize(int size) const { … }
void OnDeviceModelExecutionOutputConfig::Clear() { … }
const char* OnDeviceModelExecutionOutputConfig::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* OnDeviceModelExecutionOutputConfig::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t OnDeviceModelExecutionOutputConfig::ByteSizeLong() const { … }
void OnDeviceModelExecutionOutputConfig::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void OnDeviceModelExecutionOutputConfig::MergeFrom(const OnDeviceModelExecutionOutputConfig& from) { … }
void OnDeviceModelExecutionOutputConfig::CopyFrom(const OnDeviceModelExecutionOutputConfig& from) { … }
bool OnDeviceModelExecutionOutputConfig::IsInitialized() const { … }
void OnDeviceModelExecutionOutputConfig::InternalSwap(OnDeviceModelExecutionOutputConfig* other) { … }
std::string OnDeviceModelExecutionOutputConfig::GetTypeName() const { … }
class TextSafetyFallbackConfig::_Internal { … };
const ::optimization_guide::proto::ProtoField&
TextSafetyFallbackConfig::_Internal::input_url_proto_field(const TextSafetyFallbackConfig* msg) { … }
void TextSafetyFallbackConfig::clear_input_url_proto_field() { … }
TextSafetyFallbackConfig::TextSafetyFallbackConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
TextSafetyFallbackConfig::TextSafetyFallbackConfig(const TextSafetyFallbackConfig& from)
: … { … }
inline void TextSafetyFallbackConfig::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
TextSafetyFallbackConfig::~TextSafetyFallbackConfig() { … }
inline void TextSafetyFallbackConfig::SharedDtor() { … }
void TextSafetyFallbackConfig::SetCachedSize(int size) const { … }
void TextSafetyFallbackConfig::Clear() { … }
const char* TextSafetyFallbackConfig::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* TextSafetyFallbackConfig::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t TextSafetyFallbackConfig::ByteSizeLong() const { … }
void TextSafetyFallbackConfig::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void TextSafetyFallbackConfig::MergeFrom(const TextSafetyFallbackConfig& from) { … }
void TextSafetyFallbackConfig::CopyFrom(const TextSafetyFallbackConfig& from) { … }
bool TextSafetyFallbackConfig::IsInitialized() const { … }
void TextSafetyFallbackConfig::InternalSwap(TextSafetyFallbackConfig* other) { … }
std::string TextSafetyFallbackConfig::GetTypeName() const { … }
class OnDeviceModelValidationConfig::_Internal { … };
OnDeviceModelValidationConfig::OnDeviceModelValidationConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
OnDeviceModelValidationConfig::OnDeviceModelValidationConfig(const OnDeviceModelValidationConfig& from)
: … { … }
inline void OnDeviceModelValidationConfig::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
OnDeviceModelValidationConfig::~OnDeviceModelValidationConfig() { … }
inline void OnDeviceModelValidationConfig::SharedDtor() { … }
void OnDeviceModelValidationConfig::SetCachedSize(int size) const { … }
void OnDeviceModelValidationConfig::Clear() { … }
const char* OnDeviceModelValidationConfig::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* OnDeviceModelValidationConfig::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t OnDeviceModelValidationConfig::ByteSizeLong() const { … }
void OnDeviceModelValidationConfig::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void OnDeviceModelValidationConfig::MergeFrom(const OnDeviceModelValidationConfig& from) { … }
void OnDeviceModelValidationConfig::CopyFrom(const OnDeviceModelValidationConfig& from) { … }
bool OnDeviceModelValidationConfig::IsInitialized() const { … }
void OnDeviceModelValidationConfig::InternalSwap(OnDeviceModelValidationConfig* other) { … }
std::string OnDeviceModelValidationConfig::GetTypeName() const { … }
class ValidationPrompt::_Internal { … };
ValidationPrompt::ValidationPrompt(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
ValidationPrompt::ValidationPrompt(const ValidationPrompt& from)
: … { … }
inline void ValidationPrompt::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
ValidationPrompt::~ValidationPrompt() { … }
inline void ValidationPrompt::SharedDtor() { … }
void ValidationPrompt::SetCachedSize(int size) const { … }
void ValidationPrompt::Clear() { … }
const char* ValidationPrompt::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* ValidationPrompt::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t ValidationPrompt::ByteSizeLong() const { … }
void ValidationPrompt::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void ValidationPrompt::MergeFrom(const ValidationPrompt& from) { … }
void ValidationPrompt::CopyFrom(const ValidationPrompt& from) { … }
bool ValidationPrompt::IsInitialized() const { … }
void ValidationPrompt::InternalSwap(ValidationPrompt* other) { … }
std::string ValidationPrompt::GetTypeName() const { … }
class SamplingParams::_Internal { … };
SamplingParams::SamplingParams(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
SamplingParams::SamplingParams(const SamplingParams& from)
: … { … }
inline void SamplingParams::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
SamplingParams::~SamplingParams() { … }
inline void SamplingParams::SharedDtor() { … }
void SamplingParams::SetCachedSize(int size) const { … }
void SamplingParams::Clear() { … }
const char* SamplingParams::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* SamplingParams::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t SamplingParams::ByteSizeLong() const { … }
void SamplingParams::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void SamplingParams::MergeFrom(const SamplingParams& from) { … }
void SamplingParams::CopyFrom(const SamplingParams& from) { … }
bool SamplingParams::IsInitialized() const { … }
void SamplingParams::InternalSwap(SamplingParams* other) { … }
std::string SamplingParams::GetTypeName() const { … }
}
}
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::OnDeviceModelExecutionConfig*
Arena::CreateMaybeMessage< ::optimization_guide::proto::OnDeviceModelExecutionConfig >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig*
Arena::CreateMaybeMessage< ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::OnDeviceModelExecutionInputConfig*
Arena::CreateMaybeMessage< ::optimization_guide::proto::OnDeviceModelExecutionInputConfig >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig*
Arena::CreateMaybeMessage< ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::TextSafetyFallbackConfig*
Arena::CreateMaybeMessage< ::optimization_guide::proto::TextSafetyFallbackConfig >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::OnDeviceModelValidationConfig*
Arena::CreateMaybeMessage< ::optimization_guide::proto::OnDeviceModelValidationConfig >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::ValidationPrompt*
Arena::CreateMaybeMessage< ::optimization_guide::proto::ValidationPrompt >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::SamplingParams*
Arena::CreateMaybeMessage< ::optimization_guide::proto::SamplingParams >(Arena* arena) { … }
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>