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

Detailed Description

Definition at line 328 of file flow_problem.pb.h.

#include <flow_problem.pb.h>

Inheritance diagram for operations_research::FlowArcProto:

Classes

class  _Internal

Public Types

enum  : int { kTailFieldNumber = 1 , kHeadFieldNumber = 2 , kUnitCostFieldNumber = 4 , kCapacityFieldNumber = 3 }
 nested types -------------------------------------------------— More...

Public Member Functions

 FlowArcProto ()
 ~FlowArcProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR FlowArcProto (::google::protobuf::internal::ConstantInitialized)
 FlowArcProto (const FlowArcProto &from)
 FlowArcProto (FlowArcProto &&from) noexcept
FlowArcProtooperator= (const FlowArcProto &from)
FlowArcProtooperator= (FlowArcProto &&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 (FlowArcProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (FlowArcProto *PROTOBUF_NONNULL other)
FlowArcProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const FlowArcProto &from)
void MergeFrom (const FlowArcProto &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
bool has_tail () const
 optional int64 tail = 1;
void clear_tail ()
::int64_t tail () const
void set_tail (::int64_t value)
bool has_head () const
 optional int64 head = 2;
void clear_head ()
::int64_t head () const
void set_head (::int64_t value)
bool has_unit_cost () const
 optional int64 unit_cost = 4 [default = 0];
void clear_unit_cost ()
::int64_t unit_cost () const
void set_unit_cost (::int64_t value)
bool has_capacity () const
 optional int64 capacity = 3 [default = 1];
void clear_capacity ()
::int64_t capacity () const
void set_capacity (::int64_t value)
template<typename>
PROTOBUF_CONSTEXPR FlowArcProto (::_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 FlowArcProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 0

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kTailFieldNumber 
kHeadFieldNumber 
kUnitCostFieldNumber 
kCapacityFieldNumber 

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

Constructor & Destructor Documentation

◆ FlowArcProto() [1/8]

operations_research::FlowArcProto::FlowArcProto ( )
inline

Definition at line 331 of file flow_problem.pb.h.

◆ ~FlowArcProto()

operations_research::FlowArcProto::~FlowArcProto ( )

@protoc_insertion_point(destructor:operations_research.FlowArcProto)

Definition at line 243 of file flow_problem.pb.cc.

◆ FlowArcProto() [2/8]

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

◆ FlowArcProto() [3/8]

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

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

◆ FlowArcProto() [4/8]

operations_research::FlowArcProto::FlowArcProto ( FlowArcProto && from)
inlinenoexcept

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

◆ FlowArcProto() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.FlowArcProto)

Definition at line 208 of file flow_problem.pb.cc.

◆ FlowArcProto() [6/8]

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

Definition at line 217 of file flow_problem.pb.cc.

◆ FlowArcProto() [7/8]

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

Definition at line 452 of file flow_problem.pb.h.

◆ FlowArcProto() [8/8]

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

Definition at line 64 of file flow_problem.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.FlowArcProto)

optional int64 tail = 1;

optional int64 head = 2;

optional int64 capacity = 3 [default = 1];

optional int64 unit_cost = 4 [default = 0];

@protoc_insertion_point(serialize_to_array_end:operations_research.FlowArcProto)

Definition at line 372 of file flow_problem.pb.cc.

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.FlowArcProto)

Prevent compiler warnings about cached_has_bits being unused

optional int64 tail = 1;

optional int64 head = 2;

optional int64 unit_cost = 4 [default = 0];

optional int64 capacity = 3 [default = 1];

Definition at line 423 of file flow_problem.pb.cc.

◆ capacity()

int64_t operations_research::FlowArcProto::capacity ( ) const
inline

@protoc_insertion_point(field_get:operations_research.FlowArcProto.capacity)

Definition at line 895 of file flow_problem.pb.h.

◆ Clear()

PROTOBUF_NOINLINE void operations_research::FlowArcProto::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.FlowArcProto)

Prevent compiler warnings about cached_has_bits being unused

Definition at line 348 of file flow_problem.pb.cc.

◆ clear_capacity()

void operations_research::FlowArcProto::clear_capacity ( )
inline

Definition at line 890 of file flow_problem.pb.h.

◆ clear_head()

void operations_research::FlowArcProto::clear_head ( )
inline

Definition at line 862 of file flow_problem.pb.h.

◆ clear_tail()

void operations_research::FlowArcProto::clear_tail ( )
inline

Definition at line 834 of file flow_problem.pb.h.

◆ clear_unit_cost()

void operations_research::FlowArcProto::clear_unit_cost ( )
inline

