OpenSDN source code
authpb::Role Class Reference

#include <auth.pb.h>

Inheritance diagram for authpb::Role:
Collaboration diagram for authpb::Role:

Public Member Functions

 Role ()
 
virtual ~Role ()
 
 Role (const Role &from)
 
Roleoperator= (const Role &from)
 
void Swap (Role *other)
 
RoleNew () const PROTOBUF_FINAL
 
RoleNew (::google::protobuf::Arena *arena) const PROTOBUF_FINAL
 
void CopyFrom (const ::google::protobuf::Message &from) PROTOBUF_FINAL
 
void MergeFrom (const ::google::protobuf::Message &from) PROTOBUF_FINAL
 
void CopyFrom (const Role &from)
 
void MergeFrom (const Role &from)
 
void Clear () PROTOBUF_FINAL
 
bool IsInitialized () const PROTOBUF_FINAL
 
size_t ByteSizeLong () const PROTOBUF_FINAL
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const PROTOBUF_FINAL
 
int GetCachedSize () const PROTOBUF_FINAL
 
::google::protobuf::Metadata GetMetadata () const PROTOBUF_FINAL
 
int keypermission_size () const
 
void clear_keypermission ()
 
const ::authpb::Permissionkeypermission (int index) const
 
::authpb::Permissionmutable_keypermission (int index)
 
::authpb::Permissionadd_keypermission ()
 
::google::protobuf::RepeatedPtrField< ::authpb::Permission > * mutable_keypermission ()
 
const ::google::protobuf::RepeatedPtrField< ::authpb::Permission > & keypermission () const
 
void clear_name ()
 
const ::std::string & name () const
 
void set_name (const ::std::string &value)
 
void set_name (const char *value)
 
void set_name (const void *value, size_t size)
 
::std::string * mutable_name ()
 
::std::string * release_name ()
 
void set_allocated_name (::std::string *name)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const Roledefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const Roleinternal_default_instance ()
 

Static Public Attributes

static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
 
static const int kKeyPermissionFieldNumber = 2
 
static const int kNameFieldNumber = 1
 

Private Member Functions

void SharedCtor ()
 
void SharedDtor ()
 
void SetCachedSize (int size) const PROTOBUF_FINAL
 
void InternalSwap (Role *other)
 
inline ::google::protobuf::Arena * GetArenaNoVirtual () const
 
void * MaybeArenaPtr () const
 
friend void ::protobuf_auth_2eproto::InitDefaultsRoleImpl ()
 

Private Attributes

::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
 
::google::protobuf::RepeatedPtrField< ::authpb::Permissionkeypermission_
 
::google::protobuf::internal::ArenaStringPtr name_
 
int _cached_size_
 

Friends

struct ::protobuf_auth_2eproto::TableStruct
 
void swap (Role &a, Role &b)
 

Detailed Description

Definition at line 382 of file auth.pb.h.

Constructor & Destructor Documentation

◆ Role() [1/2]

authpb::Role::Role ( )

Definition at line 848 of file auth.pb.cc.

Here is the call graph for this function:

◆ ~Role()

authpb::Role::~Role ( )
virtual

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

Here is the call graph for this function:

◆ Role() [2/2]

authpb::Role::Role ( const Role from)

Definition at line 856 of file auth.pb.cc.

Here is the call graph for this function:

Member Function Documentation

◆ add_keypermission()

authpb::Permission * authpb::Role::add_keypermission ( )
inline

Definition at line 829 of file auth.pb.h.

◆ ByteSizeLong()

size_t authpb::Role::ByteSizeLong ( ) const

Definition at line 1026 of file auth.pb.cc.

Here is the call graph for this function:

◆ Clear()

void authpb::Role::Clear ( )

Definition at line 906 of file auth.pb.cc.

◆ clear_keypermission()

void authpb::Role::clear_keypermission ( )
inline

Definition at line 818 of file auth.pb.h.

◆ clear_name()

void authpb::Role::clear_name ( )
inline

Definition at line 762 of file auth.pb.h.

◆ CopyFrom() [1/2]

void authpb::Role::CopyFrom ( const ::google::protobuf::Message &  from)

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

Here is the call graph for this function:

◆ CopyFrom() [2/2]

void authpb::Role::CopyFrom ( const Role from)

Definition at line 1096 of file auth.pb.cc.

Here is the call graph for this function:

◆ default_instance()

const Role & authpb::Role::default_instance ( )
static

Definition at line 893 of file auth.pb.cc.

Here is the call graph for this function:

◆ descriptor()

const ::google::protobuf::Descriptor * authpb::Role::descriptor ( )
static

Definition at line 888 of file auth.pb.cc.

Here is the call graph for this function:

◆ GetArenaNoVirtual()

inline ::google::protobuf::Arena* authpb::Role::GetArenaNoVirtual ( ) const
inlineprivate

Definition at line 450 of file auth.pb.h.

◆ GetCachedSize()

int authpb::Role::GetCachedSize ( ) const
inline

Definition at line 443 of file auth.pb.h.

◆ GetMetadata()

google::protobuf::Metadata authpb::Role::GetMetadata ( ) const

Definition at line 1119 of file auth.pb.cc.

Here is the call graph for this function:

◆ InitAsDefaultInstance()

void authpb::Role::InitAsDefaultInstance ( )
static

Definition at line 841 of file auth.pb.cc.

◆ internal_default_instance()

static const Role* authpb::Role::internal_default_instance ( )
inlinestatic

Definition at line 412 of file auth.pb.h.

◆ InternalSerializeWithCachedSizesToArray()

google::protobuf::uint8 * authpb::Role::InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const

Definition at line 996 of file auth.pb.cc.

Here is the call graph for this function:

◆ InternalSwap()

void authpb::Role::InternalSwap ( Role other)
private

Definition at line 1111 of file auth.pb.cc.

◆ IsInitialized()

bool authpb::Role::IsInitialized ( ) const

Definition at line 1103 of file auth.pb.cc.

◆ keypermission() [1/2]

const ::google::protobuf::RepeatedPtrField<::authpb::Permission > & authpb::Role::keypermission ( ) const
inline

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

◆ keypermission() [2/2]

const ::authpb::Permission & authpb::Role::keypermission ( int  index) const
inline

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

◆ keypermission_size()

int authpb::Role::keypermission_size ( ) const
inline

Definition at line 815 of file auth.pb.h.

◆ MaybeArenaPtr()

void* authpb::Role::MaybeArenaPtr ( ) const
inlineprivate

Definition at line 453 of file auth.pb.h.

◆ MergeFrom() [1/2]

void authpb::Role::MergeFrom ( const ::google::protobuf::Message &  from)

Definition at line 1060 of file auth.pb.cc.

◆ MergeFrom() [2/2]

void authpb::Role::MergeFrom ( const Role from)

Definition at line 1075 of file auth.pb.cc.

Here is the call graph for this function:

◆ MergePartialFromCodedStream()

bool authpb::Role::MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)

Definition at line 917 of file auth.pb.cc.

Here is the call graph for this function:

◆ mutable_keypermission() [1/2]

google::protobuf::RepeatedPtrField<::authpb::Permission > * authpb::Role::mutable_keypermission ( )
inline

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

◆ mutable_keypermission() [2/2]

authpb::Permission * authpb::Role::mutable_keypermission ( int  index)
inline

Definition at line 825 of file auth.pb.h.

◆ mutable_name()

std::string * authpb::Role::mutable_name ( )
inline

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

◆ name()

const ::std::string & authpb::Role::name ( ) const
inline

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

◆ New() [1/2]

Role* authpb::Role::New ( ) const
inline

Definition at line 426 of file auth.pb.h.

Here is the call graph for this function:

◆ New() [2/2]

Role * authpb::Role::New ( ::google::protobuf::Arena *  arena) const

Definition at line 898 of file auth.pb.cc.

Here is the call graph for this function:

◆ operator=()

Role& authpb::Role::operator= ( const Role from)
inline

Definition at line 389 of file auth.pb.h.

Here is the call graph for this function:

◆ release_name()

std::string * authpb::Role::release_name ( )
inline

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

◆ SerializeWithCachedSizes()

void authpb::Role::SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const

Definition at line 970 of file auth.pb.cc.

Here is the call graph for this function:

◆ set_allocated_name()

void authpb::Role::set_allocated_name ( ::std::string *  name)
inline

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

Here is the call graph for this function:

◆ set_name() [1/3]

void authpb::Role::set_name ( const ::std::string &  value)
inline

Definition at line 769 of file auth.pb.h.

◆ set_name() [2/3]

void authpb::Role::set_name ( const char *  value)
inline

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

◆ set_name() [3/3]

void authpb::Role::set_name ( const void *  value,
size_t  size 
)
inline

Definition at line 788 of file auth.pb.h.

◆ SetCachedSize()

void authpb::Role::SetCachedSize ( int  size) const
private

Definition at line 883 of file auth.pb.cc.

◆ SharedCtor()

void authpb::Role::SharedCtor ( )
private

Definition at line 869 of file auth.pb.cc.

◆ SharedDtor()

void authpb::Role::SharedDtor ( )
private

Definition at line 879 of file auth.pb.cc.

◆ Swap()

void authpb::Role::Swap ( Role other)

Definition at line 1107 of file auth.pb.cc.

Here is the call graph for this function:

◆ void ::protobuf_auth_2eproto::InitDefaultsRoleImpl()

authpb::Role::void ::protobuf_auth_2eproto::InitDefaultsRoleImpl ( )
private

Friends And Related Function Documentation

◆ ::protobuf_auth_2eproto::TableStruct

friend struct ::protobuf_auth_2eproto::TableStruct
friend

Definition at line 497 of file auth.pb.h.

◆ swap

void swap ( Role a,
Role b 
)
friend

Definition at line 420 of file auth.pb.h.

Member Data Documentation

◆ _cached_size_

int authpb::Role::_cached_size_
mutableprivate

Definition at line 496 of file auth.pb.h.

◆ _internal_metadata_

::google::protobuf::internal::InternalMetadataWithArena authpb::Role::_internal_metadata_
private

Definition at line 493 of file auth.pb.h.

◆ keypermission_

::google::protobuf::RepeatedPtrField< ::authpb::Permission > authpb::Role::keypermission_
private

Definition at line 494 of file auth.pb.h.

◆ kIndexInFileMessages

PROTOBUF_CONSTEXPR int const authpb::Role::kIndexInFileMessages
static
Initial value:
=
2

Definition at line 416 of file auth.pb.h.

◆ kKeyPermissionFieldNumber

const int authpb::Role::kKeyPermissionFieldNumber = 2
static

Definition at line 467 of file auth.pb.h.

◆ kNameFieldNumber

const int authpb::Role::kNameFieldNumber = 1
static

Definition at line 478 of file auth.pb.h.

◆ name_

::google::protobuf::internal::ArenaStringPtr authpb::Role::name_
private

Definition at line 495 of file auth.pb.h.


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