Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::MPModelProto_Annotation Class Referencefinal

Detailed Description

Definition at line 2258 of file linear_solver.pb.h.

#include <linear_solver.pb.h>

Inheritance diagram for operations_research::MPModelProto_Annotation:

Classes

class  _Internal

Public Types

enum  : int {
  kTargetNameFieldNumber = 3 , kPayloadKeyFieldNumber = 4 , kPayloadValueFieldNumber = 5 , kTargetTypeFieldNumber = 1 ,
  kTargetIndexFieldNumber = 2
}
using TargetType = MPModelProto_Annotation_TargetType

Public Member Functions

 MPModelProto_Annotation ()
 ~MPModelProto_Annotation () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR MPModelProto_Annotation (::google::protobuf::internal::ConstantInitialized)
 MPModelProto_Annotation (const MPModelProto_Annotation &from)
 MPModelProto_Annotation (MPModelProto_Annotation &&from) noexcept
MPModelProto_Annotationoperator= (const MPModelProto_Annotation &from)
MPModelProto_Annotationoperator= (MPModelProto_Annotation &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields () const ABSL_ATTRIBUTE_LIFETIME_BOUND
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields () ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap (MPModelProto_Annotation *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (MPModelProto_Annotation *PROTOBUF_NONNULL other)
MPModelProto_Annotation *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const MPModelProto_Annotation &from)
void MergeFrom (const MPModelProto_Annotation &from)
bool IsInitialized () const
ABSL_ATTRIBUTE_REINITIALIZES void Clear () PROTOBUF_FINAL
::size_t ByteSizeLong () const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize (::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int GetCachedSize () const
::google::protobuf::Metadata GetMetadata () const
bool has_target_name () const
void clear_target_name ()
const ::std::string & target_name () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_target_name (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_target_name ()
::std::string *PROTOBUF_NULLABLE release_target_name ()
void set_allocated_target_name (::std::string *PROTOBUF_NULLABLE value)
bool has_payload_key () const
void clear_payload_key ()
const ::std::string & payload_key () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_payload_key (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_payload_key ()
::std::string *PROTOBUF_NULLABLE release_payload_key ()
void set_allocated_payload_key (::std::string *PROTOBUF_NULLABLE value)
bool has_payload_value () const
void clear_payload_value ()
const ::std::string & payload_value () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_payload_value (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_payload_value ()
::std::string *PROTOBUF_NULLABLE release_payload_value ()
void set_allocated_payload_value (::std::string *PROTOBUF_NULLABLE value)
bool has_target_type () const
void clear_target_type ()
::operations_research::MPModelProto_Annotation_TargetType target_type () const
void set_target_type (::operations_research::MPModelProto_Annotation_TargetType value)
bool has_target_index () const
void clear_target_index ()
::int32_t target_index () const
void set_target_index (::int32_t value)
template<typename>
PROTOBUF_CONSTEXPR MPModelProto_Annotation (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_target_name (Arg_ &&arg, Args_... args)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_payload_key (Arg_ &&arg, Args_... args)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_payload_value (Arg_ &&arg, Args_... args)

Static Public Member Functions

static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor ()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor ()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection ()
static const MPModelProto_Annotationdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()
static bool TargetType_IsValid (int value)
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TargetType_descriptor ()
template<typename T>
static const ::std::string & TargetType_Name (T value)
static bool TargetType_Parse (::absl::string_view name, TargetType *PROTOBUF_NONNULL value)

Static Public Attributes

static constexpr int kIndexInFileMessages = 11
static constexpr TargetType VARIABLE_DEFAULT = MPModelProto_Annotation_TargetType_VARIABLE_DEFAULT
static constexpr TargetType CONSTRAINT = MPModelProto_Annotation_TargetType_CONSTRAINT
static constexpr TargetType GENERAL_CONSTRAINT = MPModelProto_Annotation_TargetType_GENERAL_CONSTRAINT
static constexpr TargetType TargetType_MIN = MPModelProto_Annotation_TargetType_TargetType_MIN
static constexpr TargetType TargetType_MAX = MPModelProto_Annotation_TargetType_TargetType_MAX
static constexpr int TargetType_ARRAYSIZE = MPModelProto_Annotation_TargetType_TargetType_ARRAYSIZE

Friends

class ::google::protobuf::internal::TcParser
class ::google::protobuf::MessageLite
class ::google::protobuf::Arena
template<typename T>
class ::google::protobuf::Arena::InternalHelper
struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
void swap (MPModelProto_Annotation &a, MPModelProto_Annotation &b)

Member Typedef Documentation

◆ TargetType

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kTargetNameFieldNumber 
kPayloadKeyFieldNumber 
kPayloadValueFieldNumber 
kTargetTypeFieldNumber 
kTargetIndexFieldNumber 

Definition at line 2420 of file linear_solver.pb.h.

Constructor & Destructor Documentation

◆ MPModelProto_Annotation() [1/5]

operations_research::MPModelProto_Annotation::MPModelProto_Annotation ( )
inline

Definition at line 2261 of file linear_solver.pb.h.

◆ ~MPModelProto_Annotation()

operations_research::MPModelProto_Annotation::~MPModelProto_Annotation ( )

Definition at line 5503 of file linear_solver.pb.cc.

◆ MPModelProto_Annotation() [2/5]

template<typename = void>
PROTOBUF_CONSTEXPR operations_research::MPModelProto_Annotation::MPModelProto_Annotation ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ MPModelProto_Annotation() [3/5]

operations_research::MPModelProto_Annotation::MPModelProto_Annotation ( const MPModelProto_Annotation & from)
inline

Definition at line 2274 of file linear_solver.pb.h.

◆ MPModelProto_Annotation() [4/5]

operations_research::MPModelProto_Annotation::MPModelProto_Annotation ( MPModelProto_Annotation && from)
inlinenoexcept

Definition at line 2275 of file linear_solver.pb.h.

◆ MPModelProto_Annotation() [5/5]

template<typename>
PROTOBUF_CONSTEXPR operations_research::MPModelProto_Annotation::MPModelProto_Annotation ( ::_pbi::ConstantInitialized )

Definition at line 266 of file linear_solver.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

uint8_t *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::_InternalSerialize ( ::uint8_t *PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream ) const
final

Definition at line 5659 of file linear_solver.pb.cc.

◆ ByteSizeLong()

size_t operations_research::MPModelProto_Annotation::ByteSizeLong ( ) const
final

Definition at line 5717 of file linear_solver.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPModelProto_Annotation::Clear ( )

Definition at line 5625 of file linear_solver.pb.cc.

◆ clear_payload_key()

void operations_research::MPModelProto_Annotation::clear_payload_key ( )
inline

Definition at line 8199 of file linear_solver.pb.h.

◆ clear_payload_value()

void operations_research::MPModelProto_Annotation::clear_payload_value ( )
inline

Definition at line 8268 of file linear_solver.pb.h.

◆ clear_target_index()

void operations_research::MPModelProto_Annotation::clear_target_index ( )
inline

Definition at line 8101 of file linear_solver.pb.h.

◆ clear_target_name()

void operations_research::MPModelProto_Annotation::clear_target_name ( )
inline

Definition at line 8130 of file linear_solver.pb.h.

◆ clear_target_type()

void operations_research::MPModelProto_Annotation::clear_target_type ( )
inline

Definition at line 8069 of file linear_solver.pb.h.

◆ CopyFrom()

void operations_research::MPModelProto_Annotation::CopyFrom ( const MPModelProto_Annotation & from)

Definition at line 5796 of file linear_solver.pb.cc.

◆ default_instance()

const MPModelProto_Annotation & operations_research::MPModelProto_Annotation::default_instance ( )
inlinestatic

Definition at line 2309 of file linear_solver.pb.h.

◆ descriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::descriptor ( )
inlinestatic

Definition at line 2300 of file linear_solver.pb.h.

◆ GetCachedSize()

int operations_research::MPModelProto_Annotation::GetCachedSize ( ) const
inline

Definition at line 2368 of file linear_solver.pb.h.

◆ GetDescriptor()

const ::google::protobuf::Descriptor *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::GetDescriptor ( )
inlinestatic

Definition at line 2303 of file linear_solver.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::MPModelProto_Annotation::GetMetadata ( ) const

Definition at line 5821 of file linear_solver.pb.cc.

◆ GetReflection()

const ::google::protobuf::Reflection *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::GetReflection ( )
inlinestatic

Definition at line 2306 of file linear_solver.pb.h.

◆ has_payload_key()

bool operations_research::MPModelProto_Annotation::has_payload_key ( ) const
inline

Definition at line 8195 of file linear_solver.pb.h.

◆ has_payload_value()

bool operations_research::MPModelProto_Annotation::has_payload_value ( ) const
inline

Definition at line 8264 of file linear_solver.pb.h.

◆ has_target_index()

bool operations_research::MPModelProto_Annotation::has_target_index ( ) const
inline

Definition at line 8097 of file linear_solver.pb.h.

◆ has_target_name()

bool operations_research::MPModelProto_Annotation::has_target_name ( ) const
inline

Definition at line 8126 of file linear_solver.pb.h.

◆ has_target_type()

bool operations_research::MPModelProto_Annotation::has_target_type ( ) const
inline

Definition at line 8065 of file linear_solver.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::MPModelProto_Annotation::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 5529 of file linear_solver.pb.cc.

◆ IsInitialized()

bool operations_research::MPModelProto_Annotation::IsInitialized ( ) const
inline

Definition at line 2344 of file linear_solver.pb.h.

◆ MergeFrom()

void operations_research::MPModelProto_Annotation::MergeFrom ( const MPModelProto_Annotation & from)
inline

Definition at line 2337 of file linear_solver.pb.h.

◆ mutable_payload_key()

std::string *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::mutable_payload_key ( )
inline

Definition at line 8217 of file linear_solver.pb.h.

◆ mutable_payload_value()

std::string *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::mutable_payload_value ( )
inline

Definition at line 8286 of file linear_solver.pb.h.

◆ mutable_target_name()

std::string *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::mutable_target_name ( )
inline

Definition at line 8148 of file linear_solver.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::mutable_unknown_fields ( )
inline

Definition at line 2295 of file linear_solver.pb.h.

◆ New()

MPModelProto_Annotation *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::New ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena = nullptr) const
inline

Definition at line 2331 of file linear_solver.pb.h.

◆ operator=() [1/2]

MPModelProto_Annotation & operations_research::MPModelProto_Annotation::operator= ( const MPModelProto_Annotation & from)
inline

Definition at line 2277 of file linear_solver.pb.h.

◆ operator=() [2/2]

MPModelProto_Annotation & operations_research::MPModelProto_Annotation::operator= ( MPModelProto_Annotation && from)
inlinenoexcept

Definition at line 2281 of file linear_solver.pb.h.

◆ payload_key()

const::std::string & operations_research::MPModelProto_Annotation::payload_key ( ) const
inline

Definition at line 8205 of file linear_solver.pb.h.

◆ payload_value()

const::std::string & operations_research::MPModelProto_Annotation::payload_value ( ) const
inline

Definition at line 8274 of file linear_solver.pb.h.

◆ release_payload_key()

std::string *PROTOBUF_NULLABLE operations_research::MPModelProto_Annotation::release_payload_key ( )
inlinenodiscard

Definition at line 8236 of file linear_solver.pb.h.

◆ release_payload_value()

std::string *PROTOBUF_NULLABLE operations_research::MPModelProto_Annotation::release_payload_value ( )
inlinenodiscard

Definition at line 8305 of file linear_solver.pb.h.

◆ release_target_name()

std::string *PROTOBUF_NULLABLE operations_research::MPModelProto_Annotation::release_target_name ( )
inlinenodiscard

Definition at line 8167 of file linear_solver.pb.h.

◆ set_allocated_payload_key()

void operations_research::MPModelProto_Annotation::set_allocated_payload_key ( ::std::string *PROTOBUF_NULLABLE value)
inline

Definition at line 8249 of file linear_solver.pb.h.

◆ set_allocated_payload_value()

void operations_research::MPModelProto_Annotation::set_allocated_payload_value ( ::std::string *PROTOBUF_NULLABLE value)
inline

Definition at line 8318 of file linear_solver.pb.h.

◆ set_allocated_target_name()

void operations_research::MPModelProto_Annotation::set_allocated_target_name ( ::std::string *PROTOBUF_NULLABLE value)
inline

Definition at line 8180 of file linear_solver.pb.h.

◆ set_payload_key() [1/2]

template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void operations_research::MPModelProto_Annotation::set_payload_key ( Arg_ && arg,
Args_... args )

Definition at line 8211 of file linear_solver.pb.h.

◆ set_payload_key() [2/2]

template<typename Arg_ = const ::std::string&, typename... Args_>
void operations_research::MPModelProto_Annotation::set_payload_key ( Arg_ && arg,
Args_... args )

◆ set_payload_value() [1/2]

template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void operations_research::MPModelProto_Annotation::set_payload_value ( Arg_ && arg,
Args_... args )

Definition at line 8280 of file linear_solver.pb.h.

◆ set_payload_value() [2/2]

template<typename Arg_ = const ::std::string&, typename... Args_>
void operations_research::MPModelProto_Annotation::set_payload_value ( Arg_ && arg,
Args_... args )

◆ set_target_index()

void operations_research::MPModelProto_Annotation::set_target_index ( ::int32_t value)
inline

Definition at line 8111 of file linear_solver.pb.h.

◆ set_target_name() [1/2]

template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void operations_research::MPModelProto_Annotation::set_target_name ( Arg_ && arg,
Args_... args )

Definition at line 8142 of file linear_solver.pb.h.

◆ set_target_name() [2/2]

template<typename Arg_ = const ::std::string&, typename... Args_>
void operations_research::MPModelProto_Annotation::set_target_name ( Arg_ && arg,
Args_... args )

◆ set_target_type()

void operations_research::MPModelProto_Annotation::set_target_type ( ::operations_research::MPModelProto_Annotation_TargetType value)
inline

Definition at line 8079 of file linear_solver.pb.h.

◆ Swap()

void operations_research::MPModelProto_Annotation::Swap ( MPModelProto_Annotation *PROTOBUF_NONNULL other)
inline

Definition at line 2315 of file linear_solver.pb.h.

◆ target_index()

int32_t operations_research::MPModelProto_Annotation::target_index ( ) const
inline

Definition at line 8107 of file linear_solver.pb.h.

◆ target_name()

const::std::string & operations_research::MPModelProto_Annotation::target_name ( ) const
inline

Definition at line 8136 of file linear_solver.pb.h.

◆ target_type()

operations_research::MPModelProto_Annotation_TargetType operations_research::MPModelProto_Annotation::target_type ( ) const
inline

Definition at line 8075 of file linear_solver.pb.h.

◆ TargetType_descriptor()

const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::MPModelProto_Annotation::TargetType_descriptor ( )
inlinestatic

Definition at line 2407 of file linear_solver.pb.h.

◆ TargetType_IsValid()

bool operations_research::MPModelProto_Annotation::TargetType_IsValid ( int value)
inlinestatic

Definition at line 2401 of file linear_solver.pb.h.

◆ TargetType_Name()

template<typename T>
const ::std::string & operations_research::MPModelProto_Annotation::TargetType_Name ( T value)
inlinestatic

Definition at line 2411 of file linear_solver.pb.h.

◆ TargetType_Parse()

bool operations_research::MPModelProto_Annotation::TargetType_Parse ( ::absl::string_view name,
TargetType *PROTOBUF_NONNULL value )
inlinestatic

Definition at line 2414 of file linear_solver.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::MPModelProto_Annotation::unknown_fields ( ) const
inline

Definition at line 2291 of file linear_solver.pb.h.

◆ UnsafeArenaSwap()

void operations_research::MPModelProto_Annotation::UnsafeArenaSwap ( MPModelProto_Annotation *PROTOBUF_NONNULL other)
inline

Definition at line 2323 of file linear_solver.pb.h.

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena
friend

Definition at line 2507 of file linear_solver.pb.h.

◆ ::google::protobuf::Arena::InternalHelper

template<typename T>
friend class ::google::protobuf::Arena::InternalHelper
friend

Definition at line 2509 of file linear_solver.pb.h.

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser
friend

Definition at line 2500 of file linear_solver.pb.h.

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite
friend

Definition at line 2506 of file linear_solver.pb.h.

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
friend

Definition at line 2531 of file linear_solver.pb.h.

◆ swap

void swap ( MPModelProto_Annotation & a,
MPModelProto_Annotation & b )
friend

Definition at line 2314 of file linear_solver.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::MPModelProto_Annotation::_impl_

Definition at line 2530 of file linear_solver.pb.h.

◆ CONSTRAINT

TargetType operations_research::MPModelProto_Annotation::CONSTRAINT = MPModelProto_Annotation_TargetType_CONSTRAINT
staticconstexpr

Definition at line 2399 of file linear_solver.pb.h.

◆ GENERAL_CONSTRAINT

TargetType operations_research::MPModelProto_Annotation::GENERAL_CONSTRAINT = MPModelProto_Annotation_TargetType_GENERAL_CONSTRAINT
staticconstexpr

Definition at line 2400 of file linear_solver.pb.h.

◆ kIndexInFileMessages

int operations_research::MPModelProto_Annotation::kIndexInFileMessages = 11
staticconstexpr

Definition at line 2313 of file linear_solver.pb.h.

◆ TargetType_ARRAYSIZE

int operations_research::MPModelProto_Annotation::TargetType_ARRAYSIZE = MPModelProto_Annotation_TargetType_TargetType_ARRAYSIZE
staticconstexpr

Definition at line 2406 of file linear_solver.pb.h.

◆ TargetType_MAX

TargetType operations_research::MPModelProto_Annotation::TargetType_MAX = MPModelProto_Annotation_TargetType_TargetType_MAX
staticconstexpr

Definition at line 2405 of file linear_solver.pb.h.

◆ TargetType_MIN

TargetType operations_research::MPModelProto_Annotation::TargetType_MIN = MPModelProto_Annotation_TargetType_TargetType_MIN
staticconstexpr

Definition at line 2404 of file linear_solver.pb.h.

◆ VARIABLE_DEFAULT

TargetType operations_research::MPModelProto_Annotation::VARIABLE_DEFAULT = MPModelProto_Annotation_TargetType_VARIABLE_DEFAULT
staticconstexpr

Definition at line 2398 of file linear_solver.pb.h.


The documentation for this class was generated from the following files: