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

Detailed Description

Definition at line 305 of file rpc.pb.h.

#include <rpc.pb.h>

Inheritance diagram for operations_research::math_opt::SolverResourcesProto:

Classes

class  _Internal

Public Types

enum  : int { kCpuFieldNumber = 1 , kRamFieldNumber = 2 }

Public Member Functions

 SolverResourcesProto ()
 ~SolverResourcesProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR SolverResourcesProto (::google::protobuf::internal::ConstantInitialized)
 SolverResourcesProto (const SolverResourcesProto &from)
 SolverResourcesProto (SolverResourcesProto &&from) noexcept
SolverResourcesProtooperator= (const SolverResourcesProto &from)
SolverResourcesProtooperator= (SolverResourcesProto &&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 (SolverResourcesProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (SolverResourcesProto *PROTOBUF_NONNULL other)
SolverResourcesProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const SolverResourcesProto &from)
void MergeFrom (const SolverResourcesProto &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
bool has_cpu () const
void clear_cpu ()
double cpu () const
void set_cpu (double value)
bool has_ram () const
void clear_ram ()
double ram () const
void set_ram (double value)
template<typename>
PROTOBUF_CONSTEXPR SolverResourcesProto (::_pbi::ConstantInitialized)

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 SolverResourcesProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 0

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_2fmath_5fopt_2frpc_2eproto
void swap (SolverResourcesProto &a, SolverResourcesProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kCpuFieldNumber 
kRamFieldNumber 

Definition at line 446 of file rpc.pb.h.

Constructor & Destructor Documentation

◆ SolverResourcesProto() [1/5]

operations_research::math_opt::SolverResourcesProto::SolverResourcesProto ( )
inline

Definition at line 308 of file rpc.pb.h.

◆ ~SolverResourcesProto()

operations_research::math_opt::SolverResourcesProto::~SolverResourcesProto ( )

Definition at line 309 of file rpc.pb.cc.

◆ SolverResourcesProto() [2/5]

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

◆ SolverResourcesProto() [3/5]

operations_research::math_opt::SolverResourcesProto::SolverResourcesProto ( const SolverResourcesProto & from)
inline

Definition at line 321 of file rpc.pb.h.

◆ SolverResourcesProto() [4/5]

operations_research::math_opt::SolverResourcesProto::SolverResourcesProto ( SolverResourcesProto && from)
inlinenoexcept

Definition at line 322 of file rpc.pb.h.

◆ SolverResourcesProto() [5/5]

template<typename>
PROTOBUF_CONSTEXPR operations_research::math_opt::SolverResourcesProto::SolverResourcesProto ( ::_pbi::ConstantInitialized )

Definition at line 65 of file rpc.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

Definition at line 428 of file rpc.pb.cc.

◆ ByteSizeLong()

size_t operations_research::math_opt::SolverResourcesProto::ByteSizeLong ( ) const
final

Definition at line 468 of file rpc.pb.cc.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::math_opt::SolverResourcesProto::Clear ( )

Definition at line 405 of file rpc.pb.cc.

◆ clear_cpu()

void operations_research::math_opt::SolverResourcesProto::clear_cpu ( )
inline

Definition at line 1069 of file rpc.pb.h.

◆ clear_ram()

void operations_research::math_opt::SolverResourcesProto::clear_ram ( )
inline

Definition at line 1098 of file rpc.pb.h.

◆ CopyFrom()

void operations_research::math_opt::SolverResourcesProto::CopyFrom ( const SolverResourcesProto & from)

Definition at line 512 of file rpc.pb.cc.

◆ cpu()

double operations_research::math_opt::SolverResourcesProto::cpu ( ) const
inline

Definition at line 1075 of file rpc.pb.h.

◆ default_instance()

const SolverResourcesProto & operations_research::math_opt::SolverResourcesProto::default_instance ( )
inlinestatic

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

◆ descriptor()

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

Definition at line 347 of file rpc.pb.h.

◆ GetCachedSize()

int operations_research::math_opt::SolverResourcesProto::GetCachedSize ( ) const
inline

Definition at line 415 of file rpc.pb.h.

◆ GetDescriptor()

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

Definition at line 350 of file rpc.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::math_opt::SolverResourcesProto::GetMetadata ( ) const

Definition at line 532 of file rpc.pb.cc.

◆ GetReflection()

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

Definition at line 353 of file rpc.pb.h.

◆ has_cpu()

bool operations_research::math_opt::SolverResourcesProto::has_cpu ( ) const
inline

Definition at line 1065 of file rpc.pb.h.

◆ has_ram()

bool operations_research::math_opt::SolverResourcesProto::has_ram ( ) const
inline

Definition at line 1094 of file rpc.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::math_opt::SolverResourcesProto::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 332 of file rpc.pb.cc.

◆ IsInitialized()

bool operations_research::math_opt::SolverResourcesProto::IsInitialized ( ) const
inline

Definition at line 391 of file rpc.pb.h.

◆ MergeFrom()

void operations_research::math_opt::SolverResourcesProto::MergeFrom ( const SolverResourcesProto & from)
inline

Definition at line 384 of file rpc.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::math_opt::SolverResourcesProto::mutable_unknown_fields ( )
inline

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

◆ New()

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

Definition at line 378 of file rpc.pb.h.

◆ operator=() [1/2]

SolverResourcesProto & operations_research::math_opt::SolverResourcesProto::operator= ( const SolverResourcesProto & from)
inline

Definition at line 324 of file rpc.pb.h.

◆ operator=() [2/2]

SolverResourcesProto & operations_research::math_opt::SolverResourcesProto::operator= ( SolverResourcesProto && from)
inlinenoexcept

Definition at line 328 of file rpc.pb.h.

◆ ram()

double operations_research::math_opt::SolverResourcesProto::ram ( ) const
inline

Definition at line 1104 of file rpc.pb.h.

◆ set_cpu()

void operations_research::math_opt::SolverResourcesProto::set_cpu ( double value)
inline

Definition at line 1079 of file rpc.pb.h.

◆ set_ram()

void operations_research::math_opt::SolverResourcesProto::set_ram ( double value)
inline

Definition at line 1108 of file rpc.pb.h.

◆ Swap()

void operations_research::math_opt::SolverResourcesProto::Swap ( SolverResourcesProto *PROTOBUF_NONNULL other)
inline

Definition at line 362 of file rpc.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::math_opt::SolverResourcesProto::unknown_fields ( ) const
inline

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

◆ UnsafeArenaSwap()

void operations_research::math_opt::SolverResourcesProto::UnsafeArenaSwap ( SolverResourcesProto *PROTOBUF_NONNULL other)
inline

Definition at line 370 of file rpc.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 482 of file rpc.pb.h.

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

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

Definition at line 484 of file rpc.pb.h.

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

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

Definition at line 475 of file rpc.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 481 of file rpc.pb.h.

◆ ::TableStruct_ortools_2fmath_5fopt_2frpc_2eproto

friend struct ::TableStruct_ortools_2fmath_5fopt_2frpc_2eproto
friend

Definition at line 503 of file rpc.pb.h.

◆ swap

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

Definition at line 361 of file rpc.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SolverResourcesProto::_impl_

Definition at line 502 of file rpc.pb.h.

◆ kIndexInFileMessages

int operations_research::math_opt::SolverResourcesProto::kIndexInFileMessages = 0
staticconstexpr

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


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