Google OR-Tools: operations_research::MPVariableProto Class Reference

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

#include <linear_solver.pb.h>

Public Member Functions

 MPVariableProto ()
 ~MPVariableProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR MPVariableProto (::google::protobuf::internal::ConstantInitialized)
 MPVariableProto (const MPVariableProto &from)
 MPVariableProto (MPVariableProto &&from) noexcept
MPVariableProtooperator= (const MPVariableProto &from)
MPVariableProtooperator= (MPVariableProto &&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 (MPVariableProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (MPVariableProto *PROTOBUF_NONNULL other)
MPVariableProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const MPVariableProto &from)
void MergeFrom (const MPVariableProto &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_name () const
void clear_name ()
const ::std::string & name () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_name (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_name ()
::std::string *PROTOBUF_NULLABLE release_name ()
void set_allocated_name (::std::string *PROTOBUF_NULLABLE value)
bool has_objective_coefficient () const
void clear_objective_coefficient ()
double objective_coefficient () const
void set_objective_coefficient (double value)
bool has_is_integer () const
void clear_is_integer ()
bool is_integer () const
void set_is_integer (bool value)
bool has_branching_priority () const
void clear_branching_priority ()
::int32_t branching_priority () const
void set_branching_priority (::int32_t value)
bool has_lower_bound () const
void clear_lower_bound ()
double lower_bound () const
void set_lower_bound (double value)
bool has_upper_bound () const
void clear_upper_bound ()
double upper_bound () const
void set_upper_bound (double value)
template<typename>
PROTOBUF_CONSTEXPR MPVariableProto (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_name (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 MPVariableProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 0

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 (MPVariableProto &a, MPVariableProto &b)

◆ anonymous enum

Enumerator
kNameFieldNumber 
kObjectiveCoefficientFieldNumber 
kIsIntegerFieldNumber 
kBranchingPriorityFieldNumber 
kLowerBoundFieldNumber 
kUpperBoundFieldNumber 

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

operations_research::MPVariableProto::MPVariableProto ( )
inline

◆ ~MPVariableProto()

operations_research::MPVariableProto::~MPVariableProto ( )

◆ MPVariableProto() [2/5]

template<typename = void>

PROTOBUF_CONSTEXPR operations_research::MPVariableProto::MPVariableProto ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ MPVariableProto() [3/5]

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

◆ MPVariableProto() [4/5]

operations_research::MPVariableProto::MPVariableProto ( MPVariableProto && from)
inlinenoexcept

◆ MPVariableProto() [5/5]

template<typename>

PROTOBUF_CONSTEXPR operations_research::MPVariableProto::MPVariableProto ( ::_pbi::ConstantInitialized )

◆ _InternalSerialize()

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

◆ branching_priority()

int32_t operations_research::MPVariableProto::branching_priority ( ) const
inline

◆ ByteSizeLong()

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::MPVariableProto::Clear ( )

◆ clear_branching_priority()

void operations_research::MPVariableProto::clear_branching_priority ( )
inline

◆ clear_is_integer()

void operations_research::MPVariableProto::clear_is_integer ( )
inline

◆ clear_lower_bound()

void operations_research::MPVariableProto::clear_lower_bound ( )
inline

◆ clear_name()

void operations_research::MPVariableProto::clear_name ( )
inline

◆ clear_objective_coefficient()

void operations_research::MPVariableProto::clear_objective_coefficient ( )
inline

◆ clear_upper_bound()

void operations_research::MPVariableProto::clear_upper_bound ( )
inline

◆ CopyFrom()

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

◆ default_instance()

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

◆ descriptor()

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

◆ GetCachedSize()

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

◆ GetDescriptor()

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

◆ GetMetadata()

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

◆ GetReflection()

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

◆ has_branching_priority()

bool operations_research::MPVariableProto::has_branching_priority ( ) const
inline

◆ has_is_integer()

bool operations_research::MPVariableProto::has_is_integer ( ) const
inline

◆ has_lower_bound()

bool operations_research::MPVariableProto::has_lower_bound ( ) const
inline

◆ has_name()

bool operations_research::MPVariableProto::has_name ( ) const
inline

◆ has_objective_coefficient()

bool operations_research::MPVariableProto::has_objective_coefficient ( ) const
inline

◆ has_upper_bound()

bool operations_research::MPVariableProto::has_upper_bound ( ) const
inline

◆ InternalGenerateClassData_()

auto operations_research::MPVariableProto::InternalGenerateClassData_ ( )
staticconstexpr

◆ is_integer()

bool operations_research::MPVariableProto::is_integer ( ) const
inline

◆ IsInitialized()

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

◆ lower_bound()

double operations_research::MPVariableProto::lower_bound ( ) const
inline

◆ MergeFrom()

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

◆ mutable_name()

std::string *PROTOBUF_NONNULL operations_research::MPVariableProto::mutable_name ( )
inline

◆ mutable_unknown_fields()

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

◆ name()

const::std::string & operations_research::MPVariableProto::name ( ) const
inline

◆ New()

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

◆ objective_coefficient()

double operations_research::MPVariableProto::objective_coefficient ( ) const
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ release_name()

std::string *PROTOBUF_NULLABLE operations_research::MPVariableProto::release_name ( )
inlinenodiscard

◆ set_allocated_name()

void operations_research::MPVariableProto::set_allocated_name ( ::std::string *PROTOBUF_NULLABLE value)
inline

◆ set_branching_priority()

void operations_research::MPVariableProto::set_branching_priority ( ::int32_t value)
inline

◆ set_is_integer()

void operations_research::MPVariableProto::set_is_integer ( bool value)
inline

◆ set_lower_bound()

void operations_research::MPVariableProto::set_lower_bound ( double value)
inline

◆ set_name() [1/2]

template<typename Arg_, typename... Args_>

PROTOBUF_ALWAYS_INLINE void operations_research::MPVariableProto::set_name ( Arg_ && arg,
Args_... args )

◆ set_name() [2/2]

template<typename Arg_ = const ::std::string&, typename... Args_>

void operations_research::MPVariableProto::set_name ( Arg_ && arg,
Args_... args )

◆ set_objective_coefficient()

void operations_research::MPVariableProto::set_objective_coefficient ( double value)
inline

◆ set_upper_bound()

void operations_research::MPVariableProto::set_upper_bound ( double value)
inline

◆ Swap()

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

◆ unknown_fields()

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

◆ UnsafeArenaSwap()

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

◆ upper_bound()

double operations_research::MPVariableProto::upper_bound ( ) const
inline

◆ ::google::protobuf::Arena

friend class ::google::protobuf::Arena

friend

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

template<typename T>

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

friend

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

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

friend

◆ ::google::protobuf::MessageLite

friend class ::google::protobuf::MessageLite

friend

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

friend

◆ swap

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

◆ _impl_

Impl_ operations_research::MPVariableProto::_impl_

◆ kIndexInFileMessages

int operations_research::MPVariableProto::kIndexInFileMessages = 0

staticconstexpr

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