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

Detailed Description

Definition at line 150 of file course_scheduling.pb.h.

#include <course_scheduling.pb.h>

Inheritance diagram for operations_research::Teacher:

Classes

class  _Internal

Public Types

enum  : int { kRestrictedTimeSlotsFieldNumber = 2 , kDisplayNameFieldNumber = 1 }
 nested types -------------------------------------------------— More...

Public Member Functions

 Teacher ()
 ~Teacher () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR Teacher (::google::protobuf::internal::ConstantInitialized)
 Teacher (const Teacher &from)
 Teacher (Teacher &&from) noexcept
Teacheroperator= (const Teacher &from)
Teacheroperator= (Teacher &&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 (Teacher *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (Teacher *PROTOBUF_NONNULL other)
Teacher *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const Teacher &from)
void MergeFrom (const Teacher &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 restricted_time_slots_size () const
 repeated int32 restricted_time_slots = 2;
void clear_restricted_time_slots ()
::int32_t restricted_time_slots (int index) const
void set_restricted_time_slots (int index, ::int32_t value)
void add_restricted_time_slots (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & restricted_time_slots () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_restricted_time_slots ()
void clear_display_name ()
 string display_name = 1;
const ::std::string & display_name () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_display_name (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_display_name ()
::std::string *PROTOBUF_NULLABLE release_display_name ()
void set_allocated_display_name (::std::string *PROTOBUF_NULLABLE value)
template<typename>
PROTOBUF_CONSTEXPR Teacher (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_display_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 Teacherdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 5

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kRestrictedTimeSlotsFieldNumber 
kDisplayNameFieldNumber 

Definition at line 292 of file course_scheduling.pb.h.

Constructor & Destructor Documentation

◆ Teacher() [1/8]

operations_research::Teacher::Teacher ( )
inline

Definition at line 153 of file course_scheduling.pb.h.

◆ ~Teacher()

operations_research::Teacher::~Teacher ( )

@protoc_insertion_point(destructor:operations_research.Teacher)

Definition at line 2595 of file course_scheduling.pb.cc.

◆ Teacher() [2/8]

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

◆ Teacher() [3/8]

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

Definition at line 166 of file course_scheduling.pb.h.

◆ Teacher() [4/8]

operations_research::Teacher::Teacher ( Teacher && from)
inlinenoexcept

Definition at line 167 of file course_scheduling.pb.h.

◆ Teacher() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.Teacher)

Definition at line 2549 of file course_scheduling.pb.cc.

◆ Teacher() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.Teacher)

Definition at line 2568 of file course_scheduling.pb.cc.

◆ Teacher() [7/8]

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

Definition at line 274 of file course_scheduling.pb.h.

◆ Teacher() [8/8]

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

Definition at line 39 of file course_scheduling.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.Teacher)

string display_name = 1;

repeated int32 restricted_time_slots = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.Teacher)

Definition at line 2726 of file course_scheduling.pb.cc.

◆ add_restricted_time_slots()

void operations_research::Teacher::add_restricted_time_slots ( ::int32_t value)
inline

@protoc_insertion_point(field_add:operations_research.Teacher.restricted_time_slots)

Definition at line 3310 of file course_scheduling.pb.h.

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.Teacher)

Prevent compiler warnings about cached_has_bits being unused

repeated int32 restricted_time_slots = 2;

string display_name = 1;

Definition at line 2767 of file course_scheduling.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::Teacher::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.Teacher)

Prevent compiler warnings about cached_has_bits being unused

Definition at line 2704 of file course_scheduling.pb.cc.

◆ clear_display_name()

void operations_research::Teacher::clear_display_name ( )
inline

string display_name = 1;

Teacher.

string display_name = 1;

Definition at line 3227 of file course_scheduling.pb.h.

◆ clear_restricted_time_slots()

void operations_research::Teacher::clear_restricted_time_slots ( )
inline

Definition at line 3298 of file course_scheduling.pb.h.

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.Teacher)

Definition at line 2824 of file course_scheduling.pb.cc.

◆ default_instance()

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

Definition at line 201 of file course_scheduling.pb.h.

◆ descriptor()

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

Definition at line 192 of file course_scheduling.pb.h.

◆ display_name()

const::std::string & operations_research::Teacher::display_name ( ) const
inline

@protoc_insertion_point(field_get:operations_research.Teacher.display_name)

