#ifndef GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fsubstitution_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_components_2foptimization_5fguide_2fproto_2fsubstitution_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/descriptors.pb.h"
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_components_2foptimization_5fguide_2fproto_2fsubstitution_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}
PROTOBUF_NAMESPACE_CLOSE
struct TableStruct_components_2foptimization_5fguide_2fproto_2fsubstitution_2eproto { … };
namespace optimization_guide {
namespace proto {
class Condition;
struct ConditionDefaultTypeInternal;
extern ConditionDefaultTypeInternal _Condition_default_instance_;
class ConditionList;
struct ConditionListDefaultTypeInternal;
extern ConditionListDefaultTypeInternal _ConditionList_default_instance_;
class IndexExpr;
struct IndexExprDefaultTypeInternal;
extern IndexExprDefaultTypeInternal _IndexExpr_default_instance_;
class RangeExpr;
struct RangeExprDefaultTypeInternal;
extern RangeExprDefaultTypeInternal _RangeExpr_default_instance_;
class StringArg;
struct StringArgDefaultTypeInternal;
extern StringArgDefaultTypeInternal _StringArg_default_instance_;
class StringSubstitution;
struct StringSubstitutionDefaultTypeInternal;
extern StringSubstitutionDefaultTypeInternal _StringSubstitution_default_instance_;
class SubstitutedString;
struct SubstitutedStringDefaultTypeInternal;
extern SubstitutedStringDefaultTypeInternal _SubstitutedString_default_instance_;
}
}
PROTOBUF_NAMESPACE_OPEN
template<> ::optimization_guide::proto::Condition* Arena::CreateMaybeMessage<::optimization_guide::proto::Condition>(Arena*);
template<> ::optimization_guide::proto::ConditionList* Arena::CreateMaybeMessage<::optimization_guide::proto::ConditionList>(Arena*);
template<> ::optimization_guide::proto::IndexExpr* Arena::CreateMaybeMessage<::optimization_guide::proto::IndexExpr>(Arena*);
template<> ::optimization_guide::proto::RangeExpr* Arena::CreateMaybeMessage<::optimization_guide::proto::RangeExpr>(Arena*);
template<> ::optimization_guide::proto::StringArg* Arena::CreateMaybeMessage<::optimization_guide::proto::StringArg>(Arena*);
template<> ::optimization_guide::proto::StringSubstitution* Arena::CreateMaybeMessage<::optimization_guide::proto::StringSubstitution>(Arena*);
template<> ::optimization_guide::proto::SubstitutedString* Arena::CreateMaybeMessage<::optimization_guide::proto::SubstitutedString>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace optimization_guide {
namespace proto {
enum OperatorType : int { … };
bool OperatorType_IsValid(int value);
constexpr OperatorType OperatorType_MIN = …;
constexpr OperatorType OperatorType_MAX = …;
constexpr int OperatorType_ARRAYSIZE = …;
const std::string& OperatorType_Name(OperatorType value);
template<typename T>
inline const std::string& OperatorType_Name(T enum_t_value) { … }
bool OperatorType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OperatorType* value);
enum ConditionEvaluationType : int { … };
bool ConditionEvaluationType_IsValid(int value);
constexpr ConditionEvaluationType ConditionEvaluationType_MIN = …;
constexpr ConditionEvaluationType ConditionEvaluationType_MAX = …;
constexpr int ConditionEvaluationType_ARRAYSIZE = …;
const std::string& ConditionEvaluationType_Name(ConditionEvaluationType value);
template<typename T>
inline const std::string& ConditionEvaluationType_Name(T enum_t_value) { … }
bool ConditionEvaluationType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConditionEvaluationType* value);
class SubstitutedString final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class StringSubstitution final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class RangeExpr final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class IndexExpr final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class StringArg final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class ConditionList final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
class Condition final :
public ::PROTOBUF_NAMESPACE_ID::MessageLite { … };
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
inline void SubstitutedString::clear_string_template() { … }
inline const std::string& SubstitutedString::string_template() const { … }
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void SubstitutedString::set_string_template(ArgT0&& arg0, ArgT... args) { … }
inline std::string* SubstitutedString::mutable_string_template() { … }
inline const std::string& SubstitutedString::_internal_string_template() const { … }
inline void SubstitutedString::_internal_set_string_template(const std::string& value) { … }
inline std::string* SubstitutedString::_internal_mutable_string_template() { … }
inline std::string* SubstitutedString::release_string_template() { … }
inline void SubstitutedString::set_allocated_string_template(std::string* string_template) { … }
inline int SubstitutedString::_internal_substitutions_size() const { … }
inline int SubstitutedString::substitutions_size() const { … }
inline void SubstitutedString::clear_substitutions() { … }
inline ::optimization_guide::proto::StringSubstitution* SubstitutedString::mutable_substitutions(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::StringSubstitution >*
SubstitutedString::mutable_substitutions() { … }
inline const ::optimization_guide::proto::StringSubstitution& SubstitutedString::_internal_substitutions(int index) const { … }
inline const ::optimization_guide::proto::StringSubstitution& SubstitutedString::substitutions(int index) const { … }
inline ::optimization_guide::proto::StringSubstitution* SubstitutedString::_internal_add_substitutions() { … }
inline ::optimization_guide::proto::StringSubstitution* SubstitutedString::add_substitutions() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::StringSubstitution >&
SubstitutedString::substitutions() const { … }
inline bool SubstitutedString::_internal_has_conditions() const { … }
inline bool SubstitutedString::has_conditions() const { … }
inline void SubstitutedString::clear_conditions() { … }
inline const ::optimization_guide::proto::ConditionList& SubstitutedString::_internal_conditions() const { … }
inline const ::optimization_guide::proto::ConditionList& SubstitutedString::conditions() const { … }
inline void SubstitutedString::unsafe_arena_set_allocated_conditions(
::optimization_guide::proto::ConditionList* conditions) { … }
inline ::optimization_guide::proto::ConditionList* SubstitutedString::release_conditions() { … }
inline ::optimization_guide::proto::ConditionList* SubstitutedString::unsafe_arena_release_conditions() { … }
inline ::optimization_guide::proto::ConditionList* SubstitutedString::_internal_mutable_conditions() { … }
inline ::optimization_guide::proto::ConditionList* SubstitutedString::mutable_conditions() { … }
inline void SubstitutedString::set_allocated_conditions(::optimization_guide::proto::ConditionList* conditions) { … }
inline void SubstitutedString::clear_should_ignore_input_context() { … }
inline bool SubstitutedString::_internal_should_ignore_input_context() const { … }
inline bool SubstitutedString::should_ignore_input_context() const { … }
inline void SubstitutedString::_internal_set_should_ignore_input_context(bool value) { … }
inline void SubstitutedString::set_should_ignore_input_context(bool value) { … }
inline int StringSubstitution::_internal_candidates_size() const { … }
inline int StringSubstitution::candidates_size() const { … }
inline void StringSubstitution::clear_candidates() { … }
inline ::optimization_guide::proto::StringArg* StringSubstitution::mutable_candidates(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::StringArg >*
StringSubstitution::mutable_candidates() { … }
inline const ::optimization_guide::proto::StringArg& StringSubstitution::_internal_candidates(int index) const { … }
inline const ::optimization_guide::proto::StringArg& StringSubstitution::candidates(int index) const { … }
inline ::optimization_guide::proto::StringArg* StringSubstitution::_internal_add_candidates() { … }
inline ::optimization_guide::proto::StringArg* StringSubstitution::add_candidates() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::StringArg >&
StringSubstitution::candidates() const { … }
inline bool RangeExpr::_internal_has_proto_field() const { … }
inline bool RangeExpr::has_proto_field() const { … }
inline const ::optimization_guide::proto::ProtoField& RangeExpr::_internal_proto_field() const { … }
inline const ::optimization_guide::proto::ProtoField& RangeExpr::proto_field() const { … }
inline void RangeExpr::unsafe_arena_set_allocated_proto_field(
::optimization_guide::proto::ProtoField* proto_field) { … }
inline ::optimization_guide::proto::ProtoField* RangeExpr::release_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* RangeExpr::unsafe_arena_release_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* RangeExpr::_internal_mutable_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* RangeExpr::mutable_proto_field() { … }
inline void RangeExpr::set_allocated_proto_field(::optimization_guide::proto::ProtoField* proto_field) { … }
inline bool RangeExpr::_internal_has_expr() const { … }
inline bool RangeExpr::has_expr() const { … }
inline void RangeExpr::clear_expr() { … }
inline const ::optimization_guide::proto::SubstitutedString& RangeExpr::_internal_expr() const { … }
inline const ::optimization_guide::proto::SubstitutedString& RangeExpr::expr() const { … }
inline void RangeExpr::unsafe_arena_set_allocated_expr(
::optimization_guide::proto::SubstitutedString* expr) { … }
inline ::optimization_guide::proto::SubstitutedString* RangeExpr::release_expr() { … }
inline ::optimization_guide::proto::SubstitutedString* RangeExpr::unsafe_arena_release_expr() { … }
inline ::optimization_guide::proto::SubstitutedString* RangeExpr::_internal_mutable_expr() { … }
inline ::optimization_guide::proto::SubstitutedString* RangeExpr::mutable_expr() { … }
inline void RangeExpr::set_allocated_expr(::optimization_guide::proto::SubstitutedString* expr) { … }
inline void IndexExpr::clear_one_based() { … }
inline bool IndexExpr::_internal_one_based() const { … }
inline bool IndexExpr::one_based() const { … }
inline void IndexExpr::_internal_set_one_based(bool value) { … }
inline void IndexExpr::set_one_based(bool value) { … }
inline bool StringArg::_internal_has_raw_string() const { … }
inline bool StringArg::has_raw_string() const { … }
inline void StringArg::set_has_raw_string() { … }
inline void StringArg::clear_raw_string() { … }
inline const std::string& StringArg::raw_string() const { … }
template <typename ArgT0, typename... ArgT>
inline void StringArg::set_raw_string(ArgT0&& arg0, ArgT... args) { … }
inline std::string* StringArg::mutable_raw_string() { … }
inline const std::string& StringArg::_internal_raw_string() const { … }
inline void StringArg::_internal_set_raw_string(const std::string& value) { … }
inline std::string* StringArg::_internal_mutable_raw_string() { … }
inline std::string* StringArg::release_raw_string() { … }
inline void StringArg::set_allocated_raw_string(std::string* raw_string) { … }
inline bool StringArg::_internal_has_proto_field() const { … }
inline bool StringArg::has_proto_field() const { … }
inline void StringArg::set_has_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* StringArg::release_proto_field() { … }
inline const ::optimization_guide::proto::ProtoField& StringArg::_internal_proto_field() const { … }
inline const ::optimization_guide::proto::ProtoField& StringArg::proto_field() const { … }
inline ::optimization_guide::proto::ProtoField* StringArg::unsafe_arena_release_proto_field() { … }
inline void StringArg::unsafe_arena_set_allocated_proto_field(::optimization_guide::proto::ProtoField* proto_field) { … }
inline ::optimization_guide::proto::ProtoField* StringArg::_internal_mutable_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* StringArg::mutable_proto_field() { … }
inline bool StringArg::_internal_has_range_expr() const { … }
inline bool StringArg::has_range_expr() const { … }
inline void StringArg::set_has_range_expr() { … }
inline void StringArg::clear_range_expr() { … }
inline ::optimization_guide::proto::RangeExpr* StringArg::release_range_expr() { … }
inline const ::optimization_guide::proto::RangeExpr& StringArg::_internal_range_expr() const { … }
inline const ::optimization_guide::proto::RangeExpr& StringArg::range_expr() const { … }
inline ::optimization_guide::proto::RangeExpr* StringArg::unsafe_arena_release_range_expr() { … }
inline void StringArg::unsafe_arena_set_allocated_range_expr(::optimization_guide::proto::RangeExpr* range_expr) { … }
inline ::optimization_guide::proto::RangeExpr* StringArg::_internal_mutable_range_expr() { … }
inline ::optimization_guide::proto::RangeExpr* StringArg::mutable_range_expr() { … }
inline bool StringArg::_internal_has_index_expr() const { … }
inline bool StringArg::has_index_expr() const { … }
inline void StringArg::set_has_index_expr() { … }
inline void StringArg::clear_index_expr() { … }
inline ::optimization_guide::proto::IndexExpr* StringArg::release_index_expr() { … }
inline const ::optimization_guide::proto::IndexExpr& StringArg::_internal_index_expr() const { … }
inline const ::optimization_guide::proto::IndexExpr& StringArg::index_expr() const { … }
inline ::optimization_guide::proto::IndexExpr* StringArg::unsafe_arena_release_index_expr() { … }
inline void StringArg::unsafe_arena_set_allocated_index_expr(::optimization_guide::proto::IndexExpr* index_expr) { … }
inline ::optimization_guide::proto::IndexExpr* StringArg::_internal_mutable_index_expr() { … }
inline ::optimization_guide::proto::IndexExpr* StringArg::mutable_index_expr() { … }
inline bool StringArg::_internal_has_conditions() const { … }
inline bool StringArg::has_conditions() const { … }
inline void StringArg::clear_conditions() { … }
inline const ::optimization_guide::proto::ConditionList& StringArg::_internal_conditions() const { … }
inline const ::optimization_guide::proto::ConditionList& StringArg::conditions() const { … }
inline void StringArg::unsafe_arena_set_allocated_conditions(
::optimization_guide::proto::ConditionList* conditions) { … }
inline ::optimization_guide::proto::ConditionList* StringArg::release_conditions() { … }
inline ::optimization_guide::proto::ConditionList* StringArg::unsafe_arena_release_conditions() { … }
inline ::optimization_guide::proto::ConditionList* StringArg::_internal_mutable_conditions() { … }
inline ::optimization_guide::proto::ConditionList* StringArg::mutable_conditions() { … }
inline void StringArg::set_allocated_conditions(::optimization_guide::proto::ConditionList* conditions) { … }
inline bool StringArg::has_arg() const { … }
inline void StringArg::clear_has_arg() { … }
inline StringArg::ArgCase StringArg::arg_case() const { … }
inline void ConditionList::clear_condition_evaluation_type() { … }
inline ::optimization_guide::proto::ConditionEvaluationType ConditionList::_internal_condition_evaluation_type() const { … }
inline ::optimization_guide::proto::ConditionEvaluationType ConditionList::condition_evaluation_type() const { … }
inline void ConditionList::_internal_set_condition_evaluation_type(::optimization_guide::proto::ConditionEvaluationType value) { … }
inline void ConditionList::set_condition_evaluation_type(::optimization_guide::proto::ConditionEvaluationType value) { … }
inline int ConditionList::_internal_conditions_size() const { … }
inline int ConditionList::conditions_size() const { … }
inline void ConditionList::clear_conditions() { … }
inline ::optimization_guide::proto::Condition* ConditionList::mutable_conditions(int index) { … }
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::Condition >*
ConditionList::mutable_conditions() { … }
inline const ::optimization_guide::proto::Condition& ConditionList::_internal_conditions(int index) const { … }
inline const ::optimization_guide::proto::Condition& ConditionList::conditions(int index) const { … }
inline ::optimization_guide::proto::Condition* ConditionList::_internal_add_conditions() { … }
inline ::optimization_guide::proto::Condition* ConditionList::add_conditions() { … }
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::optimization_guide::proto::Condition >&
ConditionList::conditions() const { … }
inline bool Condition::_internal_has_proto_field() const { … }
inline bool Condition::has_proto_field() const { … }
inline const ::optimization_guide::proto::ProtoField& Condition::_internal_proto_field() const { … }
inline const ::optimization_guide::proto::ProtoField& Condition::proto_field() const { … }
inline void Condition::unsafe_arena_set_allocated_proto_field(
::optimization_guide::proto::ProtoField* proto_field) { … }
inline ::optimization_guide::proto::ProtoField* Condition::release_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* Condition::unsafe_arena_release_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* Condition::_internal_mutable_proto_field() { … }
inline ::optimization_guide::proto::ProtoField* Condition::mutable_proto_field() { … }
inline void Condition::set_allocated_proto_field(::optimization_guide::proto::ProtoField* proto_field) { … }
inline void Condition::clear_operator_type() { … }
inline ::optimization_guide::proto::OperatorType Condition::_internal_operator_type() const { … }
inline ::optimization_guide::proto::OperatorType Condition::operator_type() const { … }
inline void Condition::_internal_set_operator_type(::optimization_guide::proto::OperatorType value) { … }
inline void Condition::set_operator_type(::optimization_guide::proto::OperatorType value) { … }
inline bool Condition::_internal_has_value() const { … }
inline bool Condition::has_value() const { … }
inline const ::optimization_guide::proto::Value& Condition::_internal_value() const { … }
inline const ::optimization_guide::proto::Value& Condition::value() const { … }
inline void Condition::unsafe_arena_set_allocated_value(
::optimization_guide::proto::Value* value) { … }
inline ::optimization_guide::proto::Value* Condition::release_value() { … }
inline ::optimization_guide::proto::Value* Condition::unsafe_arena_release_value() { … }
inline ::optimization_guide::proto::Value* Condition::_internal_mutable_value() { … }
inline ::optimization_guide::proto::Value* Condition::mutable_value() { … }
inline void Condition::set_allocated_value(::optimization_guide::proto::Value* value) { … }
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
}
}
PROTOBUF_NAMESPACE_OPEN
template <> struct is_proto_enum< ::optimization_guide::proto::OperatorType> : ::std::true_type { … };
template <> struct is_proto_enum< ::optimization_guide::proto::ConditionEvaluationType> : ::std::true_type { … };
PROTOBUF_NAMESPACE_CLOSE
#include <google/protobuf/port_undef.inc>
#endif