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

Detailed Description

Definition at line 135 of file model.pb.h.

#include <model.pb.h>

Inheritance diagram for operations_research::math_opt::VariablesProto:

Classes

class  _Internal

Public Types

enum  : int {
  kIdsFieldNumber = 1 , kLowerBoundsFieldNumber = 2 , kUpperBoundsFieldNumber = 3 , kIntegersFieldNumber = 4 ,
  kNamesFieldNumber = 5
}

Public Member Functions

 VariablesProto ()
 ~VariablesProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR VariablesProto (::google::protobuf::internal::ConstantInitialized)
 VariablesProto (const VariablesProto &from)
 VariablesProto (VariablesProto &&from) noexcept
VariablesProtooperator= (const VariablesProto &from)
VariablesProtooperator= (VariablesProto &&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 (VariablesProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (VariablesProto *PROTOBUF_NONNULL other)
VariablesProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const VariablesProto &from)
void MergeFrom (const VariablesProto &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
int ids_size () const
void clear_ids ()
::int64_t ids (int index) const
void set_ids (int index, ::int64_t value)
void add_ids (::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & ids () const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids ()
int lower_bounds_size () const
void clear_lower_bounds ()
double lower_bounds (int index) const
void set_lower_bounds (int index, double value)
void add_lower_bounds (double value)
const ::google::protobuf::RepeatedField< double > & lower_bounds () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_lower_bounds ()
int upper_bounds_size () const
void clear_upper_bounds ()
double upper_bounds (int index) const
void set_upper_bounds (int index, double value)
void add_upper_bounds (double value)
const ::google::protobuf::RepeatedField< double > & upper_bounds () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_upper_bounds ()
int integers_size () const
void clear_integers ()
bool integers (int index) const
void set_integers (int index, bool value)
void add_integers (bool value)
const ::google::protobuf::RepeatedField< bool > & integers () const
::google::protobuf::RepeatedField< bool > *PROTOBUF_NONNULL mutable_integers ()
int names_size () const
void clear_names ()
const ::std::string & names (int index) const
::std::string *PROTOBUF_NONNULL mutable_names (int index)
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_names (int index, Arg_ &&value, Args_... args)
::std::string *PROTOBUF_NONNULL add_names ()
template<typename Arg_ = const ::std::string&, typename... Args_>
void add_names (Arg_ &&value, Args_... args)
const ::google::protobuf::RepeatedPtrField<::std::string > & names () const
::google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL mutable_names ()
template<typename>
PROTOBUF_CONSTEXPR VariablesProto (::_pbi::ConstantInitialized)

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 VariablesProtodefault_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_2fmath_5fopt_2fmodel_2eproto
void swap (VariablesProto &a, VariablesProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kIdsFieldNumber 
kLowerBoundsFieldNumber 
kUpperBoundsFieldNumber 
kIntegersFieldNumber 
kNamesFieldNumber 

Definition at line 276 of file model.pb.h.

Constructor & Destructor Documentation

◆ VariablesProto() [1/5]

operations_research::math_opt::VariablesProto::VariablesProto ( )
inline

Definition at line 138 of file model.pb.h.

◆ ~VariablesProto()

operations_research::math_opt::VariablesProto::~VariablesProto ( )

Definition at line 747 of file model.pb.cc.

◆ VariablesProto() [2/5]

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

◆ VariablesProto() [3/5]

operations_research::math_opt::VariablesProto::VariablesProto ( const VariablesProto & from)
inline

Definition at line 151 of file model.pb.h.

◆ VariablesProto() [4/5]

operations_research::math_opt::VariablesProto::VariablesProto ( VariablesProto && from)
inlinenoexcept

Definition at line 152 of file model.pb.h.

◆ VariablesProto() [5/5]

template<typename>
PROTOBUF_CONSTEXPR operations_research::math_opt::VariablesProto::VariablesProto ( ::_pbi::ConstantInitialized )

Definition at line 41 of file model.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

Definition at line 930 of file model.pb.cc.

◆ add_ids()

void operations_research::math_opt::VariablesProto::add_ids ( ::int64_t value)
inline

Definition at line 2594 of file model.pb.h.

◆ add_integers()

void operations_research::math_opt::VariablesProto::add_integers ( bool value)
inline

Definition at line 2744 of file model.pb.h.

◆ add_lower_bounds()

void operations_research::math_opt::VariablesProto::add_lower_bounds ( double value)
inline

Definition at line 2644 of file model.pb.h.

◆ add_names() [1/2]

std::string *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::add_names ( )
inline

Definition at line 2786 of file model.pb.h.

◆ add_names() [2/2]

template<typename Arg_, typename... Args_>
void operations_research::math_opt::VariablesProto::add_names ( Arg_ && value,
Args_... args )
inline

Definition at line 2813 of file model.pb.h.

◆ add_upper_bounds()

void operations_research::math_opt::VariablesProto::add_upper_bounds ( double value)
inline

Definition at line 2694 of file model.pb.h.

◆ ByteSizeLong()

size_t operations_research::math_opt::VariablesProto::ByteSizeLong ( ) const
final

Definition at line 998 of file model.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::math_opt::VariablesProto::Clear ( )

Definition at line 895 of file model.pb.cc.

◆ clear_ids()

void operations_research::math_opt::VariablesProto::clear_ids ( )
inline

Definition at line 2580 of file model.pb.h.

◆ clear_integers()

void operations_research::math_opt::VariablesProto::clear_integers ( )
inline

Definition at line 2730 of file model.pb.h.

◆ clear_lower_bounds()

void operations_research::math_opt::VariablesProto::clear_lower_bounds ( )
inline

Definition at line 2630 of file model.pb.h.

◆ clear_names()

void operations_research::math_opt::VariablesProto::clear_names ( )
inline

Definition at line 2780 of file model.pb.h.

◆ clear_upper_bounds()

void operations_research::math_opt::VariablesProto::clear_upper_bounds ( )
inline

Definition at line 2680 of file model.pb.h.

◆ CopyFrom()

void operations_research::math_opt::VariablesProto::CopyFrom ( const VariablesProto & from)

Definition at line 1101 of file model.pb.cc.

◆ default_instance()

const VariablesProto & operations_research::math_opt::VariablesProto::default_instance ( )
inlinestatic

Definition at line 186 of file model.pb.h.

◆ descriptor()

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

Definition at line 177 of file model.pb.h.

◆ GetCachedSize()

int operations_research::math_opt::VariablesProto::GetCachedSize ( ) const
inline

Definition at line 245 of file model.pb.h.

◆ GetDescriptor()

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

Definition at line 180 of file model.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::math_opt::VariablesProto::GetMetadata ( ) const

Definition at line 1120 of file model.pb.cc.

◆ GetReflection()

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

Definition at line 183 of file model.pb.h.

◆ ids() [1/2]

const::google::protobuf::RepeatedField<::int64_t > & operations_research::math_opt::VariablesProto::ids ( ) const
inline

Definition at line 2600 of file model.pb.h.

◆ ids() [2/2]

int64_t operations_research::math_opt::VariablesProto::ids ( int index) const
inline

Definition at line 2586 of file model.pb.h.

◆ ids_size()

int operations_research::math_opt::VariablesProto::ids_size ( ) const
inline

Definition at line 2577 of file model.pb.h.

◆ integers() [1/2]

const::google::protobuf::RepeatedField< bool > & operations_research::math_opt::VariablesProto::integers ( ) const
inline

Definition at line 2750 of file model.pb.h.

◆ integers() [2/2]

bool operations_research::math_opt::VariablesProto::integers ( int index) const
inline

Definition at line 2736 of file model.pb.h.

◆ integers_size()

int operations_research::math_opt::VariablesProto::integers_size ( ) const
inline

Definition at line 2727 of file model.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::math_opt::VariablesProto::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 798 of file model.pb.cc.

◆ IsInitialized()

bool operations_research::math_opt::VariablesProto::IsInitialized ( ) const
inline

Definition at line 221 of file model.pb.h.

◆ lower_bounds() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::math_opt::VariablesProto::lower_bounds ( ) const
inline

Definition at line 2650 of file model.pb.h.

◆ lower_bounds() [2/2]

double operations_research::math_opt::VariablesProto::lower_bounds ( int index) const
inline

Definition at line 2636 of file model.pb.h.

◆ lower_bounds_size()

int operations_research::math_opt::VariablesProto::lower_bounds_size ( ) const
inline

Definition at line 2627 of file model.pb.h.

◆ MergeFrom()

void operations_research::math_opt::VariablesProto::MergeFrom ( const VariablesProto & from)
inline

Definition at line 214 of file model.pb.h.

◆ mutable_ids()

google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::mutable_ids ( )
inline

Definition at line 2605 of file model.pb.h.

◆ mutable_integers()

google::protobuf::RepeatedField< bool > *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::mutable_integers ( )
inline

Definition at line 2755 of file model.pb.h.

◆ mutable_lower_bounds()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::mutable_lower_bounds ( )
inline

Definition at line 2655 of file model.pb.h.

◆ mutable_names() [1/2]

google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::mutable_names ( )
inline

Definition at line 2828 of file model.pb.h.

◆ mutable_names() [2/2]

std::string *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::mutable_names ( int index)
inline

Definition at line 2801 of file model.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::mutable_unknown_fields ( )
inline

Definition at line 172 of file model.pb.h.

◆ mutable_upper_bounds()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::mutable_upper_bounds ( )
inline

Definition at line 2705 of file model.pb.h.

◆ names() [1/2]

const::google::protobuf::RepeatedPtrField<::std::string > & operations_research::math_opt::VariablesProto::names ( ) const
inline

Definition at line 2822 of file model.pb.h.

◆ names() [2/2]

const::std::string & operations_research::math_opt::VariablesProto::names ( int index) const
inline

Definition at line 2796 of file model.pb.h.

◆ names_size()

int operations_research::math_opt::VariablesProto::names_size ( ) const
inline

Definition at line 2777 of file model.pb.h.

◆ New()

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

Definition at line 208 of file model.pb.h.

◆ operator=() [1/2]

VariablesProto & operations_research::math_opt::VariablesProto::operator= ( const VariablesProto & from)
inline

Definition at line 154 of file model.pb.h.

◆ operator=() [2/2]

VariablesProto & operations_research::math_opt::VariablesProto::operator= ( VariablesProto && from)
inlinenoexcept

Definition at line 158 of file model.pb.h.

◆ set_ids()

void operations_research::math_opt::VariablesProto::set_ids ( int index,
::int64_t value )
inline

Definition at line 2590 of file model.pb.h.

◆ set_integers()

void operations_research::math_opt::VariablesProto::set_integers ( int index,
bool value )
inline

Definition at line 2740 of file model.pb.h.

◆ set_lower_bounds()

void operations_research::math_opt::VariablesProto::set_lower_bounds ( int index,
double value )
inline

Definition at line 2640 of file model.pb.h.

◆ set_names()

template<typename Arg_, typename... Args_>
void operations_research::math_opt::VariablesProto::set_names ( int index,
Arg_ && value,
Args_... args )
inline

Definition at line 2807 of file model.pb.h.

◆ set_upper_bounds()

void operations_research::math_opt::VariablesProto::set_upper_bounds ( int index,
double value )
inline

Definition at line 2690 of file model.pb.h.

◆ Swap()

void operations_research::math_opt::VariablesProto::Swap ( VariablesProto *PROTOBUF_NONNULL other)
inline

Definition at line 192 of file model.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::math_opt::VariablesProto::unknown_fields ( ) const
inline

Definition at line 168 of file model.pb.h.

◆ UnsafeArenaSwap()

void operations_research::math_opt::VariablesProto::UnsafeArenaSwap ( VariablesProto *PROTOBUF_NONNULL other)
inline

Definition at line 200 of file model.pb.h.

◆ upper_bounds() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::math_opt::VariablesProto::upper_bounds ( ) const
inline

Definition at line 2700 of file model.pb.h.

◆ upper_bounds() [2/2]

double operations_research::math_opt::VariablesProto::upper_bounds ( int index) const
inline

Definition at line 2686 of file model.pb.h.

◆ upper_bounds_size()

int operations_research::math_opt::VariablesProto::upper_bounds_size ( ) const
inline

Definition at line 2677 of file model.pb.h.

◆ ::google::protobuf::Arena

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

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

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

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

Definition at line 389 of file model.pb.h.

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto

friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto
friend

Definition at line 412 of file model.pb.h.

◆ swap

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

Definition at line 191 of file model.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::VariablesProto::_impl_

Definition at line 411 of file model.pb.h.

◆ kIndexInFileMessages

int operations_research::math_opt::VariablesProto::kIndexInFileMessages = 0
staticconstexpr

Definition at line 190 of file model.pb.h.


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