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

Detailed Description

Definition at line 300 of file assignment.pb.h.

#include <assignment.pb.h>

Inheritance diagram for operations_research::SequenceVarAssignment:

Classes

class  _Internal

Public Types

enum  : int {
  kForwardSequenceFieldNumber = 2 , kBackwardSequenceFieldNumber = 3 , kUnperformedFieldNumber = 4 , kVarIdFieldNumber = 1 ,
  kActiveFieldNumber = 5
}
 nested types -------------------------------------------------— More...

Public Member Functions

 SequenceVarAssignment ()
 ~SequenceVarAssignment () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR SequenceVarAssignment (::google::protobuf::internal::ConstantInitialized)
 SequenceVarAssignment (const SequenceVarAssignment &from)
 SequenceVarAssignment (SequenceVarAssignment &&from) noexcept
SequenceVarAssignmentoperator= (const SequenceVarAssignment &from)
SequenceVarAssignmentoperator= (SequenceVarAssignment &&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 (SequenceVarAssignment *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (SequenceVarAssignment *PROTOBUF_NONNULL other)
SequenceVarAssignment *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const SequenceVarAssignment &from)
void MergeFrom (const SequenceVarAssignment &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 forward_sequence_size () const
 repeated int32 forward_sequence = 2;
void clear_forward_sequence ()
::int32_t forward_sequence (int index) const
void set_forward_sequence (int index, ::int32_t value)
void add_forward_sequence (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & forward_sequence () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_forward_sequence ()
int backward_sequence_size () const
 repeated int32 backward_sequence = 3;
void clear_backward_sequence ()
::int32_t backward_sequence (int index) const
void set_backward_sequence (int index, ::int32_t value)
void add_backward_sequence (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & backward_sequence () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_backward_sequence ()
int unperformed_size () const
 repeated int32 unperformed = 4;
void clear_unperformed ()
::int32_t unperformed (int index) const
void set_unperformed (int index, ::int32_t value)
void add_unperformed (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & unperformed () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_unperformed ()
void clear_var_id ()
 string var_id = 1;
const ::std::string & var_id () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_var_id (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_var_id ()
::std::string *PROTOBUF_NULLABLE release_var_id ()
void set_allocated_var_id (::std::string *PROTOBUF_NULLABLE value)
void clear_active ()
 bool active = 5;
bool active () const
void set_active (bool value)
template<typename>
PROTOBUF_CONSTEXPR SequenceVarAssignment (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_var_id (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 SequenceVarAssignmentdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 2

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kForwardSequenceFieldNumber 
kBackwardSequenceFieldNumber 
kUnperformedFieldNumber 
kVarIdFieldNumber 
kActiveFieldNumber 

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

Constructor & Destructor Documentation

◆ SequenceVarAssignment() [1/8]

operations_research::SequenceVarAssignment::SequenceVarAssignment ( )
inline

Definition at line 303 of file assignment.pb.h.

◆ ~SequenceVarAssignment()

operations_research::SequenceVarAssignment::~SequenceVarAssignment ( )

@protoc_insertion_point(destructor:operations_research.SequenceVarAssignment)

Definition at line 1308 of file assignment.pb.cc.

◆ SequenceVarAssignment() [2/8]

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

◆ SequenceVarAssignment() [3/8]

operations_research::SequenceVarAssignment::SequenceVarAssignment ( const SequenceVarAssignment & from)
inline

Definition at line 316 of file assignment.pb.h.

◆ SequenceVarAssignment() [4/8]

operations_research::SequenceVarAssignment::SequenceVarAssignment ( SequenceVarAssignment && from)
inlinenoexcept

Definition at line 317 of file assignment.pb.h.

◆ SequenceVarAssignment() [5/8]

operations_research::SequenceVarAssignment::SequenceVarAssignment ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.SequenceVarAssignment)

Definition at line 1252 of file assignment.pb.cc.

◆ SequenceVarAssignment() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.SequenceVarAssignment)

Definition at line 1275 of file assignment.pb.cc.

◆ SequenceVarAssignment() [7/8]

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

Definition at line 424 of file assignment.pb.h.

◆ SequenceVarAssignment() [8/8]

template<typename>
PROTOBUF_CONSTEXPR operations_research::SequenceVarAssignment::SequenceVarAssignment ( ::_pbi::ConstantInitialized )

Definition at line 72 of file assignment.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.SequenceVarAssignment)

string var_id = 1;

repeated int32 forward_sequence = 2;

repeated int32 backward_sequence = 3;

repeated int32 unperformed = 4;

bool active = 5;

@protoc_insertion_point(serialize_to_array_end:operations_research.SequenceVarAssignment)

Definition at line 1471 of file assignment.pb.cc.

◆ active()

bool operations_research::SequenceVarAssignment::active ( ) const
inline

@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.active)

Definition at line 2049 of file assignment.pb.h.

◆ add_backward_sequence()

void operations_research::SequenceVarAssignment::add_backward_sequence ( ::int32_t value)
inline

@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.backward_sequence)

Definition at line 1970 of file assignment.pb.h.

◆ add_forward_sequence()

void operations_research::SequenceVarAssignment::add_forward_sequence ( ::int32_t value)
inline

@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.forward_sequence)

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

◆ add_unperformed()

void operations_research::SequenceVarAssignment::add_unperformed ( ::int32_t value)
inline

@protoc_insertion_point(field_add:operations_research.SequenceVarAssignment.unperformed)

Definition at line 2016 of file assignment.pb.h.

◆ backward_sequence() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::SequenceVarAssignment::backward_sequence ( ) const
inline

@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.backward_sequence)

Definition at line 1975 of file assignment.pb.h.

◆ backward_sequence() [2/2]

int32_t operations_research::SequenceVarAssignment::backward_sequence ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.backward_sequence)

