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

Detailed Description

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

#include <assignment.pb.h>

Inheritance diagram for operations_research::WorkerInfo:

Classes

class  _Internal

Public Types

enum  : int { kBnsFieldNumber = 2 , kWorkerIdFieldNumber = 1 }
 nested types -------------------------------------------------— More...

Public Member Functions

 WorkerInfo ()
 ~WorkerInfo () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR WorkerInfo (::google::protobuf::internal::ConstantInitialized)
 WorkerInfo (const WorkerInfo &from)
 WorkerInfo (WorkerInfo &&from) noexcept
WorkerInfooperator= (const WorkerInfo &from)
WorkerInfooperator= (WorkerInfo &&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 (WorkerInfo *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (WorkerInfo *PROTOBUF_NONNULL other)
WorkerInfo *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const WorkerInfo &from)
void MergeFrom (const WorkerInfo &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_bns ()
 string bns = 2;
const ::std::string & bns () const
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_bns (Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NONNULL mutable_bns ()
::std::string *PROTOBUF_NULLABLE release_bns ()
void set_allocated_bns (::std::string *PROTOBUF_NULLABLE value)
void clear_worker_id ()
 int32 worker_id = 1;
::int32_t worker_id () const
void set_worker_id (::int32_t value)
template<typename>
PROTOBUF_CONSTEXPR WorkerInfo (::_pbi::ConstantInitialized)
template<typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void set_bns (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 WorkerInfodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 3

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kBnsFieldNumber 
kWorkerIdFieldNumber 

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

Constructor & Destructor Documentation

◆ WorkerInfo() [1/8]

operations_research::WorkerInfo::WorkerInfo ( )
inline

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

◆ ~WorkerInfo()

operations_research::WorkerInfo::~WorkerInfo ( )

@protoc_insertion_point(destructor:operations_research.WorkerInfo)

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

◆ WorkerInfo() [2/8]

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

◆ WorkerInfo() [3/8]

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

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

◆ WorkerInfo() [4/8]

operations_research::WorkerInfo::WorkerInfo ( WorkerInfo && from)
inlinenoexcept

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

◆ WorkerInfo() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.WorkerInfo)

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

◆ WorkerInfo() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.WorkerInfo)

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

◆ WorkerInfo() [7/8]

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

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

◆ WorkerInfo() [8/8]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.WorkerInfo)

int32 worker_id = 1;

string bns = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.WorkerInfo)

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

◆ bns()

const::std::string & operations_research::WorkerInfo::bns ( ) const
inline

@protoc_insertion_point(field_get:operations_research.WorkerInfo.bns)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.WorkerInfo)

Prevent compiler warnings about cached_has_bits being unused

string bns = 2;

int32 worker_id = 1;

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::WorkerInfo::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.WorkerInfo)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_bns()

void operations_research::WorkerInfo::clear_bns ( )
inline

string bns = 2;

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

◆ clear_worker_id()

void operations_research::WorkerInfo::clear_worker_id ( )
inline

int32 worker_id = 1;

WorkerInfo.

int32 worker_id = 1;

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.WorkerInfo)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ InternalGenerateClassData_()

auto operations_research::WorkerInfo::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ InternalNewImpl_()

auto operations_research::WorkerInfo::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_bns()

std::string *PROTOBUF_NONNULL operations_research::WorkerInfo::mutable_bns ( )
inline

@protoc_insertion_point(field_mutable:operations_research.WorkerInfo.bns)

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

◆ mutable_unknown_fields()

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

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

◆ New()

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ release_bns()

std::string *PROTOBUF_NULLABLE operations_research::WorkerInfo::release_bns ( )
inlinenodiscard

@protoc_insertion_point(field_release:operations_research.WorkerInfo.bns)

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

◆ set_allocated_bns()

void operations_research::WorkerInfo::set_allocated_bns ( ::std::string *PROTOBUF_NULLABLE value)
inline

@protoc_insertion_point(field_set_allocated:operations_research.WorkerInfo.bns)

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

◆ set_bns() [1/2]

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

◆ set_bns() [2/2]

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

@protoc_insertion_point(field_set:operations_research.WorkerInfo.bns)

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

◆ set_worker_id()

void operations_research::WorkerInfo::set_worker_id ( ::int32_t value)
inline

@protoc_insertion_point(field_set:operations_research.WorkerInfo.worker_id)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ worker_id()

int32_t operations_research::WorkerInfo::worker_id ( ) const
inline

@protoc_insertion_point(field_get:operations_research.WorkerInfo.worker_id)

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fconstraint_5fsolver_2fassignment_2eproto

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::WorkerInfo::_impl_

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

◆ kIndexInFileMessages

int operations_research::WorkerInfo::kIndexInFileMessages = 3
staticconstexpr

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


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