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

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
 implements Message -------------------------------------------—
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
 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 int32 values = 2;
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

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kIdsFieldNumber 
kValuesFieldNumber 

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

Constructor & Destructor Documentation

◆ SparseInt32VectorProto() [1/8]

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

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

◆ ~SparseInt32VectorProto()

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

@protoc_insertion_point(destructor:operations_research.math_opt.SparseInt32VectorProto)

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

◆ SparseInt32VectorProto() [2/8]

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

◆ SparseInt32VectorProto() [3/8]

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

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

◆ SparseInt32VectorProto() [4/8]

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

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

◆ SparseInt32VectorProto() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.math_opt.SparseInt32VectorProto)

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

◆ SparseInt32VectorProto() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.math_opt.SparseInt32VectorProto)

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

◆ SparseInt32VectorProto() [7/8]

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

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

◆ SparseInt32VectorProto() [8/8]

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

@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SparseInt32VectorProto)

repeated int64 ids = 1;

repeated int32 values = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SparseInt32VectorProto)

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

◆ add_ids()

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

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

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

◆ add_values()

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

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

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SparseInt32VectorProto)

Prevent compiler warnings about cached_has_bits being unused

repeated int64 ids = 1;

repeated int32 values = 2;

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

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.math_opt.SparseInt32VectorProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_ids()

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

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

◆ clear_values()

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

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SparseInt32VectorProto)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ ids() [1/2]

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

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

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

◆ ids() [2/2]

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

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

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

◆ ids_size()

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

repeated int64 ids = 1;

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

◆ InternalGenerateClassData_()

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

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

◆ InternalNewImpl_()

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

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_ids()

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

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

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

◆ mutable_values()

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

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

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ set_ids()

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

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

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

◆ set_values()

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

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

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ values() [1/2]

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

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

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

◆ values() [2/2]

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

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

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

◆ values_size()

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

repeated int32 values = 2;

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SparseInt32VectorProto::_impl_

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

◆ kIndexInFileMessages

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

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


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