Definition at line 1962 of file assignment.pb.h.

◆ backward_sequence_size()

int operations_research::SequenceVarAssignment::backward_sequence_size ( ) const
inline

repeated int32 backward_sequence = 3;

Definition at line 1955 of file assignment.pb.h.

◆ ByteSizeLong()

size_t operations_research::SequenceVarAssignment::ByteSizeLong ( ) const
final

@protoc_insertion_point(message_byte_size_start:operations_research.SequenceVarAssignment)

Prevent compiler warnings about cached_has_bits being unused

repeated int32 forward_sequence = 2;

repeated int32 backward_sequence = 3;

repeated int32 unperformed = 4;

string var_id = 1;

bool active = 5;

Definition at line 1539 of file assignment.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::SequenceVarAssignment::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.SequenceVarAssignment)

Prevent compiler warnings about cached_has_bits being unused

Definition at line 1446 of file assignment.pb.cc.

◆ clear_active()

void operations_research::SequenceVarAssignment::clear_active ( )
inline

bool active = 5;

Definition at line 2044 of file assignment.pb.h.

◆ clear_backward_sequence()

void operations_research::SequenceVarAssignment::clear_backward_sequence ( )
inline

Definition at line 1958 of file assignment.pb.h.

◆ clear_forward_sequence()

void operations_research::SequenceVarAssignment::clear_forward_sequence ( )
inline

Definition at line 1912 of file assignment.pb.h.

◆ clear_unperformed()

void operations_research::SequenceVarAssignment::clear_unperformed ( )
inline

Definition at line 2004 of file assignment.pb.h.

◆ clear_var_id()

void operations_research::SequenceVarAssignment::clear_var_id ( )
inline

string var_id = 1;

SequenceVarAssignment.

string var_id = 1;

Definition at line 1841 of file assignment.pb.h.

◆ CopyFrom()

void operations_research::SequenceVarAssignment::CopyFrom ( const SequenceVarAssignment & from)

@protoc_insertion_point(class_specific_copy_from_start:operations_research.SequenceVarAssignment)

Definition at line 1625 of file assignment.pb.cc.

◆ default_instance()

const SequenceVarAssignment & operations_research::SequenceVarAssignment::default_instance ( )
inlinestatic

Definition at line 351 of file assignment.pb.h.

◆ descriptor()

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

Definition at line 342 of file assignment.pb.h.

◆ forward_sequence() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::SequenceVarAssignment::forward_sequence ( ) const
inline

@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.forward_sequence)

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

◆ forward_sequence() [2/2]

int32_t operations_research::SequenceVarAssignment::forward_sequence ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.forward_sequence)

Definition at line 1916 of file assignment.pb.h.

◆ forward_sequence_size()

int operations_research::SequenceVarAssignment::forward_sequence_size ( ) const
inline

repeated int32 forward_sequence = 2;

Definition at line 1909 of file assignment.pb.h.

◆ GetCachedSize()

int operations_research::SequenceVarAssignment::GetCachedSize ( ) const
inline

Definition at line 410 of file assignment.pb.h.

◆ GetClassData()

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

Definition at line 1377 of file assignment.pb.cc.

◆ GetDescriptor()

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

Definition at line 345 of file assignment.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::SequenceVarAssignment::GetMetadata ( ) const

Definition at line 1646 of file assignment.pb.cc.

◆ GetReflection()

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

Definition at line 348 of file assignment.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::SequenceVarAssignment::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 1349 of file assignment.pb.cc.

◆ InternalNewImpl_()

auto operations_research::SequenceVarAssignment::InternalNewImpl_ ( )
staticconstexprprotected

Definition at line 1325 of file assignment.pb.cc.

◆ IsInitialized()

bool operations_research::SequenceVarAssignment::IsInitialized ( ) const
inline

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

◆ MergeFrom()

void operations_research::SequenceVarAssignment::MergeFrom ( const SequenceVarAssignment & from)
inline

Definition at line 379 of file assignment.pb.h.

◆ mutable_backward_sequence()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::SequenceVarAssignment::mutable_backward_sequence ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.backward_sequence)

Definition at line 1980 of file assignment.pb.h.

