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

Detailed Description

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

#include <course_scheduling.pb.h>

Inheritance diagram for operations_research::Student:

Classes

class  _Internal

Public Types

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

Public Member Functions

 Student ()
 ~Student () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR Student (::google::protobuf::internal::ConstantInitialized)
 Student (const Student &from)
 Student (Student &&from) noexcept
Studentoperator= (const Student &from)
Studentoperator= (Student &&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 (Student *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (Student *PROTOBUF_NONNULL other)
Student *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const Student &from)
void MergeFrom (const Student &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 course_indices_size () const
 repeated int32 course_indices = 2;
void clear_course_indices ()
::int32_t course_indices (int index) const
void set_course_indices (int index, ::int32_t value)
void add_course_indices (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & course_indices () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_course_indices ()
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 Student (::_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 Studentdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 6

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kCourseIndicesFieldNumber 
kDisplayNameFieldNumber 

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

Constructor & Destructor Documentation

◆ Student() [1/8]

operations_research::Student::Student ( )
inline

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

◆ ~Student()

operations_research::Student::~Student ( )

@protoc_insertion_point(destructor:operations_research.Student)

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

◆ Student() [2/8]

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

◆ Student() [3/8]

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

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

◆ Student() [4/8]

operations_research::Student::Student ( Student && from)
inlinenoexcept

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

◆ Student() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.Student)

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

◆ Student() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.Student)

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

◆ Student() [7/8]

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

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

◆ Student() [8/8]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.Student)

string display_name = 1;

repeated int32 course_indices = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.Student)

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

◆ add_course_indices()

void operations_research::Student::add_course_indices ( ::int32_t value)
inline

@protoc_insertion_point(field_add:operations_research.Student.course_indices)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.Student)

Prevent compiler warnings about cached_has_bits being unused

repeated int32 course_indices = 2;

string display_name = 1;

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::Student::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.Student)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_course_indices()

void operations_research::Student::clear_course_indices ( )
inline

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

◆ clear_display_name()

void operations_research::Student::clear_display_name ( )
inline

string display_name = 1;

Student.

string display_name = 1;

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.Student)

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

◆ course_indices() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::Student::course_indices ( ) const
inline

@protoc_insertion_point(field_list:operations_research.Student.course_indices)

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

◆ course_indices() [2/2]

int32_t operations_research::Student::course_indices ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.Student.course_indices)

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

◆ course_indices_size()

int operations_research::Student::course_indices_size ( ) const
inline

repeated int32 course_indices = 2;

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ display_name()

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

@protoc_insertion_point(field_get:operations_research.Student.display_name)

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ InternalGenerateClassData_()

auto operations_research::Student::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ InternalNewImpl_()

auto operations_research::Student::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_course_indices()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::Student::mutable_course_indices ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.Student.course_indices)

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

◆ mutable_display_name()

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

@protoc_insertion_point(field_mutable:operations_research.Student.display_name)

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

◆ mutable_unknown_fields()

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

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

◆ New()

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ release_display_name()

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

@protoc_insertion_point(field_release:operations_research.Student.display_name)

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

◆ set_allocated_display_name()

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

@protoc_insertion_point(field_set_allocated:operations_research.Student.display_name)

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

◆ set_course_indices()

void operations_research::Student::set_course_indices ( int index,
::int32_t value )
inline

@protoc_insertion_point(field_set:operations_research.Student.course_indices)

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

◆ set_display_name() [1/2]

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

◆ set_display_name() [2/2]

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

@protoc_insertion_point(field_set:operations_research.Student.display_name)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fscheduling_2fcourse_5fscheduling_2eproto

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::Student::_impl_

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

◆ kIndexInFileMessages

int operations_research::Student::kIndexInFileMessages = 6
staticconstexpr

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


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