#include "components/optimization_guide/proto/model_execution.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 ExecuteRequest::ExecuteRequest(
::_pbi::ConstantInitialized): … { … }
struct ExecuteRequestDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExecuteRequestDefaultTypeInternal _ExecuteRequest_default_instance_;
PROTOBUF_CONSTEXPR ExecuteResponse::ExecuteResponse(
::_pbi::ConstantInitialized): … { … }
struct ExecuteResponseDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExecuteResponseDefaultTypeInternal _ExecuteResponse_default_instance_;
PROTOBUF_CONSTEXPR ErrorResponse::ErrorResponse(
::_pbi::ConstantInitialized): … { … }
struct ErrorResponseDefaultTypeInternal { … };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ErrorResponseDefaultTypeInternal _ErrorResponse_default_instance_;
}
}
namespace optimization_guide {
namespace proto {
bool ErrorState_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> ErrorState_strings[7] = …;
static const char ErrorState_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ErrorState_entries[] = …;
static const int ErrorState_entries_by_number[] = …;
const std::string& ErrorState_Name(
ErrorState value) { … }
bool ErrorState_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ErrorState* value) { … }
bool ModelExecutionFeature_IsValid(int value) { … }
static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> ModelExecutionFeature_strings[11] = …;
static const char ModelExecutionFeature_names[] = …;
static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry ModelExecutionFeature_entries[] = …;
static const int ModelExecutionFeature_entries_by_number[] = …;
const std::string& ModelExecutionFeature_Name(
ModelExecutionFeature value) { … }
bool ModelExecutionFeature_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ModelExecutionFeature* value) { … }
class ExecuteRequest::_Internal { … };
const ::optimization_guide::proto::Any&
ExecuteRequest::_Internal::request_metadata(const ExecuteRequest* msg) { … }
void ExecuteRequest::clear_request_metadata() { … }
ExecuteRequest::ExecuteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
ExecuteRequest::ExecuteRequest(const ExecuteRequest& from)
: … { … }
inline void ExecuteRequest::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
ExecuteRequest::~ExecuteRequest() { … }
inline void ExecuteRequest::SharedDtor() { … }
void ExecuteRequest::SetCachedSize(int size) const { … }
void ExecuteRequest::Clear() { … }
const char* ExecuteRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* ExecuteRequest::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t ExecuteRequest::ByteSizeLong() const { … }
void ExecuteRequest::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void ExecuteRequest::MergeFrom(const ExecuteRequest& from) { … }
void ExecuteRequest::CopyFrom(const ExecuteRequest& from) { … }
bool ExecuteRequest::IsInitialized() const { … }
void ExecuteRequest::InternalSwap(ExecuteRequest* other) { … }
std::string ExecuteRequest::GetTypeName() const { … }
class ExecuteResponse::_Internal { … };
const ::optimization_guide::proto::Any&
ExecuteResponse::_Internal::response_metadata(const ExecuteResponse* msg) { … }
const ::optimization_guide::proto::ErrorResponse&
ExecuteResponse::_Internal::error_response(const ExecuteResponse* msg) { … }
void ExecuteResponse::set_allocated_response_metadata(::optimization_guide::proto::Any* response_metadata) { … }
void ExecuteResponse::clear_response_metadata() { … }
void ExecuteResponse::set_allocated_error_response(::optimization_guide::proto::ErrorResponse* error_response) { … }
ExecuteResponse::ExecuteResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
ExecuteResponse::ExecuteResponse(const ExecuteResponse& from)
: … { … }
inline void ExecuteResponse::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
ExecuteResponse::~ExecuteResponse() { … }
inline void ExecuteResponse::SharedDtor() { … }
void ExecuteResponse::SetCachedSize(int size) const { … }
void ExecuteResponse::clear_response() { … }
void ExecuteResponse::Clear() { … }
const char* ExecuteResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* ExecuteResponse::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t ExecuteResponse::ByteSizeLong() const { … }
void ExecuteResponse::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void ExecuteResponse::MergeFrom(const ExecuteResponse& from) { … }
void ExecuteResponse::CopyFrom(const ExecuteResponse& from) { … }
bool ExecuteResponse::IsInitialized() const { … }
void ExecuteResponse::InternalSwap(ExecuteResponse* other) { … }
std::string ExecuteResponse::GetTypeName() const { … }
class ErrorResponse::_Internal { … };
ErrorResponse::ErrorResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: … { … }
ErrorResponse::ErrorResponse(const ErrorResponse& from)
: … { … }
inline void ErrorResponse::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { … }
ErrorResponse::~ErrorResponse() { … }
inline void ErrorResponse::SharedDtor() { … }
void ErrorResponse::SetCachedSize(int size) const { … }
void ErrorResponse::Clear() { … }
const char* ErrorResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { … }
uint8_t* ErrorResponse::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { … }
size_t ErrorResponse::ByteSizeLong() const { … }
void ErrorResponse::CheckTypeAndMergeFrom(
const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { … }
void ErrorResponse::MergeFrom(const ErrorResponse& from) { … }
void ErrorResponse::CopyFrom(const ErrorResponse& from) { … }
bool ErrorResponse::IsInitialized() const { … }
void ErrorResponse::InternalSwap(ErrorResponse* other) { … }
std::string ErrorResponse::GetTypeName() const { … }
}
}
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::ExecuteRequest*
Arena::CreateMaybeMessage< ::optimization_guide::proto::ExecuteRequest >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::ExecuteResponse*
Arena::CreateMaybeMessage< ::optimization_guide::proto::ExecuteResponse >(Arena* arena) { … }
template<> PROTOBUF_NOINLINE ::optimization_guide::proto::ErrorResponse*
Arena::CreateMaybeMessage< ::optimization_guide::proto::ErrorResponse >(Arena* arena) { … }
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>