Definition at line 918 of file flow_problem.pb.h.

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.FlowArcProto)

Definition at line 488 of file flow_problem.pb.cc.

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

Definition at line 438 of file flow_problem.pb.h.

◆ GetClassData()

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

Definition at line 291 of file flow_problem.pb.cc.

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

Definition at line 508 of file flow_problem.pb.cc.

◆ GetReflection()

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

Definition at line 376 of file flow_problem.pb.h.

◆ has_capacity()

bool operations_research::FlowArcProto::has_capacity ( ) const
inline

optional int64 capacity = 3 [default = 1];

Definition at line 886 of file flow_problem.pb.h.

◆ has_head()

bool operations_research::FlowArcProto::has_head ( ) const
inline

optional int64 head = 2;

Definition at line 858 of file flow_problem.pb.h.

◆ has_tail()

bool operations_research::FlowArcProto::has_tail ( ) const
inline

optional int64 tail = 1;

FlowArcProto.

optional int64 tail = 1;

Definition at line 830 of file flow_problem.pb.h.

◆ has_unit_cost()

bool operations_research::FlowArcProto::has_unit_cost ( ) const
inline

optional int64 unit_cost = 4 [default = 0];

Definition at line 914 of file flow_problem.pb.h.

◆ head()

int64_t operations_research::FlowArcProto::head ( ) const
inline

@protoc_insertion_point(field_get:operations_research.FlowArcProto.head)

Definition at line 867 of file flow_problem.pb.h.

◆ InternalGenerateClassData_()

auto operations_research::FlowArcProto::InternalGenerateClassData_ ( )
staticconstexpr

Definition at line 263 of file flow_problem.pb.cc.

◆ InternalNewImpl_()

auto operations_research::FlowArcProto::InternalNewImpl_ ( )
staticconstexprprotected

Definition at line 259 of file flow_problem.pb.cc.

◆ IsInitialized()

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

Definition at line 414 of file flow_problem.pb.h.

◆ MergeFrom()

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

Definition at line 407 of file flow_problem.pb.h.

◆ mutable_unknown_fields()

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

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

◆ New()

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

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

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

◆ operator=() [1/2]

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

Definition at line 347 of file flow_problem.pb.h.

◆ operator=() [2/2]

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

Definition at line 351 of file flow_problem.pb.h.

◆ PlacementNew_()

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

Definition at line 254 of file flow_problem.pb.cc.

◆ set_capacity()

void operations_research::FlowArcProto::set_capacity ( ::int64_t value)
inline

@protoc_insertion_point(field_set:operations_research.FlowArcProto.capacity)

Definition at line 899 of file flow_problem.pb.h.

◆ set_head()

void operations_research::FlowArcProto::set_head ( ::int64_t value)
inline

@protoc_insertion_point(field_set:operations_research.FlowArcProto.head)

Definition at line 871 of file flow_problem.pb.h.

◆ set_tail()

void operations_research::FlowArcProto::set_tail ( ::int64_t value)
inline

@protoc_insertion_point(field_set:operations_research.FlowArcProto.tail)

Definition at line 843 of file flow_problem.pb.h.

◆ set_unit_cost()

void operations_research::FlowArcProto::set_unit_cost ( ::int64_t value)
inline

@protoc_insertion_point(field_set:operations_research.FlowArcProto.unit_cost)

Definition at line 927 of file flow_problem.pb.h.

◆ Swap()

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

Definition at line 385 of file flow_problem.pb.h.

◆ tail()

int64_t operations_research::FlowArcProto::tail ( ) const
inline

@protoc_insertion_point(field_get:operations_research.FlowArcProto.tail)

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

◆ unit_cost()

int64_t operations_research::FlowArcProto::unit_cost ( ) const
inline

@protoc_insertion_point(field_get:operations_research.FlowArcProto.unit_cost)

Definition at line 923 of file flow_problem.pb.h.

◆ unknown_fields()

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

Definition at line 361 of file flow_problem.pb.h.

◆ UnsafeArenaSwap()

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

Definition at line 393 of file flow_problem.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 530 of file flow_problem.pb.h.

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

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

Definition at line 532 of file flow_problem.pb.h.

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

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

Definition at line 523 of file flow_problem.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 529 of file flow_problem.pb.h.

◆ ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto

Definition at line 553 of file flow_problem.pb.h.

◆ swap

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

Definition at line 384 of file flow_problem.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::FlowArcProto::_impl_

Definition at line 552 of file flow_problem.pb.h.

◆ kIndexInFileMessages

int operations_research::FlowArcProto::kIndexInFileMessages = 0
staticconstexpr

Definition at line 383 of file flow_problem.pb.h.


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