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

Detailed Description

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

#include <flow_problem.pb.h>

Inheritance diagram for FlowModelProto:

Classes

class  _Internal

Public Types

enum  : int { kNodesFieldNumber = 1 , kArcsFieldNumber = 2 , kProblemTypeFieldNumber = 3 }
 accessors ----------------------------------------------------— More...
using ProblemType = FlowModelProto_ProblemType
 nested types -------------------------------------------------—

Public Member Functions

 FlowModelProto ()
template<typename = void>
PROTOBUF_CONSTEXPR FlowModelProto (::google::protobuf::internal::ConstantInitialized)
 FlowModelProto (const FlowModelProto &from)
 FlowModelProto (FlowModelProto &&from) noexcept
template<typename>
PROTOBUF_CONSTEXPR FlowModelProto (::_pbi::ConstantInitialized)
 ~FlowModelProto () PROTOBUF_FINAL
FlowModelProtooperator= (const FlowModelProto &from)
FlowModelProtooperator= (FlowModelProto &&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 (FlowModelProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (FlowModelProto *PROTOBUF_NONNULL other)
FlowModelProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const FlowModelProto &from)
void MergeFrom (const FlowModelProto &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 nodes_size () const
 repeated .operations_research.FlowNodeProto nodes = 1;
void clear_nodes ()
::operations_research::FlowNodeProto *PROTOBUF_NONNULL mutable_nodes (int index)
::google::protobuf::RepeatedPtrField<::operations_research::FlowNodeProto > *PROTOBUF_NONNULL mutable_nodes ()
const ::operations_research::FlowNodeProtonodes (int index) const
const ::google::protobuf::RepeatedPtrField<::operations_research::FlowNodeProto > & nodes () const
::operations_research::FlowNodeProto *PROTOBUF_NONNULL add_nodes ()
int arcs_size () const
 repeated .operations_research.FlowArcProto arcs = 2;
void clear_arcs ()
::operations_research::FlowArcProto *PROTOBUF_NONNULL mutable_arcs (int index)
::google::protobuf::RepeatedPtrField<::operations_research::FlowArcProto > *PROTOBUF_NONNULL mutable_arcs ()
const ::operations_research::FlowArcProtoarcs (int index) const
const ::google::protobuf::RepeatedPtrField<::operations_research::FlowArcProto > & arcs () const
::operations_research::FlowArcProto *PROTOBUF_NONNULL add_arcs ()
bool has_problem_type () const
 optional .operations_research.FlowModelProto.ProblemType problem_type = 3;
void clear_problem_type ()
::operations_research::FlowModelProto_ProblemType problem_type () const
void set_problem_type (::operations_research::FlowModelProto_ProblemType value)

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 FlowModelProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()
static bool ProblemType_IsValid (int value)
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL ProblemType_descriptor ()
template<typename T>
static const ::std::string & ProblemType_Name (T value)
static bool ProblemType_Parse (::absl::string_view name, ProblemType *PROTOBUF_NONNULL value)

Static Public Attributes

static constexpr int kIndexInFileMessages = 2
static constexpr ProblemType LINEAR_SUM_ASSIGNMENT = FlowModelProto_ProblemType_LINEAR_SUM_ASSIGNMENT
static constexpr ProblemType MAX_FLOW = FlowModelProto_ProblemType_MAX_FLOW
static constexpr ProblemType MIN_COST_FLOW = FlowModelProto_ProblemType_MIN_COST_FLOW
static constexpr ProblemType ProblemType_MIN = FlowModelProto_ProblemType_ProblemType_MIN
static constexpr ProblemType ProblemType_MAX = FlowModelProto_ProblemType_ProblemType_MAX
static constexpr int ProblemType_ARRAYSIZE = FlowModelProto_ProblemType_ProblemType_ARRAYSIZE

Protected Member Functions

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

Member Typedef Documentation

◆ ProblemType

using operations_research::FlowModelProto::ProblemType = FlowModelProto_ProblemType

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

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

Enumerator
kNodesFieldNumber 
kArcsFieldNumber 
kProblemTypeFieldNumber 

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

Constructor & Destructor Documentation

◆ FlowModelProto() [1/8]

operations_research::FlowModelProto::FlowModelProto ( )
inline

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

◆ FlowModelProto() [2/8]

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

◆ FlowModelProto() [3/8]

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

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

◆ FlowModelProto() [4/8]

operations_research::FlowModelProto::FlowModelProto ( FlowModelProto && from)
inlinenoexcept

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

◆ FlowModelProto() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.FlowModelProto)

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

◆ FlowModelProto() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.FlowModelProto)

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

◆ FlowModelProto() [7/8]

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

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

◆ FlowModelProto() [8/8]

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

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

◆ ~FlowModelProto()

operations_research::FlowModelProto::~FlowModelProto ( )

@protoc_insertion_point(destructor:operations_research.FlowModelProto)

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

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.FlowModelProto)

repeated .operations_research.FlowNodeProto nodes = 1;

repeated .operations_research.FlowArcProto arcs = 2;

optional .operations_research.FlowModelProto.ProblemType problem_type = 3;

@protoc_insertion_point(serialize_to_array_end:operations_research.FlowModelProto)

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

◆ add_arcs()

operations_research::FlowArcProto *PROTOBUF_NONNULL operations_research::FlowModelProto::add_arcs ( )
inline

@protoc_insertion_point(field_add:operations_research.FlowModelProto.arcs)

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

◆ add_nodes()

operations_research::FlowNodeProto *PROTOBUF_NONNULL operations_research::FlowModelProto::add_nodes ( )
inline

@protoc_insertion_point(field_add:operations_research.FlowModelProto.nodes)

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

◆ arcs() [1/2]

const::google::protobuf::RepeatedPtrField<::operations_research::FlowArcProto > & operations_research::FlowModelProto::arcs ( ) const
inline

@protoc_insertion_point(field_list:operations_research.FlowModelProto.arcs)

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

◆ arcs() [2/2]

const::operations_research::FlowArcProto & operations_research::FlowModelProto::arcs ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.FlowModelProto.arcs)

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

◆ arcs_size()

int operations_research::FlowModelProto::arcs_size ( ) const
inline

repeated .operations_research.FlowArcProto arcs = 2;

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.FlowModelProto)

Prevent compiler warnings about cached_has_bits being unused

repeated .operations_research.FlowNodeProto nodes = 1;

repeated .operations_research.FlowArcProto arcs = 2;

optional .operations_research.FlowModelProto.ProblemType problem_type = 3;

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::FlowModelProto::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.FlowModelProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_arcs()

void operations_research::FlowModelProto::clear_arcs ( )
inline

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

◆ clear_nodes()

void operations_research::FlowModelProto::clear_nodes ( )
inline

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

◆ clear_problem_type()

void operations_research::FlowModelProto::clear_problem_type ( )
inline

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.FlowModelProto)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ has_problem_type()

bool operations_research::FlowModelProto::has_problem_type ( ) const
inline

optional .operations_research.FlowModelProto.ProblemType problem_type = 3;

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

◆ InternalGenerateClassData_()

auto operations_research::FlowModelProto::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ InternalNewImpl_()

auto operations_research::FlowModelProto::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_arcs() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::FlowArcProto > *PROTOBUF_NONNULL operations_research::FlowModelProto::mutable_arcs ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.FlowModelProto.arcs)

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

◆ mutable_arcs() [2/2]

operations_research::FlowArcProto *PROTOBUF_NONNULL operations_research::FlowModelProto::mutable_arcs ( int index)
inline

@protoc_insertion_point(field_mutable:operations_research.FlowModelProto.arcs)

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

◆ mutable_nodes() [1/2]

google::protobuf::RepeatedPtrField<::operations_research::FlowNodeProto > *PROTOBUF_NONNULL operations_research::FlowModelProto::mutable_nodes ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.FlowModelProto.nodes)

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

◆ mutable_nodes() [2/2]

operations_research::FlowNodeProto *PROTOBUF_NONNULL operations_research::FlowModelProto::mutable_nodes ( int index)
inline

@protoc_insertion_point(field_mutable:operations_research.FlowModelProto.nodes)

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

◆ mutable_unknown_fields()

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

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

◆ New()

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

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

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

◆ nodes() [1/2]

const::google::protobuf::RepeatedPtrField<::operations_research::FlowNodeProto > & operations_research::FlowModelProto::nodes ( ) const
inline

@protoc_insertion_point(field_list:operations_research.FlowModelProto.nodes)

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

◆ nodes() [2/2]

const::operations_research::FlowNodeProto & operations_research::FlowModelProto::nodes ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.FlowModelProto.nodes)

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

◆ nodes_size()

int operations_research::FlowModelProto::nodes_size ( ) const
inline

repeated .operations_research.FlowNodeProto nodes = 1;

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ problem_type()

operations_research::FlowModelProto_ProblemType operations_research::FlowModelProto::problem_type ( ) const
inline

@protoc_insertion_point(field_get:operations_research.FlowModelProto.problem_type)

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

◆ ProblemType_descriptor()

const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL operations_research::FlowModelProto::ProblemType_descriptor ( )
inlinestatic

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

◆ ProblemType_IsValid()

bool operations_research::FlowModelProto::ProblemType_IsValid ( int value)
inlinestatic

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

◆ ProblemType_Name()

template<typename T>
const ::std::string & operations_research::FlowModelProto::ProblemType_Name ( T value)
inlinestatic

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

◆ ProblemType_Parse()

bool operations_research::FlowModelProto::ProblemType_Parse ( ::absl::string_view name,
ProblemType *PROTOBUF_NONNULL value )
inlinestatic

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

◆ set_problem_type()

void operations_research::FlowModelProto::set_problem_type ( ::operations_research::FlowModelProto_ProblemType value)
inline

@protoc_insertion_point(field_set:operations_research.FlowModelProto.problem_type)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::FlowModelProto::_impl_

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

◆ kIndexInFileMessages

int operations_research::FlowModelProto::kIndexInFileMessages = 2
staticconstexpr

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

◆ LINEAR_SUM_ASSIGNMENT

ProblemType operations_research::FlowModelProto::LINEAR_SUM_ASSIGNMENT = FlowModelProto_ProblemType_LINEAR_SUM_ASSIGNMENT
staticconstexpr

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

◆ MAX_FLOW

ProblemType operations_research::FlowModelProto::MAX_FLOW = FlowModelProto_ProblemType_MAX_FLOW
staticconstexpr

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

◆ MIN_COST_FLOW

ProblemType operations_research::FlowModelProto::MIN_COST_FLOW = FlowModelProto_ProblemType_MIN_COST_FLOW
staticconstexpr

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

◆ ProblemType_ARRAYSIZE

int operations_research::FlowModelProto::ProblemType_ARRAYSIZE = FlowModelProto_ProblemType_ProblemType_ARRAYSIZE
staticconstexpr

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

◆ ProblemType_MAX

ProblemType operations_research::FlowModelProto::ProblemType_MAX = FlowModelProto_ProblemType_ProblemType_MAX
staticconstexpr

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

◆ ProblemType_MIN

ProblemType operations_research::FlowModelProto::ProblemType_MIN = FlowModelProto_ProblemType_ProblemType_MIN
staticconstexpr

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


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