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

Detailed Description

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

#include <sparse_containers.pb.h>

Inheritance diagram for operations_research::math_opt::SparseBoolVectorProto:

Classes

class  _Internal

Public Types

enum  : int { kIdsFieldNumber = 1 , kValuesFieldNumber = 2 }
 nested types -------------------------------------------------— More...

Public Member Functions

 SparseBoolVectorProto ()
 ~SparseBoolVectorProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR SparseBoolVectorProto (::google::protobuf::internal::ConstantInitialized)
 SparseBoolVectorProto (const SparseBoolVectorProto &from)
 SparseBoolVectorProto (SparseBoolVectorProto &&from) noexcept
SparseBoolVectorProtooperator= (const SparseBoolVectorProto &from)
SparseBoolVectorProtooperator= (SparseBoolVectorProto &&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 (SparseBoolVectorProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (SparseBoolVectorProto *PROTOBUF_NONNULL other)
SparseBoolVectorProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const SparseBoolVectorProto &from)
void MergeFrom (const SparseBoolVectorProto &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 bool values = 2;
void clear_values ()
bool values (int index) const
void set_values (int index, bool value)
void add_values (bool value)
const ::google::protobuf::RepeatedField< bool > & values () const
::google::protobuf::RepeatedField< bool > *PROTOBUF_NONNULL mutable_values ()
template<typename>
PROTOBUF_CONSTEXPR SparseBoolVectorProto (::_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 SparseBoolVectorProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 1

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kIdsFieldNumber 
kValuesFieldNumber 

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

Constructor & Destructor Documentation

◆ SparseBoolVectorProto() [1/8]

operations_research::math_opt::SparseBoolVectorProto::SparseBoolVectorProto ( )
inline

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

◆ ~SparseBoolVectorProto()

operations_research::math_opt::SparseBoolVectorProto::~SparseBoolVectorProto ( )

@protoc_insertion_point(destructor:operations_research.math_opt.SparseBoolVectorProto)

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

◆ SparseBoolVectorProto() [2/8]

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

◆ SparseBoolVectorProto() [3/8]

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

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

◆ SparseBoolVectorProto() [4/8]

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

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

◆ SparseBoolVectorProto() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.math_opt.SparseBoolVectorProto)

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

◆ SparseBoolVectorProto() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.math_opt.SparseBoolVectorProto)

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

◆ SparseBoolVectorProto() [7/8]

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

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

◆ SparseBoolVectorProto() [8/8]

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

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

Member Function Documentation

◆ _InternalSerialize()

uint8_t *PROTOBUF_NONNULL operations_research::math_opt::SparseBoolVectorProto::_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.SparseBoolVectorProto)

repeated int64 ids = 1;

repeated bool values = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SparseBoolVectorProto)

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

◆ add_ids()

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

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

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

◆ add_values()

void operations_research::math_opt::SparseBoolVectorProto::add_values ( bool value)
inline

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

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SparseBoolVectorProto)

Prevent compiler warnings about cached_has_bits being unused

repeated int64 ids = 1;

repeated bool values = 2;

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

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.math_opt.SparseBoolVectorProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_ids()

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

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

◆ clear_values()

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

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SparseBoolVectorProto)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ ids() [1/2]

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

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

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

◆ ids() [2/2]

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

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

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

◆ ids_size()

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

repeated int64 ids = 1;

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

◆ InternalGenerateClassData_()

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

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

◆ InternalNewImpl_()

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

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_ids()

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

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

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

◆ mutable_unknown_fields()

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

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

◆ mutable_values()

google::protobuf::RepeatedField< bool > *PROTOBUF_NONNULL operations_research::math_opt::SparseBoolVectorProto::mutable_values ( )
inline

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

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

◆ New()

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ set_ids()

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

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

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

◆ set_values()

void operations_research::math_opt::SparseBoolVectorProto::set_values ( int index,
bool value )
inline

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

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ values() [1/2]

const::google::protobuf::RepeatedField< bool > & operations_research::math_opt::SparseBoolVectorProto::values ( ) const
inline

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

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

◆ values() [2/2]

bool operations_research::math_opt::SparseBoolVectorProto::values ( int index) const
inline

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

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

◆ values_size()

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

repeated bool values = 2;

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SparseBoolVectorProto::_impl_

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

◆ kIndexInFileMessages

int operations_research::math_opt::SparseBoolVectorProto::kIndexInFileMessages = 1
staticconstexpr

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


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