◆ mutable_forward_sequence()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::SequenceVarAssignment::mutable_forward_sequence ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.forward_sequence)

Definition at line 1934 of file assignment.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::SequenceVarAssignment::mutable_unknown_fields ( )
inline

Definition at line 337 of file assignment.pb.h.

◆ mutable_unperformed()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::SequenceVarAssignment::mutable_unperformed ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.SequenceVarAssignment.unperformed)

Definition at line 2026 of file assignment.pb.h.

◆ mutable_var_id()

std::string *PROTOBUF_NONNULL operations_research::SequenceVarAssignment::mutable_var_id ( )
inline

@protoc_insertion_point(field_mutable:operations_research.SequenceVarAssignment.var_id)

Definition at line 1858 of file assignment.pb.h.

◆ New()

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

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

Definition at line 373 of file assignment.pb.h.

◆ operator=() [1/2]

SequenceVarAssignment & operations_research::SequenceVarAssignment::operator= ( const SequenceVarAssignment & from)
inline

Definition at line 319 of file assignment.pb.h.

◆ operator=() [2/2]

SequenceVarAssignment & operations_research::SequenceVarAssignment::operator= ( SequenceVarAssignment && from)
inlinenoexcept

Definition at line 323 of file assignment.pb.h.

◆ PlacementNew_()

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

Definition at line 1320 of file assignment.pb.cc.

◆ release_var_id()

std::string *PROTOBUF_NULLABLE operations_research::SequenceVarAssignment::release_var_id ( )
inlinenodiscard

@protoc_insertion_point(field_release:operations_research.SequenceVarAssignment.var_id)

Definition at line 1878 of file assignment.pb.h.

◆ set_active()

void operations_research::SequenceVarAssignment::set_active ( bool value)
inline

@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.active)

Definition at line 2053 of file assignment.pb.h.

◆ set_allocated_var_id()

void operations_research::SequenceVarAssignment::set_allocated_var_id ( ::std::string *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_set_allocated:operations_research.SequenceVarAssignment.var_id)

Definition at line 1891 of file assignment.pb.h.

◆ set_backward_sequence()

void operations_research::SequenceVarAssignment::set_backward_sequence ( int index,
::int32_t value )
inline

@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.backward_sequence)

Definition at line 1966 of file assignment.pb.h.

◆ set_forward_sequence()

void operations_research::SequenceVarAssignment::set_forward_sequence ( int index,
::int32_t value )
inline

@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.forward_sequence)

Definition at line 1920 of file assignment.pb.h.

◆ set_unperformed()

void operations_research::SequenceVarAssignment::set_unperformed ( int index,
::int32_t value )
inline

@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.unperformed)

Definition at line 2012 of file assignment.pb.h.

◆ set_var_id() [1/2]

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

◆ set_var_id() [2/2]

template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void operations_research::SequenceVarAssignment::set_var_id ( Arg_ && arg,
Args_... args )

@protoc_insertion_point(field_set:operations_research.SequenceVarAssignment.var_id)

Definition at line 1852 of file assignment.pb.h.

◆ Swap()

void operations_research::SequenceVarAssignment::Swap ( SequenceVarAssignment *PROTOBUF_NONNULL other)
inline

Definition at line 357 of file assignment.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::SequenceVarAssignment::unknown_fields ( ) const
inline

Definition at line 333 of file assignment.pb.h.

◆ unperformed() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::SequenceVarAssignment::unperformed ( ) const
inline

@protoc_insertion_point(field_list:operations_research.SequenceVarAssignment.unperformed)

Definition at line 2021 of file assignment.pb.h.

◆ unperformed() [2/2]

int32_t operations_research::SequenceVarAssignment::unperformed ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.unperformed)

Definition at line 2008 of file assignment.pb.h.

◆ unperformed_size()

int operations_research::SequenceVarAssignment::unperformed_size ( ) const
inline

repeated int32 unperformed = 4;

Definition at line 2001 of file assignment.pb.h.

◆ UnsafeArenaSwap()

void operations_research::SequenceVarAssignment::UnsafeArenaSwap ( SequenceVarAssignment *PROTOBUF_NONNULL other)
inline

Definition at line 365 of file assignment.pb.h.

◆ var_id()

const::std::string & operations_research::SequenceVarAssignment::var_id ( ) const
inline

@protoc_insertion_point(field_get:operations_research.SequenceVarAssignment.var_id)

Definition at line 1846 of file assignment.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 538 of file assignment.pb.h.

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

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

Definition at line 540 of file assignment.pb.h.

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

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

Definition at line 531 of file assignment.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 537 of file assignment.pb.h.

◆ ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto

◆ swap

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

Definition at line 356 of file assignment.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::SequenceVarAssignment::_impl_

Definition at line 564 of file assignment.pb.h.

◆ kIndexInFileMessages

int operations_research::SequenceVarAssignment::kIndexInFileMessages = 2
staticconstexpr

Definition at line 355 of file assignment.pb.h.


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