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

Detailed Description

Definition at line 543 of file sparse_containers.pb.h.

#include <sparse_containers.pb.h>

Inheritance diagram for operations_research::math_opt::SparseDoubleVectorProto:

Classes

class  _Internal

Public Types

enum  : int { kIdsFieldNumber = 1 , kValuesFieldNumber = 2 }

Public Member Functions

 SparseDoubleVectorProto ()
 ~SparseDoubleVectorProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR SparseDoubleVectorProto (::google::protobuf::internal::ConstantInitialized)
 SparseDoubleVectorProto (const SparseDoubleVectorProto &from)
 SparseDoubleVectorProto (SparseDoubleVectorProto &&from) noexcept
SparseDoubleVectorProtooperator= (const SparseDoubleVectorProto &from)
SparseDoubleVectorProtooperator= (SparseDoubleVectorProto &&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 (SparseDoubleVectorProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (SparseDoubleVectorProto *PROTOBUF_NONNULL other)
SparseDoubleVectorProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const SparseDoubleVectorProto &from)
void MergeFrom (const SparseDoubleVectorProto &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 ids_size () const
void clear_ids ()
::int64_t ids (int index) const
void set_ids (int index, ::int64_t value)
void add_ids (::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & ids () const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids ()
int values_size () const
void clear_values ()
double values (int index) const
void set_values (int index, double value)
void add_values (double value)
const ::google::protobuf::RepeatedField< double > & values () const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_values ()
template<typename>
PROTOBUF_CONSTEXPR SparseDoubleVectorProto (::_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 SparseDoubleVectorProtodefault_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_2fsparse_5fcontainers_2eproto
void swap (SparseDoubleVectorProto &a, SparseDoubleVectorProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kIdsFieldNumber 
kValuesFieldNumber 

Definition at line 684 of file sparse_containers.pb.h.

Constructor & Destructor Documentation

◆ SparseDoubleVectorProto() [1/5]

operations_research::math_opt::SparseDoubleVectorProto::SparseDoubleVectorProto ( )
inline

Definition at line 546 of file sparse_containers.pb.h.

◆ ~SparseDoubleVectorProto()

operations_research::math_opt::SparseDoubleVectorProto::~SparseDoubleVectorProto ( )

Definition at line 365 of file sparse_containers.pb.cc.

◆ SparseDoubleVectorProto() [2/5]

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

◆ SparseDoubleVectorProto() [3/5]

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

Definition at line 559 of file sparse_containers.pb.h.

◆ SparseDoubleVectorProto() [4/5]

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

Definition at line 560 of file sparse_containers.pb.h.

◆ SparseDoubleVectorProto() [5/5]

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

Definition at line 94 of file sparse_containers.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

Definition at line 503 of file sparse_containers.pb.cc.

◆ add_ids()

void operations_research::math_opt::SparseDoubleVectorProto::add_ids ( ::int64_t value)
inline

Definition at line 1494 of file sparse_containers.pb.h.

◆ add_values()

void operations_research::math_opt::SparseDoubleVectorProto::add_values ( double value)
inline

Definition at line 1544 of file sparse_containers.pb.h.

◆ ByteSizeLong()

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

Definition at line 547 of file sparse_containers.pb.cc.

◆ Clear()

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

Definition at line 477 of file sparse_containers.pb.cc.

◆ clear_ids()

void operations_research::math_opt::SparseDoubleVectorProto::clear_ids ( )
inline

Definition at line 1480 of file sparse_containers.pb.h.

◆ clear_values()

void operations_research::math_opt::SparseDoubleVectorProto::clear_values ( )
inline

Definition at line 1530 of file sparse_containers.pb.h.

◆ CopyFrom()

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

Definition at line 609 of file sparse_containers.pb.cc.

◆ default_instance()

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

Definition at line 594 of file sparse_containers.pb.h.

◆ descriptor()

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

Definition at line 585 of file sparse_containers.pb.h.

◆ GetCachedSize()

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

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

◆ GetDescriptor()

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

Definition at line 588 of file sparse_containers.pb.h.

◆ GetMetadata()

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

Definition at line 625 of file sparse_containers.pb.cc.

◆ GetReflection()

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

Definition at line 591 of file sparse_containers.pb.h.

◆ ids() [1/2]

const::google::protobuf::RepeatedField<::int64_t > & operations_research::math_opt::SparseDoubleVectorProto::ids ( ) const
inline

Definition at line 1500 of file sparse_containers.pb.h.

◆ ids() [2/2]

int64_t operations_research::math_opt::SparseDoubleVectorProto::ids ( int index) const
inline

Definition at line 1486 of file sparse_containers.pb.h.

◆ ids_size()

int operations_research::math_opt::SparseDoubleVectorProto::ids_size ( ) const
inline

Definition at line 1477 of file sparse_containers.pb.h.

◆ InternalGenerateClassData_()

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

Definition at line 404 of file sparse_containers.pb.cc.

◆ IsInitialized()

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

Definition at line 629 of file sparse_containers.pb.h.

◆ MergeFrom()

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

Definition at line 622 of file sparse_containers.pb.h.

◆ mutable_ids()

google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleVectorProto::mutable_ids ( )
inline

Definition at line 1505 of file sparse_containers.pb.h.

◆ mutable_unknown_fields()

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

Definition at line 580 of file sparse_containers.pb.h.

◆ mutable_values()

google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL operations_research::math_opt::SparseDoubleVectorProto::mutable_values ( )
inline

Definition at line 1555 of file sparse_containers.pb.h.

◆ New()

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

Definition at line 616 of file sparse_containers.pb.h.

◆ operator=() [1/2]

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

Definition at line 562 of file sparse_containers.pb.h.

◆ operator=() [2/2]

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

Definition at line 566 of file sparse_containers.pb.h.

◆ set_ids()

void operations_research::math_opt::SparseDoubleVectorProto::set_ids ( int index,
::int64_t value )
inline

Definition at line 1490 of file sparse_containers.pb.h.

◆ set_values()

void operations_research::math_opt::SparseDoubleVectorProto::set_values ( int index,
double value )
inline

Definition at line 1540 of file sparse_containers.pb.h.

◆ Swap()

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

Definition at line 600 of file sparse_containers.pb.h.

◆ unknown_fields()

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

Definition at line 576 of file sparse_containers.pb.h.

◆ UnsafeArenaSwap()

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

Definition at line 608 of file sparse_containers.pb.h.

◆ values() [1/2]

const::google::protobuf::RepeatedField< double > & operations_research::math_opt::SparseDoubleVectorProto::values ( ) const
inline

Definition at line 1550 of file sparse_containers.pb.h.

◆ values() [2/2]

double operations_research::math_opt::SparseDoubleVectorProto::values ( int index) const
inline

Definition at line 1536 of file sparse_containers.pb.h.

◆ values_size()

int operations_research::math_opt::SparseDoubleVectorProto::values_size ( ) const
inline

Definition at line 1527 of file sparse_containers.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 734 of file sparse_containers.pb.h.

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

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

Definition at line 736 of file sparse_containers.pb.h.

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

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

Definition at line 727 of file sparse_containers.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 733 of file sparse_containers.pb.h.

◆ ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto

friend struct ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto
friend

Definition at line 756 of file sparse_containers.pb.h.

◆ swap

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

Definition at line 599 of file sparse_containers.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SparseDoubleVectorProto::_impl_

Definition at line 755 of file sparse_containers.pb.h.

◆ kIndexInFileMessages

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

Definition at line 598 of file sparse_containers.pb.h.


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