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

Detailed Description

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

#include <sparse_containers.pb.h>

Inheritance diagram for operations_research::math_opt::SparseInt32VectorProto:

Classes

class  _Internal

Public Types

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

Public Member Functions

 SparseInt32VectorProto ()
 ~SparseInt32VectorProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR SparseInt32VectorProto (::google::protobuf::internal::ConstantInitialized)
 SparseInt32VectorProto (const SparseInt32VectorProto &from)
 SparseInt32VectorProto (SparseInt32VectorProto &&from) noexcept
SparseInt32VectorProtooperator= (const SparseInt32VectorProto &from)
SparseInt32VectorProtooperator= (SparseInt32VectorProto &&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 (SparseInt32VectorProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (SparseInt32VectorProto *PROTOBUF_NONNULL other)
SparseInt32VectorProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void CopyFrom (const SparseInt32VectorProto &from)
void MergeFrom (const SparseInt32VectorProto &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 ()
::int32_t values (int index) const
void set_values (int index, ::int32_t value)
void add_values (::int32_t value)
const ::google::protobuf::RepeatedField<::int32_t > & values () const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_values ()
template<typename>
PROTOBUF_CONSTEXPR SparseInt32VectorProto (::_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 SparseInt32VectorProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 2

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 (SparseInt32VectorProto &a, SparseInt32VectorProto &b)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kIdsFieldNumber 
kValuesFieldNumber 

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

Constructor & Destructor Documentation

◆ SparseInt32VectorProto() [1/5]

operations_research::math_opt::SparseInt32VectorProto::SparseInt32VectorProto ( )
inline

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

◆ ~SparseInt32VectorProto()

operations_research::math_opt::SparseInt32VectorProto::~SparseInt32VectorProto ( )

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

◆ SparseInt32VectorProto() [2/5]

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

◆ SparseInt32VectorProto() [3/5]

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

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

◆ SparseInt32VectorProto() [4/5]

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

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

◆ SparseInt32VectorProto() [5/5]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

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

◆ add_ids()

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

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

◆ add_values()

void operations_research::math_opt::SparseInt32VectorProto::add_values ( ::int32_t value)
inline

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

◆ ByteSizeLong()

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

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

◆ Clear()

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

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

◆ clear_ids()

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

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

◆ clear_values()

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

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

◆ CopyFrom()

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

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ ids() [1/2]

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

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

◆ ids() [2/2]

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

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

◆ ids_size()

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

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

◆ InternalGenerateClassData_()

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

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_ids()

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

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

◆ mutable_unknown_fields()

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

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

◆ mutable_values()

google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL operations_research::math_opt::SparseInt32VectorProto::mutable_values ( )
inline

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

◆ New()

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ set_ids()

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

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

◆ set_values()

void operations_research::math_opt::SparseInt32VectorProto::set_values ( int index,
::int32_t value )
inline

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ values() [1/2]

const::google::protobuf::RepeatedField<::int32_t > & operations_research::math_opt::SparseInt32VectorProto::values ( ) const
inline

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

◆ values() [2/2]

int32_t operations_research::math_opt::SparseInt32VectorProto::values ( int index) const
inline

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

◆ values_size()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SparseInt32VectorProto::_impl_

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

◆ kIndexInFileMessages

int operations_research::math_opt::SparseInt32VectorProto::kIndexInFileMessages = 2
staticconstexpr

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


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