Google OR-Tools v9.14
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 306 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 }
 nested types -------------------------------------------------— More...

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
 implements Message -------------------------------------------—
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
 optional double cpu = 1;
void clear_cpu ()
double cpu () const
void set_cpu (double value)
bool has_ram () const
 optional double ram = 2;
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

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kCpuFieldNumber 
kRamFieldNumber 

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

Constructor & Destructor Documentation

◆ SolverResourcesProto() [1/8]

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

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

◆ ~SolverResourcesProto()

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

@protoc_insertion_point(destructor:operations_research.math_opt.SolverResourcesProto)

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

◆ SolverResourcesProto() [2/8]

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

◆ SolverResourcesProto() [3/8]

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

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

◆ SolverResourcesProto() [4/8]

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

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

◆ SolverResourcesProto() [5/8]

operations_research::math_opt::SolverResourcesProto::SolverResourcesProto ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolverResourcesProto)

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

◆ SolverResourcesProto() [6/8]

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

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

◆ SolverResourcesProto() [7/8]

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

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

◆ SolverResourcesProto() [8/8]

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

@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolverResourcesProto)

optional double cpu = 1;

optional double ram = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolverResourcesProto)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolverResourcesProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolverResourcesProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_cpu()

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

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

◆ clear_ram()

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

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolverResourcesProto)

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

◆ cpu()

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

@protoc_insertion_point(field_get:operations_research.math_opt.SolverResourcesProto.cpu)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ has_cpu()

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

optional double cpu = 1;

SolverResourcesProto.

optional double cpu = 1;

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

◆ has_ram()

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

optional double ram = 2;

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

◆ InternalGenerateClassData_()

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

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

◆ InternalNewImpl_()

auto operations_research::math_opt::SolverResourcesProto::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

Definition at line 385 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 343 of file rpc.pb.h.

◆ New()

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ ram()

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

@protoc_insertion_point(field_get:operations_research.math_opt.SolverResourcesProto.ram)

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

◆ set_cpu()

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

@protoc_insertion_point(field_set:operations_research.math_opt.SolverResourcesProto.cpu)

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

◆ set_ram()

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

@protoc_insertion_point(field_set:operations_research.math_opt.SolverResourcesProto.ram)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2frpc_2eproto

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SolverResourcesProto::_impl_

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

◆ kIndexInFileMessages

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

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


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