#ifndef GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fon_5fdevice_5fmodel_5fexecution_5fconfig_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fon_5fdevice_5fmodel_5fexecution_5fconfig_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#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 3021012 < 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_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include "components/optimization_guide/proto/descriptors.pb.h"
#include "components/optimization_guide/proto/redaction.pb.h"
#include "components/optimization_guide/proto/substitution.pb.h"
#include "components/optimization_guide/proto/model_execution.pb.h"
#include "components/optimization_guide/proto/parser_kind.pb.h"
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_components_2foptimization_5fguide_2fproto_2fon_5fdevice_5fmodel_5fexecution_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_components_2foptimization_5fguide_2fproto_2fon_5fdevice_5fmodel_5fexecution_5fconfig_2eproto { … };
namespace optimization_guide {
namespace proto {
class OnDeviceModelExecutionConfig;
struct OnDeviceModelExecutionConfigDefaultTypeInternal;
extern OnDeviceModelExecutionConfigDefaultTypeInternal _OnDeviceModelExecutionConfig_default_instance_;
class OnDeviceModelExecutionFeatureConfig;
struct OnDeviceModelExecutionFeatureConfigDefaultTypeInternal;
extern OnDeviceModelExecutionFeatureConfigDefaultTypeInternal _OnDeviceModelExecutionFeatureConfig_default_instance_;
class OnDeviceModelExecutionInputConfig;
struct OnDeviceModelExecutionInputConfigDefaultTypeInternal;
extern OnDeviceModelExecutionInputConfigDefaultTypeInternal _OnDeviceModelExecutionInputConfig_default_instance_;
class OnDeviceModelExecutionOutputConfig;
struct OnDeviceModelExecutionOutputConfigDefaultTypeInternal;
extern OnDeviceModelExecutionOutputConfigDefaultTypeInternal _OnDeviceModelExecutionOutputConfig_default_instance_;
class OnDeviceModelValidationConfig;
struct OnDeviceModelValidationConfigDefaultTypeInternal;
extern OnDeviceModelValidationConfigDefaultTypeInternal _OnDeviceModelValidationConfig_default_instance_;
class SamplingParams;
struct SamplingParamsDefaultTypeInternal;
extern SamplingParamsDefaultTypeInternal _SamplingParams_default_instance_;
class TextSafetyFallbackConfig;
struct TextSafetyFallbackConfigDefaultTypeInternal;
extern TextSafetyFallbackConfigDefaultTypeInternal _TextSafetyFallbackConfig_default_instance_;
class ValidationPrompt;
struct ValidationPromptDefaultTypeInternal;
extern ValidationPromptDefaultTypeInternal _ValidationPrompt_default_instance_;
}
}
PROTOBUF_NAMESPACE_OPEN
template<> ::optimization_guide::proto::OnDeviceModelExecutionConfig* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelExecutionConfig>(Arena*);
template<> ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig>(Arena*);
template<> ::optimization_guide::proto::OnDeviceModelExecutionInputConfig* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelExecutionInputConfig>(Arena*);
template<> ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelExecutionOutputConfig>(Arena*);
template<> ::optimization_guide::proto::OnDeviceModelValidationConfig* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelValidationConfig>(Arena*);
template<> ::optimization_guide::proto::SamplingParams* Arena::CreateMaybeMessage<::optimization_guide::proto::SamplingParams>(Arena*);
template<> ::optimization_guide::proto::TextSafetyFallbackConfig* Arena::CreateMaybeMessage<::optimization_guide::proto::TextSafetyFallbackConfig>(Arena*);
template<> ::optimization_guide::proto::ValidationPrompt* Arena::CreateMaybeMessage<::optimization_guide::proto::ValidationPrompt>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace optimization_guide {
namespace proto {
class OnDeviceModelExecutionConfig final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceModelExecutionFeatureConfig final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceModelExecutionInputConfig final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceModelExecutionOutputConfig final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TextSafetyFallbackConfig final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceModelValidationConfig final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class ValidationPrompt final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class SamplingParams final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline int OnDeviceModelExecutionConfig::_internal_feature_configs_size() const { … }
inline int OnDeviceModelExecutionConfig::feature_configs_size() const { … }
inline void OnDeviceModelExecutionConfig::clear_feature_configs() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig* OnDeviceModelExecutionConfig::mutable_feature_configs(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig >*
OnDeviceModelExecutionConfig::mutable_feature_configs() { … }
inline const ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig& OnDeviceModelExecutionConfig::_internal_feature_configs(int index) const { … }
inline const ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig& OnDeviceModelExecutionConfig::feature_configs(int index) const { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig* OnDeviceModelExecutionConfig::_internal_add_feature_configs() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig* OnDeviceModelExecutionConfig::add_feature_configs() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::OnDeviceModelExecutionFeatureConfig >&
OnDeviceModelExecutionConfig::feature_configs() const { … }
inline bool OnDeviceModelExecutionConfig::_internal_has_validation_config() const { … }
inline bool OnDeviceModelExecutionConfig::has_validation_config() const { … }
inline void OnDeviceModelExecutionConfig::clear_validation_config() { … }
inline const ::optimization_guide::proto::OnDeviceModelValidationConfig& OnDeviceModelExecutionConfig::_internal_validation_config() const { … }
inline const ::optimization_guide::proto::OnDeviceModelValidationConfig& OnDeviceModelExecutionConfig::validation_config() const { … }
inline void OnDeviceModelExecutionConfig::unsafe_arena_set_allocated_validation_config(
::optimization_guide::proto::OnDeviceModelValidationConfig* validation_config) { … }
inline ::optimization_guide::proto::OnDeviceModelValidationConfig* OnDeviceModelExecutionConfig::release_validation_config() { … }
inline ::optimization_guide::proto::OnDeviceModelValidationConfig* OnDeviceModelExecutionConfig::unsafe_arena_release_validation_config() { … }
inline ::optimization_guide::proto::OnDeviceModelValidationConfig* OnDeviceModelExecutionConfig::_internal_mutable_validation_config() { … }
inline ::optimization_guide::proto::OnDeviceModelValidationConfig* OnDeviceModelExecutionConfig::mutable_validation_config() { … }
inline void OnDeviceModelExecutionConfig::set_allocated_validation_config(::optimization_guide::proto::OnDeviceModelValidationConfig* validation_config) { … }
inline bool OnDeviceModelExecutionFeatureConfig::_internal_has_feature() const { … }
inline bool OnDeviceModelExecutionFeatureConfig::has_feature() const { … }
inline void OnDeviceModelExecutionFeatureConfig::clear_feature() { … }
inline ::optimization_guide::proto::ModelExecutionFeature OnDeviceModelExecutionFeatureConfig::_internal_feature() const { … }
inline ::optimization_guide::proto::ModelExecutionFeature OnDeviceModelExecutionFeatureConfig::feature() const { … }
inline void OnDeviceModelExecutionFeatureConfig::_internal_set_feature(::optimization_guide::proto::ModelExecutionFeature value) { … }
inline void OnDeviceModelExecutionFeatureConfig::set_feature(::optimization_guide::proto::ModelExecutionFeature value) { … }
inline bool OnDeviceModelExecutionFeatureConfig::_internal_has_input_config() const { … }
inline bool OnDeviceModelExecutionFeatureConfig::has_input_config() const { … }
inline void OnDeviceModelExecutionFeatureConfig::clear_input_config() { … }
inline const ::optimization_guide::proto::OnDeviceModelExecutionInputConfig& OnDeviceModelExecutionFeatureConfig::_internal_input_config() const { … }
inline const ::optimization_guide::proto::OnDeviceModelExecutionInputConfig& OnDeviceModelExecutionFeatureConfig::input_config() const { … }
inline void OnDeviceModelExecutionFeatureConfig::unsafe_arena_set_allocated_input_config(
::optimization_guide::proto::OnDeviceModelExecutionInputConfig* input_config) { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionInputConfig* OnDeviceModelExecutionFeatureConfig::release_input_config() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionInputConfig* OnDeviceModelExecutionFeatureConfig::unsafe_arena_release_input_config() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionInputConfig* OnDeviceModelExecutionFeatureConfig::_internal_mutable_input_config() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionInputConfig* OnDeviceModelExecutionFeatureConfig::mutable_input_config() { … }
inline void OnDeviceModelExecutionFeatureConfig::set_allocated_input_config(::optimization_guide::proto::OnDeviceModelExecutionInputConfig* input_config) { … }
inline bool OnDeviceModelExecutionFeatureConfig::_internal_has_output_config() const { … }
inline bool OnDeviceModelExecutionFeatureConfig::has_output_config() const { … }
inline void OnDeviceModelExecutionFeatureConfig::clear_output_config() { … }
inline const ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig& OnDeviceModelExecutionFeatureConfig::_internal_output_config() const { … }
inline const ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig& OnDeviceModelExecutionFeatureConfig::output_config() const { … }
inline void OnDeviceModelExecutionFeatureConfig::unsafe_arena_set_allocated_output_config(
::optimization_guide::proto::OnDeviceModelExecutionOutputConfig* output_config) { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig* OnDeviceModelExecutionFeatureConfig::release_output_config() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig* OnDeviceModelExecutionFeatureConfig::unsafe_arena_release_output_config() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig* OnDeviceModelExecutionFeatureConfig::_internal_mutable_output_config() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionOutputConfig* OnDeviceModelExecutionFeatureConfig::mutable_output_config() { … }
inline void OnDeviceModelExecutionFeatureConfig::set_allocated_output_config(::optimization_guide::proto::OnDeviceModelExecutionOutputConfig* output_config) { … }
inline bool OnDeviceModelExecutionFeatureConfig::_internal_has_text_safety_fallback_config() const { … }
inline bool OnDeviceModelExecutionFeatureConfig::has_text_safety_fallback_config() const { … }
inline void OnDeviceModelExecutionFeatureConfig::clear_text_safety_fallback_config() { … }
inline const ::optimization_guide::proto::TextSafetyFallbackConfig& OnDeviceModelExecutionFeatureConfig::_internal_text_safety_fallback_config() const { … }
inline const ::optimization_guide::proto::TextSafetyFallbackConfig& OnDeviceModelExecutionFeatureConfig::text_safety_fallback_config() const { … }
inline void OnDeviceModelExecutionFeatureConfig::unsafe_arena_set_allocated_text_safety_fallback_config(
::optimization_guide::proto::TextSafetyFallbackConfig* text_safety_fallback_config) { … }
inline ::optimization_guide::proto::TextSafetyFallbackConfig* OnDeviceModelExecutionFeatureConfig::release_text_safety_fallback_config() { … }
inline ::optimization_guide::proto::TextSafetyFallbackConfig* OnDeviceModelExecutionFeatureConfig::unsafe_arena_release_text_safety_fallback_config() { … }
inline ::optimization_guide::proto::TextSafetyFallbackConfig* OnDeviceModelExecutionFeatureConfig::_internal_mutable_text_safety_fallback_config() { … }
inline ::optimization_guide::proto::TextSafetyFallbackConfig* OnDeviceModelExecutionFeatureConfig::mutable_text_safety_fallback_config() { … }
inline void OnDeviceModelExecutionFeatureConfig::set_allocated_text_safety_fallback_config(::optimization_guide::proto::TextSafetyFallbackConfig* text_safety_fallback_config) { … }
inline bool OnDeviceModelExecutionFeatureConfig::_internal_has_can_skip_text_safety() const { … }
inline bool OnDeviceModelExecutionFeatureConfig::has_can_skip_text_safety() const { … }
inline void OnDeviceModelExecutionFeatureConfig::clear_can_skip_text_safety() { … }
inline bool OnDeviceModelExecutionFeatureConfig::_internal_can_skip_text_safety() const { … }
inline bool OnDeviceModelExecutionFeatureConfig::can_skip_text_safety() const { … }
inline void OnDeviceModelExecutionFeatureConfig::_internal_set_can_skip_text_safety(bool value) { … }
inline void OnDeviceModelExecutionFeatureConfig::set_can_skip_text_safety(bool value) { … }
inline bool OnDeviceModelExecutionFeatureConfig::_internal_has_sampling_params() const { … }
inline bool OnDeviceModelExecutionFeatureConfig::has_sampling_params() const { … }
inline void OnDeviceModelExecutionFeatureConfig::clear_sampling_params() { … }
inline const ::optimization_guide::proto::SamplingParams& OnDeviceModelExecutionFeatureConfig::_internal_sampling_params() const { … }
inline const ::optimization_guide::proto::SamplingParams& OnDeviceModelExecutionFeatureConfig::sampling_params() const { … }
inline void OnDeviceModelExecutionFeatureConfig::unsafe_arena_set_allocated_sampling_params(
::optimization_guide::proto::SamplingParams* sampling_params) { … }
inline ::optimization_guide::proto::SamplingParams* OnDeviceModelExecutionFeatureConfig::release_sampling_params() { … }
inline ::optimization_guide::proto::SamplingParams* OnDeviceModelExecutionFeatureConfig::unsafe_arena_release_sampling_params() { … }
inline ::optimization_guide::proto::SamplingParams* OnDeviceModelExecutionFeatureConfig::_internal_mutable_sampling_params() { … }
inline ::optimization_guide::proto::SamplingParams* OnDeviceModelExecutionFeatureConfig::mutable_sampling_params() { … }
inline void OnDeviceModelExecutionFeatureConfig::set_allocated_sampling_params(::optimization_guide::proto::SamplingParams* sampling_params) { … }
inline bool OnDeviceModelExecutionInputConfig::_internal_has_request_base_name() const { … }
inline bool OnDeviceModelExecutionInputConfig::has_request_base_name() const { … }
inline void OnDeviceModelExecutionInputConfig::clear_request_base_name() { … }
inline const std::string& OnDeviceModelExecutionInputConfig::request_base_name() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void OnDeviceModelExecutionInputConfig::set_request_base_name(ArgT0&& arg0, ArgT... args) { … }
inline std::string* OnDeviceModelExecutionInputConfig::mutable_request_base_name() { … }
inline const std::string& OnDeviceModelExecutionInputConfig::_internal_request_base_name() const { … }
inline void OnDeviceModelExecutionInputConfig::_internal_set_request_base_name(const std::string& value) { … }
inline std::string* OnDeviceModelExecutionInputConfig::_internal_mutable_request_base_name() { … }
inline std::string* OnDeviceModelExecutionInputConfig::release_request_base_name() { … }
inline void OnDeviceModelExecutionInputConfig::set_allocated_request_base_name(std::string* request_base_name) { … }
inline int OnDeviceModelExecutionInputConfig::_internal_input_context_substitutions_size() const { … }
inline int OnDeviceModelExecutionInputConfig::input_context_substitutions_size() const { … }
inline ::optimization_guide::proto::SubstitutedString* OnDeviceModelExecutionInputConfig::mutable_input_context_substitutions(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::SubstitutedString >*
OnDeviceModelExecutionInputConfig::mutable_input_context_substitutions() { … }
inline const ::optimization_guide::proto::SubstitutedString& OnDeviceModelExecutionInputConfig::_internal_input_context_substitutions(int index) const { … }
inline const ::optimization_guide::proto::SubstitutedString& OnDeviceModelExecutionInputConfig::input_context_substitutions(int index) const { … }
inline ::optimization_guide::proto::SubstitutedString* OnDeviceModelExecutionInputConfig::_internal_add_input_context_substitutions() { … }
inline ::optimization_guide::proto::SubstitutedString* OnDeviceModelExecutionInputConfig::add_input_context_substitutions() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::SubstitutedString >&
OnDeviceModelExecutionInputConfig::input_context_substitutions() const { … }
inline int OnDeviceModelExecutionInputConfig::_internal_execute_substitutions_size() const { … }
inline int OnDeviceModelExecutionInputConfig::execute_substitutions_size() const { … }
inline ::optimization_guide::proto::SubstitutedString* OnDeviceModelExecutionInputConfig::mutable_execute_substitutions(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::SubstitutedString >*
OnDeviceModelExecutionInputConfig::mutable_execute_substitutions() { … }
inline const ::optimization_guide::proto::SubstitutedString& OnDeviceModelExecutionInputConfig::_internal_execute_substitutions(int index) const { … }
inline const ::optimization_guide::proto::SubstitutedString& OnDeviceModelExecutionInputConfig::execute_substitutions(int index) const { … }
inline ::optimization_guide::proto::SubstitutedString* OnDeviceModelExecutionInputConfig::_internal_add_execute_substitutions() { … }
inline ::optimization_guide::proto::SubstitutedString* OnDeviceModelExecutionInputConfig::add_execute_substitutions() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::SubstitutedString >&
OnDeviceModelExecutionInputConfig::execute_substitutions() const { … }
inline bool OnDeviceModelExecutionOutputConfig::_internal_has_proto_type() const { … }
inline bool OnDeviceModelExecutionOutputConfig::has_proto_type() const { … }
inline void OnDeviceModelExecutionOutputConfig::clear_proto_type() { … }
inline const std::string& OnDeviceModelExecutionOutputConfig::proto_type() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void OnDeviceModelExecutionOutputConfig::set_proto_type(ArgT0&& arg0, ArgT... args) { … }
inline std::string* OnDeviceModelExecutionOutputConfig::mutable_proto_type() { … }
inline const std::string& OnDeviceModelExecutionOutputConfig::_internal_proto_type() const { … }
inline void OnDeviceModelExecutionOutputConfig::_internal_set_proto_type(const std::string& value) { … }
inline std::string* OnDeviceModelExecutionOutputConfig::_internal_mutable_proto_type() { … }
inline std::string* OnDeviceModelExecutionOutputConfig::release_proto_type() { … }
inline void OnDeviceModelExecutionOutputConfig::set_allocated_proto_type(std::string* proto_type) { … }
inline bool OnDeviceModelExecutionOutputConfig::_internal_has_proto_field() const { … }
inline bool OnDeviceModelExecutionOutputConfig::has_proto_field() const { … }
inline const ::optimization_guide::proto::ProtoField& OnDeviceModelExecutionOutputConfig::_internal_proto_field() const { … }
inline const ::optimization_guide::proto::ProtoField& OnDeviceModelExecutionOutputConfig::proto_field() const { … }
inline void OnDeviceModelExecutionOutputConfig::unsafe_arena_set_allocated_proto_field(
::optimization_guide::proto::ProtoField* proto_field) { … }
inline ::optimization_guide::proto::ProtoField* OnDeviceModelExecutionOutputConfig::release_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* OnDeviceModelExecutionOutputConfig::unsafe_arena_release_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* OnDeviceModelExecutionOutputConfig::_internal_mutable_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* OnDeviceModelExecutionOutputConfig::mutable_proto_field() { … }
inline void OnDeviceModelExecutionOutputConfig::set_allocated_proto_field(::optimization_guide::proto::ProtoField* proto_field) { … }
inline bool OnDeviceModelExecutionOutputConfig::_internal_has_redact_rules() const { … }
inline bool OnDeviceModelExecutionOutputConfig::has_redact_rules() const { … }
inline const ::optimization_guide::proto::RedactRules& OnDeviceModelExecutionOutputConfig::_internal_redact_rules() const { … }
inline const ::optimization_guide::proto::RedactRules& OnDeviceModelExecutionOutputConfig::redact_rules() const { … }
inline void OnDeviceModelExecutionOutputConfig::unsafe_arena_set_allocated_redact_rules(
::optimization_guide::proto::RedactRules* redact_rules) { … }
inline ::optimization_guide::proto::RedactRules* OnDeviceModelExecutionOutputConfig::release_redact_rules() { … }
inline ::optimization_guide::proto::RedactRules* OnDeviceModelExecutionOutputConfig::unsafe_arena_release_redact_rules() { … }
inline ::optimization_guide::proto::RedactRules* OnDeviceModelExecutionOutputConfig::_internal_mutable_redact_rules() { … }
inline ::optimization_guide::proto::RedactRules* OnDeviceModelExecutionOutputConfig::mutable_redact_rules() { … }
inline void OnDeviceModelExecutionOutputConfig::set_allocated_redact_rules(::optimization_guide::proto::RedactRules* redact_rules) { … }
inline bool OnDeviceModelExecutionOutputConfig::_internal_has_parser_kind() const { … }
inline bool OnDeviceModelExecutionOutputConfig::has_parser_kind() const { … }
inline void OnDeviceModelExecutionOutputConfig::clear_parser_kind() { … }
inline ::optimization_guide::proto::ParserKind OnDeviceModelExecutionOutputConfig::_internal_parser_kind() const { … }
inline ::optimization_guide::proto::ParserKind OnDeviceModelExecutionOutputConfig::parser_kind() const { … }
inline void OnDeviceModelExecutionOutputConfig::_internal_set_parser_kind(::optimization_guide::proto::ParserKind value) { … }
inline void OnDeviceModelExecutionOutputConfig::set_parser_kind(::optimization_guide::proto::ParserKind value) { … }
inline bool TextSafetyFallbackConfig::_internal_has_input_url_proto_field() const { … }
inline bool TextSafetyFallbackConfig::has_input_url_proto_field() const { … }
inline const ::optimization_guide::proto::ProtoField& TextSafetyFallbackConfig::_internal_input_url_proto_field() const { … }
inline const ::optimization_guide::proto::ProtoField& TextSafetyFallbackConfig::input_url_proto_field() const { … }
inline void TextSafetyFallbackConfig::unsafe_arena_set_allocated_input_url_proto_field(
::optimization_guide::proto::ProtoField* input_url_proto_field) { … }
inline ::optimization_guide::proto::ProtoField* TextSafetyFallbackConfig::release_input_url_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* TextSafetyFallbackConfig::unsafe_arena_release_input_url_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* TextSafetyFallbackConfig::_internal_mutable_input_url_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* TextSafetyFallbackConfig::mutable_input_url_proto_field() { … }
inline void TextSafetyFallbackConfig::set_allocated_input_url_proto_field(::optimization_guide::proto::ProtoField* input_url_proto_field) { … }
inline int OnDeviceModelValidationConfig::_internal_validation_prompts_size() const { … }
inline int OnDeviceModelValidationConfig::validation_prompts_size() const { … }
inline void OnDeviceModelValidationConfig::clear_validation_prompts() { … }
inline ::optimization_guide::proto::ValidationPrompt* OnDeviceModelValidationConfig::mutable_validation_prompts(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::ValidationPrompt >*
OnDeviceModelValidationConfig::mutable_validation_prompts() { … }
inline const ::optimization_guide::proto::ValidationPrompt& OnDeviceModelValidationConfig::_internal_validation_prompts(int index) const { … }
inline const ::optimization_guide::proto::ValidationPrompt& OnDeviceModelValidationConfig::validation_prompts(int index) const { … }
inline ::optimization_guide::proto::ValidationPrompt* OnDeviceModelValidationConfig::_internal_add_validation_prompts() { … }
inline ::optimization_guide::proto::ValidationPrompt* OnDeviceModelValidationConfig::add_validation_prompts() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::ValidationPrompt >&
OnDeviceModelValidationConfig::validation_prompts() const { … }
inline bool ValidationPrompt::_internal_has_prompt() const { … }
inline bool ValidationPrompt::has_prompt() const { … }
inline void ValidationPrompt::clear_prompt() { … }
inline const std::string& ValidationPrompt::prompt() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ValidationPrompt::set_prompt(ArgT0&& arg0, ArgT... args) { … }
inline std::string* ValidationPrompt::mutable_prompt() { … }
inline const std::string& ValidationPrompt::_internal_prompt() const { … }
inline void ValidationPrompt::_internal_set_prompt(const std::string& value) { … }
inline std::string* ValidationPrompt::_internal_mutable_prompt() { … }
inline std::string* ValidationPrompt::release_prompt() { … }
inline void ValidationPrompt::set_allocated_prompt(std::string* prompt) { … }
inline bool ValidationPrompt::_internal_has_expected_output() const { … }
inline bool ValidationPrompt::has_expected_output() const { … }
inline void ValidationPrompt::clear_expected_output() { … }
inline const std::string& ValidationPrompt::expected_output() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ValidationPrompt::set_expected_output(ArgT0&& arg0, ArgT... args) { … }
inline std::string* ValidationPrompt::mutable_expected_output() { … }
inline const std::string& ValidationPrompt::_internal_expected_output() const { … }
inline void ValidationPrompt::_internal_set_expected_output(const std::string& value) { … }
inline std::string* ValidationPrompt::_internal_mutable_expected_output() { … }
inline std::string* ValidationPrompt::release_expected_output() { … }
inline void ValidationPrompt::set_allocated_expected_output(std::string* expected_output) { … }
inline bool SamplingParams::_internal_has_top_k() const { … }
inline bool SamplingParams::has_top_k() const { … }
inline void SamplingParams::clear_top_k() { … }
inline uint32_t SamplingParams::_internal_top_k() const { … }
inline uint32_t SamplingParams::top_k() const { … }
inline void SamplingParams::_internal_set_top_k(uint32_t value) { … }
inline void SamplingParams::set_top_k(uint32_t value) { … }
inline bool SamplingParams::_internal_has_temperature() const { … }
inline bool SamplingParams::has_temperature() const { … }
inline void SamplingParams::clear_temperature() { … }
inline float SamplingParams::_internal_temperature() const { … }
inline float SamplingParams::temperature() const { … }
inline void SamplingParams::_internal_set_temperature(float value) { … }
inline void SamplingParams::set_temperature(float value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
}
#include <google/protobuf/port_undef.inc>
#endif