operations_research::MPVariableProto Class Reference

Detailed Description

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

Public Member Functions

 MPVariableProto ()
 
virtual ~MPVariableProto ()
 
 MPVariableProto (const MPVariableProto &from)
 
 MPVariableProto (MPVariableProto &&from) noexcept
 
MPVariableProtooperator= (const MPVariableProto &from)
 
MPVariableProtooperator= (MPVariableProto &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (MPVariableProto *other)
 
MPVariableProtoNew () const final
 
MPVariableProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
 
void CopyFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void MergeFrom (const ::PROTOBUF_NAMESPACE_ID::Message &from) final
 
void CopyFrom (const MPVariableProto &from)
 
void MergeFrom (const MPVariableProto &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
bool MergePartialFromCodedStream (::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *input) final
 
void SerializeWithCachedSizes (::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *output) const final
 
::PROTOBUF_NAMESPACE_ID::uint8 * InternalSerializeWithCachedSizesToArray (::PROTOBUF_NAMESPACE_ID::uint8 *target) const final
 
int GetCachedSize () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_name () const
 
void clear_name ()
 
const std::string & name () const
 
void set_name (const std::string &value)
 
void set_name (std::string &&value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
std::string * mutable_name ()
 
std::string * release_name ()
 
void set_allocated_name (std::string *name)
 
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 ()
 
::PROTOBUF_NAMESPACE_ID::int32 branching_priority () const
 
void set_branching_priority (::PROTOBUF_NAMESPACE_ID::int32 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)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const MPVariableProtodefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const MPVariableProtointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const int kNameFieldNumber = 5
 
static const int kObjectiveCoefficientFieldNumber = 3
 
static const int kIsIntegerFieldNumber = 4
 
static const int kBranchingPriorityFieldNumber = 6
 
static const int kLowerBoundFieldNumber = 1
 
static const int kUpperBoundFieldNumber = 2
 

Friends

class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
 
void swap (MPVariableProto &a, MPVariableProto &b)
 

Constructor & Destructor Documentation

◆ MPVariableProto() [1/3]

operations_research::MPVariableProto::MPVariableProto ( )

◆ ~MPVariableProto()

virtual operations_research::MPVariableProto::~MPVariableProto ( )
virtual

◆ MPVariableProto() [2/3]

operations_research::MPVariableProto::MPVariableProto ( const MPVariableProto from)

◆ MPVariableProto() [3/3]

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

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

Member Function Documentation

◆ branching_priority()

PROTOBUF_NAMESPACE_ID::int32 operations_research::MPVariableProto::branching_priority ( ) const
inline

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

◆ ByteSizeLong()

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

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void operations_research::MPVariableProto::Clear ( )
final

◆ clear_branching_priority()

void operations_research::MPVariableProto::clear_branching_priority ( )
inline

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

◆ clear_is_integer()

void operations_research::MPVariableProto::clear_is_integer ( )
inline

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

◆ clear_lower_bound()

void operations_research::MPVariableProto::clear_lower_bound ( )
inline

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

◆ clear_name()

void operations_research::MPVariableProto::clear_name ( )
inline

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

◆ clear_objective_coefficient()

void operations_research::MPVariableProto::clear_objective_coefficient ( )
inline

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

◆ clear_upper_bound()

void operations_research::MPVariableProto::clear_upper_bound ( )
inline

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

◆ CopyFrom() [1/2]

void operations_research::MPVariableProto::CopyFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ CopyFrom() [2/2]

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

◆ default_instance()

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

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* operations_research::MPVariableProto::descriptor ( )
inlinestatic

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

◆ GetCachedSize()

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

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

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* operations_research::MPVariableProto::GetDescriptor ( )
inlinestatic

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

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata operations_research::MPVariableProto::GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* operations_research::MPVariableProto::GetReflection ( )
inlinestatic

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

◆ has_branching_priority()

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

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

◆ has_is_integer()

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

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

◆ has_lower_bound()

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

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

◆ has_name()

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

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

◆ has_objective_coefficient()

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

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

◆ has_upper_bound()

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

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

◆ InitAsDefaultInstance()

static void operations_research::MPVariableProto::InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const MPVariableProto* operations_research::MPVariableProto::internal_default_instance ( )
inlinestatic

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

◆ InternalSerializeWithCachedSizesToArray()

::PROTOBUF_NAMESPACE_ID::uint8* operations_research::MPVariableProto::InternalSerializeWithCachedSizesToArray ( ::PROTOBUF_NAMESPACE_ID::uint8 *  target) const
final

◆ is_integer()

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

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

◆ IsInitialized()

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

◆ lower_bound()

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

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

◆ MergeFrom() [1/2]

void operations_research::MPVariableProto::MergeFrom ( const ::PROTOBUF_NAMESPACE_ID::Message &  from)
final

◆ MergeFrom() [2/2]

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

◆ MergePartialFromCodedStream()

bool operations_research::MPVariableProto::MergePartialFromCodedStream ( ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream *  input)
final

◆ mutable_name()

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

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

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* operations_research::MPVariableProto::mutable_unknown_fields ( )
inline

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

◆ name()

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

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

◆ New() [1/2]

MPVariableProto* operations_research::MPVariableProto::New ( ) const
inlinefinal

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

◆ New() [2/2]

MPVariableProto* operations_research::MPVariableProto::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

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

◆ objective_coefficient()

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ release_name()

std::string * operations_research::MPVariableProto::release_name ( )
inline

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

◆ SerializeWithCachedSizes()

void operations_research::MPVariableProto::SerializeWithCachedSizes ( ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream *  output) const
final

◆ set_allocated_name()

void operations_research::MPVariableProto::set_allocated_name ( std::string *  name)
inline

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

◆ set_branching_priority()

void operations_research::MPVariableProto::set_branching_priority ( ::PROTOBUF_NAMESPACE_ID::int32  value)
inline

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

◆ set_is_integer()

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

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

◆ set_lower_bound()

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

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

◆ set_name() [1/4]

void operations_research::MPVariableProto::set_name ( const std::string &  value)
inline

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

◆ set_name() [2/4]

void operations_research::MPVariableProto::set_name ( std::string &&  value)
inline

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

◆ set_name() [3/4]

void operations_research::MPVariableProto::set_name ( const char *  value)
inline

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

◆ set_name() [4/4]

void operations_research::MPVariableProto::set_name ( const char *  value,
size_t  size 
)
inline

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

◆ set_objective_coefficient()

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

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

◆ set_upper_bound()

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

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

◆ Swap()

void operations_research::MPVariableProto::Swap ( MPVariableProto other)

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& operations_research::MPVariableProto::unknown_fields ( ) const
inline

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

◆ upper_bound()

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

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

Friends And Related Function Documentation

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

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

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

◆ swap

void swap ( MPVariableProto a,
MPVariableProto b 
)
friend

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

Member Data Documentation

◆ kBranchingPriorityFieldNumber

const int operations_research::MPVariableProto::kBranchingPriorityFieldNumber = 6
static

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

◆ kIndexInFileMessages

constexpr int operations_research::MPVariableProto::kIndexInFileMessages
static
Initial value:
=
0

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

◆ kIsIntegerFieldNumber

const int operations_research::MPVariableProto::kIsIntegerFieldNumber = 4
static

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

◆ kLowerBoundFieldNumber

const int operations_research::MPVariableProto::kLowerBoundFieldNumber = 1
static

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

◆ kNameFieldNumber

const int operations_research::MPVariableProto::kNameFieldNumber = 5
static

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

◆ kObjectiveCoefficientFieldNumber

const int operations_research::MPVariableProto::kObjectiveCoefficientFieldNumber = 3
static

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

◆ kUpperBoundFieldNumber

const int operations_research::MPVariableProto::kUpperBoundFieldNumber = 2
static

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


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