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

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
 implements Message -------------------------------------------—
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 ()
 string name = 5;
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
 .operations_research.math_opt.SparseDoubleVectorProto expression = 2;
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
 optional int64 indicator_id = 1;
void clear_indicator_id ()
::int64_t indicator_id () const
void set_indicator_id (::int64_t value)
void clear_lower_bound ()
 double lower_bound = 3;
double lower_bound () const
void set_lower_bound (double value)
void clear_upper_bound ()
 double upper_bound = 4;
double upper_bound () const
void set_upper_bound (double value)
void clear_activate_on_zero ()
 bool activate_on_zero = 6;
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

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kNameFieldNumber 
kExpressionFieldNumber 
kIndicatorIdFieldNumber 
kLowerBoundFieldNumber 
kUpperBoundFieldNumber 
kActivateOnZeroFieldNumber 

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

Constructor & Destructor Documentation

◆ IndicatorConstraintProto() [1/8]

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

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

◆ ~IndicatorConstraintProto()

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

@protoc_insertion_point(destructor:operations_research.math_opt.IndicatorConstraintProto)

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

◆ IndicatorConstraintProto() [2/8]

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

◆ IndicatorConstraintProto() [3/8]

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

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

◆ IndicatorConstraintProto() [4/8]

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

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

◆ IndicatorConstraintProto() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.math_opt.IndicatorConstraintProto)

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

◆ IndicatorConstraintProto() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.math_opt.IndicatorConstraintProto)

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

◆ IndicatorConstraintProto() [7/8]

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

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

◆ IndicatorConstraintProto() [8/8]

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

@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.IndicatorConstraintProto)

optional int64 indicator_id = 1;

.operations_research.math_opt.SparseDoubleVectorProto expression = 2;

double lower_bound = 3;

double upper_bound = 4;

string name = 5;

bool activate_on_zero = 6;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.IndicatorConstraintProto)

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

◆ activate_on_zero()

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

@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.activate_on_zero)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.IndicatorConstraintProto)

Prevent compiler warnings about cached_has_bits being unused

string name = 5;

.operations_research.math_opt.SparseDoubleVectorProto expression = 2;

optional int64 indicator_id = 1;

double lower_bound = 3;

double upper_bound = 4;

bool activate_on_zero = 6;

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

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.math_opt.IndicatorConstraintProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_activate_on_zero()

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

bool activate_on_zero = 6;

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

◆ clear_expression()

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

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

◆ clear_indicator_id()

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

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

◆ clear_lower_bound()

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

double lower_bound = 3;

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

◆ clear_name()

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

string name = 5;

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

◆ clear_upper_bound()

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

double upper_bound = 4;

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.IndicatorConstraintProto)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ expression()

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

@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.expression)

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ has_expression()

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

.operations_research.math_opt.SparseDoubleVectorProto expression = 2;

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

◆ has_indicator_id()

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

optional int64 indicator_id = 1;

IndicatorConstraintProto.

optional int64 indicator_id = 1;

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

◆ indicator_id()

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

@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.indicator_id)

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

◆ InternalGenerateClassData_()

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

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

◆ InternalNewImpl_()

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

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

◆ IsInitialized()

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

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

◆ lower_bound()

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

@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.lower_bound)

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

◆ MergeFrom()

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

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

◆ mutable_expression()

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

@protoc_insertion_point(field_mutable:operations_research.math_opt.IndicatorConstraintProto.expression)

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

◆ mutable_name()

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

@protoc_insertion_point(field_mutable:operations_research.math_opt.IndicatorConstraintProto.name)

Definition at line 4253 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 1711 of file model.pb.h.

◆ name()

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

@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.name)

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

◆ New()

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ release_expression()

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

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

◆ release_name()

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

@protoc_insertion_point(field_release:operations_research.math_opt.IndicatorConstraintProto.name)

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

◆ set_activate_on_zero()

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

@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.activate_on_zero)

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

@protoc_insertion_point(field_set_allocated:operations_research.math_opt.IndicatorConstraintProto.expression)

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

◆ set_allocated_name()

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

@protoc_insertion_point(field_set_allocated:operations_research.math_opt.IndicatorConstraintProto.name)

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

◆ set_indicator_id()

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

@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.indicator_id)

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

◆ set_lower_bound()

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

@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.lower_bound)

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

◆ set_name() [1/2]

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

◆ set_name() [2/2]

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

@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.name)

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

◆ set_upper_bound()

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

@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.upper_bound)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

@protoc_insertion_point(field_release:operations_research.math_opt.IndicatorConstraintProto.expression)

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

@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.IndicatorConstraintProto.expression)

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

◆ UnsafeArenaSwap()

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

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

◆ upper_bound()

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

@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.upper_bound)

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::IndicatorConstraintProto::_impl_

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

◆ kIndexInFileMessages

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

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


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