Definition at line 3232 of file course_scheduling.pb.h.

◆ GetCachedSize()

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

Definition at line 260 of file course_scheduling.pb.h.

◆ GetClassData()

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

Definition at line 2656 of file course_scheduling.pb.cc.

◆ GetDescriptor()

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

Definition at line 195 of file course_scheduling.pb.h.

◆ GetMetadata()

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

Definition at line 2842 of file course_scheduling.pb.cc.

◆ GetReflection()

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

Definition at line 198 of file course_scheduling.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::Teacher::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 2628 of file course_scheduling.pb.cc.

◆ InternalNewImpl_()

auto operations_research::Teacher::InternalNewImpl_ ( )
staticconstexprprotected

Definition at line 2612 of file course_scheduling.pb.cc.

◆ IsInitialized()

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

Definition at line 236 of file course_scheduling.pb.h.

◆ MergeFrom()

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

Definition at line 229 of file course_scheduling.pb.h.

◆ mutable_display_name()

std::string *PROTOBUF_NONNULL operations_research::Teacher::mutable_display_name ( )
inline

@protoc_insertion_point(field_mutable:operations_research.Teacher.display_name)

Definition at line 3244 of file course_scheduling.pb.h.

◆ mutable_restricted_time_slots()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::Teacher::mutable_restricted_time_slots ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.Teacher.restricted_time_slots)

Definition at line 3320 of file course_scheduling.pb.h.

◆ mutable_unknown_fields()

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

Definition at line 187 of file course_scheduling.pb.h.

◆ New()

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

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

Definition at line 223 of file course_scheduling.pb.h.

◆ operator=() [1/2]

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

Definition at line 169 of file course_scheduling.pb.h.

◆ operator=() [2/2]

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

Definition at line 173 of file course_scheduling.pb.h.

◆ PlacementNew_()

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

Definition at line 2607 of file course_scheduling.pb.cc.

◆ release_display_name()

std::string *PROTOBUF_NULLABLE operations_research::Teacher::release_display_name ( )
inlinenodiscard

@protoc_insertion_point(field_release:operations_research.Teacher.display_name)

Definition at line 3264 of file course_scheduling.pb.h.

◆ restricted_time_slots() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::Teacher::restricted_time_slots ( ) const
inline

@protoc_insertion_point(field_list:operations_research.Teacher.restricted_time_slots)

Definition at line 3315 of file course_scheduling.pb.h.

◆ restricted_time_slots() [2/2]

int32_t operations_research::Teacher::restricted_time_slots ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.Teacher.restricted_time_slots)

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

◆ restricted_time_slots_size()

int operations_research::Teacher::restricted_time_slots_size ( ) const
inline

repeated int32 restricted_time_slots = 2;

Definition at line 3295 of file course_scheduling.pb.h.

◆ set_allocated_display_name()

void operations_research::Teacher::set_allocated_display_name ( ::std::string *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_set_allocated:operations_research.Teacher.display_name)

Definition at line 3277 of file course_scheduling.pb.h.

◆ set_display_name() [1/2]

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

◆ set_display_name() [2/2]

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

@protoc_insertion_point(field_set:operations_research.Teacher.display_name)

Definition at line 3238 of file course_scheduling.pb.h.

◆ set_restricted_time_slots()

void operations_research::Teacher::set_restricted_time_slots ( int index,
::int32_t value )
inline

@protoc_insertion_point(field_set:operations_research.Teacher.restricted_time_slots)

Definition at line 3306 of file course_scheduling.pb.h.

◆ Swap()

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

Definition at line 207 of file course_scheduling.pb.h.

◆ unknown_fields()

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

Definition at line 183 of file course_scheduling.pb.h.

◆ UnsafeArenaSwap()

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

Definition at line 215 of file course_scheduling.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 339 of file course_scheduling.pb.h.

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

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

Definition at line 341 of file course_scheduling.pb.h.

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

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

Definition at line 332 of file course_scheduling.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 338 of file course_scheduling.pb.h.

◆ ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto

◆ swap

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

Definition at line 206 of file course_scheduling.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::Teacher::_impl_

Definition at line 360 of file course_scheduling.pb.h.

◆ kIndexInFileMessages

int operations_research::Teacher::kIndexInFileMessages = 5
staticconstexpr

Definition at line 205 of file course_scheduling.pb.h.


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