8 #include <google/protobuf/stubs/common.h>
9 #include <google/protobuf/stubs/port.h>
10 #include <google/protobuf/stubs/once.h>
11 #include <google/protobuf/io/coded_stream.h>
12 #include <google/protobuf/wire_format_lite_inl.h>
13 #include <google/protobuf/descriptor.h>
14 #include <google/protobuf/generated_message_reflection.h>
15 #include <google/protobuf/reflection_ops.h>
16 #include <google/protobuf/wire_format.h>
18 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
19 #include "third_party/protobuf/version.h"
25 ::google::protobuf::internal::ExplicitlyConstructed<User>
30 ::google::protobuf::internal::ExplicitlyConstructed<Permission>
35 ::google::protobuf::internal::ExplicitlyConstructed<Role>
39 namespace protobuf_auth_2eproto {
41 GOOGLE_PROTOBUF_VERIFY_VERSION;
43 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
44 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
46 ::google::protobuf::internal::InitProtobufDefaults();
47 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
51 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
57 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
62 GOOGLE_PROTOBUF_VERIFY_VERSION;
64 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
65 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
67 ::google::protobuf::internal::InitProtobufDefaults();
68 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
72 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
78 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
83 GOOGLE_PROTOBUF_VERIFY_VERSION;
85 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
86 ::google::protobuf::internal::InitProtobufDefaultsForceUnique();
88 ::google::protobuf::internal::InitProtobufDefaults();
89 #endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
94 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
100 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
109 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::
authpb::User, _internal_metadata_),
113 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::
authpb::User, name_),
114 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::
authpb::User, password_),
115 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::
authpb::User, roles_),
117 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::
authpb::Permission, _internal_metadata_),
124 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::
authpb::Role, _internal_metadata_),
128 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::
authpb::Role, name_),
129 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::
authpb::Role, keypermission_),
145 ::google::protobuf::MessageFactory* factory = NULL;
152 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
165 "\n\nauth.proto\022\006authpb\"5\n\004User\022\014\n\004name\030\001 \001"
166 "(\014\022\020\n\010password\030\002 \001(\014\022\r\n\005roles\030\003 \003(\t\"p\n\nP"
167 "ermission\022\013\n\003key\030\001 \001(\014\022)\n\010permType\030\002 \001(\016"
168 "2\027.authpb.Permission.Type\"*\n\004Type\022\010\n\004REA"
169 "D\020\000\022\t\n\005WRITE\020\001\022\r\n\tREADWRITE\020\002\"\?\n\004Role\022\014\n"
170 "\004name\030\001 \001(\014\022)\n\rkeyPermission\030\002 \003(\0132\022.aut"
171 "hpb.Permissionb\006proto3"
173 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
175 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
180 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
206 #if !defined(_MSC_VER) || _MSC_VER >= 1900
212 const int Permission::Type_ARRAYSIZE;
213 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
217 void User::InitAsDefaultInstance() {
219 #if !defined(_MSC_VER) || _MSC_VER >= 1900
220 const int User::kNameFieldNumber;
221 const int User::kPasswordFieldNumber;
222 const int User::kRolesFieldNumber;
223 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
226 : ::google::protobuf::
Message(), _internal_metadata_(NULL) {
234 : ::google::protobuf::
Message(),
235 _internal_metadata_(NULL),
239 name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
240 if (from.
name().size() > 0) {
241 name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.
name_);
243 password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
245 password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.
password_);
251 name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
252 password_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
262 name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
263 password_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
267 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
269 GOOGLE_SAFE_CONCURRENT_WRITES_END();
291 ::google::protobuf::uint32 cached_has_bits = 0;
293 (void) cached_has_bits;
296 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
297 password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
302 ::google::protobuf::io::CodedInputStream* input) {
303 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
304 ::google::protobuf::uint32 tag;
307 ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
309 if (!p.second)
goto handle_unusual;
310 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
313 if (static_cast< ::google::protobuf::uint8>(tag) ==
314 static_cast< ::google::protobuf::uint8>(10u )) {
315 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
325 if (static_cast< ::google::protobuf::uint8>(tag) ==
326 static_cast< ::google::protobuf::uint8>(18u )) {
327 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
337 if (static_cast< ::google::protobuf::uint8>(tag) ==
338 static_cast< ::google::protobuf::uint8>(26u )) {
339 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
341 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
344 ::google::protobuf::internal::WireFormatLite::PARSE,
345 "authpb.User.roles"));
357 DO_(::google::protobuf::internal::WireFormat::SkipField(
373 ::google::protobuf::io::CodedOutputStream* output)
const {
375 ::google::protobuf::uint32 cached_has_bits = 0;
376 (void) cached_has_bits;
379 if (this->
name().size() > 0) {
380 ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
381 1, this->
name(), output);
386 ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
391 for (
int i = 0, n = this->
roles_size(); i < n; i++) {
392 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
393 this->
roles(i).data(), static_cast<int>(this->
roles(i).length()),
394 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
395 "authpb.User.roles");
396 ::google::protobuf::internal::WireFormatLite::WriteString(
397 3, this->
roles(i), output);
400 if ((
_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
401 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
408 bool deterministic, ::google::protobuf::uint8* target)
const {
411 ::google::protobuf::uint32 cached_has_bits = 0;
412 (void) cached_has_bits;
415 if (this->
name().size() > 0) {
417 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
418 1, this->
name(), target);
424 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
429 for (
int i = 0, n = this->
roles_size(); i < n; i++) {
430 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
431 this->
roles(i).data(), static_cast<int>(this->
roles(i).length()),
432 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
433 "authpb.User.roles");
434 target = ::google::protobuf::internal::WireFormatLite::
435 WriteStringToArray(3, this->
roles(i), target);
438 if ((
_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
439 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
448 size_t total_size = 0;
450 if ((
_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
452 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
457 ::google::protobuf::internal::FromIntSize(this->
roles_size());
458 for (
int i = 0, n = this->
roles_size(); i < n; i++) {
459 total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
464 if (this->
name().size() > 0) {
466 ::google::protobuf::internal::WireFormatLite::BytesSize(
473 ::google::protobuf::internal::WireFormatLite::BytesSize(
477 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
478 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
480 GOOGLE_SAFE_CONCURRENT_WRITES_END();
486 GOOGLE_DCHECK_NE(&from,
this);
488 ::google::protobuf::internal::DynamicCastToGenerated<const User>(
490 if (source == NULL) {
492 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
501 GOOGLE_DCHECK_NE(&from,
this);
503 ::google::protobuf::uint32 cached_has_bits = 0;
504 (void) cached_has_bits;
507 if (from.
name().size() > 0) {
509 name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.
name_);
513 password_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.
password_);
519 if (&from ==
this)
return;
526 if (&from ==
this)
return;
536 if (other ==
this)
return;
558 #if !defined(_MSC_VER) || _MSC_VER >= 1900
561 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
564 : ::google::protobuf::
Message(), _internal_metadata_(NULL) {
572 : ::google::protobuf::
Message(),
573 _internal_metadata_(NULL),
576 key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
577 if (from.
key().size() > 0) {
578 key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.
key_);
585 key_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
596 key_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
600 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
602 GOOGLE_SAFE_CONCURRENT_WRITES_END();
624 ::google::protobuf::uint32 cached_has_bits = 0;
626 (void) cached_has_bits;
628 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
634 ::google::protobuf::io::CodedInputStream* input) {
635 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
636 ::google::protobuf::uint32 tag;
639 ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
641 if (!p.second)
goto handle_unusual;
642 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
645 if (static_cast< ::google::protobuf::uint8>(tag) ==
646 static_cast< ::google::protobuf::uint8>(10u )) {
647 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
657 if (static_cast< ::google::protobuf::uint8>(tag) ==
658 static_cast< ::google::protobuf::uint8>(16u )) {
660 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
661 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
663 set_permtype(static_cast< ::authpb::Permission_Type >(value));
675 DO_(::google::protobuf::internal::WireFormat::SkipField(
691 ::google::protobuf::io::CodedOutputStream* output)
const {
693 ::google::protobuf::uint32 cached_has_bits = 0;
694 (void) cached_has_bits;
697 if (this->
key().size() > 0) {
698 ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
699 1, this->
key(), output);
704 ::google::protobuf::internal::WireFormatLite::WriteEnum(
708 if ((
_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
709 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
716 bool deterministic, ::google::protobuf::uint8* target)
const {
719 ::google::protobuf::uint32 cached_has_bits = 0;
720 (void) cached_has_bits;
723 if (this->
key().size() > 0) {
725 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
726 1, this->
key(), target);
731 target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(
735 if ((
_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
736 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
745 size_t total_size = 0;
747 if ((
_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
749 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
753 if (this->
key().size() > 0) {
755 ::google::protobuf::internal::WireFormatLite::BytesSize(
762 ::google::protobuf::internal::WireFormatLite::EnumSize(this->
permtype());
765 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
766 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
768 GOOGLE_SAFE_CONCURRENT_WRITES_END();
774 GOOGLE_DCHECK_NE(&from,
this);
776 ::google::protobuf::internal::DynamicCastToGenerated<const Permission>(
778 if (source == NULL) {
780 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
789 GOOGLE_DCHECK_NE(&from,
this);
791 ::google::protobuf::uint32 cached_has_bits = 0;
792 (void) cached_has_bits;
794 if (from.
key().size() > 0) {
796 key_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.
key_);
805 if (&from ==
this)
return;
812 if (&from ==
this)
return;
822 if (other ==
this)
return;
843 #if !defined(_MSC_VER) || _MSC_VER >= 1900
846 #endif // !defined(_MSC_VER) || _MSC_VER >= 1900
849 : ::google::protobuf::
Message(), _internal_metadata_(NULL) {
857 : ::google::protobuf::
Message(),
858 _internal_metadata_(NULL),
859 keypermission_(from.keypermission_),
862 name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
863 if (from.
name().size() > 0) {
864 name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.
name_);
870 name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
880 name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
884 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
886 GOOGLE_SAFE_CONCURRENT_WRITES_END();
908 ::google::protobuf::uint32 cached_has_bits = 0;
910 (void) cached_has_bits;
913 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
918 ::google::protobuf::io::CodedInputStream* input) {
919 #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
920 ::google::protobuf::uint32 tag;
923 ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
925 if (!p.second)
goto handle_unusual;
926 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
929 if (static_cast< ::google::protobuf::uint8>(tag) ==
930 static_cast< ::google::protobuf::uint8>(10u )) {
931 DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
941 if (static_cast< ::google::protobuf::uint8>(tag) ==
942 static_cast< ::google::protobuf::uint8>(18u )) {
955 DO_(::google::protobuf::internal::WireFormat::SkipField(
971 ::google::protobuf::io::CodedOutputStream* output)
const {
973 ::google::protobuf::uint32 cached_has_bits = 0;
974 (void) cached_has_bits;
977 if (this->
name().size() > 0) {
978 ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
979 1, this->
name(), output);
983 for (
unsigned int i = 0,
985 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
989 if ((
_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
990 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
997 bool deterministic, ::google::protobuf::uint8* target)
const {
1000 ::google::protobuf::uint32 cached_has_bits = 0;
1001 (void) cached_has_bits;
1004 if (this->
name().size() > 0) {
1006 ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
1007 1, this->
name(), target);
1011 for (
unsigned int i = 0,
1013 target = ::google::protobuf::internal::WireFormatLite::
1014 InternalWriteMessageToArray(
1015 2, this->
keypermission(static_cast<int>(i)), deterministic, target);
1018 if ((
_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1019 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
1028 size_t total_size = 0;
1030 if ((
_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
1032 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
1038 total_size += 1UL * count;
1039 for (
unsigned int i = 0; i < count; i++) {
1041 ::google::protobuf::internal::WireFormatLite::MessageSize(
1047 if (this->
name().size() > 0) {
1049 ::google::protobuf::internal::WireFormatLite::BytesSize(
1053 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
1054 GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
1056 GOOGLE_SAFE_CONCURRENT_WRITES_END();
1062 GOOGLE_DCHECK_NE(&from,
this);
1063 const Role* source =
1064 ::google::protobuf::internal::DynamicCastToGenerated<const Role>(
1066 if (source == NULL) {
1068 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
1077 GOOGLE_DCHECK_NE(&from,
this);
1079 ::google::protobuf::uint32 cached_has_bits = 0;
1080 (void) cached_has_bits;
1083 if (from.
name().size() > 0) {
1085 name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.
name_);
1091 if (&from ==
this)
return;
1098 if (&from ==
this)
return;
1108 if (other ==
this)
return;
::google::protobuf::RepeatedPtrField< ::std::string > roles_
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
::google::protobuf::internal::ArenaStringPtr name_
::std::string * mutable_password()
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
void failure(const char *fmt,...)
class authpb::PermissionDefaultTypeInternal _Permission_default_instance_
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
static void InitAsDefaultInstance()
static const Permission & default_instance()
bool IsInitialized() const PROTOBUF_FINAL
static const User & default_instance()
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
void Clear() PROTOBUF_FINAL
::google::protobuf::internal::ExplicitlyConstructed< User > _instance
const ::std::string & name() const
size_t ByteSizeLong() const PROTOBUF_FINAL
bool IsInitialized() const PROTOBUF_FINAL
bool IsInitialized() const PROTOBUF_FINAL
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
static const ::google::protobuf::Descriptor * descriptor()
::google::protobuf::RepeatedPtrField< ::authpb::Permission > keypermission_
class authpb::UserDefaultTypeInternal _User_default_instance_
const ::google::protobuf::EnumDescriptor * Permission_Type_descriptor()
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
void InitDefaultsPermission()
void SetCachedSize(int size) const PROTOBUF_FINAL
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
static void InitAsDefaultInstance()
size_t ByteSizeLong() const PROTOBUF_FINAL
void InternalSwap(Role *other)
static const int kPermTypeFieldNumber
struct protobuf_auth_2eproto::StaticDescriptorInitializer static_descriptor_initializer
::std::string * add_roles()
bool Permission_Type_IsValid(int value)
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
static const ::google::protobuf::uint32 offsets[]
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages
::std::string * mutable_name()
const ::google::protobuf::RepeatedPtrField< ::authpb::Permission > & keypermission() const
static const Role * internal_default_instance()
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
static void InitAsDefaultInstance()
const ::google::protobuf::EnumDescriptor * file_level_enum_descriptors[1]
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
friend void swap(Role &a, Role &b)
void Swap(Permission *other)
void protobuf_RegisterTypes(const ::std::string &) GOOGLE_PROTOBUF_ATTRIBUTE_COLD
static const int kKeyFieldNumber
static const Role & default_instance()
::authpb::Permission_Type permtype() const
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const PROTOBUF_FINAL
::google::protobuf::internal::ExplicitlyConstructed< Role > _instance
Permission * New() const PROTOBUF_FINAL
void protobuf_AssignDescriptorsOnce()
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
const ::google::protobuf::RepeatedPtrField< ::std::string > & roles() const
User * New() const PROTOBUF_FINAL
void set_permtype(::authpb::Permission_Type value)
void MergeFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
void CopyFrom(const ::google::protobuf::Message &from) PROTOBUF_FINAL
::google::protobuf::internal::ArenaStringPtr password_
::google::protobuf::internal::ArenaStringPtr key_
class authpb::RoleDefaultTypeInternal _Role_default_instance_
size_t ByteSizeLong() const PROTOBUF_FINAL
const ::std::string & password() const
friend void swap(User &a, User &b)
void InternalSwap(User *other)
void InitDefaultsPermissionImpl()
::google::protobuf::internal::ExplicitlyConstructed< Permission > _instance
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) PROTOBUF_FINAL
void InitDefaultsRoleImpl()
StaticDescriptorInitializer()
static const int kKeyPermissionFieldNumber
static const ::google::protobuf::Descriptor * descriptor()
void protobuf_AssignDescriptors()
int keypermission_size() const
::google::protobuf::internal::ArenaStringPtr name_
const ::std::string & key() const
void Clear() PROTOBUF_FINAL
void SetCachedSize(int size) const PROTOBUF_FINAL
static const int kNameFieldNumber
::google::protobuf::Message const *const file_default_instances[]
::std::string * mutable_key()
::authpb::Permission * add_keypermission()
void SetCachedSize(int size) const PROTOBUF_FINAL
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
void InternalSwap(Permission *other)
static const Permission * internal_default_instance()
const ::std::string & name() const
friend void swap(Permission &a, Permission &b)
static const User * internal_default_instance()
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
::google::protobuf::Metadata file_level_metadata[3]
::std::string * mutable_name()
Role * New() const PROTOBUF_FINAL
void InitDefaultsUserImpl()
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic,::google::protobuf::uint8 *target) const PROTOBUF_FINAL
void Clear() PROTOBUF_FINAL
static const ::google::protobuf::Descriptor * descriptor()
void AddDescriptorsImpl()