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

Detailed Description

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

#include <flow_problem.pb.h>

Inheritance diagram for operations_research::FlowNodeProto:

Classes

class  _Internal

Public Types

enum  : int { kIdFieldNumber = 1 , kSupplyFieldNumber = 2 }
 nested types -------------------------------------------------— More...

Public Member Functions

 FlowNodeProto ()
 ~FlowNodeProto () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR FlowNodeProto (::google::protobuf::internal::ConstantInitialized)
 FlowNodeProto (const FlowNodeProto &from)
 FlowNodeProto (FlowNodeProto &&from) noexcept
FlowNodeProtooperator= (const FlowNodeProto &from)
FlowNodeProtooperator= (FlowNodeProto &&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 (FlowNodeProto *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (FlowNodeProto *PROTOBUF_NONNULL other)
FlowNodeProto *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const FlowNodeProto &from)
void MergeFrom (const FlowNodeProto &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_id () const
 optional int64 id = 1;
void clear_id ()
::int64_t id () const
void set_id (::int64_t value)
bool has_supply () const
 optional int64 supply = 2 [default = 0];
void clear_supply ()
::int64_t supply () const
void set_supply (::int64_t value)
template<typename>
PROTOBUF_CONSTEXPR FlowNodeProto (::_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 FlowNodeProtodefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 1

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kIdFieldNumber 
kSupplyFieldNumber 

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

Constructor & Destructor Documentation

◆ FlowNodeProto() [1/8]

operations_research::FlowNodeProto::FlowNodeProto ( )
inline

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

◆ ~FlowNodeProto()

operations_research::FlowNodeProto::~FlowNodeProto ( )

@protoc_insertion_point(destructor:operations_research.FlowNodeProto)

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

◆ FlowNodeProto() [2/8]

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

◆ FlowNodeProto() [3/8]

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

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

◆ FlowNodeProto() [4/8]

operations_research::FlowNodeProto::FlowNodeProto ( FlowNodeProto && from)
inlinenoexcept

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

◆ FlowNodeProto() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.FlowNodeProto)

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

◆ FlowNodeProto() [6/8]

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

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

◆ FlowNodeProto() [7/8]

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

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

◆ FlowNodeProto() [8/8]

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

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

Member Function Documentation

◆ _InternalSerialize()

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

@protoc_insertion_point(serialize_to_array_start:operations_research.FlowNodeProto)

optional int64 id = 1;

optional int64 supply = 2 [default = 0];

@protoc_insertion_point(serialize_to_array_end:operations_research.FlowNodeProto)

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

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.FlowNodeProto)

Prevent compiler warnings about cached_has_bits being unused

optional int64 id = 1;

optional int64 supply = 2 [default = 0];

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

◆ Clear()

PROTOBUF_NOINLINE void operations_research::FlowNodeProto::Clear ( )

@protoc_insertion_point(message_clear_start:operations_research.FlowNodeProto)

Prevent compiler warnings about cached_has_bits being unused

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

◆ clear_id()

void operations_research::FlowNodeProto::clear_id ( )
inline

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

◆ clear_supply()

void operations_research::FlowNodeProto::clear_supply ( )
inline

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

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.FlowNodeProto)

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ GetCachedSize()

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

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

◆ GetClassData()

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

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

◆ GetDescriptor()

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

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

◆ GetMetadata()

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

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

◆ GetReflection()

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

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

◆ has_id()

bool operations_research::FlowNodeProto::has_id ( ) const
inline

optional int64 id = 1;

FlowNodeProto.

optional int64 id = 1;

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

◆ has_supply()

bool operations_research::FlowNodeProto::has_supply ( ) const
inline

optional int64 supply = 2 [default = 0];

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

◆ id()

int64_t operations_research::FlowNodeProto::id ( ) const
inline

@protoc_insertion_point(field_get:operations_research.FlowNodeProto.id)

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

◆ InternalGenerateClassData_()

auto operations_research::FlowNodeProto::InternalGenerateClassData_ ( )
staticconstexpr

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

◆ InternalNewImpl_()

auto operations_research::FlowNodeProto::InternalNewImpl_ ( )
staticconstexprprotected

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

◆ IsInitialized()

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

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

◆ MergeFrom()

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

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

◆ mutable_unknown_fields()

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

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

◆ New()

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

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ PlacementNew_()

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

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

◆ set_id()

void operations_research::FlowNodeProto::set_id ( ::int64_t value)
inline

@protoc_insertion_point(field_set:operations_research.FlowNodeProto.id)

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

◆ set_supply()

void operations_research::FlowNodeProto::set_supply ( ::int64_t value)
inline

@protoc_insertion_point(field_set:operations_research.FlowNodeProto.supply)

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

◆ supply()

int64_t operations_research::FlowNodeProto::supply ( ) const
inline

@protoc_insertion_point(field_get:operations_research.FlowNodeProto.supply)

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ UnsafeArenaSwap()

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

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

◆ ::google::protobuf::Arena

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

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

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

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

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

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

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

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

◆ ::google::protobuf::MessageLite

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

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

◆ ::TableStruct_ortools_2fgraph_2fflow_5fproblem_2eproto

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

◆ swap

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

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

Member Data Documentation

◆ _impl_

Impl_ operations_research::FlowNodeProto::_impl_

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

◆ kIndexInFileMessages

int operations_research::FlowNodeProto::kIndexInFileMessages = 1
staticconstexpr

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


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