Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
operations_research::MPVariableProto Class Reference

#include <linear_solver.pb.h>

Inheritance diagram for operations_research::MPVariableProto:
Inheritance graph
[legend]
Collaboration diagram for operations_research::MPVariableProto:
Collaboration graph
[legend]

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
 implements Message -------------------------------------------— More...
 
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
 nested types -------------------------------------------------— More...
 
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
 optional double objective_coefficient = 3 [default = 0]; More...
 
void clear_objective_coefficient ()
 
double objective_coefficient () const
 
void set_objective_coefficient (double value)
 
bool has_is_integer () const
 optional bool is_integer = 4 [default = false]; More...
 
void clear_is_integer ()
 
bool is_integer () const
 
void set_is_integer (bool value)
 
bool has_branching_priority () const
 optional int32 branching_priority = 6 [default = 0]; More...
 
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
 optional double lower_bound = 1 [default = -inf]; More...
 
void clear_lower_bound ()
 
double lower_bound () const
 
void set_lower_bound (double value)
 
bool has_upper_bound () const
 optional double upper_bound = 2 [default = inf]; More...
 
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)
 

Detailed Description

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

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 234 of file linear_solver.pb.h.

Member Function Documentation

◆ branching_priority()

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

@protoc_insertion_point(field_get:operations_research.MPVariableProto.branching_priority)

Definition at line 2414 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 2410 of file linear_solver.pb.h.

◆ clear_is_integer()

void operations_research::MPVariableProto::clear_is_integer ( )
inline

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

◆ clear_lower_bound()

void operations_research::MPVariableProto::clear_lower_bound ( )
inline

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

◆ clear_name()

void operations_research::MPVariableProto::clear_name ( )
inline

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

◆ clear_objective_coefficient()

void operations_research::MPVariableProto::clear_objective_coefficient ( )
inline

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

◆ clear_upper_bound()

void operations_research::MPVariableProto::clear_upper_bound ( )
inline

Definition at line 2298 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 259 of file linear_solver.pb.h.

◆ GetCachedSize()

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

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

◆ GetDescriptor()

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

Definition at line 262 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 265 of file linear_solver.pb.h.

◆ has_branching_priority()

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

optional int32 branching_priority = 6 [default = 0];

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

◆ has_is_integer()

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

optional bool is_integer = 4 [default = false];

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

◆ has_lower_bound()

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

optional double lower_bound = 1 [default = -inf];

MPVariableProto.

optional double lower_bound = 1 [default = -inf];

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

◆ has_name()

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

nested types -------------------------------------------------—

optional string name = 5 [default = ""];

accessors ----------------------------------------------------— optional string name = 5 [default = ""];

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

◆ has_objective_coefficient()

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

optional double objective_coefficient = 3 [default = 0];

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

◆ has_upper_bound()

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

optional double upper_bound = 2 [default = inf];

Definition at line 2295 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 271 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

@protoc_insertion_point(field_get:operations_research.MPVariableProto.is_integer)

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

◆ IsInitialized()

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

◆ lower_bound()

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

@protoc_insertion_point(field_get:operations_research.MPVariableProto.lower_bound)

Definition at line 2284 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

@protoc_insertion_point(field_mutable:operations_research.MPVariableProto.name)

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

◆ mutable_unknown_fields()

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

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

◆ name()

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

@protoc_insertion_point(field_get:operations_research.MPVariableProto.name)

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

◆ New() [1/2]

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

implements Message -------------------------------------------—

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

◆ New() [2/2]

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

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

◆ objective_coefficient()

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

@protoc_insertion_point(field_get:operations_research.MPVariableProto.objective_coefficient)

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ release_name()

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

@protoc_insertion_point(field_release:operations_research.MPVariableProto.name)

Definition at line 2388 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

@protoc_insertion_point(field_set_allocated:operations_research.MPVariableProto.name)

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

◆ set_branching_priority()

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

@protoc_insertion_point(field_set:operations_research.MPVariableProto.branching_priority)

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

◆ set_is_integer()

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

@protoc_insertion_point(field_set:operations_research.MPVariableProto.is_integer)

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

◆ set_lower_bound()

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

@protoc_insertion_point(field_set:operations_research.MPVariableProto.lower_bound)

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

◆ set_name() [1/4]

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

@protoc_insertion_point(field_set:operations_research.MPVariableProto.name)

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

◆ set_name() [2/4]

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

@protoc_insertion_point(field_set_rvalue:operations_research.MPVariableProto.name)

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

◆ set_name() [3/4]

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

@protoc_insertion_point(field_set_char:operations_research.MPVariableProto.name)

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

◆ set_name() [4/4]

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

@protoc_insertion_point(field_set_pointer:operations_research.MPVariableProto.name)

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

◆ set_objective_coefficient()

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

@protoc_insertion_point(field_set:operations_research.MPVariableProto.objective_coefficient)

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

◆ set_upper_bound()

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

@protoc_insertion_point(field_set:operations_research.MPVariableProto.upper_bound)

Definition at line 2306 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 252 of file linear_solver.pb.h.

◆ upper_bound()

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

@protoc_insertion_point(field_get:operations_research.MPVariableProto.upper_bound)

Definition at line 2302 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 317 of file linear_solver.pb.h.

◆ ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto

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

◆ swap

void swap ( MPVariableProto a,
MPVariableProto b 
)
friend

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

Member Data Documentation

◆ kBranchingPriorityFieldNumber

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

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

◆ kIndexInFileMessages

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

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

◆ kIsIntegerFieldNumber

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

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

◆ kLowerBoundFieldNumber

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

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

◆ kNameFieldNumber

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

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

◆ kObjectiveCoefficientFieldNumber

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

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

◆ kUpperBoundFieldNumber

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

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


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