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

Detailed Description

Definition at line 287 of file capacity.pb.h.

#include <capacity.pb.h>

Inheritance diagram for operations_research::CapacityConstraintProto_CapacityTerm:

Classes

class  _Internal

Public Types

enum  : int { kElementWeightsFieldNumber = 2 , kSubsetFieldNumber = 1 }
 accessors ----------------------------------------------------— More...
using ElementWeightPair = CapacityConstraintProto_CapacityTerm_ElementWeightPair
 nested types -------------------------------------------------—

Public Member Functions

 CapacityConstraintProto_CapacityTerm ()
 ~CapacityConstraintProto_CapacityTerm () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR CapacityConstraintProto_CapacityTerm (::google::protobuf::internal::ConstantInitialized)
 CapacityConstraintProto_CapacityTerm (const CapacityConstraintProto_CapacityTerm &from)
 CapacityConstraintProto_CapacityTerm (CapacityConstraintProto_CapacityTerm &&from) noexcept
CapacityConstraintProto_CapacityTermoperator= (const CapacityConstraintProto_CapacityTerm &from)
CapacityConstraintProto_CapacityTermoperator= (CapacityConstraintProto_CapacityTerm &&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 (CapacityConstraintProto_CapacityTerm *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (CapacityConstraintProto_CapacityTerm *PROTOBUF_NONNULL other)
CapacityConstraintProto_CapacityTerm *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const CapacityConstraintProto_CapacityTerm &from)
void MergeFrom (const CapacityConstraintProto_CapacityTerm &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 element_weights_size () const
 repeated .operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair element_weights = 2;
void clear_element_weights ()
::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair *PROTOBUF_NONNULL mutable_element_weights (int index)
::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair > *PROTOBUF_NONNULL mutable_element_weights ()
const ::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPairelement_weights (int index) const
::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair *PROTOBUF_NONNULL add_element_weights ()
const ::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair > & element_weights () const
void clear_subset ()
 int64 subset = 1;
::int64_t subset () const
void set_subset (::int64_t value)
template<typename>
PROTOBUF_CONSTEXPR CapacityConstraintProto_CapacityTerm (::_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 CapacityConstraintProto_CapacityTermdefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 1

Protected Member Functions

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

Member Typedef Documentation

◆ ElementWeightPair

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

Definition at line 427 of file capacity.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

Enumerator
kElementWeightsFieldNumber 
kSubsetFieldNumber 

Definition at line 430 of file capacity.pb.h.

Constructor & Destructor Documentation

◆ CapacityConstraintProto_CapacityTerm() [1/8]

operations_research::CapacityConstraintProto_CapacityTerm::CapacityConstraintProto_CapacityTerm ( )
inline

Definition at line 290 of file capacity.pb.h.

◆ ~CapacityConstraintProto_CapacityTerm()

operations_research::CapacityConstraintProto_CapacityTerm::~CapacityConstraintProto_CapacityTerm ( )

@protoc_insertion_point(destructor:operations_research.CapacityConstraintProto.CapacityTerm)

Definition at line 519 of file capacity.pb.cc.

◆ CapacityConstraintProto_CapacityTerm() [2/8]

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

◆ CapacityConstraintProto_CapacityTerm() [3/8]

operations_research::CapacityConstraintProto_CapacityTerm::CapacityConstraintProto_CapacityTerm ( const CapacityConstraintProto_CapacityTerm & from)
inline

Definition at line 303 of file capacity.pb.h.

◆ CapacityConstraintProto_CapacityTerm() [4/8]

operations_research::CapacityConstraintProto_CapacityTerm::CapacityConstraintProto_CapacityTerm ( CapacityConstraintProto_CapacityTerm && from)
inlinenoexcept

Definition at line 304 of file capacity.pb.h.

◆ CapacityConstraintProto_CapacityTerm() [5/8]

operations_research::CapacityConstraintProto_CapacityTerm::CapacityConstraintProto_CapacityTerm ( ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
explicitprotected

@protoc_insertion_point(arena_constructor:operations_research.CapacityConstraintProto.CapacityTerm)

Definition at line 475 of file capacity.pb.cc.

◆ CapacityConstraintProto_CapacityTerm() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.CapacityConstraintProto.CapacityTerm)

Definition at line 492 of file capacity.pb.cc.

◆ CapacityConstraintProto_CapacityTerm() [7/8]

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

Definition at line 411 of file capacity.pb.h.

◆ CapacityConstraintProto_CapacityTerm() [8/8]

template<typename>
PROTOBUF_CONSTEXPR operations_research::CapacityConstraintProto_CapacityTerm::CapacityConstraintProto_CapacityTerm ( ::_pbi::ConstantInitialized )

Definition at line 62 of file capacity.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.CapacityConstraintProto.CapacityTerm)

int64 subset = 1;

repeated .operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair element_weights = 2;

@protoc_insertion_point(serialize_to_array_end:operations_research.CapacityConstraintProto.CapacityTerm)

Definition at line 645 of file capacity.pb.cc.

◆ add_element_weights()

operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair *PROTOBUF_NONNULL operations_research::CapacityConstraintProto_CapacityTerm::add_element_weights ( )
inline

@protoc_insertion_point(field_add:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)

Definition at line 844 of file capacity.pb.h.

◆ ByteSizeLong()

size_t operations_research::CapacityConstraintProto_CapacityTerm::ByteSizeLong ( ) const
final

@protoc_insertion_point(message_byte_size_start:operations_research.CapacityConstraintProto.CapacityTerm)

Prevent compiler warnings about cached_has_bits being unused

repeated .operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair element_weights = 2;

int64 subset = 1;

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::CapacityConstraintProto_CapacityTerm::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.CapacityConstraintProto.CapacityTerm)

Prevent compiler warnings about cached_has_bits being unused

Definition at line 626 of file capacity.pb.cc.

◆ clear_element_weights()

void operations_research::CapacityConstraintProto_CapacityTerm::clear_element_weights ( )
inline

Definition at line 824 of file capacity.pb.h.

◆ clear_subset()

void operations_research::CapacityConstraintProto_CapacityTerm::clear_subset ( )
inline

int64 subset = 1;

CapacityConstraintProto_CapacityTerm.

int64 subset = 1;

Definition at line 794 of file capacity.pb.h.

◆ CopyFrom()

void operations_research::CapacityConstraintProto_CapacityTerm::CopyFrom ( const CapacityConstraintProto_CapacityTerm & from)

@protoc_insertion_point(class_specific_copy_from_start:operations_research.CapacityConstraintProto.CapacityTerm)

Definition at line 741 of file capacity.pb.cc.

◆ default_instance()

const CapacityConstraintProto_CapacityTerm & operations_research::CapacityConstraintProto_CapacityTerm::default_instance ( )
inlinestatic

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

◆ descriptor()

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

Definition at line 329 of file capacity.pb.h.

◆ element_weights() [1/2]

const::google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair > & operations_research::CapacityConstraintProto_CapacityTerm::element_weights ( ) const
inline

@protoc_insertion_point(field_list:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)

Definition at line 851 of file capacity.pb.h.

◆ element_weights() [2/2]

const::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair & operations_research::CapacityConstraintProto_CapacityTerm::element_weights ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)

Definition at line 839 of file capacity.pb.h.

◆ element_weights_size()

int operations_research::CapacityConstraintProto_CapacityTerm::element_weights_size ( ) const
inline

repeated .operations_research.CapacityConstraintProto.CapacityTerm.ElementWeightPair element_weights = 2;

Definition at line 821 of file capacity.pb.h.

◆ GetCachedSize()

int operations_research::CapacityConstraintProto_CapacityTerm::GetCachedSize ( ) const
inline

Definition at line 397 of file capacity.pb.h.

◆ GetClassData()

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

Definition at line 579 of file capacity.pb.cc.

◆ GetDescriptor()

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

Definition at line 332 of file capacity.pb.h.

◆ GetMetadata()

google::protobuf::Metadata operations_research::CapacityConstraintProto_CapacityTerm::GetMetadata ( ) const

Definition at line 757 of file capacity.pb.cc.

◆ GetReflection()

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

Definition at line 335 of file capacity.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::CapacityConstraintProto_CapacityTerm::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 551 of file capacity.pb.cc.

◆ InternalNewImpl_()

auto operations_research::CapacityConstraintProto_CapacityTerm::InternalNewImpl_ ( )
staticconstexprprotected

Definition at line 535 of file capacity.pb.cc.

◆ IsInitialized()

bool operations_research::CapacityConstraintProto_CapacityTerm::IsInitialized ( ) const
inline

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

◆ MergeFrom()

void operations_research::CapacityConstraintProto_CapacityTerm::MergeFrom ( const CapacityConstraintProto_CapacityTerm & from)
inline

Definition at line 366 of file capacity.pb.h.

◆ mutable_element_weights() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair > *PROTOBUF_NONNULL operations_research::CapacityConstraintProto_CapacityTerm::mutable_element_weights ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)

Definition at line 833 of file capacity.pb.h.

◆ mutable_element_weights() [2/2]

operations_research::CapacityConstraintProto_CapacityTerm_ElementWeightPair *PROTOBUF_NONNULL operations_research::CapacityConstraintProto_CapacityTerm::mutable_element_weights ( int index)
inline

@protoc_insertion_point(field_mutable:operations_research.CapacityConstraintProto.CapacityTerm.element_weights)

Definition at line 828 of file capacity.pb.h.

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL operations_research::CapacityConstraintProto_CapacityTerm::mutable_unknown_fields ( )
inline

Definition at line 324 of file capacity.pb.h.

◆ New()

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

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

Definition at line 360 of file capacity.pb.h.

◆ operator=() [1/2]

CapacityConstraintProto_CapacityTerm & operations_research::CapacityConstraintProto_CapacityTerm::operator= ( CapacityConstraintProto_CapacityTerm && from)
inlinenoexcept

Definition at line 310 of file capacity.pb.h.

◆ operator=() [2/2]

CapacityConstraintProto_CapacityTerm & operations_research::CapacityConstraintProto_CapacityTerm::operator= ( const CapacityConstraintProto_CapacityTerm & from)
inline

Definition at line 306 of file capacity.pb.h.

◆ PlacementNew_()

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

Definition at line 530 of file capacity.pb.cc.

◆ set_subset()

void operations_research::CapacityConstraintProto_CapacityTerm::set_subset ( ::int64_t value)
inline

@protoc_insertion_point(field_set:operations_research.CapacityConstraintProto.CapacityTerm.subset)

Definition at line 803 of file capacity.pb.h.

◆ subset()

int64_t operations_research::CapacityConstraintProto_CapacityTerm::subset ( ) const
inline

@protoc_insertion_point(field_get:operations_research.CapacityConstraintProto.CapacityTerm.subset)

Definition at line 799 of file capacity.pb.h.

◆ Swap()

void operations_research::CapacityConstraintProto_CapacityTerm::Swap ( CapacityConstraintProto_CapacityTerm *PROTOBUF_NONNULL other)
inline

Definition at line 344 of file capacity.pb.h.

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & operations_research::CapacityConstraintProto_CapacityTerm::unknown_fields ( ) const
inline

Definition at line 320 of file capacity.pb.h.

◆ UnsafeArenaSwap()

void operations_research::CapacityConstraintProto_CapacityTerm::UnsafeArenaSwap ( CapacityConstraintProto_CapacityTerm *PROTOBUF_NONNULL other)
inline

Definition at line 352 of file capacity.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 471 of file capacity.pb.h.

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

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

Definition at line 473 of file capacity.pb.h.

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

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

Definition at line 464 of file capacity.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 470 of file capacity.pb.h.

◆ ::TableStruct_ortools_2fset_5fcover_2fcapacity_2eproto

Definition at line 492 of file capacity.pb.h.

◆ swap

Definition at line 343 of file capacity.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::CapacityConstraintProto_CapacityTerm::_impl_

Definition at line 491 of file capacity.pb.h.

◆ kIndexInFileMessages

int operations_research::CapacityConstraintProto_CapacityTerm::kIndexInFileMessages = 1
staticconstexpr

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


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