Google OR-Tools v9.14
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
}
 nested types -------------------------------------------------— More...

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
 implements Message -------------------------------------------—
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
 repeated int64 ids = 1;
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
 repeated double lower_bounds = 2;
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
 repeated double upper_bounds = 3;
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
 repeated bool integers = 4;
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
 repeated string names = 5;
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

Protected Member Functions

 VariablesProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 VariablesProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const VariablesProto &from)
 VariablesProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, VariablesProto &&from) noexcept
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData () const PROTOBUF_FINAL

Static Protected Member Functions

static void *PROTOBUF_NONNULL PlacementNew_ (const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_ ()

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

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

accessors ----------------------------------------------------—

Enumerator
kIdsFieldNumber 
kLowerBoundsFieldNumber 
kUpperBoundsFieldNumber 
kIntegersFieldNumber 
kNamesFieldNumber 

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

Constructor & Destructor Documentation

◆ VariablesProto() [1/8]

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

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

◆ ~VariablesProto()

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

@protoc_insertion_point(destructor:operations_research.math_opt.VariablesProto)

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

◆ VariablesProto() [2/8]

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

◆ VariablesProto() [3/8]

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

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

◆ VariablesProto() [4/8]

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

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

◆ VariablesProto() [5/8]

operations_research::math_opt::VariablesProto::VariablesProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.math_opt.VariablesProto)

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

◆ VariablesProto() [6/8]

operations_research::math_opt::VariablesProto::VariablesProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
const VariablesProto & from )
protected

@protoc_insertion_point(copy_constructor:operations_research.math_opt.VariablesProto)

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

◆ VariablesProto() [7/8]

operations_research::math_opt::VariablesProto::VariablesProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena,
VariablesProto && from )
inlineprotectednoexcept

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

◆ VariablesProto() [8/8]

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

@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.VariablesProto)

repeated int64 ids = 1;

repeated double lower_bounds = 2;

repeated double upper_bounds = 3;

repeated bool integers = 4;

repeated string names = 5;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.VariablesProto)

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

◆ add_ids()

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

@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.ids)

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

◆ add_integers()

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

@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.integers)

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

◆ add_lower_bounds()

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

@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.lower_bounds)

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

@protoc_insertion_point(field_add_mutable:operations_research.math_opt.VariablesProto.names)

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

@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.names)

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

◆ add_upper_bounds()

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

@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.upper_bounds)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.VariablesProto)

Prevent compiler warnings about cached_has_bits being unused

repeated int64 ids = 1;

repeated double lower_bounds = 2;

repeated double upper_bounds = 3;

repeated bool integers = 4;

repeated string names = 5;

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

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.math_opt.VariablesProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_ids()

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

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

◆ clear_integers()

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

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

◆ clear_lower_bounds()

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

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

◆ clear_names()

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

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

◆ clear_upper_bounds()

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

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.VariablesProto)

Definition at line 1028 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.

◆ GetClassData()

PROTOBUF_ATTRIBUTE_WEAKconst::google::protobuf::internal::ClassData *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::GetClassData ( ) const
protected

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

◆ 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 1046 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

@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.ids)

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

◆ ids() [2/2]

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

@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.ids)

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

◆ ids_size()

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

repeated int64 ids = 1;

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

◆ integers() [1/2]

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

@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.integers)

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

◆ integers() [2/2]

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

@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.integers)

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

◆ integers_size()

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

repeated bool integers = 4;

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

◆ InternalGenerateClassData_()

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

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

◆ InternalNewImpl_()

auto operations_research::math_opt::VariablesProto::InternalNewImpl_ ( )
staticconstexprprotected

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

@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.lower_bounds)

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

◆ lower_bounds() [2/2]

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

@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.lower_bounds)

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

◆ lower_bounds_size()

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

repeated double lower_bounds = 2;

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

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.ids)

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

◆ mutable_integers()

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

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.integers)

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

◆ mutable_lower_bounds()

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

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.lower_bounds)

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

◆ mutable_names() [1/2]

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

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.names)

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

◆ mutable_names() [2/2]

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

@protoc_insertion_point(field_mutable:operations_research.math_opt.VariablesProto.names)

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

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.upper_bounds)

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

◆ names() [1/2]

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

@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.names)

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

◆ names() [2/2]

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

@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.names)

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

◆ names_size()

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

repeated string names = 5;

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

◆ New()

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

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

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.

◆ PlacementNew_()

void *PROTOBUF_NONNULL operations_research::math_opt::VariablesProto::PlacementNew_ ( const void * PROTOBUF_NONNULL,
void *PROTOBUF_NONNULL mem,
::google::protobuf::Arena *PROTOBUF_NULLABLE arena )
inlinestaticprotected

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

◆ set_ids()

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

@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.ids)

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

◆ set_integers()

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

@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.integers)

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

◆ set_lower_bounds()

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

@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.lower_bounds)

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

@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.names)

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

◆ set_upper_bounds()

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

@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.upper_bounds)

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

@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.upper_bounds)

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

◆ upper_bounds() [2/2]

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

@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.upper_bounds)

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

◆ upper_bounds_size()

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

repeated double upper_bounds = 3;

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto

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: