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

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
 implements Message -------------------------------------------—
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
 repeated int64 ids = 1;
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
 repeated double values = 2;
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

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kIdsFieldNumber 
kValuesFieldNumber 

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

Constructor & Destructor Documentation

◆ SparseDoubleVectorProto() [1/8]

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

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

◆ ~SparseDoubleVectorProto()

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

@protoc_insertion_point(destructor:operations_research.math_opt.SparseDoubleVectorProto)

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

◆ SparseDoubleVectorProto() [2/8]

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

◆ SparseDoubleVectorProto() [3/8]

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

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

◆ SparseDoubleVectorProto() [4/8]

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

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

◆ SparseDoubleVectorProto() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.math_opt.SparseDoubleVectorProto)

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

◆ SparseDoubleVectorProto() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.math_opt.SparseDoubleVectorProto)

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

◆ SparseDoubleVectorProto() [7/8]

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

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

◆ SparseDoubleVectorProto() [8/8]

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

@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SparseDoubleVectorProto)

repeated int64 ids = 1;

repeated double values = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SparseDoubleVectorProto)

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

◆ add_ids()

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

@protoc_insertion_point(field_add:operations_research.math_opt.SparseDoubleVectorProto.ids)

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

◆ add_values()

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

@protoc_insertion_point(field_add:operations_research.math_opt.SparseDoubleVectorProto.values)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SparseDoubleVectorProto)

Prevent compiler warnings about cached_has_bits being unused

repeated int64 ids = 1;

repeated double values = 2;

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

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.math_opt.SparseDoubleVectorProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_ids()

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

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

◆ clear_values()

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

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SparseDoubleVectorProto)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ ids() [1/2]

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

@protoc_insertion_point(field_list:operations_research.math_opt.SparseDoubleVectorProto.ids)

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

◆ ids() [2/2]

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

@protoc_insertion_point(field_get:operations_research.math_opt.SparseDoubleVectorProto.ids)

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

◆ ids_size()

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

repeated int64 ids = 1;

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

◆ InternalGenerateClassData_()

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

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

◆ InternalNewImpl_()

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

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_ids()

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

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SparseDoubleVectorProto.ids)

Definition at line 1504 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 581 of file sparse_containers.pb.h.

◆ mutable_values()

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

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SparseDoubleVectorProto.values)

Definition at line 1550 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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ set_ids()

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

@protoc_insertion_point(field_set:operations_research.math_opt.SparseDoubleVectorProto.ids)

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

@protoc_insertion_point(field_set:operations_research.math_opt.SparseDoubleVectorProto.values)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ values() [1/2]

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

@protoc_insertion_point(field_list:operations_research.math_opt.SparseDoubleVectorProto.values)

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

◆ values() [2/2]

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

@protoc_insertion_point(field_get:operations_research.math_opt.SparseDoubleVectorProto.values)

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

◆ values_size()

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

repeated double values = 2;

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SparseDoubleVectorProto::_impl_

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

◆ kIndexInFileMessages

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

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


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