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

Detailed Description

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

#include <model.pb.h>

Inheritance diagram for operations_research::math_opt::LinearConstraintsProto:

Classes

class  _Internal

Public Types

enum  : int { kIdsFieldNumber = 1 , kLowerBoundsFieldNumber = 2 , kUpperBoundsFieldNumber = 3 , kNamesFieldNumber = 4 }
 nested types -------------------------------------------------— More...

Public Member Functions

 LinearConstraintsProto ()
 ~LinearConstraintsProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR LinearConstraintsProto (::google::protobuf::internal::ConstantInitialized)
 LinearConstraintsProto (const LinearConstraintsProto &from)
 LinearConstraintsProto (LinearConstraintsProto &&from) noexcept
LinearConstraintsProtooperator= (const LinearConstraintsProto &from)
LinearConstraintsProtooperator= (LinearConstraintsProto &&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 (LinearConstraintsProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (LinearConstraintsProto *PROTOBUF_NONNULL other)
LinearConstraintsProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const LinearConstraintsProto &from)
void MergeFrom (const LinearConstraintsProto &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 names_size () const
 repeated string names = 4;
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 LinearConstraintsProto (::_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 LinearConstraintsProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 2

Protected Member Functions

 LinearConstraintsProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
 LinearConstraintsProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, const LinearConstraintsProto &from)
 LinearConstraintsProto (::google::protobuf::Arena *PROTOBUF_NULLABLE arena, LinearConstraintsProto &&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 (LinearConstraintsProto &a, LinearConstraintsProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kIdsFieldNumber 
kLowerBoundsFieldNumber 
kUpperBoundsFieldNumber 
kNamesFieldNumber 

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

Constructor & Destructor Documentation

◆ LinearConstraintsProto() [1/8]

operations_research::math_opt::LinearConstraintsProto::LinearConstraintsProto ( )
inline

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

◆ ~LinearConstraintsProto()

operations_research::math_opt::LinearConstraintsProto::~LinearConstraintsProto ( )

@protoc_insertion_point(destructor:operations_research.math_opt.LinearConstraintsProto)

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

◆ LinearConstraintsProto() [2/8]

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

◆ LinearConstraintsProto() [3/8]

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

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

◆ LinearConstraintsProto() [4/8]

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

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

◆ LinearConstraintsProto() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.math_opt.LinearConstraintsProto)

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

◆ LinearConstraintsProto() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.math_opt.LinearConstraintsProto)

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

◆ LinearConstraintsProto() [7/8]

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

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

◆ LinearConstraintsProto() [8/8]

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

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

Member Function Documentation

◆ _InternalSerialize()

uint8_t *PROTOBUF_NONNULL operations_research::math_opt::LinearConstraintsProto::_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.LinearConstraintsProto)

repeated int64 ids = 1;

repeated double lower_bounds = 2;

repeated double upper_bounds = 3;

repeated string names = 4;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.LinearConstraintsProto)

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

◆ add_ids()

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

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

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

◆ add_lower_bounds()

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

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

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

◆ add_names() [1/2]

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

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

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

◆ add_names() [2/2]

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

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

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

◆ add_upper_bounds()

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

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

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.LinearConstraintsProto)

Prevent compiler warnings about cached_has_bits being unused

repeated int64 ids = 1;

repeated double lower_bounds = 2;

repeated double upper_bounds = 3;

repeated string names = 4;

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

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.math_opt.LinearConstraintsProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_ids()

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

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

◆ clear_lower_bounds()

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

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

◆ clear_names()

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

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

◆ clear_upper_bounds()

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

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.LinearConstraintsProto)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ ids() [1/2]

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

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

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

◆ ids() [2/2]

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

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

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

◆ ids_size()

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

repeated int64 ids = 1;

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

◆ InternalGenerateClassData_()

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

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

◆ InternalNewImpl_()

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

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

◆ IsInitialized()

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

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

◆ lower_bounds() [1/2]

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

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

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

◆ lower_bounds() [2/2]

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

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

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

◆ lower_bounds_size()

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

repeated double lower_bounds = 2;

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

◆ MergeFrom()

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

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

◆ mutable_ids()

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

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

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

◆ mutable_lower_bounds()

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

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

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

◆ mutable_names() [1/2]

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

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

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

◆ mutable_names() [2/2]

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

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

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

◆ mutable_unknown_fields()

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

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

◆ mutable_upper_bounds()

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

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

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

◆ names() [1/2]

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

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

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

◆ names() [2/2]

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

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

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

◆ names_size()

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

repeated string names = 4;

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

◆ New()

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ set_ids()

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

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

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

◆ set_lower_bounds()

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

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

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

◆ set_names()

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

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

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

◆ set_upper_bounds()

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

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

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ upper_bounds() [1/2]

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

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

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

◆ upper_bounds() [2/2]

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

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

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

◆ upper_bounds_size()

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

repeated double upper_bounds = 3;

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::LinearConstraintsProto::_impl_

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

◆ kIndexInFileMessages

int operations_research::math_opt::LinearConstraintsProto::kIndexInFileMessages = 2
staticconstexpr

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


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