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

Detailed Description

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

#include <model.pb.h>

Inheritance diagram for operations_research::math_opt::IndicatorConstraintProto:

Classes

class  _Internal

Public Types

enum  : int {
  kNameFieldNumber = 5 , kExpressionFieldNumber = 2 , kIndicatorIdFieldNumber = 1 , kLowerBoundFieldNumber = 3 ,
  kUpperBoundFieldNumber = 4 , kActivateOnZeroFieldNumber = 6
}

Public Member Functions

 IndicatorConstraintProto ()
 ~IndicatorConstraintProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR IndicatorConstraintProto (::google::protobuf::internal::ConstantInitialized)
 IndicatorConstraintProto (const IndicatorConstraintProto &from)
 IndicatorConstraintProto (IndicatorConstraintProto &&from) noexcept
IndicatorConstraintProtooperator= (const IndicatorConstraintProto &from)
IndicatorConstraintProtooperator= (IndicatorConstraintProto &&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 (IndicatorConstraintProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (IndicatorConstraintProto *PROTOBUF_NONNULL other)
IndicatorConstraintProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const IndicatorConstraintProto &from)
void MergeFrom (const IndicatorConstraintProto &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
void clear_name ()
const ::std::string & name () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_name (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_name ()
::std::string *PROTOBUF_NULLABLE release_name ()
void set_allocated_name (::std::string *PROTOBUF_NULLABLE value)
bool has_expression () const
void clear_expression ()
const ::operations_research::math_opt::SparseDoubleVectorProtoexpression () const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_expression ()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_expression ()
void set_allocated_expression (::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_expression (::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_expression ()
bool has_indicator_id () const
void clear_indicator_id ()
::int64_t indicator_id () const
void set_indicator_id (::int64_t value)
void clear_lower_bound ()
double lower_bound () const
void set_lower_bound (double value)
void clear_upper_bound ()
double upper_bound () const
void set_upper_bound (double value)
void clear_activate_on_zero ()
bool activate_on_zero () const
void set_activate_on_zero (bool value)
template<typename>
PROTOBUF_CONSTEXPR IndicatorConstraintProto (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_name (Arg_ &&arg, Args_... args)

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 IndicatorConstraintProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 6

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 (IndicatorConstraintProto &a, IndicatorConstraintProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kNameFieldNumber 
kExpressionFieldNumber 
kIndicatorIdFieldNumber 
kLowerBoundFieldNumber 
kUpperBoundFieldNumber 
kActivateOnZeroFieldNumber 

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

Constructor & Destructor Documentation

◆ IndicatorConstraintProto() [1/5]

operations_research::math_opt::IndicatorConstraintProto::IndicatorConstraintProto ( )
inline

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

◆ ~IndicatorConstraintProto()

operations_research::math_opt::IndicatorConstraintProto::~IndicatorConstraintProto ( )

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

◆ IndicatorConstraintProto() [2/5]

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

◆ IndicatorConstraintProto() [3/5]

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

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

◆ IndicatorConstraintProto() [4/5]

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

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

◆ IndicatorConstraintProto() [5/5]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

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

◆ activate_on_zero()

bool operations_research::math_opt::IndicatorConstraintProto::activate_on_zero ( ) const
inline

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

◆ ByteSizeLong()

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

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

◆ Clear()

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

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

◆ clear_activate_on_zero()

void operations_research::math_opt::IndicatorConstraintProto::clear_activate_on_zero ( )
inline

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

◆ clear_expression()

void operations_research::math_opt::IndicatorConstraintProto::clear_expression ( )

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

◆ clear_indicator_id()

void operations_research::math_opt::IndicatorConstraintProto::clear_indicator_id ( )
inline

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

◆ clear_lower_bound()

void operations_research::math_opt::IndicatorConstraintProto::clear_lower_bound ( )
inline

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

◆ clear_name()

void operations_research::math_opt::IndicatorConstraintProto::clear_name ( )
inline

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

◆ clear_upper_bound()

void operations_research::math_opt::IndicatorConstraintProto::clear_upper_bound ( )
inline

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

◆ CopyFrom()

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

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ expression()

const::operations_research::math_opt::SparseDoubleVectorProto & operations_research::math_opt::IndicatorConstraintProto::expression ( ) const
inline

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

◆ GetCachedSize()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ has_expression()

bool operations_research::math_opt::IndicatorConstraintProto::has_expression ( ) const
inline

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

◆ has_indicator_id()

bool operations_research::math_opt::IndicatorConstraintProto::has_indicator_id ( ) const
inline

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

◆ indicator_id()

int64_t operations_research::math_opt::IndicatorConstraintProto::indicator_id ( ) const
inline

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

◆ InternalGenerateClassData_()

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

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

◆ IsInitialized()

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

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

◆ lower_bound()

double operations_research::math_opt::IndicatorConstraintProto::lower_bound ( ) const
inline

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

◆ MergeFrom()

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

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

◆ mutable_expression()

operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL operations_research::math_opt::IndicatorConstraintProto::mutable_expression ( )
inline

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

◆ mutable_name()

std::string *PROTOBUF_NONNULL operations_research::math_opt::IndicatorConstraintProto::mutable_name ( )
inline

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

◆ mutable_unknown_fields()

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

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

◆ name()

const::std::string & operations_research::math_opt::IndicatorConstraintProto::name ( ) const
inline

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

◆ New()

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ release_expression()

operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE operations_research::math_opt::IndicatorConstraintProto::release_expression ( )
inlinenodiscard

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

◆ release_name()

std::string *PROTOBUF_NULLABLE operations_research::math_opt::IndicatorConstraintProto::release_name ( )
inlinenodiscard

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

◆ set_activate_on_zero()

void operations_research::math_opt::IndicatorConstraintProto::set_activate_on_zero ( bool value)
inline

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

◆ set_allocated_expression()

void operations_research::math_opt::IndicatorConstraintProto::set_allocated_expression ( ::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
inline

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

◆ set_allocated_name()

void operations_research::math_opt::IndicatorConstraintProto::set_allocated_name ( ::std::string *PROTOBUF_NULLABLE value)
inline

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

◆ set_indicator_id()

void operations_research::math_opt::IndicatorConstraintProto::set_indicator_id ( ::int64_t value)
inline

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

◆ set_lower_bound()

void operations_research::math_opt::IndicatorConstraintProto::set_lower_bound ( double value)
inline

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

◆ set_name() [1/2]

template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void operations_research::math_opt::IndicatorConstraintProto::set_name ( Arg_ && arg,
Args_... args )

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

◆ set_name() [2/2]

template<typename Arg_ = const ::std::string&, typename... Args_>
void operations_research::math_opt::IndicatorConstraintProto::set_name ( Arg_ && arg,
Args_... args )

◆ set_upper_bound()

void operations_research::math_opt::IndicatorConstraintProto::set_upper_bound ( double value)
inline

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ unsafe_arena_release_expression()

operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE operations_research::math_opt::IndicatorConstraintProto::unsafe_arena_release_expression ( )
inline

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

◆ unsafe_arena_set_allocated_expression()

void operations_research::math_opt::IndicatorConstraintProto::unsafe_arena_set_allocated_expression ( ::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
inline

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

◆ UnsafeArenaSwap()

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

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

◆ upper_bound()

double operations_research::math_opt::IndicatorConstraintProto::upper_bound ( ) const
inline

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto

friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto
friend

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::IndicatorConstraintProto::_impl_

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

◆ kIndexInFileMessages

int operations_research::math_opt::IndicatorConstraintProto::kIndexInFileMessages = 6
staticconstexpr

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


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