OR-Tools  9.1
AssignmentProtofinal

Detailed Description

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

Classes

class  _Internal
 

Public Types

enum  : int {
  kIntVarAssignmentFieldNumber = 1 , kIntervalVarAssignmentFieldNumber = 2 , kSequenceVarAssignmentFieldNumber = 6 , kObjectiveFieldNumber = 3 ,
  kWorkerInfoFieldNumber = 4 , kIsValidFieldNumber = 5
}
 

Public Member Functions

 AssignmentProto ()
 
 ~AssignmentProto () override
 
constexpr AssignmentProto (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 AssignmentProto (const AssignmentProto &from)
 
 AssignmentProto (AssignmentProto &&from) noexcept
 
AssignmentProtooperator= (const AssignmentProto &from)
 
AssignmentProtooperator= (AssignmentProto &&from) noexcept
 
void Swap (AssignmentProto *other)
 
void UnsafeArenaSwap (AssignmentProto *other)
 
AssignmentProtoNew () const final
 
AssignmentProtoNew (::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
 
void CopyFrom (const AssignmentProto &from)
 
void MergeFrom (const AssignmentProto &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize (::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
int int_var_assignment_size () const
 
void clear_int_var_assignment ()
 
::operations_research::IntVarAssignmentmutable_int_var_assignment (int index)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntVarAssignment > * mutable_int_var_assignment ()
 
const ::operations_research::IntVarAssignmentint_var_assignment (int index) const
 
::operations_research::IntVarAssignmentadd_int_var_assignment ()
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntVarAssignment > & int_var_assignment () const
 
int interval_var_assignment_size () const
 
void clear_interval_var_assignment ()
 
::operations_research::IntervalVarAssignmentmutable_interval_var_assignment (int index)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntervalVarAssignment > * mutable_interval_var_assignment ()
 
const ::operations_research::IntervalVarAssignmentinterval_var_assignment (int index) const
 
::operations_research::IntervalVarAssignmentadd_interval_var_assignment ()
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::IntervalVarAssignment > & interval_var_assignment () const
 
int sequence_var_assignment_size () const
 
void clear_sequence_var_assignment ()
 
::operations_research::SequenceVarAssignmentmutable_sequence_var_assignment (int index)
 
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::SequenceVarAssignment > * mutable_sequence_var_assignment ()
 
const ::operations_research::SequenceVarAssignmentsequence_var_assignment (int index) const
 
::operations_research::SequenceVarAssignmentadd_sequence_var_assignment ()
 
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::operations_research::SequenceVarAssignment > & sequence_var_assignment () const
 
bool has_objective () const
 
void clear_objective ()
 
const ::operations_research::IntVarAssignmentobjective () const
 
PROTOBUF_MUST_USE_RESULT::operations_research::IntVarAssignment * release_objective ()
 
::operations_research::IntVarAssignmentmutable_objective ()
 
void set_allocated_objective (::operations_research::IntVarAssignment *objective)
 
void unsafe_arena_set_allocated_objective (::operations_research::IntVarAssignment *objective)
 
::operations_research::IntVarAssignmentunsafe_arena_release_objective ()
 
bool has_worker_info () const
 
void clear_worker_info ()
 
const ::operations_research::WorkerInfoworker_info () const
 
PROTOBUF_MUST_USE_RESULT::operations_research::WorkerInfo * release_worker_info ()
 
::operations_research::WorkerInfomutable_worker_info ()
 
void set_allocated_worker_info (::operations_research::WorkerInfo *worker_info)
 
void unsafe_arena_set_allocated_worker_info (::operations_research::WorkerInfo *worker_info)
 
::operations_research::WorkerInfounsafe_arena_release_worker_info ()
 
void clear_is_valid ()
 
bool is_valid () const
 
void set_is_valid (bool value)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const AssignmentProtodefault_instance ()
 
static const AssignmentProtointernal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 AssignmentProto (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kIntVarAssignmentFieldNumber 
kIntervalVarAssignmentFieldNumber 
kSequenceVarAssignmentFieldNumber 
kObjectiveFieldNumber 
kWorkerInfoFieldNumber 
kIsValidFieldNumber 

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

Constructor & Destructor Documentation

◆ AssignmentProto() [1/5]

AssignmentProto ( )
inline

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

◆ ~AssignmentProto()

~AssignmentProto ( )
override

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

◆ AssignmentProto() [2/5]

constexpr AssignmentProto ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicitconstexpr

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

◆ AssignmentProto() [3/5]

AssignmentProto ( const AssignmentProto from)

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

◆ AssignmentProto() [4/5]

AssignmentProto ( AssignmentProto &&  from)
inlinenoexcept

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

◆ AssignmentProto() [5/5]

AssignmentProto ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

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

Member Function Documentation

◆ _InternalParse()

const char * _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

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

◆ _InternalSerialize()

PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize ( ::PROTOBUF_NAMESPACE_ID::uint8 *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

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

◆ add_int_var_assignment()

operations_research::IntVarAssignment * add_int_var_assignment ( )
inline

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

◆ add_interval_var_assignment()

operations_research::IntervalVarAssignment * add_interval_var_assignment ( )
inline

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

◆ add_sequence_var_assignment()

operations_research::SequenceVarAssignment * add_sequence_var_assignment ( )
inline

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

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

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

◆ Clear()

void Clear ( )
final

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

◆ clear_int_var_assignment()

void clear_int_var_assignment ( )
inline

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

◆ clear_interval_var_assignment()

void clear_interval_var_assignment ( )
inline

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

◆ clear_is_valid()

void clear_is_valid ( )
inline

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

◆ clear_objective()

void clear_objective ( )
inline

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

◆ clear_sequence_var_assignment()

void clear_sequence_var_assignment ( )
inline

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

◆ clear_worker_info()

void clear_worker_info ( )
inline

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

◆ CopyFrom()

void CopyFrom ( const AssignmentProto from)

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

◆ default_instance()

static const AssignmentProto & default_instance ( )
inlinestatic

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

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ( )
inlinestatic

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

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

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

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData ( ) const
final

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

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ( )
inlinestatic

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

◆ GetMetadata()

PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

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

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ( )
inlinestatic

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

◆ has_objective()

bool has_objective ( ) const
inline

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

◆ has_worker_info()

bool has_worker_info ( ) const
inline

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

◆ int_var_assignment() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::IntVarAssignment > & int_var_assignment ( ) const
inline

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

◆ int_var_assignment() [2/2]

const ::operations_research::IntVarAssignment & int_var_assignment ( int  index) const
inline

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

◆ int_var_assignment_size()

int int_var_assignment_size ( ) const
inline

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

◆ internal_default_instance()

static const AssignmentProto * internal_default_instance ( )
inlinestatic

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

◆ interval_var_assignment() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::IntervalVarAssignment > & interval_var_assignment ( ) const
inline

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

◆ interval_var_assignment() [2/2]

const ::operations_research::IntervalVarAssignment & interval_var_assignment ( int  index) const
inline

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

◆ interval_var_assignment_size()

int interval_var_assignment_size ( ) const
inline

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

◆ is_valid()

bool is_valid ( ) const
inline

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

◆ IsInitialized()

bool IsInitialized ( ) const
final

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

◆ MergeFrom()

void MergeFrom ( const AssignmentProto from)

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

◆ mutable_int_var_assignment() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::IntVarAssignment > * mutable_int_var_assignment ( )
inline

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

◆ mutable_int_var_assignment() [2/2]

operations_research::IntVarAssignment * mutable_int_var_assignment ( int  index)
inline

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

◆ mutable_interval_var_assignment() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::IntervalVarAssignment > * mutable_interval_var_assignment ( )
inline

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

◆ mutable_interval_var_assignment() [2/2]

operations_research::IntervalVarAssignment * mutable_interval_var_assignment ( int  index)
inline

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

◆ mutable_objective()

operations_research::IntVarAssignment * mutable_objective ( )
inline

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

◆ mutable_sequence_var_assignment() [1/2]

PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::SequenceVarAssignment > * mutable_sequence_var_assignment ( )
inline

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

◆ mutable_sequence_var_assignment() [2/2]

operations_research::SequenceVarAssignment * mutable_sequence_var_assignment ( int  index)
inline

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

◆ mutable_worker_info()

operations_research::WorkerInfo * mutable_worker_info ( )
inline

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

◆ New() [1/2]

AssignmentProto * New ( ) const
inlinefinal

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

◆ New() [2/2]

AssignmentProto * New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena) const
inlinefinal

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

◆ objective()

const ::operations_research::IntVarAssignment & objective ( ) const
inline

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

◆ operator=() [1/2]

AssignmentProto & operator= ( AssignmentProto &&  from)
inlinenoexcept

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

◆ operator=() [2/2]

AssignmentProto & operator= ( const AssignmentProto from)
inline

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

◆ release_objective()

operations_research::IntVarAssignment * release_objective ( )
inline

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

◆ release_worker_info()

operations_research::WorkerInfo * release_worker_info ( )
inline

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

◆ sequence_var_assignment() [1/2]

const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::operations_research::SequenceVarAssignment > & sequence_var_assignment ( ) const
inline

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

◆ sequence_var_assignment() [2/2]

const ::operations_research::SequenceVarAssignment & sequence_var_assignment ( int  index) const
inline

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

◆ sequence_var_assignment_size()

int sequence_var_assignment_size ( ) const
inline

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

◆ set_allocated_objective()

void set_allocated_objective ( ::operations_research::IntVarAssignment objective)
inline

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

◆ set_allocated_worker_info()

void set_allocated_worker_info ( ::operations_research::WorkerInfo worker_info)
inline

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

◆ set_is_valid()

void set_is_valid ( bool  value)
inline

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

◆ Swap()

void Swap ( AssignmentProto other)
inline

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

◆ unsafe_arena_release_objective()

operations_research::IntVarAssignment * unsafe_arena_release_objective ( )
inline

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

◆ unsafe_arena_release_worker_info()

operations_research::WorkerInfo * unsafe_arena_release_worker_info ( )
inline

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

◆ unsafe_arena_set_allocated_objective()

void unsafe_arena_set_allocated_objective ( ::operations_research::IntVarAssignment objective)
inline

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

◆ unsafe_arena_set_allocated_worker_info()

void unsafe_arena_set_allocated_worker_info ( ::operations_research::WorkerInfo worker_info)
inline

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

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( AssignmentProto other)
inline

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

◆ worker_info()

const ::operations_research::WorkerInfo & worker_info ( ) const
inline

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

Member Data Documentation

◆ _class_data_

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData _class_data_
static
Initial value:
= {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
AssignmentProto::MergeImpl
}

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

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
4

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


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