#ifndef GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fmodel_5fexecution_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fmodel_5fexecution_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/common_types.pb.h"
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_components_2foptimization_5fguide_2fproto_2fmodel_5fexecution_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_components_2foptimization_5fguide_2fproto_2fmodel_5fexecution_2eproto { … };
namespace optimization_guide {
namespace proto {
class ErrorResponse;
struct ErrorResponseDefaultTypeInternal;
extern ErrorResponseDefaultTypeInternal _ErrorResponse_default_instance_;
class ExecuteRequest;
struct ExecuteRequestDefaultTypeInternal;
extern ExecuteRequestDefaultTypeInternal _ExecuteRequest_default_instance_;
class ExecuteResponse;
struct ExecuteResponseDefaultTypeInternal;
extern ExecuteResponseDefaultTypeInternal _ExecuteResponse_default_instance_;
}
}
PROTOBUF_NAMESPACE_OPEN
template<> ::optimization_guide::proto::ErrorResponse* Arena::CreateMaybeMessage<::optimization_guide::proto::ErrorResponse>(Arena*);
template<> ::optimization_guide::proto::ExecuteRequest* Arena::CreateMaybeMessage<::optimization_guide::proto::ExecuteRequest>(Arena*);
template<> ::optimization_guide::proto::ExecuteResponse* Arena::CreateMaybeMessage<::optimization_guide::proto::ExecuteResponse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace optimization_guide {
namespace proto {
enum ErrorState : int { … };
bool ErrorState_IsValid(int value);
constexpr ErrorState ErrorState_MIN = …;
constexpr ErrorState ErrorState_MAX = …;
constexpr int ErrorState_ARRAYSIZE = …;
const std::string& ErrorState_Name(ErrorState value);
template<typename T>
inline const std::string& ErrorState_Name(T enum_t_value) { … }
bool ErrorState_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ErrorState* value);
enum ModelExecutionFeature : int { … };
bool ModelExecutionFeature_IsValid(int value);
constexpr ModelExecutionFeature ModelExecutionFeature_MIN = …;
constexpr ModelExecutionFeature ModelExecutionFeature_MAX = …;
constexpr int ModelExecutionFeature_ARRAYSIZE = …;
const std::string& ModelExecutionFeature_Name(ModelExecutionFeature value);
template<typename T>
inline const std::string& ModelExecutionFeature_Name(T enum_t_value) { … }
bool ModelExecutionFeature_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ModelExecutionFeature* value);
class ExecuteRequest final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class ExecuteResponse final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class ErrorResponse final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline bool ExecuteRequest::_internal_has_feature() const { … }
inline bool ExecuteRequest::has_feature() const { … }
inline void ExecuteRequest::clear_feature() { … }
inline ::optimization_guide::proto::ModelExecutionFeature ExecuteRequest::_internal_feature() const { … }
inline ::optimization_guide::proto::ModelExecutionFeature ExecuteRequest::feature() const { … }
inline void ExecuteRequest::_internal_set_feature(::optimization_guide::proto::ModelExecutionFeature value) { … }
inline void ExecuteRequest::set_feature(::optimization_guide::proto::ModelExecutionFeature value) { … }
inline bool ExecuteRequest::_internal_has_request_metadata() const { … }
inline bool ExecuteRequest::has_request_metadata() const { … }
inline const ::optimization_guide::proto::Any& ExecuteRequest::_internal_request_metadata() const { … }
inline const ::optimization_guide::proto::Any& ExecuteRequest::request_metadata() const { … }
inline void ExecuteRequest::unsafe_arena_set_allocated_request_metadata(
::optimization_guide::proto::Any* request_metadata) { … }
inline ::optimization_guide::proto::Any* ExecuteRequest::release_request_metadata() { … }
inline ::optimization_guide::proto::Any* ExecuteRequest::unsafe_arena_release_request_metadata() { … }
inline ::optimization_guide::proto::Any* ExecuteRequest::_internal_mutable_request_metadata() { … }
inline ::optimization_guide::proto::Any* ExecuteRequest::mutable_request_metadata() { … }
inline void ExecuteRequest::set_allocated_request_metadata(::optimization_guide::proto::Any* request_metadata) { … }
inline bool ExecuteResponse::_internal_has_model_version() const { … }
inline bool ExecuteResponse::has_model_version() const { … }
inline void ExecuteResponse::clear_model_version() { … }
inline int64_t ExecuteResponse::_internal_model_version() const { … }
inline int64_t ExecuteResponse::model_version() const { … }
inline void ExecuteResponse::_internal_set_model_version(int64_t value) { … }
inline void ExecuteResponse::set_model_version(int64_t value) { … }
inline bool ExecuteResponse::_internal_has_response_metadata() const { … }
inline bool ExecuteResponse::has_response_metadata() const { … }
inline void ExecuteResponse::set_has_response_metadata() { … }
inline ::optimization_guide::proto::Any* ExecuteResponse::release_response_metadata() { … }
inline const ::optimization_guide::proto::Any& ExecuteResponse::_internal_response_metadata() const { … }
inline const ::optimization_guide::proto::Any& ExecuteResponse::response_metadata() const { … }
inline ::optimization_guide::proto::Any* ExecuteResponse::unsafe_arena_release_response_metadata() { … }
inline void ExecuteResponse::unsafe_arena_set_allocated_response_metadata(::optimization_guide::proto::Any* response_metadata) { … }
inline ::optimization_guide::proto::Any* ExecuteResponse::_internal_mutable_response_metadata() { … }
inline ::optimization_guide::proto::Any* ExecuteResponse::mutable_response_metadata() { … }
inline bool ExecuteResponse::_internal_has_error_response() const { … }
inline bool ExecuteResponse::has_error_response() const { … }
inline void ExecuteResponse::set_has_error_response() { … }
inline void ExecuteResponse::clear_error_response() { … }
inline ::optimization_guide::proto::ErrorResponse* ExecuteResponse::release_error_response() { … }
inline const ::optimization_guide::proto::ErrorResponse& ExecuteResponse::_internal_error_response() const { … }
inline const ::optimization_guide::proto::ErrorResponse& ExecuteResponse::error_response() const { … }
inline ::optimization_guide::proto::ErrorResponse* ExecuteResponse::unsafe_arena_release_error_response() { … }
inline void ExecuteResponse::unsafe_arena_set_allocated_error_response(::optimization_guide::proto::ErrorResponse* error_response) { … }
inline ::optimization_guide::proto::ErrorResponse* ExecuteResponse::_internal_mutable_error_response() { … }
inline ::optimization_guide::proto::ErrorResponse* ExecuteResponse::mutable_error_response() { … }
inline bool ExecuteResponse::_internal_has_server_execution_id() const { … }
inline bool ExecuteResponse::has_server_execution_id() const { … }
inline void ExecuteResponse::clear_server_execution_id() { … }
inline const std::string& ExecuteResponse::server_execution_id() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void ExecuteResponse::set_server_execution_id(ArgT0&& arg0, ArgT... args) { … }
inline std::string* ExecuteResponse::mutable_server_execution_id() { … }
inline const std::string& ExecuteResponse::_internal_server_execution_id() const { … }
inline void ExecuteResponse::_internal_set_server_execution_id(const std::string& value) { … }
inline std::string* ExecuteResponse::_internal_mutable_server_execution_id() { … }
inline std::string* ExecuteResponse::release_server_execution_id() { … }
inline void ExecuteResponse::set_allocated_server_execution_id(std::string* server_execution_id) { … }
inline bool ExecuteResponse::has_response() const { … }
inline void ExecuteResponse::clear_has_response() { … }
inline ExecuteResponse::ResponseCase ExecuteResponse::response_case() const { … }
inline bool ErrorResponse::_internal_has_error_state() const { … }
inline bool ErrorResponse::has_error_state() const { … }
inline void ErrorResponse::clear_error_state() { … }
inline ::optimization_guide::proto::ErrorState ErrorResponse::_internal_error_state() const { … }
inline ::optimization_guide::proto::ErrorState ErrorResponse::error_state() const { … }
inline void ErrorResponse::_internal_set_error_state(::optimization_guide::proto::ErrorState value) { … }
inline void ErrorResponse::set_error_state(::optimization_guide::proto::ErrorState value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::optimization_guide::proto::ErrorState> : ::std::true_type { … };
template <> struct is_proto_enum< ::optimization_guide::proto::ModelExecutionFeature> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif