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

Detailed Description

Definition at line 512 of file rpc.pb.h.

#include <rpc.pb.h>

Inheritance diagram for operations_research::math_opt::SolveResponse:

Classes

class  _Internal

Public Types

enum  StatusOrCase { kResult = 1 , kStatus = 3 , STATUS_OR_NOT_SET = 0 }
enum  : int { kMessagesFieldNumber = 2 , kResultFieldNumber = 1 , kStatusFieldNumber = 3 }
 nested types -------------------------------------------------— More...

Public Member Functions

 SolveResponse ()
 ~SolveResponse () PROTOBUF_FINAL
template<typename = void>
PROTOBUF_CONSTEXPR SolveResponse (::google::protobuf::internal::ConstantInitialized)
 SolveResponse (const SolveResponse &from)
 SolveResponse (SolveResponse &&from) noexcept
SolveResponseoperator= (const SolveResponse &from)
SolveResponseoperator= (SolveResponse &&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 (SolveResponse *PROTOBUF_NONNULL other)
void UnsafeArenaSwap (SolveResponse *PROTOBUF_NONNULL other)
SolveResponse *PROTOBUF_NONNULL New (::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
 implements Message -------------------------------------------—
void CopyFrom (const SolveResponse &from)
void MergeFrom (const SolveResponse &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 messages_size () const
 repeated string messages = 2;
void clear_messages ()
const ::std::string & messages (int index) const
::std::string *PROTOBUF_NONNULL mutable_messages (int index)
template<typename Arg_ = const ::std::string&, typename... Args_>
void set_messages (int index, Arg_ &&value, Args_... args)
::std::string *PROTOBUF_NONNULL add_messages ()
template<typename Arg_ = const ::std::string&, typename... Args_>
void add_messages (Arg_ &&value, Args_... args)
const ::google::protobuf::RepeatedPtrField<::std::string > & messages () const
::google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL mutable_messages ()
bool has_result () const
 .operations_research.math_opt.SolveResultProto result = 1;
void clear_result ()
const ::operations_research::math_opt::SolveResultProtoresult () const
::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE release_result ()
::operations_research::math_opt::SolveResultProto *PROTOBUF_NONNULL mutable_result ()
void set_allocated_result (::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_result (::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE unsafe_arena_release_result ()
bool has_status () const
 .operations_research.math_opt.StatusProto status = 3;
void clear_status ()
const ::operations_research::math_opt::StatusProtostatus () const
::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE release_status ()
::operations_research::math_opt::StatusProto *PROTOBUF_NONNULL mutable_status ()
void set_allocated_status (::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_status (::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE unsafe_arena_release_status ()
void clear_status_or ()
StatusOrCase status_or_case () const
template<typename>
PROTOBUF_CONSTEXPR SolveResponse (::_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 SolveResponsedefault_instance ()
static constexpr auto InternalGenerateClassData_ ()

Static Public Attributes

static constexpr int kIndexInFileMessages = 2

Protected Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int

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

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

Enumerator
kMessagesFieldNumber 
kResultFieldNumber 
kStatusFieldNumber 

Definition at line 659 of file rpc.pb.h.

◆ StatusOrCase

Enumerator
kResult 
kStatus 
STATUS_OR_NOT_SET 

Definition at line 567 of file rpc.pb.h.

Constructor & Destructor Documentation

◆ SolveResponse() [1/8]

operations_research::math_opt::SolveResponse::SolveResponse ( )
inline

Definition at line 515 of file rpc.pb.h.

◆ ~SolveResponse()

operations_research::math_opt::SolveResponse::~SolveResponse ( )

@protoc_insertion_point(destructor:operations_research.math_opt.SolveResponse)

Definition at line 1085 of file rpc.pb.cc.

◆ SolveResponse() [2/8]

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

◆ SolveResponse() [3/8]

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

Definition at line 528 of file rpc.pb.h.

◆ SolveResponse() [4/8]

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

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

◆ SolveResponse() [5/8]

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

@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolveResponse)

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

◆ SolveResponse() [6/8]

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

@protoc_insertion_point(copy_constructor:operations_research.math_opt.SolveResponse)

Definition at line 1048 of file rpc.pb.cc.

◆ SolveResponse() [7/8]

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

Definition at line 641 of file rpc.pb.h.

◆ SolveResponse() [8/8]

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

Definition at line 92 of file rpc.pb.cc.

Member Function Documentation

◆ _InternalSerialize()

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

.operations_research.math_opt.SolveResultProto result = 1;

repeated string messages = 2;

.operations_research.math_opt.StatusProto status = 3;

@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolveResponse)

Definition at line 1245 of file rpc.pb.cc.

◆ add_messages() [1/2]

std::string *PROTOBUF_NONNULL operations_research::math_opt::SolveResponse::add_messages ( )
inline

@protoc_insertion_point(field_add_mutable:operations_research.math_opt.SolveResponse.messages)

Definition at line 1789 of file rpc.pb.h.

◆ add_messages() [2/2]

template<typename Arg_, typename... Args_>
void operations_research::math_opt::SolveResponse::add_messages ( Arg_ && value,
Args_... args )
inline

@protoc_insertion_point(field_add:operations_research.math_opt.SolveResponse.messages)

Definition at line 1813 of file rpc.pb.h.

◆ ByteSizeLong()

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

@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolveResponse)

Prevent compiler warnings about cached_has_bits being unused

repeated string messages = 2;

.operations_research.math_opt.SolveResultProto result = 1;

.operations_research.math_opt.StatusProto status = 3;

Definition at line 1289 of file rpc.pb.cc.

◆ Clear()

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

@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolveResponse)

Prevent compiler warnings about cached_has_bits being unused

Definition at line 1227 of file rpc.pb.cc.

◆ clear_messages()

void operations_research::math_opt::SolveResponse::clear_messages ( )
inline

Definition at line 1785 of file rpc.pb.h.

◆ clear_result()

void operations_research::math_opt::SolveResponse::clear_result ( )

Definition at line 1006 of file rpc.pb.cc.

◆ clear_status()

void operations_research::math_opt::SolveResponse::clear_status ( )
inline

Definition at line 1707 of file rpc.pb.h.

◆ clear_status_or()

void operations_research::math_opt::SolveResponse::clear_status_or ( )

@protoc_insertion_point(one_of_clear_start:operations_research.math_opt.SolveResponse)

Definition at line 1099 of file rpc.pb.cc.

◆ CopyFrom()

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

@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolveResponse)

Definition at line 1376 of file rpc.pb.cc.

◆ default_instance()

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

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

◆ descriptor()

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

Definition at line 554 of file rpc.pb.h.

◆ GetCachedSize()

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

Definition at line 627 of file rpc.pb.h.

◆ GetClassData()

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

Definition at line 1176 of file rpc.pb.cc.

◆ GetDescriptor()

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

Definition at line 557 of file rpc.pb.h.

◆ GetMetadata()

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

Definition at line 1392 of file rpc.pb.cc.

◆ GetReflection()

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

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

◆ has_result()

bool operations_research::math_opt::SolveResponse::has_result ( ) const
inline

◆ has_status()

bool operations_research::math_opt::SolveResponse::has_status ( ) const
inline

.operations_research.math_opt.StatusProto status = 3;

Definition at line 1698 of file rpc.pb.h.

◆ InternalGenerateClassData_()

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

Definition at line 1148 of file rpc.pb.cc.

◆ InternalNewImpl_()

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

Definition at line 1132 of file rpc.pb.cc.

◆ IsInitialized()

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

Definition at line 603 of file rpc.pb.h.

◆ MergeFrom()

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

Definition at line 596 of file rpc.pb.h.

◆ messages() [1/2]

const::google::protobuf::RepeatedPtrField<::std::string > & operations_research::math_opt::SolveResponse::messages ( ) const
inline

@protoc_insertion_point(field_list:operations_research.math_opt.SolveResponse.messages)

Definition at line 1820 of file rpc.pb.h.

◆ messages() [2/2]

const::std::string & operations_research::math_opt::SolveResponse::messages ( int index) const
inline

@protoc_insertion_point(field_get:operations_research.math_opt.SolveResponse.messages)

Definition at line 1796 of file rpc.pb.h.

◆ messages_size()

int operations_research::math_opt::SolveResponse::messages_size ( ) const
inline

repeated string messages = 2;

Definition at line 1782 of file rpc.pb.h.

◆ mutable_messages() [1/2]

google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL operations_research::math_opt::SolveResponse::mutable_messages ( )
inline

@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SolveResponse.messages)

Definition at line 1826 of file rpc.pb.h.

◆ mutable_messages() [2/2]

std::string *PROTOBUF_NONNULL operations_research::math_opt::SolveResponse::mutable_messages ( int index)
inline

@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResponse.messages)

Definition at line 1801 of file rpc.pb.h.

◆ mutable_result()

operations_research::math_opt::SolveResultProto *PROTOBUF_NONNULL operations_research::math_opt::SolveResponse::mutable_result ( )
inline

@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResponse.result)

Definition at line 1690 of file rpc.pb.h.

◆ mutable_status()

operations_research::math_opt::StatusProto *PROTOBUF_NONNULL operations_research::math_opt::SolveResponse::mutable_status ( )
inline

@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResponse.status)

Definition at line 1771 of file rpc.pb.h.

◆ mutable_unknown_fields()

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

Definition at line 549 of file rpc.pb.h.

◆ New()

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

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

Definition at line 590 of file rpc.pb.h.

◆ operator=() [1/2]

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

Definition at line 531 of file rpc.pb.h.

◆ operator=() [2/2]

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

Definition at line 535 of file rpc.pb.h.

◆ PlacementNew_()

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

Definition at line 1127 of file rpc.pb.cc.

◆ release_result()

operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE operations_research::math_opt::SolveResponse::release_result ( )
inlinenodiscard

@protoc_insertion_point(field_release:operations_research.math_opt.SolveResponse.result)

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

◆ release_status()

operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE operations_research::math_opt::SolveResponse::release_status ( )
inlinenodiscard

@protoc_insertion_point(field_release:operations_research.math_opt.SolveResponse.status)

Definition at line 1718 of file rpc.pb.h.

◆ result()

const::operations_research::math_opt::SolveResultProto & operations_research::math_opt::SolveResponse::result ( ) const
inline

@protoc_insertion_point(field_get:operations_research.math_opt.SolveResponse.result)

Definition at line 1654 of file rpc.pb.h.

◆ set_allocated_result()

void operations_research::math_opt::SolveResponse::set_allocated_result ( ::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE value)

@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResponse.result)

Definition at line 993 of file rpc.pb.cc.

◆ set_allocated_status()

void operations_research::math_opt::SolveResponse::set_allocated_status ( ::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE value)

@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResponse.status)

Definition at line 1017 of file rpc.pb.cc.

◆ set_messages()

template<typename Arg_, typename... Args_>
void operations_research::math_opt::SolveResponse::set_messages ( int index,
Arg_ && value,
Args_... args )
inline

@protoc_insertion_point(field_set:operations_research.math_opt.SolveResponse.messages)

Definition at line 1807 of file rpc.pb.h.

◆ status()

const::operations_research::math_opt::StatusProto & operations_research::math_opt::SolveResponse::status ( ) const
inline

@protoc_insertion_point(field_get:operations_research.math_opt.SolveResponse.status)

Definition at line 1735 of file rpc.pb.h.

◆ status_or_case()

SolveResponse::StatusOrCase operations_research::math_opt::SolveResponse::status_or_case ( ) const
inline

Definition at line 1848 of file rpc.pb.h.

◆ Swap()

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

Definition at line 574 of file rpc.pb.h.

◆ unknown_fields()

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

Definition at line 545 of file rpc.pb.h.

◆ unsafe_arena_release_result()

operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE operations_research::math_opt::SolveResponse::unsafe_arena_release_result ( )
inline

@protoc_insertion_point(field_unsafe_arena_release:operations_research.math_opt.SolveResponse.result)

Definition at line 1658 of file rpc.pb.h.

◆ unsafe_arena_release_status()

operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE operations_research::math_opt::SolveResponse::unsafe_arena_release_status ( )
inline

@protoc_insertion_point(field_unsafe_arena_release:operations_research.math_opt.SolveResponse.status)

Definition at line 1739 of file rpc.pb.h.

◆ unsafe_arena_set_allocated_result()

void operations_research::math_opt::SolveResponse::unsafe_arena_set_allocated_result ( ::operations_research::math_opt::SolveResultProto *PROTOBUF_NULLABLE value)
inline

We rely on the oneof clear method to free the earlier contents of this oneof. We can directly use the pointer we're given to set the new value.

@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResponse.result)

Definition at line 1669 of file rpc.pb.h.

◆ unsafe_arena_set_allocated_status()

void operations_research::math_opt::SolveResponse::unsafe_arena_set_allocated_status ( ::operations_research::math_opt::StatusProto *PROTOBUF_NULLABLE value)
inline

We rely on the oneof clear method to free the earlier contents of this oneof. We can directly use the pointer we're given to set the new value.

@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResponse.status)

Definition at line 1750 of file rpc.pb.h.

◆ UnsafeArenaSwap()

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

Definition at line 582 of file rpc.pb.h.

◆ ::google::protobuf::Arena

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

Definition at line 740 of file rpc.pb.h.

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

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

Definition at line 742 of file rpc.pb.h.

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

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

Definition at line 733 of file rpc.pb.h.

◆ ::google::protobuf::MessageLite

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

Definition at line 739 of file rpc.pb.h.

◆ ::TableStruct_ortools_2fmath_5fopt_2frpc_2eproto

Definition at line 766 of file rpc.pb.h.

◆ swap

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

Definition at line 573 of file rpc.pb.h.

Member Data Documentation

◆ _impl_

Impl_ operations_research::math_opt::SolveResponse::_impl_

Definition at line 765 of file rpc.pb.h.

◆ kIndexInFileMessages

int operations_research::math_opt::SolveResponse::kIndexInFileMessages = 2
staticconstexpr

Definition at line 572 of file rpc.pb.h.


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