#ifndef GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fmodel_5fquality_5fmetadata_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fmodel_5fquality_5fmetadata_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 <google/protobuf/generated_enum_util.h>
#include "components/optimization_guide/proto/model_execution.pb.h"
#include "components/optimization_guide/proto/on_device_base_model_metadata.pb.h"
#include "third_party/metrics_proto/system_profile.pb.h"
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_components_2foptimization_5fguide_2fproto_2fmodel_5fquality_5fmetadata_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_components_2foptimization_5fguide_2fproto_2fmodel_5fquality_5fmetadata_2eproto { … };
namespace optimization_guide {
namespace proto {
class InternalOnDeviceModelExecutionInfo;
struct InternalOnDeviceModelExecutionInfoDefaultTypeInternal;
extern InternalOnDeviceModelExecutionInfoDefaultTypeInternal _InternalOnDeviceModelExecutionInfo_default_instance_;
class InternalOnDeviceRequest;
struct InternalOnDeviceRequestDefaultTypeInternal;
extern InternalOnDeviceRequestDefaultTypeInternal _InternalOnDeviceRequest_default_instance_;
class InternalOnDeviceResponse;
struct InternalOnDeviceResponseDefaultTypeInternal;
extern InternalOnDeviceResponseDefaultTypeInternal _InternalOnDeviceResponse_default_instance_;
class LoggingMetadata;
struct LoggingMetadataDefaultTypeInternal;
extern LoggingMetadataDefaultTypeInternal _LoggingMetadata_default_instance_;
class ModelExecutionInfo;
struct ModelExecutionInfoDefaultTypeInternal;
extern ModelExecutionInfoDefaultTypeInternal _ModelExecutionInfo_default_instance_;
class OnDeviceModelExecutionInfo;
struct OnDeviceModelExecutionInfoDefaultTypeInternal;
extern OnDeviceModelExecutionInfoDefaultTypeInternal _OnDeviceModelExecutionInfo_default_instance_;
class OnDeviceModelServiceRequest;
struct OnDeviceModelServiceRequestDefaultTypeInternal;
extern OnDeviceModelServiceRequestDefaultTypeInternal _OnDeviceModelServiceRequest_default_instance_;
class OnDeviceModelServiceResponse;
struct OnDeviceModelServiceResponseDefaultTypeInternal;
extern OnDeviceModelServiceResponseDefaultTypeInternal _OnDeviceModelServiceResponse_default_instance_;
class OnDeviceModelServiceVersion;
struct OnDeviceModelServiceVersionDefaultTypeInternal;
extern OnDeviceModelServiceVersionDefaultTypeInternal _OnDeviceModelServiceVersion_default_instance_;
class OnDeviceModelVersions;
struct OnDeviceModelVersionsDefaultTypeInternal;
extern OnDeviceModelVersionsDefaultTypeInternal _OnDeviceModelVersions_default_instance_;
class OnDeviceSystemProfile;
struct OnDeviceSystemProfileDefaultTypeInternal;
extern OnDeviceSystemProfileDefaultTypeInternal _OnDeviceSystemProfile_default_instance_;
class TextSafetyModelRequest;
struct TextSafetyModelRequestDefaultTypeInternal;
extern TextSafetyModelRequestDefaultTypeInternal _TextSafetyModelRequest_default_instance_;
class TextSafetyModelResponse;
struct TextSafetyModelResponseDefaultTypeInternal;
extern TextSafetyModelResponseDefaultTypeInternal _TextSafetyModelResponse_default_instance_;
}
}
PROTOBUF_NAMESPACE_OPEN
template<> ::optimization_guide::proto::InternalOnDeviceModelExecutionInfo* Arena::CreateMaybeMessage<::optimization_guide::proto::InternalOnDeviceModelExecutionInfo>(Arena*);
template<> ::optimization_guide::proto::InternalOnDeviceRequest* Arena::CreateMaybeMessage<::optimization_guide::proto::InternalOnDeviceRequest>(Arena*);
template<> ::optimization_guide::proto::InternalOnDeviceResponse* Arena::CreateMaybeMessage<::optimization_guide::proto::InternalOnDeviceResponse>(Arena*);
template<> ::optimization_guide::proto::LoggingMetadata* Arena::CreateMaybeMessage<::optimization_guide::proto::LoggingMetadata>(Arena*);
template<> ::optimization_guide::proto::ModelExecutionInfo* Arena::CreateMaybeMessage<::optimization_guide::proto::ModelExecutionInfo>(Arena*);
template<> ::optimization_guide::proto::OnDeviceModelExecutionInfo* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelExecutionInfo>(Arena*);
template<> ::optimization_guide::proto::OnDeviceModelServiceRequest* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelServiceRequest>(Arena*);
template<> ::optimization_guide::proto::OnDeviceModelServiceResponse* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelServiceResponse>(Arena*);
template<> ::optimization_guide::proto::OnDeviceModelServiceVersion* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelServiceVersion>(Arena*);
template<> ::optimization_guide::proto::OnDeviceModelVersions* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceModelVersions>(Arena*);
template<> ::optimization_guide::proto::OnDeviceSystemProfile* Arena::CreateMaybeMessage<::optimization_guide::proto::OnDeviceSystemProfile>(Arena*);
template<> ::optimization_guide::proto::TextSafetyModelRequest* Arena::CreateMaybeMessage<::optimization_guide::proto::TextSafetyModelRequest>(Arena*);
template<> ::optimization_guide::proto::TextSafetyModelResponse* Arena::CreateMaybeMessage<::optimization_guide::proto::TextSafetyModelResponse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace optimization_guide {
namespace proto {
enum PerformanceClass : int { … };
bool PerformanceClass_IsValid(int value);
constexpr PerformanceClass PerformanceClass_MIN = …;
constexpr PerformanceClass PerformanceClass_MAX = …;
constexpr int PerformanceClass_ARRAYSIZE = …;
const std::string& PerformanceClass_Name(PerformanceClass value);
template<typename T>
inline const std::string& PerformanceClass_Name(T enum_t_value) { … }
bool PerformanceClass_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PerformanceClass* value);
enum OnDeviceModelServiceResponseStatus : int { … };
bool OnDeviceModelServiceResponseStatus_IsValid(int value);
constexpr OnDeviceModelServiceResponseStatus OnDeviceModelServiceResponseStatus_MIN = …;
constexpr OnDeviceModelServiceResponseStatus OnDeviceModelServiceResponseStatus_MAX = …;
constexpr int OnDeviceModelServiceResponseStatus_ARRAYSIZE = …;
const std::string& OnDeviceModelServiceResponseStatus_Name(OnDeviceModelServiceResponseStatus value);
template<typename T>
inline const std::string& OnDeviceModelServiceResponseStatus_Name(T enum_t_value) { … }
bool OnDeviceModelServiceResponseStatus_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OnDeviceModelServiceResponseStatus* value);
class LoggingMetadata final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceSystemProfile final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class ModelExecutionInfo final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceModelExecutionInfo final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceModelVersions final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceModelServiceVersion final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class InternalOnDeviceModelExecutionInfo final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class InternalOnDeviceRequest final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class InternalOnDeviceResponse final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceModelServiceRequest final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class OnDeviceModelServiceResponse final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TextSafetyModelRequest final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class TextSafetyModelResponse final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool LoggingMetadata::_internal_has_system_profile() const { … }
inline bool LoggingMetadata::has_system_profile() const { … }
inline const ::metrics::SystemProfileProto& LoggingMetadata::_internal_system_profile() const { … }
inline const ::metrics::SystemProfileProto& LoggingMetadata::system_profile() const { … }
inline void LoggingMetadata::unsafe_arena_set_allocated_system_profile(
::metrics::SystemProfileProto* system_profile) { … }
inline ::metrics::SystemProfileProto* LoggingMetadata::release_system_profile() { … }
inline ::metrics::SystemProfileProto* LoggingMetadata::unsafe_arena_release_system_profile() { … }
inline ::metrics::SystemProfileProto* LoggingMetadata::_internal_mutable_system_profile() { … }
inline ::metrics::SystemProfileProto* LoggingMetadata::mutable_system_profile() { … }
inline void LoggingMetadata::set_allocated_system_profile(::metrics::SystemProfileProto* system_profile) { … }
inline bool LoggingMetadata::_internal_has_on_device_system_profile() const { … }
inline bool LoggingMetadata::has_on_device_system_profile() const { … }
inline void LoggingMetadata::clear_on_device_system_profile() { … }
inline const ::optimization_guide::proto::OnDeviceSystemProfile& LoggingMetadata::_internal_on_device_system_profile() const { … }
inline const ::optimization_guide::proto::OnDeviceSystemProfile& LoggingMetadata::on_device_system_profile() const { … }
inline void LoggingMetadata::unsafe_arena_set_allocated_on_device_system_profile(
::optimization_guide::proto::OnDeviceSystemProfile* on_device_system_profile) { … }
inline ::optimization_guide::proto::OnDeviceSystemProfile* LoggingMetadata::release_on_device_system_profile() { … }
inline ::optimization_guide::proto::OnDeviceSystemProfile* LoggingMetadata::unsafe_arena_release_on_device_system_profile() { … }
inline ::optimization_guide::proto::OnDeviceSystemProfile* LoggingMetadata::_internal_mutable_on_device_system_profile() { … }
inline ::optimization_guide::proto::OnDeviceSystemProfile* LoggingMetadata::mutable_on_device_system_profile() { … }
inline void LoggingMetadata::set_allocated_on_device_system_profile(::optimization_guide::proto::OnDeviceSystemProfile* on_device_system_profile) { … }
inline void LoggingMetadata::clear_client_id() { … }
inline int64_t LoggingMetadata::_internal_client_id() const { … }
inline int64_t LoggingMetadata::client_id() const { … }
inline void LoggingMetadata::_internal_set_client_id(int64_t value) { … }
inline void LoggingMetadata::set_client_id(int64_t value) { … }
inline void LoggingMetadata::clear_is_likely_dogfood_client() { … }
inline bool LoggingMetadata::_internal_is_likely_dogfood_client() const { … }
inline bool LoggingMetadata::is_likely_dogfood_client() const { … }
inline void LoggingMetadata::_internal_set_is_likely_dogfood_client(bool value) { … }
inline void LoggingMetadata::set_is_likely_dogfood_client(bool value) { … }
inline void OnDeviceSystemProfile::clear_performance_class() { … }
inline ::optimization_guide::proto::PerformanceClass OnDeviceSystemProfile::_internal_performance_class() const { … }
inline ::optimization_guide::proto::PerformanceClass OnDeviceSystemProfile::performance_class() const { … }
inline void OnDeviceSystemProfile::_internal_set_performance_class(::optimization_guide::proto::PerformanceClass value) { … }
inline void OnDeviceSystemProfile::set_performance_class(::optimization_guide::proto::PerformanceClass value) { … }
inline bool ModelExecutionInfo::_internal_has_on_device_model_execution_info() const { … }
inline bool ModelExecutionInfo::has_on_device_model_execution_info() const { … }
inline void ModelExecutionInfo::clear_on_device_model_execution_info() { … }
inline const ::optimization_guide::proto::OnDeviceModelExecutionInfo& ModelExecutionInfo::_internal_on_device_model_execution_info() const { … }
inline const ::optimization_guide::proto::OnDeviceModelExecutionInfo& ModelExecutionInfo::on_device_model_execution_info() const { … }
inline void ModelExecutionInfo::unsafe_arena_set_allocated_on_device_model_execution_info(
::optimization_guide::proto::OnDeviceModelExecutionInfo* on_device_model_execution_info) { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionInfo* ModelExecutionInfo::release_on_device_model_execution_info() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionInfo* ModelExecutionInfo::unsafe_arena_release_on_device_model_execution_info() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionInfo* ModelExecutionInfo::_internal_mutable_on_device_model_execution_info() { … }
inline ::optimization_guide::proto::OnDeviceModelExecutionInfo* ModelExecutionInfo::mutable_on_device_model_execution_info() { … }
inline void ModelExecutionInfo::set_allocated_on_device_model_execution_info(::optimization_guide::proto::OnDeviceModelExecutionInfo* on_device_model_execution_info) { … }
inline bool ModelExecutionInfo::_internal_has_error_response() const { … }
inline bool ModelExecutionInfo::has_error_response() const { … }
inline const ::optimization_guide::proto::ErrorResponse& ModelExecutionInfo::_internal_error_response() const { … }
inline const ::optimization_guide::proto::ErrorResponse& ModelExecutionInfo::error_response() const { … }
inline void ModelExecutionInfo::unsafe_arena_set_allocated_error_response(
::optimization_guide::proto::ErrorResponse* error_response) { … }
inline ::optimization_guide::proto::ErrorResponse* ModelExecutionInfo::release_error_response() { … }
inline ::optimization_guide::proto::ErrorResponse* ModelExecutionInfo::unsafe_arena_release_error_response() { … }
inline ::optimization_guide::proto::ErrorResponse* ModelExecutionInfo::_internal_mutable_error_response() { … }
inline ::optimization_guide::proto::ErrorResponse* ModelExecutionInfo::mutable_error_response() { … }
inline void ModelExecutionInfo::set_allocated_error_response(::optimization_guide::proto::ErrorResponse* error_response) { … }
inline void ModelExecutionInfo::clear_model_execution_error_enum() { … }
inline uint32_t ModelExecutionInfo::_internal_model_execution_error_enum() const { … }
inline uint32_t ModelExecutionInfo::model_execution_error_enum() const { … }
inline void ModelExecutionInfo::_internal_set_model_execution_error_enum(uint32_t value) { … }
inline void ModelExecutionInfo::set_model_execution_error_enum(uint32_t value) { … }
inline void ModelExecutionInfo::clear_execution_id() { … }
inline const std::string& ModelExecutionInfo::execution_id() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ModelExecutionInfo::set_execution_id(ArgT0&& arg0, ArgT... args) { … }
inline std::string* ModelExecutionInfo::mutable_execution_id() { … }
inline const std::string& ModelExecutionInfo::_internal_execution_id() const { … }
inline void ModelExecutionInfo::_internal_set_execution_id(const std::string& value) { … }
inline std::string* ModelExecutionInfo::_internal_mutable_execution_id() { … }
inline std::string* ModelExecutionInfo::release_execution_id() { … }
inline void ModelExecutionInfo::set_allocated_execution_id(std::string* execution_id) { … }
inline int OnDeviceModelExecutionInfo::_internal_execution_infos_size() const { … }
inline int OnDeviceModelExecutionInfo::execution_infos_size() const { … }
inline void OnDeviceModelExecutionInfo::clear_execution_infos() { … }
inline ::optimization_guide::proto::InternalOnDeviceModelExecutionInfo* OnDeviceModelExecutionInfo::mutable_execution_infos(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::InternalOnDeviceModelExecutionInfo >*
OnDeviceModelExecutionInfo::mutable_execution_infos() { … }
inline const ::optimization_guide::proto::InternalOnDeviceModelExecutionInfo& OnDeviceModelExecutionInfo::_internal_execution_infos(int index) const { … }
inline const ::optimization_guide::proto::InternalOnDeviceModelExecutionInfo& OnDeviceModelExecutionInfo::execution_infos(int index) const { … }
inline ::optimization_guide::proto::InternalOnDeviceModelExecutionInfo* OnDeviceModelExecutionInfo::_internal_add_execution_infos() { … }
inline ::optimization_guide::proto::InternalOnDeviceModelExecutionInfo* OnDeviceModelExecutionInfo::add_execution_infos() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::InternalOnDeviceModelExecutionInfo >&
OnDeviceModelExecutionInfo::execution_infos() const { … }
inline bool OnDeviceModelExecutionInfo::_internal_has_model_versions() const { … }
inline bool OnDeviceModelExecutionInfo::has_model_versions() const { … }
inline void OnDeviceModelExecutionInfo::clear_model_versions() { … }
inline const ::optimization_guide::proto::OnDeviceModelVersions& OnDeviceModelExecutionInfo::_internal_model_versions() const { … }
inline const ::optimization_guide::proto::OnDeviceModelVersions& OnDeviceModelExecutionInfo::model_versions() const { … }
inline void OnDeviceModelExecutionInfo::unsafe_arena_set_allocated_model_versions(
::optimization_guide::proto::OnDeviceModelVersions* model_versions) { … }
inline ::optimization_guide::proto::OnDeviceModelVersions* OnDeviceModelExecutionInfo::release_model_versions() { … }
inline ::optimization_guide::proto::OnDeviceModelVersions* OnDeviceModelExecutionInfo::unsafe_arena_release_model_versions() { … }
inline ::optimization_guide::proto::OnDeviceModelVersions* OnDeviceModelExecutionInfo::_internal_mutable_model_versions() { … }
inline ::optimization_guide::proto::OnDeviceModelVersions* OnDeviceModelExecutionInfo::mutable_model_versions() { … }
inline void OnDeviceModelExecutionInfo::set_allocated_model_versions(::optimization_guide::proto::OnDeviceModelVersions* model_versions) { … }
inline bool OnDeviceModelVersions::_internal_has_on_device_model_service_version() const { … }
inline bool OnDeviceModelVersions::has_on_device_model_service_version() const { … }
inline void OnDeviceModelVersions::clear_on_device_model_service_version() { … }
inline const ::optimization_guide::proto::OnDeviceModelServiceVersion& OnDeviceModelVersions::_internal_on_device_model_service_version() const { … }
inline const ::optimization_guide::proto::OnDeviceModelServiceVersion& OnDeviceModelVersions::on_device_model_service_version() const { … }
inline void OnDeviceModelVersions::unsafe_arena_set_allocated_on_device_model_service_version(
::optimization_guide::proto::OnDeviceModelServiceVersion* on_device_model_service_version) { … }
inline ::optimization_guide::proto::OnDeviceModelServiceVersion* OnDeviceModelVersions::release_on_device_model_service_version() { … }
inline ::optimization_guide::proto::OnDeviceModelServiceVersion* OnDeviceModelVersions::unsafe_arena_release_on_device_model_service_version() { … }
inline ::optimization_guide::proto::OnDeviceModelServiceVersion* OnDeviceModelVersions::_internal_mutable_on_device_model_service_version() { … }
inline ::optimization_guide::proto::OnDeviceModelServiceVersion* OnDeviceModelVersions::mutable_on_device_model_service_version() { … }
inline void OnDeviceModelVersions::set_allocated_on_device_model_service_version(::optimization_guide::proto::OnDeviceModelServiceVersion* on_device_model_service_version) { … }
inline void OnDeviceModelVersions::clear_text_safety_model_version() { … }
inline int64_t OnDeviceModelVersions::_internal_text_safety_model_version() const { … }
inline int64_t OnDeviceModelVersions::text_safety_model_version() const { … }
inline void OnDeviceModelVersions::_internal_set_text_safety_model_version(int64_t value) { … }
inline void OnDeviceModelVersions::set_text_safety_model_version(int64_t value) { … }
inline void OnDeviceModelServiceVersion::clear_component_version() { … }
inline const std::string& OnDeviceModelServiceVersion::component_version() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void OnDeviceModelServiceVersion::set_component_version(ArgT0&& arg0, ArgT... args) { … }
inline std::string* OnDeviceModelServiceVersion::mutable_component_version() { … }
inline const std::string& OnDeviceModelServiceVersion::_internal_component_version() const { … }
inline void OnDeviceModelServiceVersion::_internal_set_component_version(const std::string& value) { … }
inline std::string* OnDeviceModelServiceVersion::_internal_mutable_component_version() { … }
inline std::string* OnDeviceModelServiceVersion::release_component_version() { … }
inline void OnDeviceModelServiceVersion::set_allocated_component_version(std::string* component_version) { … }
inline bool OnDeviceModelServiceVersion::_internal_has_on_device_base_model_metadata() const { … }
inline bool OnDeviceModelServiceVersion::has_on_device_base_model_metadata() const { … }
inline const ::optimization_guide::proto::OnDeviceBaseModelMetadata& OnDeviceModelServiceVersion::_internal_on_device_base_model_metadata() const { … }
inline const ::optimization_guide::proto::OnDeviceBaseModelMetadata& OnDeviceModelServiceVersion::on_device_base_model_metadata() const { … }
inline void OnDeviceModelServiceVersion::unsafe_arena_set_allocated_on_device_base_model_metadata(
::optimization_guide::proto::OnDeviceBaseModelMetadata* on_device_base_model_metadata) { … }
inline ::optimization_guide::proto::OnDeviceBaseModelMetadata* OnDeviceModelServiceVersion::release_on_device_base_model_metadata() { … }
inline ::optimization_guide::proto::OnDeviceBaseModelMetadata* OnDeviceModelServiceVersion::unsafe_arena_release_on_device_base_model_metadata() { … }
inline ::optimization_guide::proto::OnDeviceBaseModelMetadata* OnDeviceModelServiceVersion::_internal_mutable_on_device_base_model_metadata() { … }
inline ::optimization_guide::proto::OnDeviceBaseModelMetadata* OnDeviceModelServiceVersion::mutable_on_device_base_model_metadata() { … }
inline void OnDeviceModelServiceVersion::set_allocated_on_device_base_model_metadata(::optimization_guide::proto::OnDeviceBaseModelMetadata* on_device_base_model_metadata) { … }
inline void OnDeviceModelServiceVersion::clear_model_adaptation_version() { … }
inline int64_t OnDeviceModelServiceVersion::_internal_model_adaptation_version() const { … }
inline int64_t OnDeviceModelServiceVersion::model_adaptation_version() const { … }
inline void OnDeviceModelServiceVersion::_internal_set_model_adaptation_version(int64_t value) { … }
inline void OnDeviceModelServiceVersion::set_model_adaptation_version(int64_t value) { … }
inline bool InternalOnDeviceModelExecutionInfo::_internal_has_request() const { … }
inline bool InternalOnDeviceModelExecutionInfo::has_request() const { … }
inline void InternalOnDeviceModelExecutionInfo::clear_request() { … }
inline const ::optimization_guide::proto::InternalOnDeviceRequest& InternalOnDeviceModelExecutionInfo::_internal_request() const { … }
inline const ::optimization_guide::proto::InternalOnDeviceRequest& InternalOnDeviceModelExecutionInfo::request() const { … }
inline void InternalOnDeviceModelExecutionInfo::unsafe_arena_set_allocated_request(
::optimization_guide::proto::InternalOnDeviceRequest* request) { … }
inline ::optimization_guide::proto::InternalOnDeviceRequest* InternalOnDeviceModelExecutionInfo::release_request() { … }
inline ::optimization_guide::proto::InternalOnDeviceRequest* InternalOnDeviceModelExecutionInfo::unsafe_arena_release_request() { … }
inline ::optimization_guide::proto::InternalOnDeviceRequest* InternalOnDeviceModelExecutionInfo::_internal_mutable_request() { … }
inline ::optimization_guide::proto::InternalOnDeviceRequest* InternalOnDeviceModelExecutionInfo::mutable_request() { … }
inline void InternalOnDeviceModelExecutionInfo::set_allocated_request(::optimization_guide::proto::InternalOnDeviceRequest* request) { … }
inline bool InternalOnDeviceModelExecutionInfo::_internal_has_response() const { … }
inline bool InternalOnDeviceModelExecutionInfo::has_response() const { … }
inline void InternalOnDeviceModelExecutionInfo::clear_response() { … }
inline const ::optimization_guide::proto::InternalOnDeviceResponse& InternalOnDeviceModelExecutionInfo::_internal_response() const { … }
inline const ::optimization_guide::proto::InternalOnDeviceResponse& InternalOnDeviceModelExecutionInfo::response() const { … }
inline void InternalOnDeviceModelExecutionInfo::unsafe_arena_set_allocated_response(
::optimization_guide::proto::InternalOnDeviceResponse* response) { … }
inline ::optimization_guide::proto::InternalOnDeviceResponse* InternalOnDeviceModelExecutionInfo::release_response() { … }
inline ::optimization_guide::proto::InternalOnDeviceResponse* InternalOnDeviceModelExecutionInfo::unsafe_arena_release_response() { … }
inline ::optimization_guide::proto::InternalOnDeviceResponse* InternalOnDeviceModelExecutionInfo::_internal_mutable_response() { … }
inline ::optimization_guide::proto::InternalOnDeviceResponse* InternalOnDeviceModelExecutionInfo::mutable_response() { … }
inline void InternalOnDeviceModelExecutionInfo::set_allocated_response(::optimization_guide::proto::InternalOnDeviceResponse* response) { … }
inline bool InternalOnDeviceRequest::_internal_has_on_device_model_service_request() const { … }
inline bool InternalOnDeviceRequest::has_on_device_model_service_request() const { … }
inline void InternalOnDeviceRequest::set_has_on_device_model_service_request() { … }
inline void InternalOnDeviceRequest::clear_on_device_model_service_request() { … }
inline ::optimization_guide::proto::OnDeviceModelServiceRequest* InternalOnDeviceRequest::release_on_device_model_service_request() { … }
inline const ::optimization_guide::proto::OnDeviceModelServiceRequest& InternalOnDeviceRequest::_internal_on_device_model_service_request() const { … }
inline const ::optimization_guide::proto::OnDeviceModelServiceRequest& InternalOnDeviceRequest::on_device_model_service_request() const { … }
inline ::optimization_guide::proto::OnDeviceModelServiceRequest* InternalOnDeviceRequest::unsafe_arena_release_on_device_model_service_request() { … }
inline void InternalOnDeviceRequest::unsafe_arena_set_allocated_on_device_model_service_request(::optimization_guide::proto::OnDeviceModelServiceRequest* on_device_model_service_request) { … }
inline ::optimization_guide::proto::OnDeviceModelServiceRequest* InternalOnDeviceRequest::_internal_mutable_on_device_model_service_request() { … }
inline ::optimization_guide::proto::OnDeviceModelServiceRequest* InternalOnDeviceRequest::mutable_on_device_model_service_request() { … }
inline bool InternalOnDeviceRequest::_internal_has_text_safety_model_request() const { … }
inline bool InternalOnDeviceRequest::has_text_safety_model_request() const { … }
inline void InternalOnDeviceRequest::set_has_text_safety_model_request() { … }
inline void InternalOnDeviceRequest::clear_text_safety_model_request() { … }
inline ::optimization_guide::proto::TextSafetyModelRequest* InternalOnDeviceRequest::release_text_safety_model_request() { … }
inline const ::optimization_guide::proto::TextSafetyModelRequest& InternalOnDeviceRequest::_internal_text_safety_model_request() const { … }
inline const ::optimization_guide::proto::TextSafetyModelRequest& InternalOnDeviceRequest::text_safety_model_request() const { … }
inline ::optimization_guide::proto::TextSafetyModelRequest* InternalOnDeviceRequest::unsafe_arena_release_text_safety_model_request() { … }
inline void InternalOnDeviceRequest::unsafe_arena_set_allocated_text_safety_model_request(::optimization_guide::proto::TextSafetyModelRequest* text_safety_model_request) { … }
inline ::optimization_guide::proto::TextSafetyModelRequest* InternalOnDeviceRequest::_internal_mutable_text_safety_model_request() { … }
inline ::optimization_guide::proto::TextSafetyModelRequest* InternalOnDeviceRequest::mutable_text_safety_model_request() { … }
inline bool InternalOnDeviceRequest::has_request() const { … }
inline void InternalOnDeviceRequest::clear_has_request() { … }
inline InternalOnDeviceRequest::RequestCase InternalOnDeviceRequest::request_case() const { … }
inline bool InternalOnDeviceResponse::_internal_has_on_device_model_service_response() const { … }
inline bool InternalOnDeviceResponse::has_on_device_model_service_response() const { … }
inline void InternalOnDeviceResponse::set_has_on_device_model_service_response() { … }
inline void InternalOnDeviceResponse::clear_on_device_model_service_response() { … }
inline ::optimization_guide::proto::OnDeviceModelServiceResponse* InternalOnDeviceResponse::release_on_device_model_service_response() { … }
inline const ::optimization_guide::proto::OnDeviceModelServiceResponse& InternalOnDeviceResponse::_internal_on_device_model_service_response() const { … }
inline const ::optimization_guide::proto::OnDeviceModelServiceResponse& InternalOnDeviceResponse::on_device_model_service_response() const { … }
inline ::optimization_guide::proto::OnDeviceModelServiceResponse* InternalOnDeviceResponse::unsafe_arena_release_on_device_model_service_response() { … }
inline void InternalOnDeviceResponse::unsafe_arena_set_allocated_on_device_model_service_response(::optimization_guide::proto::OnDeviceModelServiceResponse* on_device_model_service_response) { … }
inline ::optimization_guide::proto::OnDeviceModelServiceResponse* InternalOnDeviceResponse::_internal_mutable_on_device_model_service_response() { … }
inline ::optimization_guide::proto::OnDeviceModelServiceResponse* InternalOnDeviceResponse::mutable_on_device_model_service_response() { … }
inline bool InternalOnDeviceResponse::_internal_has_text_safety_model_response() const { … }
inline bool InternalOnDeviceResponse::has_text_safety_model_response() const { … }
inline void InternalOnDeviceResponse::set_has_text_safety_model_response() { … }
inline void InternalOnDeviceResponse::clear_text_safety_model_response() { … }
inline ::optimization_guide::proto::TextSafetyModelResponse* InternalOnDeviceResponse::release_text_safety_model_response() { … }
inline const ::optimization_guide::proto::TextSafetyModelResponse& InternalOnDeviceResponse::_internal_text_safety_model_response() const { … }
inline const ::optimization_guide::proto::TextSafetyModelResponse& InternalOnDeviceResponse::text_safety_model_response() const { … }
inline ::optimization_guide::proto::TextSafetyModelResponse* InternalOnDeviceResponse::unsafe_arena_release_text_safety_model_response() { … }
inline void InternalOnDeviceResponse::unsafe_arena_set_allocated_text_safety_model_response(::optimization_guide::proto::TextSafetyModelResponse* text_safety_model_response) { … }
inline ::optimization_guide::proto::TextSafetyModelResponse* InternalOnDeviceResponse::_internal_mutable_text_safety_model_response() { … }
inline ::optimization_guide::proto::TextSafetyModelResponse* InternalOnDeviceResponse::mutable_text_safety_model_response() { … }
inline bool InternalOnDeviceResponse::has_response() const { … }
inline void InternalOnDeviceResponse::clear_has_response() { … }
inline InternalOnDeviceResponse::ResponseCase InternalOnDeviceResponse::response_case() const { … }
inline void OnDeviceModelServiceRequest::clear_input_context_string() { … }
inline const std::string& OnDeviceModelServiceRequest::input_context_string() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void OnDeviceModelServiceRequest::set_input_context_string(ArgT0&& arg0, ArgT... args) { … }
inline std::string* OnDeviceModelServiceRequest::mutable_input_context_string() { … }
inline const std::string& OnDeviceModelServiceRequest::_internal_input_context_string() const { … }
inline void OnDeviceModelServiceRequest::_internal_set_input_context_string(const std::string& value) { … }
inline std::string* OnDeviceModelServiceRequest::_internal_mutable_input_context_string() { … }
inline std::string* OnDeviceModelServiceRequest::release_input_context_string() { … }
inline void OnDeviceModelServiceRequest::set_allocated_input_context_string(std::string* input_context_string) { … }
inline void OnDeviceModelServiceRequest::clear_input_context_num_tokens_processed() { … }
inline uint32_t OnDeviceModelServiceRequest::_internal_input_context_num_tokens_processed() const { … }
inline uint32_t OnDeviceModelServiceRequest::input_context_num_tokens_processed() const { … }
inline void OnDeviceModelServiceRequest::_internal_set_input_context_num_tokens_processed(uint32_t value) { … }
inline void OnDeviceModelServiceRequest::set_input_context_num_tokens_processed(uint32_t value) { … }
inline void OnDeviceModelServiceRequest::clear_execution_string() { … }
inline const std::string& OnDeviceModelServiceRequest::execution_string() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void OnDeviceModelServiceRequest::set_execution_string(ArgT0&& arg0, ArgT... args) { … }
inline std::string* OnDeviceModelServiceRequest::mutable_execution_string() { … }
inline const std::string& OnDeviceModelServiceRequest::_internal_execution_string() const { … }
inline void OnDeviceModelServiceRequest::_internal_set_execution_string(const std::string& value) { … }
inline std::string* OnDeviceModelServiceRequest::_internal_mutable_execution_string() { … }
inline std::string* OnDeviceModelServiceRequest::release_execution_string() { … }
inline void OnDeviceModelServiceRequest::set_allocated_execution_string(std::string* execution_string) { … }
inline void OnDeviceModelServiceRequest::clear_execution_num_tokens_processed() { … }
inline uint32_t OnDeviceModelServiceRequest::_internal_execution_num_tokens_processed() const { … }
inline uint32_t OnDeviceModelServiceRequest::execution_num_tokens_processed() const { … }
inline void OnDeviceModelServiceRequest::_internal_set_execution_num_tokens_processed(uint32_t value) { … }
inline void OnDeviceModelServiceRequest::set_execution_num_tokens_processed(uint32_t value) { … }
inline void OnDeviceModelServiceRequest::clear_time_from_input_context_processed_to_request_initiated_millis() { … }
inline int64_t OnDeviceModelServiceRequest::_internal_time_from_input_context_processed_to_request_initiated_millis() const { … }
inline int64_t OnDeviceModelServiceRequest::time_from_input_context_processed_to_request_initiated_millis() const { … }
inline void OnDeviceModelServiceRequest::_internal_set_time_from_input_context_processed_to_request_initiated_millis(int64_t value) { … }
inline void OnDeviceModelServiceRequest::set_time_from_input_context_processed_to_request_initiated_millis(int64_t value) { … }
inline void OnDeviceModelServiceResponse::clear_output_string() { … }
inline const std::string& OnDeviceModelServiceResponse::output_string() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void OnDeviceModelServiceResponse::set_output_string(ArgT0&& arg0, ArgT... args) { … }
inline std::string* OnDeviceModelServiceResponse::mutable_output_string() { … }
inline const std::string& OnDeviceModelServiceResponse::_internal_output_string() const { … }
inline void OnDeviceModelServiceResponse::_internal_set_output_string(const std::string& value) { … }
inline std::string* OnDeviceModelServiceResponse::_internal_mutable_output_string() { … }
inline std::string* OnDeviceModelServiceResponse::release_output_string() { … }
inline void OnDeviceModelServiceResponse::set_allocated_output_string(std::string* output_string) { … }
inline void OnDeviceModelServiceResponse::clear_time_to_first_response_millis() { … }
inline int64_t OnDeviceModelServiceResponse::_internal_time_to_first_response_millis() const { … }
inline int64_t OnDeviceModelServiceResponse::time_to_first_response_millis() const { … }
inline void OnDeviceModelServiceResponse::_internal_set_time_to_first_response_millis(int64_t value) { … }
inline void OnDeviceModelServiceResponse::set_time_to_first_response_millis(int64_t value) { … }
inline void OnDeviceModelServiceResponse::clear_time_to_completion_millis() { … }
inline int64_t OnDeviceModelServiceResponse::_internal_time_to_completion_millis() const { … }
inline int64_t OnDeviceModelServiceResponse::time_to_completion_millis() const { … }
inline void OnDeviceModelServiceResponse::_internal_set_time_to_completion_millis(int64_t value) { … }
inline void OnDeviceModelServiceResponse::set_time_to_completion_millis(int64_t value) { … }
inline void OnDeviceModelServiceResponse::clear_status() { … }
inline ::optimization_guide::proto::OnDeviceModelServiceResponseStatus OnDeviceModelServiceResponse::_internal_status() const { … }
inline ::optimization_guide::proto::OnDeviceModelServiceResponseStatus OnDeviceModelServiceResponse::status() const { … }
inline void OnDeviceModelServiceResponse::_internal_set_status(::optimization_guide::proto::OnDeviceModelServiceResponseStatus value) { … }
inline void OnDeviceModelServiceResponse::set_status(::optimization_guide::proto::OnDeviceModelServiceResponseStatus value) { … }
inline void OnDeviceModelServiceResponse::clear_has_repeats() { … }
inline bool OnDeviceModelServiceResponse::_internal_has_repeats() const { … }
inline bool OnDeviceModelServiceResponse::has_repeats() const { … }
inline void OnDeviceModelServiceResponse::_internal_set_has_repeats(bool value) { … }
inline void OnDeviceModelServiceResponse::set_has_repeats(bool value) { … }
inline void TextSafetyModelRequest::clear_text() { … }
inline const std::string& TextSafetyModelRequest::text() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TextSafetyModelRequest::set_text(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TextSafetyModelRequest::mutable_text() { … }
inline const std::string& TextSafetyModelRequest::_internal_text() const { … }
inline void TextSafetyModelRequest::_internal_set_text(const std::string& value) { … }
inline std::string* TextSafetyModelRequest::_internal_mutable_text() { … }
inline std::string* TextSafetyModelRequest::release_text() { … }
inline void TextSafetyModelRequest::set_allocated_text(std::string* text) { … }
inline void TextSafetyModelRequest::clear_url() { … }
inline const std::string& TextSafetyModelRequest::url() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TextSafetyModelRequest::set_url(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TextSafetyModelRequest::mutable_url() { … }
inline const std::string& TextSafetyModelRequest::_internal_url() const { … }
inline void TextSafetyModelRequest::_internal_set_url(const std::string& value) { … }
inline std::string* TextSafetyModelRequest::_internal_mutable_url() { … }
inline std::string* TextSafetyModelRequest::release_url() { … }
inline void TextSafetyModelRequest::set_allocated_url(std::string* url) { … }
inline int TextSafetyModelResponse::_internal_scores_size() const { … }
inline int TextSafetyModelResponse::scores_size() const { … }
inline void TextSafetyModelResponse::clear_scores() { … }
inline float TextSafetyModelResponse::_internal_scores(int index) const { … }
inline float TextSafetyModelResponse::scores(int index) const { … }
inline void TextSafetyModelResponse::set_scores(int index, float value) { … }
inline void TextSafetyModelResponse::_internal_add_scores(float value) { … }
inline void TextSafetyModelResponse::add_scores(float value) { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
TextSafetyModelResponse::_internal_scores() const { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
TextSafetyModelResponse::scores() const { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
TextSafetyModelResponse::_internal_mutable_scores() { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
TextSafetyModelResponse::mutable_scores() { … }
inline void TextSafetyModelResponse::clear_is_unsafe() { … }
inline bool TextSafetyModelResponse::_internal_is_unsafe() const { … }
inline bool TextSafetyModelResponse::is_unsafe() const { … }
inline void TextSafetyModelResponse::_internal_set_is_unsafe(bool value) { … }
inline void TextSafetyModelResponse::set_is_unsafe(bool value) { … }
inline void TextSafetyModelResponse::clear_server_execution_id() { … }
inline const std::string& TextSafetyModelResponse::server_execution_id() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TextSafetyModelResponse::set_server_execution_id(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TextSafetyModelResponse::mutable_server_execution_id() { … }
inline const std::string& TextSafetyModelResponse::_internal_server_execution_id() const { … }
inline void TextSafetyModelResponse::_internal_set_server_execution_id(const std::string& value) { … }
inline std::string* TextSafetyModelResponse::_internal_mutable_server_execution_id() { … }
inline std::string* TextSafetyModelResponse::release_server_execution_id() { … }
inline void TextSafetyModelResponse::set_allocated_server_execution_id(std::string* server_execution_id) { … }
inline void TextSafetyModelResponse::clear_language_code() { … }
inline const std::string& TextSafetyModelResponse::language_code() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void TextSafetyModelResponse::set_language_code(ArgT0&& arg0, ArgT... args) { … }
inline std::string* TextSafetyModelResponse::mutable_language_code() { … }
inline const std::string& TextSafetyModelResponse::_internal_language_code() const { … }
inline void TextSafetyModelResponse::_internal_set_language_code(const std::string& value) { … }
inline std::string* TextSafetyModelResponse::_internal_mutable_language_code() { … }
inline std::string* TextSafetyModelResponse::release_language_code() { … }
inline void TextSafetyModelResponse::set_allocated_language_code(std::string* language_code) { … }
inline void TextSafetyModelResponse::clear_language_confidence() { … }
inline float TextSafetyModelResponse::_internal_language_confidence() const { … }
inline float TextSafetyModelResponse::language_confidence() const { … }
inline void TextSafetyModelResponse::_internal_set_language_confidence(float value) { … }
inline void TextSafetyModelResponse::set_language_confidence(float value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::optimization_guide::proto::PerformanceClass> : ::std::true_type { … };
template <> struct is_proto_enum< ::optimization_guide::proto::OnDeviceModelServiceResponseStatus> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif